From bff83318fb0e614e519892e771db3b9bfdf2935e 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 (cherry picked from commit eae0a7e065f867b9ba729281ba83b2568045ad50) Signed-off-by: Matt Blenkinsop (cherry picked from commit 656a179adb06b06e5367784cd39f5e2567ae4763) Signed-off-by: Lucas Gass (cherry picked from commit 3ec34be53a74ffc90e12beeb67c764e2a219eee4) Signed-off-by: Arthur Suzuki --- 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 38bc269fc2..9a18ed7c0c 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -759,6 +759,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 7ad139cdc9..77400378eb 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt @@ -68,6 +68,7 @@ Checkin date Checkout date Checked out from + Home library Payment note Amount Amount outstanding @@ -132,6 +133,11 @@ [% line.checkout.library.branchname | html %] [% END %] + + [% IF line.itemnumber %] + [% Branches.GetName( line.item.homebranch ) | html %] + [% END %] + Add note -- 2.39.5