From d186a153d1b95de9a4354b22ccad667bb43c416d Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 6 Aug 2024 17:00:17 +0000 Subject: [PATCH] Bug 37578: Remove the Charges tab from checkout and patron details This patch removes the "Charges" tab from the include file which is used by the circulation and patron details templates. Information about charges and credits is already shown at the top of these pages under the "Attention" heading. This tab is already hidden on the checkout page because the script doesn't provide the data to display. To test, apply the patch locate a patron with charges. - Check out to the patron. As before, you should see under the "Attention" heading at the top, "Charges: Patron has outstanding charges of..." - There should be no "Charges" tab below in the section showing tabs for checkouts, holds, etc. - Check the same details on the patron detai page. - A patron with credits should be displayed similarly. Sponsored-by: Athens County Public Libraries --- .../intranet-tmpl/prog/en/includes/patron-detail-tabs.inc | 6 ------ 1 file changed, 6 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 eebb3d1111..0faebfa66d 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 @@ -13,12 +13,6 @@ [% END %] [% END %] - [% IF ( fines ) %] - [% WRAPPER tab_item tabname= "finesandcharges" %] - Charges ([% fines | $Price %]) - [% END %] - [% END %] - [% IF ( guarantees_fines ) %] [% WRAPPER tab_item tabname= "guarantees_finesandcharges" %] Guarantees' charges ([% guarantees_fines | $Price %]) -- 2.39.2