From 87ae8b21b4f1772706ec62292d13376eed4b4a87 Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Wed, 15 Feb 2023 23:05:12 +0000 Subject: [PATCH] Bug 32977: Add callnumber column to boraccount.tt To test: 1. Apply patch, restart_all 2. Create a manual invoice for an item that has an item.itemcallnumber 3. Go to the transaction tab and see that the particualar accountline contains a callnumber in the new callnumber column. 4. Make sure you can hide the column, and other columns, correctly via Table settings or via the Column icon. Signed off by: Michael Perry (Siskiyou County Library) Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- admin/columns_settings.yml | 2 ++ koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/admin/columns_settings.yml b/admin/columns_settings.yml index 8967079401..a4163be70b 100644 --- a/admin/columns_settings.yml +++ b/admin/columns_settings.yml @@ -915,6 +915,8 @@ modules: columnname: description - columnname: barcode + - + columnname: callnumber - columnname: date_due - diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt index 310e4795d6..de9a2f3d12 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/boraccount.tt @@ -83,6 +83,7 @@ Account type Description of charges Barcode + Call number Due date Checkin date Checkout date @@ -108,6 +109,7 @@ [%- IF account.description %][% account.description | html %][% END %]  [% IF ( account.itemnumber ) %][% account.item.biblio.title | html %][% END %] [% IF ( account.itemnumber ) %][% account.item.barcode | html %][% END %] + [% IF ( account.itemnumber ) %][% account.item.itemcallnumber | html %][% END %] [% IF ( account.issue_id ) %][% account.checkout.date_due | $KohaDates as_due_date => 1 %][% END %] [% IF ( account.issue_id ) %][% account.checkout.returndate | $KohaDates with_hours => 1 %][% END %] [% IF ( account.issue_id ) %][% account.checkout.issuedate | $KohaDates %][% END %] @@ -159,7 +161,7 @@ [% END %] - Total due + Total due [% IF ( totalcredit ) %] [% total | $Price %] -- 2.39.2