Bug 20395: (follow-up) Change format to use price filter

See comment #1.

Signed-off-by: Roch D'Amour <roch.damour@inlibro.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit df3c578ae1)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Mark Tompsett 2018-03-15 16:08:45 +00:00 committed by Lucas Gass
parent 75c74c469d
commit 01bde643f2
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,6 @@
[% USE Koha %]
[% USE KohaDates %]
[% USE Price %]
[% USE currency = format('%.2f') -%]
[% PROCESS 'i18n.inc' %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]

View file

@ -6,6 +6,7 @@
[% USE Categories %]
[% USE ItemTypes %]
[% USE CirculationRules %]
[% USE Price %]
[% SET footerjs = 1 %]
[% SET branchcode = humanbranch || undef %]
@ -281,7 +282,7 @@
<td>[% chargeperiod | html %]</td>
<td>[% IF chargeperiod_charge_at %]Start of interval[% ELSE %]End of interval[% END %]</td>
<td>[% firstremind | html %]</td>
<td>[% overduefinescap FILTER format("%.2f") %]</td>
<td>[% overduefinescap | $Price %]</td>
<td>
[% IF cap_fine_to_replacement_price %]
<input type="checkbox" checked="checked" disabled="disabled" />
@ -369,7 +370,7 @@
[% END %]
</td>
<td>[% recall_due_date_interval | html %]</td>
<td>[% recall_overdue_fine FILTER format("%.2f") %]</td>
<td>[% recall_overdue_fine | $Price %]</td>
<td>[% recall_shelf_time | html %]</td>
[% END %]
<td class="actions">