Skip to content

Commit df3c578

Browse files
mtompsettomascohen
authored andcommitted
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>
1 parent c178443 commit df3c578

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
[% USE Koha %]
44
[% USE KohaDates %]
55
[% USE Price %]
6-
[% USE currency = format('%.2f') -%]
76
[% PROCESS 'i18n.inc' %]
87
[% SET footerjs = 1 %]
98
[% INCLUDE 'doc-head-open.inc' %]

koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
[% USE Categories %]
77
[% USE ItemTypes %]
88
[% USE CirculationRules %]
9+
[% USE Price %]
910
[% SET footerjs = 1 %]
1011

1112
[% SET branchcode = humanbranch || undef %]
@@ -281,7 +282,7 @@
281282
<td>[% chargeperiod | html %]</td>
282283
<td>[% IF chargeperiod_charge_at %]Start of interval[% ELSE %]End of interval[% END %]</td>
283284
<td>[% firstremind | html %]</td>
284-
<td>[% overduefinescap FILTER format("%.2f") %]</td>
285+
<td>[% overduefinescap | $Price %]</td>
285286
<td>
286287
[% IF cap_fine_to_replacement_price %]
287288
<input type="checkbox" checked="checked" disabled="disabled" />
@@ -369,7 +370,7 @@
369370
[% END %]
370371
</td>
371372
<td>[% recall_due_date_interval | html %]</td>
372-
<td>[% recall_overdue_fine FILTER format("%.2f") %]</td>
373+
<td>[% recall_overdue_fine | $Price %]</td>
373374
<td>[% recall_shelf_time | html %]</td>
374375
[% END %]
375376
<td class="actions">

0 commit comments

Comments
 (0)