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