Bugzilla – Attachment 170183 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.47 KB, created by
Biblibre Sandboxes
on 2024-08-09 12:16:34 UTC
(
hide
)
Description:
Bug 37578: Remove the Charges tab from checkout and patron details
Filename:
MIME Type:
Creator:
Biblibre Sandboxes
Created:
2024-08-09 12:16:34 UTC
Size:
2.47 KB
patch
obsolete
>From e24fa558f5d0294197ed8512fa275080614ce26e 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> >--- > .../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 eebb3d1111..739c87be8e 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.39.2
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