Se borro el como se generaba el informe de libro de ventas
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user