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

View File

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

View File

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