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