diff --git a/ci4/app/Views/themes/backend/vuexy/form/configuracion/papel/viewPapelImpresionForm.php b/ci4/app/Views/themes/backend/vuexy/form/configuracion/papel/viewPapelImpresionForm.php
index 0694fcee..8f63c14e 100644
--- a/ci4/app/Views/themes/backend/vuexy/form/configuracion/papel/viewPapelImpresionForm.php
+++ b/ci4/app/Views/themes/backend/vuexy/form/configuracion/papel/viewPapelImpresionForm.php
@@ -231,16 +231,9 @@
]
} );
-
editor.on( 'initCreate', function () {
if ($('#tableOfPapelimpresiontipologias').DataTable().data().count() >= 3){
- Swal.fire({
- title: '= lang('Basic.global.sweet.maxRowsReached') ?>',
- icon: 'info',
- confirmButtonColor: '#3085d6',
- confirmButtonText: '= lang('Basic.global.Close') ?>',
-
- });
+ popErrorAlert(= lang('Basic.global.sweet.maxRowsReached') ?>);
}
} );
@@ -495,11 +488,7 @@
yeniden(json.= csrf_token() ?>);
if(json.error){
document.getElementById("check_" + json.data.papel_impresion_id).checked = false;
- Swal.fire({
- icon: 'error',
- title: '= lang('Basic.global.sweet.error_tittle') ?>',
- text: json.error,
- });
+ popErrorAlert(json.error);
}
});
@@ -511,8 +500,7 @@
.submit();
} );
-
- // Para los calculos del precio
+ // Calculos del precio
$("#ancho").on('input', function () {
updateValue();
});
@@ -546,22 +534,14 @@
$('#precioPliego').val(value2);
}
-
= $this->endSection() ?>
+
=$this->section('css') ?>
-
- ">
- -*/ ?>
-
-
+
-
-
=$this->endSection() ?>
-
= $this->section('additionalExternalJs') ?>
@@ -570,8 +550,6 @@
-
-
=$this->endSection() ?>
diff --git a/ci4/app/Views/themes/backend/vuexy/form/configuracion/papel/viewPapelImpresionList.php b/ci4/app/Views/themes/backend/vuexy/form/configuracion/papel/viewPapelImpresionList.php
index 4ae5971d..6eeece15 100644
--- a/ci4/app/Views/themes/backend/vuexy/form/configuracion/papel/viewPapelImpresionList.php
+++ b/ci4/app/Views/themes/backend/vuexy/form/configuracion/papel/viewPapelImpresionList.php
@@ -66,8 +66,7 @@
lengthMenu: [ 5, 10, 25, 50, 75, 100, 250, 500, 1000, 2500 ],
pageLength: 10,
lengthChange: true,
- "dom": 'lfBrtip', // 'lfBrtip', // you can try different layout combinations by uncommenting one or the other
- // "dom": '<"top"lf><"clear">rt<"bottom"ipB><"clear">', // remember to comment this line if you uncomment the above
+ "dom": 'lfBrtip',
"buttons": [
'copy', 'csv', 'excel', 'print', {
extend: 'pdfHtml5',
diff --git a/ci4/app/Views/themes/backend/vuexy/form/tarifas/acabado/viewTarifaAcabadoList.php b/ci4/app/Views/themes/backend/vuexy/form/tarifas/acabado/viewTarifaAcabadoList.php
index 8f9a689f..bb18b419 100644
--- a/ci4/app/Views/themes/backend/vuexy/form/tarifas/acabado/viewTarifaAcabadoList.php
+++ b/ci4/app/Views/themes/backend/vuexy/form/tarifas/acabado/viewTarifaAcabadoList.php
@@ -115,7 +115,7 @@
theTable.row($(row)).invalidate().draw();
popSuccessAlert(data.msg ?? jqXHR.statusText);
}).fail((jqXHR, textStatus, errorThrown) => {
- popErrorAlert(jqXHR.responseJSON.messages.error)
+ popErrorAlert(jqXHR.responseJSON.messages.error);
})
}
});