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