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