trabajando en lineas presupuesto

This commit is contained in:
2024-12-27 18:10:35 +01:00
parent ef58fe7209
commit 1ccade47a3
12 changed files with 974 additions and 766 deletions

View File

@ -21,12 +21,12 @@ class PresupuestoAdminEdit {
this.cosido = $("#isCosido");
this.datosGenerales = new DatosGenerales(this.domItem.find('#accordionDatosPresupuestoTip'));
this.datosLibro = new DatosLibro(this.domItem.find('#accordionDatosLibroTip',
this.datosLibro = new DatosLibro(this.domItem.find('#accordionDatosLibroTip'),
{
addService: this.addService,
removeService: this.removeService,
checkPaginasPresupuesto: this.checkPaginasPresupuesto,
}));
});
this.comparador = new Comparador(this.domItem.find('#accordionDatosPresupuestoClienteTip'));
this.calcularPresupuesto = false;
@ -126,8 +126,10 @@ class PresupuestoAdminEdit {
checkPaginasPresupuesto() {
cantidad_total = 0
let cantidad_total = 0;
// TO-DO
/*
tableLineasPresupuesto.rows().every(function (rowIdx, tableLoop, rowLoop) {
var rowData = this.data();
if (rowData.row_id != 'lp_cubierta' && rowData.row_id != 'lp_sobrecubierta' && rowData.row_id != 'lp_guardas')
@ -148,7 +150,7 @@ class PresupuestoAdminEdit {
</div>
</div>`;
}
$('#divAlarmasLineasPresupuesto').html(htmlString)
$('#divAlarmasLineasPresupuesto').html(htmlString)*/
}
getDimensionLibro() {