From 9304cea6f04baab588a7de24a06dc14994b46405 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 15 Apr 2019 18:55:21 +0100 Subject: [PATCH] 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 Signed-off-by: Martin Renvoize Signed-off-by: Nick Clemens (reimplimentation of commit 1493c42e7bae5bffab430072587b7aa0527f6fc7 for 18.11.x series) Signed-off-by: Martin Renvoize --- .../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 a28c92bcde..5173a18c47 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 @@ -3,6 +3,7 @@ [% USE Branches %] [% USE Koha %] [% USE KohaDates %] +[% USE Price %] [% INCLUDE 'doc-head-open.inc' %] Koha › ILL requests › @@ -457,7 +458,7 @@
  • - [% IF request.cost %][% request.cost | html %][% ELSE %]N/A[% END %] + [% IF request.cost %][% request.cost | $Price %][% ELSE %]N/A[% END %]
  • @@ -568,11 +569,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.39.5