Bugzilla – Attachment 136485 Details for
Bug 20395
Use Price formatter in more templates (paycollect, request, parcel, smart-rules)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20395: Followup to change format to use price filter
Bug-20395-Followup-to-change-format-to-use-price-f.patch (text/plain), 2.73 KB, created by
Martin Renvoize (ashimema)
on 2022-06-24 10:14:11 UTC
(
hide
)
Description:
Bug 20395: Followup to change format to use price filter
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-06-24 10:14:11 UTC
Size:
2.73 KB
patch
obsolete
>From 95d1131bbcd014ec7cda6abcd6ce720875ae5ef1 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Thu, 15 Mar 2018 16:08:45 +0000 >Subject: [PATCH] Bug 20395: Followup to 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> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt | 1 - > koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 5 +++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt >index d34b5e70b2..0ce8e32d82 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/parcel.tt >@@ -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' %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >index 5c6c0e6a88..e7b8451ff3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt >@@ -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"> >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20395
:
72903
|
72976
|
73057
|
73058
|
136484
| 136485 |
136503