Language corrections (partially fixes Bug 2027)
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / pendingreserves.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Circulation &rsaquo; Pending Holds</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <!-- Additions to enable Calendar system -->
5 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-system.css" />
6 <!-- End of additions --><!-- Additions to enable Calendar system -->
7 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar.js"></script>
8 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-en.js"></script>
9 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/calendar/calendar-setup.js"></script>
10 <!-- End of additions -->
11 </head>
12 <body>
13 <!-- TMPL_INCLUDE NAME="header.inc" -->
14 <!-- TMPL_INCLUDE NAME="circ-search.inc" -->
15
16
17 <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; Pending Holds</div>
18
19 <div id="doc" class="yui-t7">
20    
21    <div id="bd">
22         <div id="yui-main">
23         <div class="yui-g">
24
25 <h1>Pending holds placed between <!-- TMPL_VAR NAME="from" --> and <!-- TMPL_VAR NAME="to" --></h1>
26 <div id="filters">
27 <br />
28 <form action="/cgi-bin/koha/circ/pendingreserves.pl" method="post" >
29 <p>
30
31 <label for="from">
32     Start date:
33 </label>
34 <input type="text" size="10" id="from" name="from" value="<!-- TMPL_VAR NAME="from" -->" />
35 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif"  border="0" id="openCalendarFrom" style="cursor: pointer;" alt="" />
36 <script language="JavaScript" type="text/javascript">
37 function validate1(date) {
38     var day = date.getDate();
39     var month = date.getMonth() + 1;
40     var year = date.getFullYear();
41     var weekDay = date.getDay();
42     var dayMonth = month + '-' + day;
43     var dateString = year + '-' + month + '-' + day;
44     var dateTo = document.getElementById('to').value.split("-");
45     var limitDate = new Date(dateTo[0], (dateTo[1] - 1), dateTo[2]);
46     if (date > limitDate) {
47             return true;
48     } else {
49             return false;
50     }
51 }
52 Calendar.setup(
53         {
54         inputField : "from",
55         ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
56         button : "openCalendarFrom",
57         disableFunc : validate1,
58         dateStatusFunc : validate1
59         }
60 );
61 </script>
62 <label for="to" >
63     End date:
64 </label>
65 <input size="10" id="to" name="to" value="<!-- TMPL_VAR NAME="to" -->" type="text" />
66 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" alt="" id="openCalendarTo" style="cursor: pointer;" border="0" />
67 <script type="text/javascript">
68         function validate2(date) {
69             var day = date.getDate();
70             var month = date.getMonth() + 1;
71             var year = date.getFullYear();
72             var weekDay = date.getDay();
73             var dayMonth = month + '-' + day;
74             var dateString = year + '-' + month + '-' + day;
75             var dateFrom = document.getElementById('from').value.split("-");
76             var limitDate = new Date(dateFrom[0], (dateFrom[1] - 1), dateFrom[2]);
77             if (limitDate > date) {
78                     return true;
79             } else {
80                     return false;
81             }
82         }
83
84         Calendar.setup(
85                 {
86                     inputField : "to",
87                     ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
88                     button : "openCalendarTo",
89                     disableFunc : validate2,
90                     dateStatusFunc : validate2
91                 }
92         );
93 </script>
94 <br/>
95 <i>(Inclusive, default is 10 years ago to yesterday, set "to" to today as needed. )</i>
96 <input type="submit" value="Go" class="submit"/>
97 </p>
98 </form>
99 <p>The following holds have not been filled. Please retrieve them and check them in</p>
100 </div>
101
102 <div class="searchresults">
103     <!-- TMPL_IF NAME="reserveloop" -->
104     <table>
105     <tr>
106         <th>
107                                 Pull This Many Items
108         </th>        
109         <th>
110                                 Items Available
111         </th>
112         <th>
113                                 Patrons with Holds
114         </th>
115         <th >Title
116         <a href="/cgi-bin/koha/circ/pendingreserves.pl?order=biblio&amp;from=<!-- TMPL_VAR NAME="from" -->&amp;to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
117         </th>
118         <th>
119             Libraries
120                                 <a href="/cgi-bin/koha/circ/pendingreserves.pl?order=library&amp;from=<!-- TMPL_VAR NAME="from" -->&amp;to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
121         </th>
122         <th>
123             Available Call Numbers
124                                 <a href="/cgi-bin/koha/circ/pendingreserves.pl?order=call&amp;from=<!-- TMPL_VAR NAME="from" -->&amp;to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
125         </th>
126         <th>
127             Available Itypes
128                                 <a href="/cgi-bin/koha/circ/pendingreserves.pl?order=itype&amp;from=<!-- TMPL_VAR NAME="from" -->&amp;to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
129         </th>
130         <th>
131             Available Locations
132                                 <a href="/cgi-bin/koha/circ/pendingreserves.pl?order=location&amp;from=<!-- TMPL_VAR NAME="from" -->&amp;to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
133         </th>
134         <th >Earliest Hold Date
135             <a href="/cgi-bin/koha/circ/pendingreserves.pl?order=date&amp;from=<!-- TMPL_VAR NAME="from" -->&amp;to=<!-- TMPL_VAR NAME="to" -->">Sort</a>
136         </th>
137
138     </tr>
139     
140     <!-- TMPL_LOOP NAME="reserveloop" -->
141         <tr>
142             <!-- TMPL_IF name="borrowernumber" -->
143                 <td><p><b><!-- TMPL_VAR NAME="pullcount" --></b></p></td>
144                 <td><!-- TMPL_VAR NAME="count" --></td>  
145                 <td><!-- TMPL_VAR NAME="rcount" --></td> 
146                 <td>
147                     <p>
148                     <!-- TMPL_IF name="BiblioDefaultViewmarc" -->
149                     <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
150                         <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" -->
151                     </a>
152                     <!-- TMPL_ELSE -->
153                         <!-- TMPL_IF name="BiblioDefaultViewisbd" -->
154                         <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
155                             <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" -->
156                         </a>
157                         <!-- TMPL_ELSE -->
158                             <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->">
159                                 <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="subtitle" -->
160                             </a>
161                         <!-- /TMPL_IF -->
162                     <!-- /TMPL_IF -->
163                     </p>
164                     <p><!-- TMPL_VAR NAME="notes" --></p>
165                 </td>
166             <!-- TMPL_ELSE -->
167                 <td colspan="3">
168                     &nbsp;
169                 </td>
170                 <td>"</td>
171             <!-- /TMPL_IF -->
172             <td><p><!-- TMPL_VAR NAME="holdingbranch" --></p></td>
173             <td><p><!-- TMPL_VAR NAME="itemcallnumber" --></p></td>
174                                 <td><p><!-- TMPL_VAR NAME="itype" --></p></td> 
175                                 <td><p><!-- TMPL_VAR NAME="location" --></p></td>
176             <td width="15%">
177                 <p><!-- TMPL_VAR NAME="reservedate" --></p>
178                 <p>in <!-- TMPL_VAR NAME="branch" --></p>
179                 <!-- TMPL_IF NAME="statusw" --><p>Waiting</p><!-- /TMPL_IF --><!-- TMPL_IF NAME="statusf" --><p>Fullfilled</p><!-- /TMPL_IF -->
180             </td>
181         </tr>
182     <!-- /TMPL_LOOP -->
183     </table>
184     <!-- TMPL_ELSE -->
185         <b>No items found.</b>
186     <!-- /TMPL_IF -->
187 </div>
188 </div>
189 </div>
190 </div>
191 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->