From 1a02d3d37eac24276e1091631161040ec9c0770e 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 --- 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 0681257ae5..0d5027f122 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 f30c002d33..d6e127a9a2 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.30.2