mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
a
This commit is contained in:
@ -51,8 +51,6 @@ return [
|
|||||||
'cheque' => 'Check',
|
'cheque' => 'Check',
|
||||||
'compensada' => 'Compensated',
|
'compensada' => 'Compensated',
|
||||||
'confirming' => 'Confirming',
|
'confirming' => 'Confirming',
|
||||||
'contado' => 'Cash',
|
|
||||||
'contrareembolso' => 'Cash on Delivery',
|
|
||||||
'giroDocimiliado' => 'Direct Debit',
|
'giroDocimiliado' => 'Direct Debit',
|
||||||
'pagare' => 'Promissory Note',
|
'pagare' => 'Promissory Note',
|
||||||
'transferencia' => 'Transfer',
|
'transferencia' => 'Transfer',
|
||||||
|
|||||||
@ -51,8 +51,6 @@ return [
|
|||||||
'cheque' => 'Cheque',
|
'cheque' => 'Cheque',
|
||||||
'compensada' => 'Compensada',
|
'compensada' => 'Compensada',
|
||||||
'confirming' => 'Confirming',
|
'confirming' => 'Confirming',
|
||||||
'contado' => 'Contado',
|
|
||||||
'contrareembolso' => 'Contrareembolso',
|
|
||||||
'giroDomiciliado' => 'Giro domiciliado',
|
'giroDomiciliado' => 'Giro domiciliado',
|
||||||
'pagare' => 'Pagaré',
|
'pagare' => 'Pagaré',
|
||||||
'transferencia' => 'Transferencia',
|
'transferencia' => 'Transferencia',
|
||||||
|
|||||||
@ -72,9 +72,7 @@ class FacturaModel extends \App\Models\BaseModel {
|
|||||||
"t1.id AS id, t1.numero AS numero, t1.fecha_factura_at AS fecha_factura_at,
|
"t1.id AS id, t1.numero AS numero, t1.fecha_factura_at AS fecha_factura_at,
|
||||||
t2.nombre AS cliente, t1.base AS base, t1.total AS total, t1.pendiente AS pendiente,
|
t2.nombre AS cliente, t1.base AS base, t1.total AS total, t1.pendiente AS pendiente,
|
||||||
t1.creditoAsegurado AS creditoAsegurado, t1.estado AS estado, t1.estado_pago AS estado_pago,
|
t1.creditoAsegurado AS creditoAsegurado, t1.estado AS estado, t1.estado_pago AS estado_pago,
|
||||||
t4.nombre AS forma_pago, t3.fecha_vencimiento_at AS venciemento,
|
t4.nombre AS forma_pago, t3.fecha_vencimiento_at AS venciemento"
|
||||||
DAFEDIFF(days, NOW(), t3.fecha_vencimiento_at) AS dias"
|
|
||||||
//'DATEDIFF((SELECT MIN(facturas_pagos.fecha_vencimiento_at) FROM facturas_pagos WHERE facturas_pagos.deleted_at is null and factura_id = facturas.id), facturas.fecha_factura_at)
|
|
||||||
);
|
);
|
||||||
|
|
||||||
$builder->join("clientes t2", "t2.id = t1.cliente_id", "left");
|
$builder->join("clientes t2", "t2.id = t1.cliente_id", "left");
|
||||||
|
|||||||
@ -27,7 +27,6 @@
|
|||||||
<th><?= lang('Facturas.estadoPago') ?></th>
|
<th><?= lang('Facturas.estadoPago') ?></th>
|
||||||
<th><?= lang('Facturas.formaPago') ?></th>
|
<th><?= lang('Facturas.formaPago') ?></th>
|
||||||
<th><?= lang('Facturas.vencimiento') ?></th>
|
<th><?= lang('Facturas.vencimiento') ?></th>
|
||||||
<th><?= lang('Facturas.dias') ?></th>
|
|
||||||
<th class="text-nowrap"><?= lang('Basic.global.Action') ?></th>
|
<th class="text-nowrap"><?= lang('Basic.global.Action') ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@ -158,14 +157,6 @@
|
|||||||
return '<?= lang('Facturas.confirming') ?>';
|
return '<?= lang('Facturas.confirming') ?>';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "contado":
|
|
||||||
return '<?= lang('Facturas.contado') ?>';
|
|
||||||
break;
|
|
||||||
|
|
||||||
case "contrareembolso":
|
|
||||||
return '<?= lang('Facturas.contrareembolso') ?>';
|
|
||||||
break;
|
|
||||||
|
|
||||||
case "giroDomiciliado":
|
case "giroDomiciliado":
|
||||||
return '<?= lang('Facturas.giroDomiciliado') ?>';
|
return '<?= lang('Facturas.giroDomiciliado') ?>';
|
||||||
break;
|
break;
|
||||||
@ -186,7 +177,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ 'data': vencimiento },
|
{ 'data': vencimiento },
|
||||||
{ 'data': dias }
|
|
||||||
{ 'data': actionBtns }
|
{ 'data': actionBtns }
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user