From 6c925609349f4cc3693eccfcb69c71060ae16dca 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 --- koha-tmpl/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 bfe0198..b2f3ea4 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.1.3