From eae0a7e065f867b9ba729281ba83b2568045ad50 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. Signed-off-by: Sally Signed-off-by: Martin Renvoize Signed-off-by: Tomas Cohen Arazi --- 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 aa29dfd4d6..0783724910 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -971,6 +971,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 392344b933..cd2bb5f22d 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.39.5