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 <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Lucas Gass 2023-03-08 16:40:24 +00:00 committed by Tomas Cohen Arazi
parent eae0a7e065
commit e657c3d5a9
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
2 changed files with 8 additions and 0 deletions

View File

@ -963,6 +963,8 @@ modules:
columnname: date
-
columnname: barcode
-
columnname: callnumber
-
columnname: date_due
-

View File

@ -82,6 +82,7 @@
<th>Description</th>
<th>Date</th>
<th>Barcode</th>
<th>Call number</th>
<th>Due date</th>
<th>Checkin date</th>
<th>Checkout date</th>
@ -131,6 +132,11 @@
<a href="/cgi-bin/koha/catalogue/moredetail.pl?itemnumber=[% line.itemnumber | uri %]&amp;biblionumber=[% line.item.biblionumber | uri %]#item[% line.itemnumber | uri %]">[% line.item.barcode | html %]</a>
[% END %]
</td>
<td>
[% IF line.itemnumber %]
[% line.item.itemcallnumber | html %]
[% END %]
</td>
<td>
[% IF line.issue_id %]
[% line.checkout.date_due | $KohaDates as_due_date => 1 %]