Limpieza de modelos para buscador

This commit is contained in:
imnavajas
2024-02-21 13:44:23 +01:00
parent 26d2f32418
commit 88dca50aaf
4 changed files with 39 additions and 393 deletions

View File

@ -19,6 +19,7 @@
<tr>
<th><?=lang('Presupuestos.id')?></th>
<th><?= lang('Presupuestos.created_at') ?></th>
<th><?= lang('Presupuestos.tipoPresupuesto') ?></th>
<th><?= lang('Clientes.cliente') ?></th>
<th><?= lang('Presupuestos.comercial') ?></th>
<th><?= lang('Presupuestos.titulo') ?></th>
@ -168,6 +169,20 @@ theTable = $('#tableOfPresupuestos').DataTable({
columns : [
{ 'data': 'id' },
{ 'data': 'fecha' },
{ 'data': 'codigo',
render: function(data, type, row, meta) {
switch(data){
case "libroCosidoTapaBlanda":
return '<?= lang('Presupuestos.libroCosidoTapaBlanda') ?>';
break;
default:
return data;
break;
}
},
},
{ 'data': 'cliente' },
{ 'data': 'comercial' },
{ 'data': 'titulo' },