From 847de61ed9b2e0ca6dfac70652c5717acd82cc88 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Fri, 5 Apr 2019 14:45:39 +0100 Subject: [PATCH] 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 Signed-off-by: Martin Renvoize https://bugs.koha-community.org/show_bug.cgi?id=22121 --- koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt index 39f09ee36b..2becaf5304 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt +++ b/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' %] Koha › ILL requests @@ -224,7 +225,7 @@
  • - [% IF request.cost %][% request.cost | html %][% ELSE %]N/A[% END %] + [% IF request.cost %][% request.cost | $Price %][% ELSE %]N/A[% END %]
  • @@ -379,11 +380,11 @@
  • Cost: - [% IF request.cost %][% request.cost | html %][% ELSE %]N/A[% END %] + [% IF request.cost %][% request.cost | $Price %][% ELSE %]N/A[% END %]
  • Price paid: - [% IF request.price_paid %][% request.price_paid | html %][% ELSE %]N/A[% END %] + [% IF request.price_paid %][% request.price_paid | $Price %][% ELSE %]N/A[% END %]
  • Request number: -- 2.11.0