From 3ec34be53a74ffc90e12beeb67c764e2a219eee4 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 --- 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 f6d0ef146d..877a90bea3 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -835,6 +835,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 577e552843..d5bb5b5117 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt @@ -70,6 +70,7 @@ Checkin date Checkout date Checked out from + Home library Payment note Amount Amount outstanding @@ -134,6 +135,11 @@ [% line.checkout.library.branchname | html %] [% END %] + + [% IF line.itemnumber %] + [% Branches.GetName( line.item.homebranch ) | html %] + [% END %] + Add note -- 2.39.5