diff --git a/modules/client/back/methods/defaulter/filter.js b/modules/client/back/methods/defaulter/filter.js index 95e75040e..15a56fb63 100644 --- a/modules/client/back/methods/defaulter/filter.js +++ b/modules/client/back/methods/defaulter/filter.js @@ -62,12 +62,14 @@ module.exports = Self => { d.amount, co.created, co.text observation, + uw.name workerName, c.creditInsurance, d.defaulterSinced FROM vn.defaulter d JOIN vn.client c ON c.id = d.clientFk LEFT JOIN vn.clientObservation co ON co.clientFk = c.id LEFT JOIN account.user u ON u.id = c.salesPersonFk + LEFT JOIN account.user uw ON uw.id = co.workerFk WHERE d.created = CURDATE() AND d.amount > 0 diff --git a/modules/client/front/defaulter/index.html b/modules/client/front/defaulter/index.html index 6ab52dd4f..ed50ebad9 100644 --- a/modules/client/front/defaulter/index.html +++ b/modules/client/front/defaulter/index.html @@ -18,9 +18,9 @@
-
Balance due
+
Total
@@ -51,17 +51,21 @@ Client Comercial - Credit + + Balance D + Last observation - Credit insurance + + Credit I + From - + diff --git a/modules/client/front/defaulter/locale/es.yml b/modules/client/front/defaulter/locale/es.yml index 95184d06d..d0cca6e2a 100644 --- a/modules/client/front/defaulter/locale/es.yml +++ b/modules/client/front/defaulter/locale/es.yml @@ -1,5 +1,6 @@ Last observation: Última observación Add observation: Añadir observación -Balance due total: Saldo vencido total Search client: Buscar clientes -Add observation to all selected clients: Añadir observación a {{total}} cliente(s) seleccionado(s) \ No newline at end of file +Add observation to all selected clients: Añadir observación a {{total}} cliente(s) seleccionado(s) +Credit I: Crédito A +Balance D: Saldo V \ No newline at end of file