Merge commit 'kc/master'
[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_INCLUDE NAME="biblio-default-view.inc" -->
60                             &nbsp; (<b><!-- TMPL_VAR NAME="description" --></b>)
61                             <br />Barcode : <!-- TMPL_VAR NAME="barcode" -->
62                     </td>
63                     <td>
64                         <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 />
65                     <!-- TMPL_IF NAME="borroweremail" --><a href="mailto:<!-- TMPL_VAR NAME="borroweremail" -->?subject=Overdue: <!-- TMPL_VAR NAME="title" ESCAPE="html" -->">
66                     <!-- TMPL_VAR NAME="borroweremail" --></a><!--/TMPL_IF-->
67                     </td>
68                     <td><!-- TMPL_VAR NAME="homebranch" --> <!-- TMPL_VAR NAME="itemcallnumber" -->
69                     </td>
70                     <td align="center">
71                     <b>
72                         <!-- TMPL_IF NAME="overdue1" -->
73                             First overdue
74                         <!-- /TMPL_IF -->
75                         <!-- TMPL_IF NAME="overdue2" -->
76                             Second overdue
77                         <!-- /TMPL_IF -->
78                         <!-- TMPL_IF NAME="overdue3" -->
79                             Third overdue
80                         <!-- /TMPL_IF -->
81                     </b>
82                     </td>
83                     <td align="center">
84                     <!-- TMPL_IF NAME="overdue1" -->
85                         <!-- TMPL_IF NAME="borroweremail" -->
86                             <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>
87                         <!-- TMPL_ELSE -->
88                             Mail
89                         <!-- /TMPL_IF -->
90                             &nbsp;|&nbsp;
91                             <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" -->
92                             ">Phone</a>
93                             &nbsp;|&nbsp;
94                             <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" -->
95                             &amp;notifyId=<!-- TMPL_VAR NAME="notify_id" -->">Notice</a>
96                     <!-- /TMPL_IF -->
97
98                     <!-- TMPL_IF NAME="overdue2" -->
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" -->&amp;notifyId=<!-- TMPL_VAR NAME="notify_id" -->">Notice</a>
100                     <!-- /TMPL_IF -->
101
102                     <!-- TMPL_IF NAME="overdue3" -->
103                     <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" -->
104                     &amp;notifyId=<!-- TMPL_VAR NAME="notify_id" -->">Considered lost</a>
105                     <!-- /TMPL_IF -->
106
107                     </td>
108                 </tr>
109             <!-- /TMPL_LOOP -->
110         </table>
111     <!-- TMPL_ELSE -->
112         <div class="dialog message">There are no overdues for today.</div>
113     <!-- /TMPL_IF -->
114     <!-- TMPL_IF name="todayoverduesloop" -->
115         <div id="branch_odues_today_odues">
116             <table style="width:100%;">
117                         <caption>Today's notifications</caption>
118             <tr>
119                 <th>Date due</th>
120                 <th>Title</th>
121                 <th>Borrower</th>
122                 <th>Location</th>
123                 <th>Overdue status</th>
124                 <th>Notified by</th>
125                 <th>Cancel</th>
126             </tr>
127                 <!-- TMPL_LOOP NAME="todayoverduesloop" -->
128                     <tr>
129                         <td>
130                             <p>
131                             <!-- TMPL_VAR NAME="date_due" -->
132                             </p>
133                         </td>
134                         <td>
135                             <p>
136                                 <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a>
137                                 &nbsp; (<b><!-- TMPL_VAR NAME="description" --></b>)
138                                 <br />Barcode : <!-- TMPL_VAR NAME="barcode" -->
139                             </p>
140                         </td>
141                         <td>
142                             <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 />
143                         <!-- TMPL_IF NAME="borroweremail" --><a href="mailto:<!-- TMPL_VAR NAME="borroweremail" -->?subject=Overdue: <!-- TMPL_VAR NAME="title" ESCAPE="html" -->">
144                         <!-- TMPL_VAR NAME="borroweremail" --></a><!--/TMPL_IF-->
145                             </p>
146                         </td>
147                         <td><p><!-- TMPL_VAR NAME="homebranch" --> <!-- TMPL_VAR NAME="itemcallnumber" --></p>
148                         </td>
149                         <td align="center">
150                             <b>
151                                 <!-- TMPL_IF NAME="overdue1" -->
152                                     First overdue
153                                 <!-- /TMPL_IF -->
154                                 <!-- TMPL_IF NAME="overdue2" -->
155                                     Second overdue
156                                 <!-- /TMPL_IF -->
157                                 <!-- TMPL_IF NAME="overdue3" -->
158                                     Considered lost
159                                 <!-- /TMPL_IF -->
160                             </b>
161                         </td>
162                         <td align="center">
163                             <b><!-- TMPL_VAR NAME="notify_method" --></b>
164                         </td>
165
166                         <td>
167                         <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>
168                         </td>
169                     </tr>
170                 <!-- /TMPL_LOOP -->
171             </table>
172         </div>
173     <!-- /TMPL_IF -->
174
175 </div>
176 </div>
177 </div>
178 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->