Se borro el como se generaba el informe de libro de ventas

This commit is contained in:
Daniel Cortes
2019-03-02 01:02:41 -03:00
parent 95685b7f82
commit 537c64e85c
5 changed files with 15 additions and 236 deletions

View File

@@ -25,8 +25,8 @@
package danielcortes.xyz.controllers;
import danielcortes.xyz.data.Configuration;
import danielcortes.xyz.informes.InformeEgresos;
import danielcortes.xyz.informes.InformeLibroDeVentas;
import danielcortes.xyz.informes.InformeEgresosExcel;
import danielcortes.xyz.informes.InformeLibroDeVentasExcel;
import danielcortes.xyz.models.tipo_egreso.TipoEgreso;
import danielcortes.xyz.utils.StringUtils;
import danielcortes.xyz.views.InformesSideBar;
@@ -75,7 +75,7 @@ public class InformesSideBarController {
return;
}
InformeLibroDeVentas informe = new InformeLibroDeVentas(month, saveFile);
InformeLibroDeVentasExcel informe = new InformeLibroDeVentasExcel(month, saveFile);
informe.generarInforme();
new InformeGeneratedConfirmation(saveFile).execute();
@@ -102,7 +102,7 @@ public class InformesSideBarController {
return;
}
InformeEgresos informe = new InformeEgresos(tipoEgreso.getId(), month, saveFile);
InformeEgresosExcel informe = new InformeEgresosExcel(tipoEgreso.getId(), month, saveFile);
Path generatedFile = informe.generarInforme();
new InformeGeneratedConfirmation(saveFile).execute();