Bug 10021: Remove notify columns in circ/branchoverdues.tt
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / branchoverdues.tt
1 [% USE Branches %]
2 [% USE Koha %]
3 [% INCLUDE 'doc-head-open.inc' %]
4 <title>Koha &rsaquo; Circulation &rsaquo; Overdues at [% LoginBranchname %]</title>
5 [% INCLUDE 'doc-head-close.inc' %]
6 </head>
7 <body id="circ_branchoverdues" class="circ">
8 [% INCLUDE 'header.inc' %]
9 [% INCLUDE 'circ-search.inc' %]
10
11 <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 [% LoginBranchname %]</div>
12
13 [% IF Koha.Preference('CircSidebar') %]<div id="doc3" class="yui-t2">[% ELSE %]<div id="doc" class="yui-t7">[% END %]
14
15    <div id="bd">
16         <div id="yui-main">
17         [% IF Koha.Preference('CircSidebar') %]<div class="yui-b">[% END %]
18         <div class="yui-g">
19
20
21 <h1>Circulation: Overdues at [% LoginBranchname %]</h1>
22
23 <form name="selectlocation" action="branchoverdues.pl" method="post">
24     <label for="location">Shelving location selected: </label><select id="location" name="location">
25         <option value="">All shelving locations</option>
26         [% FOREACH locationsloo IN locationsloop %]
27             [% IF ( locationsloo.selected ) %]<option value="[% locationsloo.authorised_value %]" selected="selected">[% locationsloo.lib %]</option>[% ELSE %]<option value="[% locationsloo.authorised_value %]">[% locationsloo.lib %]</option>[% END %]
28         [% END %]
29     </select>
30     <input type="submit" name="location" class="submit" value="OK" />
31 </form>
32
33     [% IF ( overduesloop ) %]
34         <table style="width:100%;">
35         <tr>
36             <th>Date due</th>
37             <th>Title</th>
38             <th>Patron</th>
39             <th>Location</th>
40         </tr>
41             [% FOREACH overduesloo IN overduesloop %]
42                 <tr>
43                     <td>
44                         [% overduesloo.date_due %]
45                     </td>
46                     <td>
47                     [% INCLUDE 'biblio-default-view.inc' biblionumber = overduesloo.biblionumber %][% overduesloo.title |html %] [% IF ( overduesloo.subtitle ) %][% overduesloo.subtitle %][% END %]</a> [% IF ( overduesloo.author ) %] by [% overduesloo.author %][% END %]
48
49                             <br />Barcode : [% overduesloo.barcode %]
50                     </td>
51                     <td>
52                         <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% overduesloo.borrowernumber %]">[% overduesloo.borrowersurname %], [% overduesloo.borrowerfirstname %]</a>
53                         <br />[% overduesloo.cardnumber %]
54                         <br />[% overduesloo.borrowerphone %]<br />
55                     [% IF ( overduesloo.borroweremail ) %]<a href="mailto:[% overduesloo.borroweremail %]?subject=Overdue: [% overduesloo.title |html %]">
56                     [% overduesloo.borroweremail %]</a>[% END %]
57                     </td>
58                     <td>[% Branches.GetName( overduesloo.homebranch ) %] [% overduesloo.itemcallnumber %]
59                     </td>
60                 </tr>
61             [% END %]
62         </table>
63     [% ELSE %]
64         <div class="dialog message">There are no overdues for today[% IF ( location ) %] at the selected location[% END %].</div>
65     [% END %]
66     [% IF ( todayoverduesloop ) %]
67         <div id="branch_odues_today_odues">
68             <table style="width:100%;">
69                         <caption>Today's notifications</caption>
70             <tr>
71                 <th>Date due</th>
72                 <th>Title</th>
73                 <th>Borrower</th>
74                 <th>Location</th>
75                 <th>Cancel</th>
76             </tr>
77                 [% FOREACH todayoverduesloo IN todayoverduesloop %]
78                     <tr>
79                         <td>
80                             <p>
81                             [% todayoverduesloo.date_due %]
82                             </p>
83                         </td>
84                         <td>
85                             <p>
86                                 <a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% todayoverduesloo.biblionumber %]">[% todayoverduesloo.title |html %]</a>
87                                 &nbsp; (<b>[% todayoverduesloo.description %]</b>)
88                                 <br />Barcode : [% todayoverduesloo.barcode %]
89                             </p>
90                         </td>
91                         <td>
92                             <p><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% todayoverduesloo.borrowernumber %]">[% todayoverduesloo.borrowersurname %] &nbsp; [% todayoverduesloo.borrowerfirstname %]</a>
93                             <br />[% todayoverduesloo.cardnumber %]<br />
94                             <br />[% todayoverduesloo.borrowerphone %]<br />
95                         [% IF ( todayoverduesloo.borroweremail ) %]<a href="mailto:[% todayoverduesloo.borroweremail %]?subject=Overdue: [% todayoverduesloo.title |html %]">
96                         [% todayoverduesloo.borroweremail %]</a>[% END %]
97                             </p>
98                         </td>
99                         <td><p>[% Branches.GetName( todayoverduesloo.homebranch ) %] [% todayoverduesloo.itemcallnumber %]</p>
100                         </td>
101                         <td>
102                         <a href="branchoverdues.pl?action=remove&amp;borrowernumber=[% todayoverduesloo.borrowernumber %]&amp;itemnumber=[% todayoverduesloo.itemnumber %]&amp;method=phone&amp;location=[% todayoverduesloo.location %]">Cancel notification</a>
103                         </td>
104                     </tr>
105                 [% END %]
106             </table>
107         </div>
108     [% END %]
109
110 </div>
111 </div>
112 [% IF Koha.Preference('CircSidebar') %]
113 </div>
114 <div class="yui-b noprint">
115     [% INCLUDE 'circ-nav.inc' %]
116 </div>
117 [% END %]
118 </div>
119 [% INCLUDE 'intranet-bottom.inc' %]