From e5648ba218da6f07a0564a08dcbed0cecf674cab Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 8 Mar 2023 16:24:26 +0000 Subject: [PATCH] Bug 33137: Add Home library to pay-fines-table and table settings To test: 1. Apply patch and restart_All 2. From a patron's Accounting tab add some invoices that are related to an item. 3. From the 'Make a payemnt' notice the new Home library column. Make sure it displays correctly and is the same as what you see on the 'Transactions' tab. 4. Using Table settings, make sure you can properly hide the column. --- admin/columns_settings.yml | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 8967079401..76289719e9 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -969,6 +969,8 @@ modules: columnname: issuedate - columnname: checked_out_from + - + columnname: homebranch - columnname: note - diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt index 0e5771c382..f30c002d33 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt @@ -86,6 +86,7 @@ Checkin date Checkout date Checked out from + Home library Payment note Amount Amount outstanding @@ -150,6 +151,11 @@ [% line.checkout.library.branchname | html %] [% END %] + + [% IF line.itemnumber %] + [% Branches.GetName( line.item.homebranch ) | html %] + [% END %] + Add note -- 2.30.2