b1284f90baba735893cfcbfe2c7bd290c32029fd
[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> &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a> &rsaquo; Holds awaiting pickup</div>
30
31 <div id="doc" class="yui-t7">
32    
33    <div id="bd">
34         <div id="yui-main">
35         <div class="yui-g">
36
37         <h2>Holds awaiting pickup for your library on : <!-- TMPL_VAR NAME="show_date" --></h2>
38         <!-- TMPL_IF NAME="messagetransfert" -->
39                 <div>
40                                 <h2>Hold find for (<!-- TMPL_VAR NAME="nextreservtitle" -->) must transfered</h2>
41                         <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.
42                         </p>
43                         <form name="cancelReservewithtransfert" action="waitingreserves.pl" method="post">
44                                 <input type="submit" class="button" />
45                         </form>
46                 </div>
47         <!-- /TMPL_IF -->
48         <!-- TMPL_IF NAME="waiting" -->
49                 <div id="bloc25">
50                                 <h2>This hold is waiting</h2>
51                         <p>This hold (<!-- TMPL_VAR NAME="nextreservtitle" -->) was placed by <b> : <!-- TMPL_VAR NAME="nextreservsurname" --> <!-- TMPL_VAR NAME="nextreservfirstname" --></b>,
52                         Please retain this hold.
53                         </p>
54                         <form name="cancelReservewithwaiting" action="waitingreserves.pl" method="post">
55                                 <input type="submit" />
56                         </form>
57                 </div>
58         <!-- /TMPL_IF -->
59         <!-- TMPL_UNLESS NAME="message" -->
60         <div id="resultlist">
61             <!-- TMPL_IF NAME="reserveloop" -->
62                 <table id="holdst">
63                <thead> <tr>
64                         <th>Available since</th>
65                         <th>Title</th>
66                         <th>Patron</th>
67                         <th>Location</th>
68                         <th>Action</th>
69                 </tr></thead>
70                         <tbody><!-- TMPL_LOOP NAME="reserveloop" -->
71                         <!-- TMPL_IF NAME="messcompa" --><tr class="problem"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
72                                         <td><p><!-- TMPL_VAR NAME="waitingdate" --></p> <!-- TMPL_IF NAME="messcompa" --> Hold Over <!-- /TMPL_IF --></td>
73                                         <td>
74
75
76 <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
77 <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a>
78 <!-- TMPL_ELSIF NAME="BiblioDefaultViewisbd" -->
79 <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a>
80 <!-- TMPL_ELSE -->
81 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" escape="html" -->  <!-- TMPL_VAR NAME="subtitle" --></a><!-- /TMPL_IF --> &nbsp; (<b><!-- TMPL_VAR NAME="itemtype" --></b>)
82                                                         <br />Barcode : <!-- TMPL_VAR NAME="barcode" -->
83                                         </td>
84                                         <td>
85                                                 <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 />
86                                         <!-- TMPL_IF NAME="borrowermail" --><a href="mailto:<!-- TMPL_VAR NAME="email" -->?subject=Reservation: <!-- TMPL_VAR NAME="title" -->">
87                 <!-- TMPL_VAR NAME="borrowermail" --></a><!--/TMPL_IF-->
88                                         </td>
89                                         <td><!-- TMPL_VAR NAME="homebranch" --> <!-- TMPL_VAR NAME="itemcallnumber" --></td>
90                                         <td>
91                                                 <form name="cancelReserve" action="waitingreserves.pl" method="post">
92                                                         <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernum" -->" />
93                                                         <input type="hidden" name="itemnumber" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
94                                                         <input type="hidden" name="fbr" value="<!-- TMPL_VAR NAME="holdingbranch" -->" />
95                                                         <input type="hidden" name="tbr" value="<!-- TMPL_VAR NAME="homebranch" -->" />
96                                                         <!-- TMPL_IF NAME="dotransfer" -->
97                                                         <input type="submit" value="Cancel hold and return to : <!-- TMPL_VAR NAME="homebranch" -->" /> 
98                                                         <!-- TMPL_ELSE -->
99                                                         <input type="submit" value="Cancel hold" />
100                                                 <!-- /TMPL_IF -->
101                                                 </form>
102                                         </td>
103                                 </tr>
104                         <!-- /TMPL_LOOP --></tbody>
105                 </table>
106                 <!-- TMPL_ELSE -->
107                     <div class="dialog message">No holds found.</div>
108                 <!-- /TMPL_IF -->
109         </div>
110         <!-- /TMPL_UNLESS -->
111
112 </div>
113 </div>
114 </div>
115 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->