refactor(client_defaulter): title of columns
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2022-01-26 14:05:33 +01:00
parent 8e75a28f7c
commit 5970a6dfde
3 changed files with 18 additions and 11 deletions

View File

@ -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

View File

@ -18,9 +18,9 @@
<vn-side-menu side="right">
<div class="vn-pa-md">
<div class="totalBox" style="text-align: center;">
<h6 translate>Balance due</h6>
<h6 translate>Total</h6>
<vn-label-value
label="Balance due total"
label="Balance due"
value="{{$ctrl.balanceDueTotal}} €">
</vn-label-value>
</div>
@ -51,17 +51,21 @@
</vn-th>
<vn-th field="clientName">Client</vn-th>
<vn-th field="salesPersonFk">Comercial</vn-th>
<vn-th field="amount">Credit</vn-th>
<vn-th
field="amount"
vn-tooltip="Balance due">
Balance D
</vn-th>
<vn-th>Last observation</vn-th>
<vn-th expand>Credit insurance</vn-th>
<vn-th
vn-tooltip="Credit insurance">
Credit I
</vn-th>
<vn-th>From</vn-th>
</vn-tr>
</vn-thead>
<vn-tbody>
<vn-tr
ng-repeat="defaulter in defaulters"
ui-sref="client.card.summary({id: {{::defaulter.clientFk}}})"
class="clickable">
<vn-tr ng-repeat="defaulter in defaulters">
<vn-td>
<vn-check
ng-model="defaulter.checked"
@ -89,7 +93,7 @@
<vn-textarea
vn-three
disabled="true"
label="Observation"
label="{{::defaulter.workerName}} {{::defaulter.created | date: 'dd/MM/yyyy'}}"
ng-model="defaulter.observation">
</vn-textarea>
</vn-td>

View File

@ -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)
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