Add curency filter.

This commit is contained in:
Alexis Lahouze 2016-01-13 17:20:47 +01:00
parent 95902ef1dc
commit 30efb9312a
3 changed files with 6 additions and 6 deletions

View File

@ -49,13 +49,13 @@
<td>
<span ng-class="valueClass(account, account.current)">
{{ account.current }}
{{ account.current | currency : "€" }}
</span>
</td>
<td>
<span ng-class="valueClass(account, account.pointed)">
{{ account.pointed }}
{{ account.pointed | currency : "€" }}
</span>
</td>
@ -64,7 +64,7 @@
e-max="0"
e-style="width: 100%"
e-name="authorized_overdraft" e-form="rowform">
{{ account.authorized_overdraft }}
{{ account.authorized_overdraft | currency : "€" }}
</span>
</td>

View File

@ -77,12 +77,12 @@
<span editable-number="operation.value"
e-class="input-sm" e-style="width: 100%"
e-name="value" e-form="rowform" e-required>
<small>{{ operation.value }}</small>
<small>{{ operation.value | currency:"€" }}</small>
</span>
</td>
<td ng-class="{'text-warning': operation.sold < 0, 'text-danger': operation.sold < account.authorized_overdraft}">
<small>{{ operation.sold }}</small>
<small>{{ operation.sold | currency:"€" }}</small>
</td>
<td>

View File

@ -88,7 +88,7 @@
<span editable-number="operation.value"
e-style="width: 100%"
e-name="value" e-form="rowform" e-required>
{{ operation.value }}
{{ operation.value | currency : "€" }}
</span>
</td>