Browse Source

Bug 22121: Display 'Price paid' on ILL requests according to CurrencyFormat pref

To test:
- Install BLDSS backend
  see: https://wiki.koha-community.org/wiki/ILL_backends
- Add a new BLDSS ILL request
- Edit ILL request
- Fill in Price paid field
- Verify Price paid is formatted correctly on 'Manage ILL request'
  page

Signed-off-by: Ethan Amohia <ethan.amohia@gmail.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

https://bugs.koha-community.org/show_bug.cgi?id=22121

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
19.05.x
Andrew Isherwood 5 years ago
committed by Nick Clemens
parent
commit
1493c42e7b
  1. 7
      koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt

7
koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt

@ -6,6 +6,7 @@
[% SET footerjs = 1 %]
[% USE AuthorisedValues %]
[% USE ColumnsSettings %]
[% USE Price %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha &rsaquo; ILL requests</title>
@ -224,7 +225,7 @@
</li>
<li class="cost">
<label class="cost">Cost:</label>
[% IF request.cost %][% request.cost | html %][% ELSE %]<span>N/A</span>[% END %]
[% IF request.cost %][% request.cost | $Price %][% ELSE %]<span>N/A</span>[% END %]
</li>
<li class="price_paid">
<label class="price_paid">Price paid:</label>
@ -379,11 +380,11 @@
</li>
<li class="cost">
<span class="label cost">Cost:</span>
[% IF request.cost %][% request.cost | html %][% ELSE %]<span>N/A</span>[% END %]
[% IF request.cost %][% request.cost | $Price %][% ELSE %]<span>N/A</span>[% END %]
</li>
<li class="price_paid">
<span class="label price_paid">Price paid:</span>
[% IF request.price_paid %][% request.price_paid | html %][% ELSE %]<span>N/A</span>[% END %]
[% IF request.price_paid %][% request.price_paid | $Price %][% ELSE %]<span>N/A</span>[% END %]
</li>
<li class="req_id">
<span class="label req_id">Request number:</span>

Loading…
Cancel
Save