2 [% USE AuthorisedValues %]
3 <table id="[% table_name | html %]">
6 <th class="title-string">Waiting since</th>
7 <th class="title-string">Date hold placed</th>
8 <th class="anti-the">Title</th>
11 <th>Current location</th>
12 <th>Shelving location</th>
20 [% FOREACH reserveloo IN reserveloop %]
22 <td><span title="[% reserveloo.waitingdate | html %]">[% reserveloo.waitingdate | $KohaDates %]</span></td>
23 <td><span title="[% reserveloo.reservedate | html %]">[% reserveloo.reservedate | $KohaDates %]</span></td>
24 <td>[% INCLUDE 'biblio-default-view.inc' biblionumber = reserveloo.biblionumber %]
25 [% INCLUDE 'biblio-title.inc' biblio=reserveloo.biblio %]
27 [% UNLESS ( item_level_itypes ) %]
28 [% IF ( ItemTypes.GetDescription(reserveloo.item.effective_itemtype) ) %] (<b>[% ItemTypes.GetDescription(reserveloo.item.effective_itemtype) | html %]</b>)
31 <br />Barcode: [% reserveloo.item.barcode | html %]
33 <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% reserveloo.borrower.borrowernumber | uri %]">[% INCLUDE 'patron-title.inc' patron=reserveloo.borrower invert_name=1 %]</a>
34 [% IF ( reserveloo.borrower.phone ) %]<br /><span class="patron_phone">[% reserveloo.borrower.phone | html %]</span>[% END %]
35 [% IF ( reserveloo.borrower.first_valid_email_address ) %]
36 <span class="patron_email"><br /><a href="mailto:[% reserveloo.borrower.first_valid_email_address | uri %]?subject=[% "Hold waiting: " | uri %][% reserveloo.biblio.title | uri %]">
37 [% reserveloo.borrower.first_valid_email_address | html %]</a></span>
40 <td>[% Branches.GetName( reserveloo.item.homebranch ) | html %]</td>
41 <td>[% Branches.GetName( reserveloo.item.holdingbranch ) | html %]</td>
42 <td>[% AuthorisedValues.GetByCode('LOC', reserveloo.item.location) | html %]</td>
43 <td>[% reserveloo.item.itemcallnumber | html %]</td>
44 <td>[% reserveloo.item.copynumber | html %]</td>
45 <td>[% reserveloo.item.enumchron | html %]</td>
47 <form name="cancelReserve" action="waitingreserves.pl" method="post">
48 <input type="hidden" name="borrowernumber" value="[% reserveloo.borrower.borrowernumber | html %]" />
49 <input type="hidden" name="itemnumber" value="[% reserveloo.item.itemnumber | html %]" />
50 <input type="hidden" name="fbr" value="[% reserveloo.item.holdingbranch | html %]" />
51 <input type="hidden" name="tbr" value="[% reserveloo.item.homebranch | html %]" />
52 <input type="hidden" name="tab" value="[% tab | html %]">
53 [% IF ( reserveloo.item.homebranch != reserveloo.item.holdingbranch ) %]
54 <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>
56 <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-remove"></i> Cancel hold</button>