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 <chrisc@catalyst.net.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described, thx!

Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Alexander Cheeseman 2014-12-15 11:04:33 +13:00 committed by Tomas Cohen Arazi
parent ef6bc21b2c
commit df2e9169b2
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
[% USE Branches %]
[% USE AuthorisedValues %]
[% USE KohaDates %]
[% USE Price %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; Acquisitions &rsaquo;
[% 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>