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