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 library</th>
12 <th>Shelving location</th>
16 <th class="NoSort noExport">Actions</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>
25 [% INCLUDE 'biblio-title.inc' biblio=reserveloo.biblio link = 1 %]
26 [% UNLESS ( item_level_itypes ) %]
27 [% IF ( ItemTypes.GetDescription(reserveloo.item.effective_itemtype) ) %] (<strong>[% ItemTypes.GetDescription(reserveloo.item.effective_itemtype) | html %]</strong>)
30 <br />Barcode: [% reserveloo.item.barcode | html %]
32 <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>
33 [% IF ( reserveloo.borrower.phone ) %]<br /><span class="patron_phone">[% reserveloo.borrower.phone | html %]</span>[% END %]
34 [% IF ( reserveloo.borrower.first_valid_email_address ) %]
35 <span class="patron_email"><br /><a href="mailto:[% reserveloo.borrower.first_valid_email_address | uri %]?subject=[% "Hold waiting: " | uri %][% reserveloo.biblio.title | uri %]">
36 [% reserveloo.borrower.first_valid_email_address | html %]</a></span>
39 <td>[% Branches.GetName( reserveloo.item.homebranch ) | html %]</td>
40 <td>[% Branches.GetName( reserveloo.item.holdingbranch ) | html %]</td>
41 <td>[% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.location', authorised_value => reserveloo.item.location) | html %]</td>
42 <td>[% reserveloo.item.itemcallnumber | html %]</td>
43 <td>[% reserveloo.item.copynumber | html %]</td>
44 <td>[% reserveloo.item.enumchron | html %]</td>
46 <form name="cancelReserve" action="waitingreserves.pl" method="post">
47 <input type="hidden" name="borrowernumber" value="[% reserveloo.borrower.borrowernumber | html %]" />
48 <input type="hidden" name="itemnumber" value="[% reserveloo.item.itemnumber | html %]" />
49 <input type="hidden" name="fbr" value="[% reserveloo.item.holdingbranch | html %]" />
50 <input type="hidden" name="tbr" value="[% reserveloo.item.homebranch | html %]" />
51 <input type="hidden" name="tab" value="[% tab | html %]">
52 [% IF ( reserveloo.item.homebranch != reserveloo.item.holdingbranch ) %]
53 <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>
55 <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-remove"></i> Cancel hold</button>