From 69b8a0a2921d2e15a471562c472b7e217c711b05 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 8 Mar 2023 16:40:24 +0000 Subject: [PATCH] Bug 33137: Add call number 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 Call number column. 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 e657c3d5a9ec142113eba19bf106eb662796f6f0) Signed-off-by: Matt Blenkinsop --- 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 d75db94103..d11142c4c8 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -944,6 +944,8 @@ modules: columnname: date - columnname: barcode + - + columnname: callnumber - columnname: date_due - 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 cd2bb5f22d..6c809b1498 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/pay.tt @@ -82,6 +82,7 @@ Description Date Barcode + Call number Due date Checkin date Checkout date @@ -131,6 +132,11 @@ [% line.item.barcode | html %] [% END %] + + [% IF line.itemnumber %] + [% line.item.itemcallnumber | html %] + [% END %] + [% IF line.issue_id %] [% line.checkout.date_due | $KohaDates as_due_date => 1 %] -- 2.39.5