From f35871346811e0911a5c89d2478a7c3192505d9d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 24 May 2023 13:16:14 +0200 Subject: [PATCH] Bug 33817: Prevent item bundle that is checked out to be modified Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index cd48d884a0..8dd92e729a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -380,7 +380,8 @@ [% FOREACH item IN items %] - + [% SET date_due = item.object.checkout.date_due %] + [% IF (StaffDetailItemSelection) %] [% IF item.can_be_edited %] @@ -477,7 +478,7 @@ [% END %] [% INCLUDE 'patron-title.inc' patron=item.object.checkout.patron hide_patron_infos_if_needed=1 %] [% END %] - : due [% item.object.checkout.date_due | $KohaDates as_due_date => 1 %] + : due [% date_due | $KohaDates as_due_date => 1 %] [% ELSIF ( transfer = item.object.get_transfer ) %] [% IF (transfer.datesent) %] -- 2.40.1