From f551838d03bd5feb87ca0381a2504b99cefdebb6 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Tue, 15 Jul 2025 12:47:51 +0000 Subject: [PATCH] Bug 40395: Reimplement delete --- .../prog/en/includes/patron-detail-tabs.inc | 17 ++++----------- koha-tmpl/intranet-tmpl/prog/js/holds.js | 21 +++++-------------- 2 files changed, 9 insertions(+), 29 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-detail-tabs.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-detail-tabs.inc index 8389312a123..ef6865313fa 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-detail-tabs.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-detail-tabs.inc @@ -1,6 +1,7 @@ [% USE raw %] [% PROCESS 'html_helpers.inc' %] +[% PROCESS 'modals/holds_table_modals.inc' %] [% WRAPPER tabs id= "finesholdsissues" %] [% WRAPPER tabs_nav %] [% WRAPPER tab_item tabname= "checkouts" bt_active= 1 %] @@ -165,22 +166,12 @@
- - - [% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %] - [% IF hold_cancellation.count %] - - - - [% END %] +
+ [% PROCESS 'cancel-hold-modal' form_action = '/cgi-bin/koha/reserve/modrequest.pl' from_param = patronpage %] + [% IF Koha.Preference('SuspendHoldsIntranet') %]
diff --git a/koha-tmpl/intranet-tmpl/prog/js/holds.js b/koha-tmpl/intranet-tmpl/prog/js/holds.js index aa69b284779..466597d4b85 100644 --- a/koha-tmpl/intranet-tmpl/prog/js/holds.js +++ b/koha-tmpl/intranet-tmpl/prog/js/holds.js @@ -353,26 +353,15 @@ $(document).ready(function () { }, }, { - orderable: false, data: function (oObj) { return ( - "" + - "" + - "" + - "" + '" href="#"> ' ); }, }, -- 2.39.5