From 4e83b669a5e7a8f6164c765ec7f5fc5e1fa3cb0d Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Tue, 17 Feb 2026 10:20:11 +0000 Subject: [PATCH] Bug 41861: Update how cost and price_paid show 1) Enabled ILLModule 2) Create a new ILL request, set a title, '42' for cardnumber and any library: /cgi-bin/koha/ill/ill-requests.pl?method=create&backend=Standard 3) (k-t-d required, cost is not editable in UI, but backends may set it) Run the following query: koha-mysql kohadev update illrequests set cost = 1; 4) Notice cost shows, now run the same but set to 0: update illrequests set cost = 1; 5) Notice it doesn't show. 6) Apply patch. Refresh. Notice is shows '0' now. Signed-off-by: David Nind Signed-off-by: Edith Speller Signed-off-by: Baptiste Wojtkowski Signed-off-by: Lucas Gass (cherry picked from commit 041fa90a0d5af1403cc7fdd1389a28aefbd01402) Signed-off-by: Jacob O'Mara Signed-off-by: Wainui Witika-Park --- koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt | 6 +++--- 1 file changed, 3 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 1d8957641e..2629b5b510 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 @@ -434,7 +434,7 @@
  • - [% IF request.cost %][% request.cost | $Price %][% ELSE %]N/A[% END %] + [% IF request.cost.defined %][% request.cost | $Price %][% ELSE %]N/A[% END %]
  • @@ -700,13 +700,13 @@ [% type_disclaimer_date | $KohaDates with_hours => 1 %]
  • [% END %] - [% IF request.cost %] + [% IF request.cost.defined %]
  • Cost: [% request.cost | $Price %]
  • [% END %] - [% IF request.price_paid %] + [% IF request.price_paid.defined %]
  • Price paid: [% request.price_paid | $Price %]