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