movin patron flags to template to have translatable strings
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / overdue.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Circulation &rsaquo; Items Overdue as of <!-- TMPL_VAR NAME="todaysdate" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="circ-search.inc" -->
8
9 <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; Overdues as of <!-- TMPL_VAR NAME="todaysdate" --></div>
10
11 <div id="doc3" class="yui-t2">
12    
13    <div id="bd">
14         <div id="yui-main">
15         <div class="yui-b">
16
17 <h2>Items Overdue as of <!-- TMPL_VAR NAME="todaysdate" --></h2>
18 <p><a href="overdue.pl?op=csv&amp;branch=<!-- TMPL_VAR name="branchfilter" -->">Download file of all overdues</a> (for <!-- TMPL_IF name="branchfilter" -->branch <!-- TMPL_VAR name="branchfilter" --><!-- TMPL_ELSE -->all branches<!-- /TMPL_IF -->. Other filters are ignored)</p>
19 <div class="searchresults">
20 <table id="overduest">
21 <thead><tr>
22     <th>Due Date</th>
23     <th>Patron</th>
24     <th>Library</th>
25     <th>Title</th>
26 </tr></thead>
27
28 <tbody><!-- TMPL_LOOP NAME="overdueloop" -->
29     <tr>
30         <td><!-- TMPL_VAR NAME="duedate" --></td>
31         <!-- TMPL_IF NAME="email" -->
32         <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber"-->"><!-- TMPL_VAR NAME="name" --></a> <a href="mailto:<!-- TMPL_VAR NAME="email" -->?subject=Overdue: <!-- TMPL_VAR NAME="title" -->">[email]</a> (<!-- TMPL_VAR NAME="phone" -->)</td>
33         <!-- TMPL_ELSE -->
34         <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR name="borrowernumber"-->"><!-- TMPL_VAR NAME="name" --></a> (<!--TMPL_IF NAME="phone" --><!-- TMPL_VAR NAME="phone" --><!-- TMPL_ELSE -->
35     <!--TMPL_IF NAME="mobile" --><!-- TMPL_VAR NAME="mobile" --><!-- TMPL_ELSE --><!--TMPL_IF NAME="phonepro" -->       <!-- TMPL_VAR NAME="phonepro" --><!-- /TMPL_IF --><!-- /TMPL_IF --><!-- /TMPL_IF -->)</td>
36         <!-- /TMPL_IF -->
37         <td><!-- TMPL_VAR name="branchcode" --></td>
38         <td><!-- TMPL_IF name="BiblioDefaultViewmarc" -->
39 <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a>
40 <!-- TMPL_ELSIF NAME="BiblioDefaultViewisbd" -->
41 <a href="/cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><!-- TMPL_VAR NAME="title" --></a>
42 <!-- TMPL_ELSE -->
43 <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 --> <!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR NAME="author" --><!-- /TMPL_IF -->
44         </td>
45     </tr>
46 <!-- /TMPL_LOOP --></tbody>
47 </table>
48 </div>
49 </div>
50 </div>
51 <div class="yui-b">
52 <form method="post" action="/cgi-bin/koha/circ/overdue.pl">
53   <fieldset class="brief">
54 <h4>Filter On:</h4>
55         <ol>
56     <li><label>Name or cardnumber:</label><input type="text" name="borname" value="<!--TMPL_VAR Name="borname"-->" /></li>
57     <li><label>Patron category:</label><select name="borcat" id="borcat"><option value="">Any</option>
58       <!-- TMPL_LOOP name="borcatloop" -->
59         <!-- TMPL_IF NAME="selected" --><option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="catname" --></option><!-- TMPL_ELSE --><option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="catname" --></option><!-- /TMPL_IF -->
60       <!-- /TMPL_LOOP -->
61       </select>
62     </li>
63     <li><label>Patron flags:</label>
64         <select name="borflags" size="1" id="borflags">
65             <option value=" "> </option>
66             <option value="gonenoaddress">Address in question</option>
67             <option value="debarred">Debarred</option>
68             <option value="lost">Lost Card</option>
69         </select>
70     </li>
71     <li><label>Item type:</label><select name="itemtype" id="itemtype"><option value="">Any</option>
72       <!-- TMPL_LOOP name="itemtypeloop" --><!-- TMPL_IF NAME="selected" -->
73         <option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="itemtypename" --></option><!-- TMPL_ELSE -->
74         <option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="itemtypename" --></option><!-- /TMPL_IF -->
75       <!-- /TMPL_LOOP -->
76       </select>
77     </li>
78     <li>
79     <label>Library of the patron:</label><select name="branch" id="branch">
80         <option value="">Any</option>
81       <!-- TMPL_LOOP name="branchloop" -->
82         <!-- TMPL_IF NAME="selected" -->
83         <option value="<!-- TMPL_VAR name="value" -->" selected="selected"><!-- TMPL_VAR name="branchname" --></option><!-- TMPL_ELSE -->
84         <option value="<!-- TMPL_VAR name="value" -->"><!-- TMPL_VAR name="branchname" --></option><!-- /TMPL_IF -->
85       <!-- /TMPL_LOOP -->
86       </select>
87     </li>
88    
89     <li><label for="order">Sort By:</label> <select name="order" id="order">
90 <!-- TMPL_IF NAME="order" -->
91 <option value="">Due Date</option>
92 <!-- TMPL_ELSE --><option value="" selected="selected">Due Date</option><!-- /TMPL_IF -->
93 <option value="borrower">Patron</option>
94 <option value="title">Title</option>
95 <option value="barcode">Barcode</option>
96 <option value="date_due desc">Due Date desc</option>
97 <option value="borrower desc">Patron desc</option>
98 <option value="title desc">Title desc</option>
99 <option value="barcode desc">Barcode</option>
100 </select></li>
101 <li class="radio"><label for="showall">Show any items currently issued:</label> 
102         <!-- TMPL_IF NAME="showall" --><input type="checkbox" id="showall" name="showall" value="show" checked="checked" /><!-- TMPL_ELSE --><input type="checkbox" id="showall" name="showall" value="show" /><!-- /TMPL_IF -->
103 </li>
104 </ol>
105    <fieldset class="action">
106       <input type="submit" value="Apply Filter" class="submit" />
107    </fieldset>   
108    </fieldset>   
109   </form>
110 </div>
111 </div>
112 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->