Bug 26627: (QA follow-up) Remove barcode input by id
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / bookcount.tt
1 [% USE Koha %]
2 [% USE KohaDates %]
3 [% USE Branches %]
4 [% SET footerjs = 1 %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>Koha &rsaquo; Circulation &rsaquo; Circulation statistics for [% title | html %]</title>
7 [% INCLUDE 'doc-head-close.inc' %]
8 </head>
9
10 <body id="circ_bookcount" class="circ">
11 [% INCLUDE 'header.inc' %]
12 [% INCLUDE 'circ-search.inc' %]
13
14 <div id="breadcrumbs">
15     <a href="/cgi-bin/koha/mainpage.pl">Home</a>
16     &rsaquo; <a href="/cgi-bin/koha/circ/circulation-home.pl">Circulation</a>
17     [% UNLESS blocking_error %]&rsaquo; Circulation statistics for [% title |html %][% END %]
18 </div>
19
20 <div class="main container-fluid">
21     <div class="row">
22         <div class="col-sm-10 col-sm-push-2">
23             <main>
24
25 [% INCLUDE 'blocking_errors.inc' %]
26 <h2>[% title |html %] [% IF ( author ) %] by [% author |html %][% END %]</h2>
27 <h3>Barcode [% barcode | html %]</h3>
28 <table>
29         <tr><th>Home library</th><th>Current library</th><th>Date arrived<br />at current library </th><th>Number of checkouts<br />since last transfer</th></tr>
30
31         <tr><td>[% Branches.GetName( homebranch ) | html %]</td>
32             <td>[% Branches.GetName( holdingbranch ) | html %]</td>
33             <td>[% IF ( lastdate ) %][% lastdate | $KohaDates %][% ELSE %]Item has no transfer record[% END %]</td>
34             <td>[% count | html %]</td>
35         </tr>
36 </table>
37 <table>
38     <tr>
39         <th>Library</th>
40         <th>No. of times checked out</th>
41         <th>Last seen</th>
42     </tr>
43     [% FOREACH library IN libraries %]
44     [% IF library.selected %]
45         <tr class="mybranch">
46     [% ELSE %]
47         <tr>
48     [% END %]
49             <td>[% library.branchname | html %]</td>
50             <td>[% library.issues | html %]</td>
51             <td>[% IF library.seen %]
52                     [% library.seen | $KohaDates  with_hours => 1 %]
53                 [% ELSE %]
54                     <span>Never</span>
55                 [% END %]
56             </td>
57         </tr>
58     [% END %]
59 </table>
60
61             </main>
62         </div> <!-- /.col-sm-10.col-sm-push-2 -->
63
64         <div class="col-sm-2 col-sm-pull-10">
65             <aside>
66                 [% INCLUDE 'biblio-view-menu.inc' %]
67             </aside>
68         </div> <!-- /.col-sm-2.col-sm-pull-10 -->
69      </div> <!-- /.row -->
70
71 [% MACRO jsinclude BLOCK %]
72     <script>
73         $(document).ready(function(){
74         $("tr.mybranch td").css("background-color", "#CFE7FF");
75     });
76     </script>
77 [% END %]
78
79 [% INCLUDE 'intranet-bottom.inc' %]