refactor(client_defaulter): title of columns
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
8e75a28f7c
commit
5970a6dfde
|
@ -62,12 +62,14 @@ module.exports = Self => {
|
||||||
d.amount,
|
d.amount,
|
||||||
co.created,
|
co.created,
|
||||||
co.text observation,
|
co.text observation,
|
||||||
|
uw.name workerName,
|
||||||
c.creditInsurance,
|
c.creditInsurance,
|
||||||
d.defaulterSinced
|
d.defaulterSinced
|
||||||
FROM vn.defaulter d
|
FROM vn.defaulter d
|
||||||
JOIN vn.client c ON c.id = d.clientFk
|
JOIN vn.client c ON c.id = d.clientFk
|
||||||
LEFT JOIN vn.clientObservation co ON co.clientFk = c.id
|
LEFT JOIN vn.clientObservation co ON co.clientFk = c.id
|
||||||
LEFT JOIN account.user u ON u.id = c.salesPersonFk
|
LEFT JOIN account.user u ON u.id = c.salesPersonFk
|
||||||
|
LEFT JOIN account.user uw ON uw.id = co.workerFk
|
||||||
WHERE
|
WHERE
|
||||||
d.created = CURDATE()
|
d.created = CURDATE()
|
||||||
AND d.amount > 0
|
AND d.amount > 0
|
||||||
|
|
|
@ -18,9 +18,9 @@
|
||||||
<vn-side-menu side="right">
|
<vn-side-menu side="right">
|
||||||
<div class="vn-pa-md">
|
<div class="vn-pa-md">
|
||||||
<div class="totalBox" style="text-align: center;">
|
<div class="totalBox" style="text-align: center;">
|
||||||
<h6 translate>Balance due</h6>
|
<h6 translate>Total</h6>
|
||||||
<vn-label-value
|
<vn-label-value
|
||||||
label="Balance due total"
|
label="Balance due"
|
||||||
value="{{$ctrl.balanceDueTotal}} €">
|
value="{{$ctrl.balanceDueTotal}} €">
|
||||||
</vn-label-value>
|
</vn-label-value>
|
||||||
</div>
|
</div>
|
||||||
|
@ -51,17 +51,21 @@
|
||||||
</vn-th>
|
</vn-th>
|
||||||
<vn-th field="clientName">Client</vn-th>
|
<vn-th field="clientName">Client</vn-th>
|
||||||
<vn-th field="salesPersonFk">Comercial</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>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-th>From</vn-th>
|
||||||
</vn-tr>
|
</vn-tr>
|
||||||
</vn-thead>
|
</vn-thead>
|
||||||
<vn-tbody>
|
<vn-tbody>
|
||||||
<vn-tr
|
<vn-tr ng-repeat="defaulter in defaulters">
|
||||||
ng-repeat="defaulter in defaulters"
|
|
||||||
ui-sref="client.card.summary({id: {{::defaulter.clientFk}}})"
|
|
||||||
class="clickable">
|
|
||||||
<vn-td>
|
<vn-td>
|
||||||
<vn-check
|
<vn-check
|
||||||
ng-model="defaulter.checked"
|
ng-model="defaulter.checked"
|
||||||
|
@ -89,7 +93,7 @@
|
||||||
<vn-textarea
|
<vn-textarea
|
||||||
vn-three
|
vn-three
|
||||||
disabled="true"
|
disabled="true"
|
||||||
label="Observation"
|
label="{{::defaulter.workerName}} {{::defaulter.created | date: 'dd/MM/yyyy'}}"
|
||||||
ng-model="defaulter.observation">
|
ng-model="defaulter.observation">
|
||||||
</vn-textarea>
|
</vn-textarea>
|
||||||
</vn-td>
|
</vn-td>
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
Last observation: Última observación
|
Last observation: Última observación
|
||||||
Add observation: Añadir observación
|
Add observation: Añadir observación
|
||||||
Balance due total: Saldo vencido total
|
|
||||||
Search client: Buscar clientes
|
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
|
Loading…
Reference in New Issue