mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Limpieza de modelos para buscador
This commit is contained in:
@ -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' },
|
||||
|
||||
Reference in New Issue
Block a user