2 [% USE AuthorisedValues %]
3 <table class="holds_table" id="[% table_name | html %]">
7 <th class="NoSort"><input type="checkbox" class="select_hold_all"/></th>
10 <th>Date hold placed</th>
11 <th>Expiration date</th>
12 <th class="anti-the">Title</th>
15 <th>Current library</th>
16 <th>Shelving location</th>
20 <th class="NoSort noExport">Actions</th>
24 [% FOREACH reserveloo IN reserveloop %]
26 [% IF select_column %]
27 <th><input type="checkbox" class="select_hold" data-id="[% reserveloo.reserve_id | html %]"/></th>
29 <td><span data-order="[% reserveloo.waitingdate | html %]">[% reserveloo.waitingdate | $KohaDates %]</span></td>
30 <td><span data-order="[% reserveloo.reservedate | html %]">[% reserveloo.reservedate | $KohaDates %]</span></td>
31 <td><span data-order="[% reserveloo.expirationdate | html %]">[% reserveloo.expirationdate | $KohaDates %]</span></td>
33 [% INCLUDE 'biblio-title.inc' biblio=reserveloo.biblio link = 1 %]
34 [% UNLESS ( item_level_itypes ) %]
35 [% IF ( ItemTypes.GetDescription(reserveloo.item.effective_itemtype) ) %] (<strong>[% ItemTypes.GetDescription(reserveloo.item.effective_itemtype) | html %]</strong>)
38 <br />Barcode: [% reserveloo.item.barcode | html %]
40 <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% reserveloo.borrower.borrowernumber | uri %]">[% INCLUDE 'patron-title.inc' patron=reserveloo.borrower invert_name=1 no_title=1 %]</a>
41 [% IF ( reserveloo.borrower.phone ) %]<br /><span class="patron_phone">[% reserveloo.borrower.phone | html %]</span>[% END %]
42 [% IF ( reserveloo.borrower.first_valid_email_address ) %]
43 <span class="patron_email"><br /><a href="mailto:[% reserveloo.borrower.first_valid_email_address | uri %]?subject=[% "Hold waiting: " | uri %][% reserveloo.biblio.title | uri %]">
44 [% reserveloo.borrower.first_valid_email_address | html %]</a></span>
47 <td>[% Branches.GetName( reserveloo.item.homebranch ) | html %]</td>
48 <td>[% Branches.GetName( reserveloo.item.holdingbranch ) | html %][% IF (reserveloo.desk_id ) %], [% reserveloo.desk.desk_name | html %][% END %]</td>
49 <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => reserveloo.item.location) | html %]</td>
50 <td>[% reserveloo.item.itemcallnumber | html %]</td>
51 <td>[% reserveloo.item.copynumber | html %]</td>
52 <td>[% reserveloo.item.enumchron | html %]</td>
54 <form name="cancelReserve" action="waitingreserves.pl" method="post">
55 <input type="hidden" name="borrowernumber" value="[% reserveloo.borrower.borrowernumber | html %]" />
56 <input type="hidden" name="itemnumber" value="[% reserveloo.item.itemnumber | html %]" />
57 <input type="hidden" name="fbr" value="[% reserveloo.item.holdingbranch | html %]" />
58 <input type="hidden" name="tbr" value="[% reserveloo.item.homebranch | html %]" />
59 <input type="hidden" name="tab" value="[% tab | html %]">
60 [% IF ( reserveloo.item.homebranch != reserveloo.item.holdingbranch ) %]
61 <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-remove"></i> Cancel hold and return to: [% Branches.GetName( reserveloo.item.homebranch ) | html %]</button>
63 <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-remove"></i> Cancel hold</button>