From 77735fc9d4c635f8e35278394b8bf457a3afc968 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 26 Feb 2024 09:27:27 +0000 Subject: [PATCH] Bug 35944: Add link to 'booked' biblio in checkouts table This patch updates the checkouts table so handle 'booked' items including linking to the biblio booking details page. --- koha-tmpl/intranet-tmpl/prog/js/checkouts.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js index 8833e66d8b2..dacdbd80017 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/checkouts.js +++ b/koha-tmpl/intranet-tmpl/prog/js/checkouts.js @@ -238,6 +238,12 @@ function LoadIssuesTable() { span_style = "display: none"; span_class = "renewals-allowed-recalled"; + } else if ( oObj.can_renew_error == "booked" ) { + msg += "" + + "" + __("Booked") + "" + + ""; + span_style = "display: none"; + span_class = "renewals-allowed-booked"; } else if ( oObj.can_renew_error == "on_reserve" ) { msg += "" +"" + __("On hold") + "" -- 2.30.2