From 2cbf17489760a37012f02107b3590821eb9f95dc 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. Signed-off-by: Katrin Fischer --- 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 8833e66d8b..dacdbd8001 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.39.5