-
= $boxTitle ?? $pageTitle ?>
+
+
+
= $boxTitle ?? $pageTitle ?>
+
= csrf_field() ?>
= view("themes/_commonPartialsBs/_alertBoxes") ?>
= !empty($validation->getErrors()) ? $validation->listErrors("bootstrap_style") : "" ?>
diff --git a/ci4/app/Views/themes/vuexy/form/tarifas/encuadernacion/viewTarifaEncuadernacionForm.php b/ci4/app/Views/themes/vuexy/form/tarifas/encuadernacion/viewTarifaEncuadernacionForm.php
index 9ca27bdd..31a06d68 100644
--- a/ci4/app/Views/themes/vuexy/form/tarifas/encuadernacion/viewTarifaEncuadernacionForm.php
+++ b/ci4/app/Views/themes/vuexy/form/tarifas/encuadernacion/viewTarifaEncuadernacionForm.php
@@ -388,29 +388,42 @@
language: {
url: "/themes/vuexy/vendor/libs/datatables-sk/plugins/i18n/es-ES.json"
},
- buttons: [ {
- className: 'btn btn-primary float-end me-sm-3 me-1',
- extend: "createInline",
- editor: editor3,
- formOptions: {
- submitTrigger: -1,
- submitHtml: '
'
-
+ buttons: [
+ {
+ extend: 'collection',
+ text: 'Exportar',
+ buttons:[
+ 'copy', 'csv', 'excel', 'print', {
+ extend: 'pdfHtml5',
+ orientation: 'landscape',
+ pageSize: 'A4'
+ }
+ ]
},
- action: function ( e, dt, node, config ) {
- if(selected_tirada_id == -1){
- popErrorAlert("= lang('TarifaEncuadernacionLineas.validation.error_seleccion_tiradas') ?>");
- }
- else{
- formOptions= {
- submitTrigger: -1,
- submitHtml: '
'
-
- };
- editor3.inlineCreate(config.position, formOptions);
- }
- },
- } ]
+ {
+ className: 'btn btn-primary float-end me-sm-3 me-1',
+ extend: "createInline",
+ editor: editor3,
+ formOptions: {
+ submitTrigger: -1,
+ submitHtml: '
'
+
+ },
+ action: function ( e, dt, node, config ) {
+ if(selected_tirada_id == -1){
+ popErrorAlert("= lang('TarifaEncuadernacionLineas.validation.error_seleccion_tiradas') ?>");
+ }
+ else{
+ formOptions= {
+ submitTrigger: -1,
+ submitHtml: '
'
+
+ };
+ editor3.inlineCreate(config.position, formOptions);
+ }
+ },
+ }
+ ]
} );
@@ -581,29 +594,42 @@
language: {
url: "/themes/vuexy/vendor/libs/datatables-sk/plugins/i18n/es-ES.json"
},
- buttons: [ {
- className: 'btn btn-primary float-end me-sm-3 me-1',
- extend: "createInline",
- editor: editor,
- formOptions: {
- submitTrigger: -1,
- submitHtml: '
'
-
+ buttons: [
+ {
+ extend: 'collection',
+ text: 'Exportar',
+ buttons:[
+ 'copy', 'csv', 'excel', 'print', {
+ extend: 'pdfHtml5',
+ orientation: 'landscape',
+ pageSize: 'A4'
+ }
+ ]
},
- action: function ( e, dt, node, config ) {
- if(selected_tirada_id == -1){
- popErrorAlert("= lang('TarifaEncuadernacionLineas.validation.error_seleccion_tiradas') ?>");
- }
- else{
- formOptions= {
- submitTrigger: -1,
- submitHtml: '
'
-
- };
- editor.inlineCreate(config.position, formOptions);
- }
- },
- } ]
+ {
+ className: 'btn btn-primary float-end me-sm-3 me-1',
+ extend: "createInline",
+ editor: editor,
+ formOptions: {
+ submitTrigger: -1,
+ submitHtml: '
'
+
+ },
+ action: function ( e, dt, node, config ) {
+ if(selected_tirada_id == -1){
+ popErrorAlert("= lang('TarifaEncuadernacionLineas.validation.error_seleccion_tiradas') ?>");
+ }
+ else{
+ formOptions= {
+ submitTrigger: -1,
+ submitHtml: '
'
+
+ };
+ editor.inlineCreate(config.position, formOptions);
+ }
+ },
+ }
+ ]
} );
@@ -733,7 +759,7 @@
select: true,
info: false,
dom: '<"mt-4"><"float-end"B><"float-start"l>
<"mt-4 mb-3"p>',
- ajax : $.fn.dataTable.pipeline( {
+ ajax : $.fn.dataTable.pipeline( {
url: '= route_to('dataTableOfTarifaEncuadernacionTiradas') ?>',
data: {
id_tarifaencuadernacion: id,
@@ -768,13 +794,25 @@
language: {
url: "/themes/vuexy/vendor/libs/datatables-sk/plugins/i18n/es-ES.json"
},
- buttons: [ {
- className: 'btn btn-primary float-end me-sm-3 me-1',
- extend: "createInline",
- editor: editor2,
- formOptions: {
- submitTrigger: -1,
- submitHtml: ''
+ buttons: [
+ {
+ extend: 'collection',
+ text: 'Exportar',
+ buttons:[
+ 'copy', 'csv', 'excel', 'print', {
+ extend: 'pdfHtml5',
+ orientation: 'landscape',
+ pageSize: 'A4'
+ }
+ ]
+ },
+ {
+ className: 'btn btn-primary float-end me-sm-3 me-1',
+ extend: "createInline",
+ editor: editor2,
+ formOptions: {
+ submitTrigger: -1,
+ submitHtml: ''
}
} ]
} );
diff --git a/ci4/app/Views/themes/vuexy/main/menus/presupuesto_cliente_menu.php b/ci4/app/Views/themes/vuexy/main/menus/presupuesto_cliente_menu.php
index 46359e42..4b367bfc 100644
--- a/ci4/app/Views/themes/vuexy/main/menus/presupuesto_cliente_menu.php
+++ b/ci4/app/Views/themes/vuexy/main/menus/presupuesto_cliente_menu.php
@@ -20,6 +20,15 @@ if (auth()->user()->inGroup('cliente-admin')
);
?>
+ user()->can('presupuesto-cliente.create')) { ?>
+
+
- user()->can('presupuesto-cliente.create')) { ?>
-
-
{ $(".titulo").html(this.titulo.val()); });
}
@@ -602,6 +605,14 @@ class DatosGenerales {
}
}
+ #checkValue(event){
+ let target = event.target;
+ if(target.value < target.min){
+ target.value = target.min;
+ }
+ }
+
+
#handleTipolibro(event) {
// Accede al ID del elemento que disparó el evento
const element = $(event.target);
diff --git a/httpdocs/themes/vuexy/css/presupuestoCliente.css b/httpdocs/themes/vuexy/css/presupuestoCliente.css
index a792fec8..5fc92c11 100644
--- a/httpdocs/themes/vuexy/css/presupuestoCliente.css
+++ b/httpdocs/themes/vuexy/css/presupuestoCliente.css
@@ -476,4 +476,12 @@
.texto-resumen-lateral{
font-size: 0.9em;
+}
+
+.num-input{
+ min-width: 100px;
+}
+
+.div-num-input{
+ min-width: 105px;
}
\ No newline at end of file