Bugzilla – Attachment 170193 Details for
Bug 37578
Remove the Charges tab from checkout and patron details
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37578: Remove the Charges tab from checkout and patron details
Bug-37578-Remove-the-Charges-tab-from-checkout-and.patch (text/plain), 2.53 KB, created by
Tomás Cohen Arazi (tcohen)
on 2024-08-09 13:45:42 UTC
(
hide
)
Description:
Bug 37578: Remove the Charges tab from checkout and patron details
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2024-08-09 13:45:42 UTC
Size:
2.53 KB
patch
obsolete
>From 172a67e54554c648729a44e5482eeeb55febcf2c Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 6 Aug 2024 17:09:53 +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 >Signed-off-by: Nicolas Hunstein <nicolas.hunstein@bsz-bw.de> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > .../prog/en/includes/patron-detail-tabs.inc | 14 -------------- > 1 file changed, 14 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 eebb3d11114..739c87be8e9 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" %] >- <span>Charges ([% fines | $Price %])</span> >- [% END %] >- [% END %] >- > [% IF ( guarantees_fines ) %] > [% WRAPPER tab_item tabname= "guarantees_finesandcharges" %] > <span>Guarantees' charges ([% guarantees_fines | $Price %])</span> >@@ -99,14 +93,6 @@ > [% INCLUDE "relatives-issues-table.inc" %] > [% END # /tab_panel# %] > >- [% WRAPPER tab_panel tabname="finesandcharges" %] >- [% IF ( fines ) %] >- <p>Total due: [% fines | $Price %]</p> >- [% ELSE %] >- <p>No outstanding charges</p> >- [% END %] >- [% END # /tab_panel# %] >- > [% IF ( guarantees_fines ) %] > [% WRAPPER tab_panel tabname="guarantees_finesandcharges" %] > <table id="tguaranteesfines"> >-- >2.46.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37578
:
170103
|
170104
|
170183
| 170193