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