diff --git a/ci4/app/Controllers/Presupuestos/Presupuestoadmin.php b/ci4/app/Controllers/Presupuestos/Presupuestoadmin.php
index d3b2986e..91b2b751 100644
--- a/ci4/app/Controllers/Presupuestos/Presupuestoadmin.php
+++ b/ci4/app/Controllers/Presupuestos/Presupuestoadmin.php
@@ -1623,6 +1623,9 @@ class Presupuestoadmin extends \App\Controllers\BaseResourceController
$modelPapel = new PapelGenericoModel();
foreach ($lineas as $linea) {
$linea->papel_generico = (new PapelGenericoModel())->find($linea->papel_id)->nombre;
+ if($linea->tipo == 'lp_faja'){
+ $linea->alto_faja = $presupuestoEntity->alto_faja_color;
+ }
}
$input_data = [];
diff --git a/ci4/app/Language/es/Presupuestos.php b/ci4/app/Language/es/Presupuestos.php
index 4a8f06c5..0bdac190 100755
--- a/ci4/app/Language/es/Presupuestos.php
+++ b/ci4/app/Language/es/Presupuestos.php
@@ -283,6 +283,7 @@ return [
'previewMaquinaRotativa' => 'Configuración del papel: Rotativa',
'previewCubierta' => 'Configuración del papel: Cubierta',
'previewSobrecubierta' => 'Configuración del papel: Sobrecubierta',
+ 'previewFaja' => 'Configuración del papel: Faja',
'previewPapelGenerico' => 'Papel Genérico',
'previewPapelCompra' => 'Papel de Compra',
'previewAreaImpresion' => 'Área de Impresión',
diff --git a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_previewItems.php b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_previewItems.php
index 28f57423..8f6f7cc5 100644
--- a/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_previewItems.php
+++ b/ci4/app/Views/themes/vuexy/form/presupuestos/admin/_previewItems.php
@@ -934,6 +934,87 @@
+
+
+
+
+
+
+
+
+
+
+
= lang("Presupuestos.previewDetalles") ?>
+
+ - = lang("Presupuestos.previewGramaje") ?>
+ - TBD
+
+ - = lang("Presupuestos.previewMano") ?>
+ - TBD
+
+ - = lang("Presupuestos.previewSolapas") ?>
+ - TBD
+
+ - = lang("Presupuestos.previewMaquina") ?>
+ - TBDxTBD
+
+ - = lang("Presupuestos.previewAreaImpresion") ?>
+ - TBDxTBD
+
+ - = lang("Presupuestos.previewLibro") ?>
+ - TBDxTBD
+
+ - = lang("Presupuestos.previewForma") ?>
+ - TBD
+
+ - = lang("Presupuestos.previewFormas") ?>
+ - TBD
+
+
+
+
+
+
+
+
= lang("Presupuestos.previewfaja") ?>
+
+
+
+
+
+
+
+
@@ -942,72 +1023,3 @@
-
-
-
-= $this->section("additionalInlineJs") ?>
-/*
-
-$('#tab-pv-bn').on( "click", function() {
-
-previewInteriorPlana('bn', , );
-
-} );
-
-$('#tab-pv-bnhq').on( "click", function() {
-
-previewInteriorPlana('bnhq', , );
-
-} );
-
-$('#tab-pv-color').on( "click", function() {
-
-previewInteriorPlana('color', , );
-
-} );
-
-$('#tab-pv-colorhq').on( "click", function() {
-
-
-previewInteriorPlana('colorhq', , );
-
-} );
-
-$('#tab-pv-rot-bn').on( "click", function() {
-
-previewRotativa('rot_bn', , );
-
-} );
-
-$('#tab-pv-rot-color').on( "click", function() {
-
-previewRotativa('rot_color', , );
-
-} );
-
-$('#tab-pv-guardas').on( "click", function() {
-
-previewInteriorPlana('guardas', , );
-
-} );
-
-$('#tab-pv-cubierta').on( "click", function() {
-
-previewInteriorPlana('cubierta', , );
-
-} );
-
-$('#tab-pv-esquema-cubierta').on( "click", function() {
-
-previewEsquemaCubierta('ec', , );
-
-} );
-
-$('#tab-pv-sobrecubierta').on( "click", function() {
-
-previewInteriorPlana('sobrecubierta', , );
-
-} );
-*/
-
-= $this->endSection() ?>
\ No newline at end of file
diff --git a/httpdocs/assets/js/safekat/pages/presupuestoAdmin/sections/lineasPresupuesto.js b/httpdocs/assets/js/safekat/pages/presupuestoAdmin/sections/lineasPresupuesto.js
index 48c754b2..41121d9f 100644
--- a/httpdocs/assets/js/safekat/pages/presupuestoAdmin/sections/lineasPresupuesto.js
+++ b/httpdocs/assets/js/safekat/pages/presupuestoAdmin/sections/lineasPresupuesto.js
@@ -980,7 +980,7 @@ class LineasPresupuesto {
'total_linea': isNaN(parseFloat(row.total_impresion)) ? "" : parseFloat(row.total_impresion).toFixed(2),
- 'numeroPliegos': isNaN(parseFloat(row.pliegos_libro)) ? "" : parseFloat(row.pliegos_libro).toFixed(0),
+ 'numeroPliegos': isNaN(parseFloat(row.pliegos_libro)) ? "" : parseFloat(row.pliegos_libro).toFixed(2),
'pliegosPedido': isNaN(parseFloat(row.pliegos_pedido)) ? "" : parseFloat(row.pliegos_pedido).toFixed(0),
'precioPliego': isNaN(parseFloat(row.precios_pliegos)) ? "" : parseFloat(row.precios_pliegos).toFixed(6),
'libro': isNaN(parseFloat(row.precio_libro)) ? "" : parseFloat(row.precio_libro).toFixed(2),
@@ -1062,6 +1062,10 @@ class LineasPresupuesto {
data.alto_click = row.alto_click
}
+ if (rowId == 'lp_faja'){
+ data.alto_faja = row.alto_faja;
+ }
+
return data
}
@@ -2031,6 +2035,8 @@ class LineasPresupuesto {
update_resumen: true,
update_tiradas_alternativas: true
});
+
+ showBreadCrumbSaveButton(true);
}
}
diff --git a/httpdocs/assets/js/safekat/pages/presupuestoAdmin/sections/previewFormasAdmin.js b/httpdocs/assets/js/safekat/pages/presupuestoAdmin/sections/previewFormasAdmin.js
index ff202546..1b24a85d 100644
--- a/httpdocs/assets/js/safekat/pages/presupuestoAdmin/sections/previewFormasAdmin.js
+++ b/httpdocs/assets/js/safekat/pages/presupuestoAdmin/sections/previewFormasAdmin.js
@@ -80,6 +80,13 @@ class PreviewFormasAdmin{
self.preview.previewInteriorPlana('sobrecubierta', self.isCosido, self.tipoTapa.includes("dura")?1:0);
} );
+
+ $('#tab-pv-faja').on( "click", function() {
+
+ self.preview.setData(self.data);
+ self.preview.previewInteriorPlana('sobrecubierta', self.isCosido, self.tipoTapa.includes("dura")?1:0);
+
+ } );
}
}