This commit is contained in:
parent
a15f6e2573
commit
f79b638e49
|
@ -27,6 +27,5 @@
|
|||
"model": "Client",
|
||||
"foreignKey": "clientFk"
|
||||
}
|
||||
},
|
||||
"scope" : {"where": {"amount": {"gt": 0}}}
|
||||
}
|
||||
}
|
|
@ -186,7 +186,7 @@
|
|||
info="Invoices minus payments">
|
||||
</vn-label-value>
|
||||
<vn-label-value label="Balance due"
|
||||
value="{{$ctrl.summary.defaulters[0].amount | currency: 'EUR':2}}"
|
||||
value="{{($ctrl.summary.defaulters[0].amount >= 0 ? $ctrl.summary.defaulters[0].amount : '-') | currency: 'EUR':2}}"
|
||||
ng-class="{alert: $ctrl.summary.defaulters[0].amount}"
|
||||
info="Deviated invoices minus payments">
|
||||
</vn-label-value>
|
||||
|
|
Loading…
Reference in New Issue