Bug 36476: Add holds priority column to members/summary-print.pl pending holds table

To test:
APPLY PATCH and restart_all
1. Have a patron with and some holds and different priority.
2. Go to the patron account and click Print > Print summary
3. Notice the new holds priority column.

Note: Table settings don't work on these tables. See Bug 36475.
Signed-off-by: Sam Lau <samalau@gmail.com>
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Lucas Gass 2024-04-01 15:46:38 +00:00 committed by Katrin Fischer
parent ad646cb787
commit a53b701c7e
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834
3 changed files with 5 additions and 0 deletions

View file

@ -1966,6 +1966,8 @@ modules:
columnname: expires_on
-
columnname: pick up_location
-
columnname: priority
print-summary-fines:
columns:

View file

@ -121,6 +121,7 @@
<th>Placed on</th>
<th>Expires on</th>
<th>Pick up location</th>
<th>Hold priority</th>
</tr>
</thead>
<tbody>
@ -131,6 +132,7 @@
<td>[% reserve.reservedate | $KohaDates %]</td>
<td>[% reserve.expirationdate | $KohaDates %]</td>
<td>[% reserve.waiting_at | html %]</td>
<td>[% reserve.priority | html %]</td>
</tr>
[% END %]
</tbody>

View file

@ -118,6 +118,7 @@ sub build_reserve_data {
reservedate => $reserve->reservedate(),
expirationdate => $reserve->expirationdate(),
waiting_at => $reserve->branch()->branchname(),
priority => $reserve->priority,
};
push( @{$return}, $row );