terminado

This commit is contained in:
2025-06-24 13:50:47 +02:00
parent 0b3574ca63
commit 94b72073e4
2 changed files with 4 additions and 3 deletions

View File

@ -131,6 +131,7 @@ class MaquinasPapelesImpresionModel extends \App\Models\BaseModel
$builder->where("t1.papel_impresion_id", $papel_id);
$builder->where("t2.is_deleted", 0);
$builder->where("t2.is_rotativa", $isRotativa);
$builder->where("t2.tipo", 'impresion');
$builder->where("t3.is_deleted", 0);
$builder->where("t3.isActivo", 1);

View File

@ -392,7 +392,7 @@ $(() => {
url: "/themes/vuexy/vendor/libs/datatables-sk/plugins/i18n/es-ES.json"
},
ajax: $.fn.dataTable.pipeline({
url: '/maquinaspapelesimpresion/datatable_2',
url: '/configuracion/papelesimpresion/datatable',
data: {
id_PI: id,
},
@ -556,9 +556,9 @@ $(() => {
processing: true,
autoWidth: true,
responsive: true,
lengthMenu: [5, 10, 25],
lengthMenu: [10, 25, 50, 100],
order: [[1, "asc"]],
pageLength: 10,
pageLength: 50,
lengthChange: true,
searching: true,
paging: true,