From af524d816a1a53fdc1bb5b51b7116a11172a0843 Mon Sep 17 00:00:00 2001 From: Laura Escamilla Date: Fri, 29 Dec 2023 17:07:38 +0000 Subject: [PATCH] Bug 35669: Update check in messages to match the lost authorised value. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To test: 1. Set an item to a Lost status of "Lost". When you check in that item you will get a message that says "Item was lost, now found." 2. Set an item to a Lost status of "Missing". When you check in that item you will get the same message that says "Item was lost, now found." 3. Apply the patch. 4. Set an item to a Lost status of “Missing”. When you check in that item you will now get the message that says “Item was Missing, now found.” 5. Test step 4 with other custom LOST authorised values. The checkin message should match those value descriptions. 6. Sign off and have a wonderful day :) Signed-off-by: David Nind --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 2abde7f9c5..6cce29cff3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -337,7 +337,8 @@ [% IF Koha.Preference('BlockReturnOfLostItems') %]

Item is lost, cannot be checked in.

[% ELSE %] -

Item was lost, now found.

+ [% itemlost_description = AuthorisedValues.GetDescriptionByKohaField({ kohafield = 'items.itemlost', authorised_value = item.itemlost }) %] +

Item was [% itemlost_description %], now found.

[% END %] [% IF LostItemFeeRefunded and not Koha.Preference('BlockReturnOfLostItems') %]

A refund for the lost item charge has been applied to the borrowing patron's account.

-- 2.30.2