From df2e9169b23ad3ecfbbf73367a19cb9117fb4ed4 Mon Sep 17 00:00:00 2001 From: Alexander Cheeseman Date: Mon, 15 Dec 2014 11:04:33 +1300 Subject: [PATCH] bug 13460: suggestion.tt now uses Price plugin To test: 1/ Add a new suggestion, put some values for the price 2/ View the suggestion in the staff interface 2/ Switch the currency format 3/ Notice the format of the price does not change 4/ Apply patch 5/ Notice now the syspref is respected Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Works as described, thx! Signed-off-by: Tomas Cohen Arazi --- .../intranet-tmpl/prog/en/modules/suggestion/suggestion.tt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt index bfe0198734..b2f3ea4ab7 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt @@ -1,6 +1,7 @@ [% USE Branches %] [% USE AuthorisedValues %] [% USE KohaDates %] +[% USE Price %] [% INCLUDE 'doc-head-open.inc' %] Koha › Acquisitions › [% IF ( op_save ) %] @@ -294,10 +295,10 @@ h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o <span class="label">Currency:</span>[% currency %] </li> <li> - <span class="label">Price:</span>[% price %] + <span class="label">Price:</span>[% price | $Price %] </li> <li> - <span class="label">Total</span>[% total %] + <span class="label">Total</span>[% total | $Price %] </li> </ol> </fieldset> -- 2.39.5