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:
parent
ad646cb787
commit
a53b701c7e
3 changed files with 5 additions and 0 deletions
|
@ -1966,6 +1966,8 @@ modules:
|
||||||
columnname: expires_on
|
columnname: expires_on
|
||||||
-
|
-
|
||||||
columnname: pick up_location
|
columnname: pick up_location
|
||||||
|
-
|
||||||
|
columnname: priority
|
||||||
|
|
||||||
print-summary-fines:
|
print-summary-fines:
|
||||||
columns:
|
columns:
|
||||||
|
|
|
@ -121,6 +121,7 @@
|
||||||
<th>Placed on</th>
|
<th>Placed on</th>
|
||||||
<th>Expires on</th>
|
<th>Expires on</th>
|
||||||
<th>Pick up location</th>
|
<th>Pick up location</th>
|
||||||
|
<th>Hold priority</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
@ -131,6 +132,7 @@
|
||||||
<td>[% reserve.reservedate | $KohaDates %]</td>
|
<td>[% reserve.reservedate | $KohaDates %]</td>
|
||||||
<td>[% reserve.expirationdate | $KohaDates %]</td>
|
<td>[% reserve.expirationdate | $KohaDates %]</td>
|
||||||
<td>[% reserve.waiting_at | html %]</td>
|
<td>[% reserve.waiting_at | html %]</td>
|
||||||
|
<td>[% reserve.priority | html %]</td>
|
||||||
</tr>
|
</tr>
|
||||||
[% END %]
|
[% END %]
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
|
@ -118,6 +118,7 @@ sub build_reserve_data {
|
||||||
reservedate => $reserve->reservedate(),
|
reservedate => $reserve->reservedate(),
|
||||||
expirationdate => $reserve->expirationdate(),
|
expirationdate => $reserve->expirationdate(),
|
||||||
waiting_at => $reserve->branch()->branchname(),
|
waiting_at => $reserve->branch()->branchname(),
|
||||||
|
priority => $reserve->priority,
|
||||||
};
|
};
|
||||||
|
|
||||||
push( @{$return}, $row );
|
push( @{$return}, $row );
|
||||||
|
|
Loading…
Reference in a new issue