minor circ template cleanup
[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   
19   <form method="post" action="/cgi-bin/koha/circ/overdue.pl">
20   <fieldset>
21     <legend>Filter on :</legend>
22     <p><label>Name or cardnumber:</label><input type="text" name="borname" value="<!--TMPL_VAR Name="borname"-->"></p>
23     <p><label>Patron category:</label><select name="borcat" id="borcat"><option value="">Any</option>
24       <!-- TMPL_LOOP name="borcatloop" -->
25         <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="catname" --></option>
26       <!-- /TMPL_LOOP -->
27       </select>
28     </p>
29     <p>
30     <p><label>Patron flags:</label><!--TMPL_VAR Name="CGIflags" --></p>
31     <p><label>Item type:</label><select name="itemtype" id="itemtype"><option value="">Any</option>
32       <!-- TMPL_LOOP name="itemtypeloop" -->
33         <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="itemtypename" --></option>
34       <!-- /TMPL_LOOP -->
35       </select>
36     </p>
37     <p>
38     <label>Library of the patron:</label><select name="branch" id="branch">
39         <option value="">Any</option>
40       <!-- TMPL_LOOP name="branchloop" -->
41         <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="branchname" --></option>
42       <!-- /TMPL_LOOP -->
43       </select>
44     </p>
45     Show any items currently issued:<input type="checkbox" name="showall" value="show" <!--TMPL_IF Name="showall"-->checked="checked"<!--/TMPL_IF-->>
46     Sort By<select name="order" tabindex="0" size="1" id="order">
47 <option <!--TMPL_UNLESS Name"order"-->selected<!-- /TMPL_UNLESS--> value="">Due Date</option>
48 <option  value="borrower">Patron</option>
49 <option  value="title">Title</option>
50 <option  value="barcode">Barcode</option>
51 <option  value="date_due desc">Due Date desc</option>
52 <option  value="borrower desc">Patron desc</option>
53 <option  value="title desc">Title desc</option>
54 <option  value="barcode desc">Barcode</option>
55 </select>
56       <input TYPE="submit" value="Apply Filter" class="button reports">
57    </fieldset>   
58   </form>
59 <a href="overdue.pl?op=csv&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)
60 <div class="searchresults">
61 <table>
62 <tr>
63     <th>Due Date</th>
64     <th>Patron</th>
65     <th>Branch</th>
66     <th>Title</th>
67 </tr>
68
69 <!-- TMPL_LOOP NAME="overdueloop" -->
70     <tr>
71         <td><!-- TMPL_VAR NAME="duedate" --></td>
72         <!-- TMPL_IF NAME="email" -->
73         <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>
74         <!-- TMPL_ELSE -->
75         <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 -->
76     <!--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>
77         <!-- /TMPL_IF -->
78         <td><!-- TMPL_VAR name="branchcode" --></td>
79         <td>
80             <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR name="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a></p>
81             <p><!-- TMPL_VAR NAME="author" --></p>
82         </td>
83     </tr>
84 <!-- /TMPL_LOOP -->
85 </table>
86 </div>
87 </div>
88 </div>
89 <div class="yui-b">
90 <!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
91 </div>
92 </div>
93 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->