1 [% USE ItemTypes %] 2 [% USE AuthorisedValues %] 3 <table id="[% table_name | html %]"> 4 <thead> 5 <tr> 6 <th class="title-string">Waiting since</th> 7 <th class="title-string">Date hold placed</th> 8 <th class="anti-the">Title</th> 9 <th>Patron</th> 10 <th>Home library</th> 11 <th>Current location</th> 12 <th>Shelving location</th> 13 <th>Call number</th> 14 <th>Copy number</th> 15 <th>Enumeration</th> 16 <th class="NoSort noExport">Actions</th> 17 </tr> 18 </thead> 19 <tbody> 20 [% FOREACH reserveloo IN reserveloop %] 21 <tr> 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 %] 26 </a> 27 [% UNLESS ( item_level_itypes ) %] 28 [% IF ( ItemTypes.GetDescription(reserveloo.item.effective_itemtype) ) %] (<b>[% ItemTypes.GetDescription(reserveloo.item.effective_itemtype) | html %]</b>) 29 [% END %] 30 [% END %] 31 <br />Barcode: [% reserveloo.item.barcode | html %] 32 </td> 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 no_title=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> 38 [% END %] 39 </td> 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> 46 <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> 55 [% ELSE %] 56 <button type="submit" class="btn btn-default btn-xs"><i class="fa fa-remove"></i> Cancel hold</button> 57 [% END %] 58 </form> 59 </td> 60 </tr> 61 [% END %] 62 </tbody> 63 </table>