tabla anonimos terminado

This commit is contained in:
2025-10-08 21:35:20 +02:00
parent 389ac22b68
commit 2b53579a48
8 changed files with 270 additions and 177 deletions

View File

@ -12,6 +12,10 @@ presupuesto.add=Añadir presupuesto
presupuesto.nav.presupuestos-cliente=Presupuestos cliente
presupuesto.nav.presupuestos-anonimos=Presupuestos anónimos
presupuesto.estado.borrador=Borrador
presupuesto.estado.aceptado=Aceptado
presupuesto.estado.modificado=Modificado
presupuesto.tabla.id=ID
presupuesto.tabla.titulo=Título
presupuesto.tabla.cliente=Cliente

View File

@ -24,9 +24,10 @@
orderCellsTop: true,
stateSave: true,
pageLength: 50,
lengthMenu: [10, 25, 50, 100, 500],
language: { url: '/assets/libs/datatables/i18n/' + language + '.json' },
responsive: true,
dom: 'Bfrtip',
dom: 'Bflrtip',
buttons: {
dom: {
button: {
@ -45,10 +46,6 @@
ajax: {
url: '/presupuesto/datatable/anonimos',
method: 'GET',
data: function (d) {
d.f_encuadernacion = $('#search-encuadernacion').val() || ''; // 'USER' | 'ADMIN' | 'SUPERADMIN' | ''
d.f_cubierta = $('#search-cubierta').val() || ''; // 'true' | 'false' | ''
}
},
order: [[0, 'asc']],
columns: [