Changes to make checkouts/holds display the same on circulation and patron detail...
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / waitingreserves.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Circulation &rsaquo; Holds awaiting pickup</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
5 <script type="text/javascript" language="JavaScript">
6 //<![CDATA[
7 $.tablesorter.addParser({
8     id: 'articles', 
9     is: function(s) {return false;  }, 
10     format: function(s) { return s.toLowerCase().replace(/^(the|an|a) /,''); }, 
11     type: 'text' 
12 });
13          $(document).ready(function() {
14                 $("th a").hide();
15                 $.tablesorter.defaults.widgets = ['zebra'];
16                 $("#holdst").tablesorter({<!-- TMPL_IF EXPR="dateformat eq 'metric'" -->
17                 dateFormat: 'uk',<!-- /TMPL_IF -->
18                         sortList: [[3,0]],
19                         headers: { 1:{sorter:'articles'},3: { sorter: 'articles' },4:{sorter:false}}
20                 }); 
21          });
22 //]]>
23 </script>
24 </head>
25 <body>
26 <!-- TMPL_INCLUDE NAME="header.inc" -->
27 <!-- TMPL_INCLUDE NAME="circ-search.inc" -->
28
29 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a>
30 &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
31 &rsaquo; <a href="/cgi-bin/koha/circ/waitingreserves.pl">Holds awaiting pickup</a>
32 </div>
33
34 <div id="doc" class="yui-t7">
35    
36    <div id="bd">
37         <div id="yui-main">
38         <div class="yui-g">
39
40         <h2>Holds awaiting pickup for your library on: <!-- TMPL_VAR NAME="show_date" --></h2>
41         <!-- TMPL_IF NAME="messagetransfert" -->
42             <div>
43                 <h2>Hold find for (<!-- TMPL_VAR NAME="nextreservtitle" -->) must transfered</h2>
44                 <p>This hold placed by : <b> <!-- TMPL_VAR NAME="nextreservsurname" --> <!-- TMPL_VAR NAME="nextreservfirstname" --></b> at the library : <b> <!-- TMPL_VAR NAME="branchname" --> </b>, Please transfer this hold.
45                 </p>
46                 <form name="cancelReservewithtransfert" action="waitingreserves.pl" method="post">
47                     <input type="submit" class="button" />
48                 </form>
49             </div>
50         <!-- /TMPL_IF -->
51         <!-- TMPL_IF NAME="waiting" -->
52             <div id="bloc25">
53                 <h2>This hold is waiting</h2>
54                 <p>This hold (<!-- TMPL_VAR NAME="nextreservtitle" -->) was placed by <b> : <!-- TMPL_VAR NAME="nextreservsurname" --> <!-- TMPL_VAR NAME="nextreservfirstname" --></b>,
55                 Please retain this hold.
56                 </p>
57                 <form name="cancelReservewithwaiting" action="waitingreserves.pl" method="post">
58                     <input type="submit" />
59                 </form>
60             </div>
61         <!-- /TMPL_IF -->
62         <!-- TMPL_UNLESS NAME="message" -->
63         <div id="resultlist">
64             <!-- TMPL_IF NAME="reserveloop" -->
65                <table id="holdst">
66                <thead><tr>
67                     <th>Available since</th>
68                     <th>Title</th>
69                     <th>Patron</th>
70                     <th>Location</th>
71                     <th>Action</th>
72                </tr></thead>
73                <tbody><!-- TMPL_LOOP NAME="reserveloop" -->
74                 <!-- TMPL_IF NAME="messcompa" --><tr class="problem"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
75                     <td><p><!-- TMPL_VAR NAME="waitingdate" --></p>
76                         <!-- TMPL_IF NAME="messcompa" -->Hold Over<!-- /TMPL_IF -->
77                     </td>
78                     <td>
79     <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
80     <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
81     <!-- TMPL_ELSIF NAME="BiblioDefaultViewisbd" -->
82     <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
83     <!-- TMPL_ELSE -->
84     <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
85     <!-- /TMPL_IF -->
86     <!-- TMPL_VAR NAME="title" escape="html" --> <!-- TMPL_VAR NAME="subtitle" ESCAPE="html" -->
87     </a>
88         &nbsp; (<b><!-- TMPL_VAR NAME="itemtype" --></b>)
89                         <br />Barcode: <!-- TMPL_VAR NAME="barcode" -->
90                     </td>
91                     <td>
92                         <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!--TMPL_VAR Name="borrowernum"-->"><!-- TMPL_VAR NAME="borrowername" -->, <!-- TMPL_VAR NAME="borrowerfirstname" --></a><br /><!-- TMPL_VAR NAME="borrowerphone" --><br />
93                         <!-- TMPL_IF NAME="borrowermail" --><a href="mailto:<!-- TMPL_VAR NAME="email" -->?subject=Reservation: <!-- TMPL_VAR NAME="title" -->">
94         <!-- TMPL_VAR NAME="borrowermail" --></a><!--/TMPL_IF-->
95                     </td>
96                     <td><!-- TMPL_VAR NAME="homebranch" --> <!-- TMPL_VAR NAME="itemcallnumber" --></td>
97                     <td>
98                         <form name="cancelReserve" action="waitingreserves.pl" method="post">
99                             <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernum" -->" />
100                             <input type="hidden" name="itemnumber" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
101                             <input type="hidden" name="fbr" value="<!-- TMPL_VAR NAME="holdingbranch" -->" />
102                             <input type="hidden" name="tbr" value="<!-- TMPL_VAR NAME="homebranch" -->" />
103                             <!-- TMPL_IF NAME="dotransfer" -->
104                             <input type="submit" value="Cancel hold and return to : <!-- TMPL_VAR NAME="homebranch" -->" /> 
105                             <!-- TMPL_ELSE -->
106                             <input type="submit" value="Cancel hold" />
107                             <!-- /TMPL_IF -->
108                        </form>
109                     </td>
110                 </tr>
111                 <!-- /TMPL_LOOP --></tbody>
112         </table>
113         <!-- TMPL_ELSE -->
114             <div class="dialog message">No holds found.</div>
115         <!-- /TMPL_IF -->
116         </div>
117     <!-- /TMPL_UNLESS -->
118
119 </div>
120 </div>
121 </div>
122 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->