Continuing to add resident search form and breakcrumbs. Markup cleanup all around.
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / branchoverdues.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Circulation</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.pl">Circulation</a> &rsaquo; Library Overdues at <!-- TMPL_VAR NAME="LoginBranchname" --></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
18 <h1>Circulation: Library Overdues at <!-- TMPL_VAR NAME="LoginBranchname" --></h1>
19
20 <!-- selector of location -->
21 <!-- TMPL_IF NAME="location" -->
22 <legend>location selected</legend>
23 <form name="changelocation" action="branchoverdues.pl">
24     <ul>
25         <li>
26             You are working actually on the overdues for the location : <b><!-- TMPL_VAR NAME="location" --></b>
27     <input type="submit" name="changelocation" class="button" value="change location" />
28         </li>
29     </ul>
30 </form>
31 <!-- TMPL_ELSE -->
32 <p>Select a location
33 <form name="selectlocation" action="branchoverdues.pl" method="post">
34     <select id="location" name="location">
35         <option value="">All locations</option>
36         <!-- TMPL_LOOP NAME="locationsloop" -->
37             <option value="<!-- TMPL_VAR NAME="authorised_value" -->"><!-- TMPL_VAR NAME="lib" --></option>
38         <!-- /TMPL_LOOP -->
39     </select>
40     <input type="submit" name="location" class="button" value="OK" />
41 </form>
42 </p>
43 <!-- /TMPL_IF -->
44     <form name="sendnotify" action="branchoverdues.pl" method="post">
45     <!-- TMPL_IF name="overduesloop" -->
46         <table>
47         <tr>
48             <th>Date_due</th>
49             <th>Title</th>
50             <th>Patron</th>
51             <th>Library</th>
52             <th>Overdue status</th>
53             <th>Notify by</th>
54         </tr>
55             <!-- TMPL_LOOP NAME="overduesloop" -->
56                 <tr>
57                     <td>
58                         <p>
59                         <!-- TMPL_VAR NAME="date_due" -->
60                         </p>
61                     </td>
62                     <td>
63                         <p>
64                             <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a>
65                             &nbsp; (<b><!-- TMPL_VAR NAME="description" --></b>)
66                             <br />Barcode : <!-- TMPL_VAR NAME="barcode" -->
67                         </p>
68                     </td>
69                     <td>
70                         <p><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!--TMPL_VAR Name="borrowernumber"-->"><!-- TMPL_VAR NAME="borrowersurname" --> &nbsp; <!-- TMPL_VAR NAME="borrowerfirstname" --></a><br /><!-- TMPL_VAR NAME="borrowerphone" --><br />
71                     <!-- TMPL_IF NAME="borroweremail" --><a href="mailto:<!-- TMPL_VAR NAME="borroweremail" -->?subject=Overdue: <!-- TMPL_VAR NAME="title" -->">
72                     <!-- TMPL_VAR NAME="borroweremail" --></a><!--/TMPL_IF-->
73                         </p>
74                     </td>
75                     <td><p><!-- TMPL_VAR NAME="homebranch" --> <!-- TMPL_VAR NAME="itemcallnumber" --></p>
76                     </td>
77                     <td align="center">
78                     <b>
79                         <!-- TMPL_IF NAME="overdue1" -->
80                             first overdue
81                         <!-- /TMPL_IF -->
82                         <!-- TMPL_IF NAME="overdue2" -->
83                             second overdue
84                         <!-- /TMPL_IF -->
85                         <!-- TMPL_IF NAME="overdue3" -->
86                             Third overdue
87                         <!-- /TMPL_IF -->
88                     </b>
89                     </td>
90                     <td align="center">
91                     <!-- TMPL_IF NAME="overdue1" -->
92                         <!-- TMPL_IF NAME="borroweremail" -->
93                             <a href="branchoverdues.pl?action=add&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;method=mail&amp;location=<!-- TMPL_VAR NAME="location" -->&amp;overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->&amp;notifyId=<!-- TMPL_VAR NAME="notify_id" -->">mail</a>
94                         <!-- TMPL_ELSE -->
95                             mail
96                         <!-- /TMPL_IF -->
97                             &nbsp;|&nbsp;
98                             <a href="branchoverdues.pl?action=add&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;method=phone&amp;location=<!-- TMPL_VAR NAME="location" -->&amp;overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->&amp;notifyId=<!-- TMPL_VAR NAME="notify_id" -->
99                             ">phone</a>
100                             &nbsp;|&nbsp;
101                             <a href="branchoverdues.pl?action=add&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;method=letter&amp;location=<!-- TMPL_VAR NAME="location" -->&amp;overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->
102                             &amp;notifyId=<!-- TMPL_VAR NAME="notify_id" -->">letter</a>
103                     <!-- /TMPL_IF -->
104                     
105                     <!-- TMPL_IF NAME="overdue2" -->
106                         <a href="branchoverdues.pl?action=add&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;method=letter&amp;location=<!-- TMPL_VAR NAME="location" -->&amp;overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->&amp;notifyId=<!-- TMPL_VAR NAME="notify_id" -->">letter</a>
107                     <!-- /TMPL_IF -->
108                     
109                     <!-- TMPL_IF NAME="overdue3" -->
110                     <a href="branchoverdues.pl?action=add&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;method=lost&amp;location=<!-- TMPL_VAR NAME="location" -->&amp;overduelevel=<!-- TMPL_VAR NAME="overdueLevel" -->
111                     &amp;notifyId=<!-- TMPL_VAR NAME="notify_id" -->">Considered lost</a>
112                     <!-- /TMPL_IF -->
113                     
114                     </td>
115                 </tr>
116             <!-- /TMPL_LOOP -->
117         </table>
118     <!-- TMPL_ELSE -->
119         There is no overdue for today
120     <!-- /TMPL_IF -->
121     <!-- TMPL_IF name="todayoverduesloop" -->
122         <fieldset id="branch_odues_today_odues">
123         <legend>Today's notifications</legend>  
124             <table>
125             <tr>
126                 <th>Date_due</th>
127                 <th>Title</th>
128                 <th>Borrower</th>
129                 <th>Localisation</th>
130                 <th>Overdue status</th>
131                 <th>Notified by</th>
132                 <th>Cancel</th>                 
133             </tr>
134                 <!-- TMPL_LOOP NAME="todayoverduesloop" -->
135                     <tr>
136                         <td>
137                             <p>
138                             <!-- TMPL_VAR NAME="date_due" -->
139                             </p>
140                         </td>
141                         <td>
142                             <p>
143                                 <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a>
144                                 &nbsp; (<b><!-- TMPL_VAR NAME="description" --></b>)
145                                 <br />Barcode : <!-- TMPL_VAR NAME="barcode" -->
146                             </p>
147                         </td>
148                         <td>
149                             <p><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!--TMPL_VAR Name="borrowernumber"-->"><!-- TMPL_VAR NAME="borrowersurname" --> &nbsp; <!-- TMPL_VAR NAME="borrowerfirstname" --></a><br /><!-- TMPL_VAR NAME="borrowerphone" --><br />
150                         <!-- TMPL_IF NAME="borroweremail" --><a href="mailto:<!-- TMPL_VAR NAME="borroweremail" -->?subject=Overdue: <!-- TMPL_VAR NAME="title" -->">
151                         <!-- TMPL_VAR NAME="borroweremail" --></a><!--/TMPL_IF-->
152                             </p>
153                         </td>
154                         <td><p><!-- TMPL_VAR NAME="homebranch" --> <!-- TMPL_VAR NAME="itemcallnumber" --></p>
155                         </td>
156                         <td align="center">
157                             <b>
158                                 <!-- TMPL_IF NAME="overdue1" -->
159                                     first overdue
160                                 <!-- /TMPL_IF -->
161                                 <!-- TMPL_IF NAME="overdue2" -->
162                                     second overdue
163                                 <!-- /TMPL_IF -->
164                                 <!-- TMPL_IF NAME="overdue3" -->
165                                     considered lost
166                                 <!-- /TMPL_IF -->
167                             </b>
168                         </td>
169                         <td align="center">
170                             <b><!-- TMPL_VAR NAME="notify_method" --></b>
171                         </td>
172                     
173                         <td>
174                         <a href="branchoverdues.pl?action=remove&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber"-->&amp;itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->&amp;method=phone&amp;location=<!-- TMPL_VAR NAME="location" -->&amp;notify_date=<!-- TMPL_VAR NAME="notify_date" -->">cancel notification</a>
175                         </td>
176                     </tr>
177                 <!-- /TMPL_LOOP -->
178             </table>
179         </fieldset>
180     <!-- /TMPL_IF -->
181
182 </div>
183 </div>
184 <div class="yui-b">
185 <!-- TMPL_INCLUDE NAME="circ-menu.inc" -->
186 </div>
187 </div>
188 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->