Bug 15780: Add inventory number to checkout list on summary print

This will add the inventory number to the list of checkouts that
can be printed using the 'Print summary' feature from the patron
account in staff.

To test:
- Apply patch
- Make sure you have some items with and without inventory number set
- Check them out to any patron
- Go to Print > Print summary
- Verify the inventory number column is showing up and the numbers
  show with their items.

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Katrin Fischer 2020-09-17 11:52:10 +00:00 committed by Jonathan Druart
parent d1f412bd76
commit 973e1b1d5d
1 changed files with 3 additions and 1 deletions

View File

@ -40,6 +40,7 @@
<th>Item type</th>
<th>Date due</th>
<th>Barcode</th>
<th>Inventory number</th>
<th>Charge</th>
<th>Price</th>
<th>Status</th>
@ -56,6 +57,7 @@
<td>[% ItemTypes.GetDescription( issue.itype ) | html %]</td>
<td>[% issue.date_due | $KohaDates as_due_date => 1 %]</td>
<td>[% issue.barcode | html %]</td>
<td>[% issue.stocknumber | html %]</td>
<td>[% issue.charge | $Price %]</td>
<td>[% issue.replacementprice | $Price %]</td>
<td>[% IF ( issue.overdue ) %]Overdue![% ELSE %]&nbsp;[% END %]</td>
@ -63,7 +65,7 @@
[% END %]
<tr>
<td colspan="6" style="text-align: right; font-weight:bold;">Totals:</td>
<td colspan="7" style="text-align: right; font-weight:bold;">Totals:</td>
<td>[% totaldue | $Price %]</td>
<td>[% totalprice | $Price %]</td>
<td colspan="3">&nbsp;</td>