Bug 33961: Remove built-in offline circ tool
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / bookcount.tt
1 [% USE raw %]
2 [% USE Koha %]
3 [% USE KohaDates %]
4 [% USE Branches %]
5 [% SET footerjs = 1 %]
6 [% PROCESS 'i18n.inc' %]
7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>Circulation statistics for [% title | html %] &rsaquo; Catalog &rsaquo; Koha</title>
9 [% INCLUDE 'doc-head-close.inc' %]
10 </head>
11
12 <body id="catalog_bookcount" class="catalog">
13 [% WRAPPER 'header.inc' %]
14     [% INCLUDE 'cat-search.inc' %]
15 [% END %]
16
17 [% WRAPPER 'sub-header.inc' %]
18     [% WRAPPER breadcrumbs %]
19         [% WRAPPER breadcrumb_item %]
20             <a href="/cgi-bin/koha/circ/circulation-home.pl">Catalog</a>
21         [% END %]
22         [% IF blocking_error %]
23             [% WRAPPER breadcrumb_item bc_active= 1 %]
24                 <span>Error</span>
25             [% END %]
26         [% ELSE %]
27             [% WRAPPER breadcrumb_item %]
28                 [% INCLUDE 'biblio-title.inc' link = 1 %]
29             [% END %]
30             [% WRAPPER breadcrumb_item %]
31                 <a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% biblionumber | uri %]">Items</a>
32             [% END %]
33             [% WRAPPER breadcrumb_item bc_active= 1 %]
34                 <span>Circulation statistics</span>
35             [% END %]
36         [% END %]
37     [% END #/ WRAPPER breadcrumbs %]
38 [% END #/ WRAPPER sub-header.inc %]
39
40 <div class="main container-fluid">
41     <div class="row">
42         <div class="col-sm-10 col-sm-push-2">
43             <main>
44
45                 <h1>
46                     [% IF ( author ) %]
47                         Circulation statistics for [% INCLUDE 'biblio-title.inc' %] by [% author |html %]
48                     [% ELSE %]
49                         Circulation statistics for [% INCLUDE 'biblio-title.inc' %]
50                     [% END %]
51                 </h1>
52
53 [% INCLUDE 'blocking_errors.inc' %]
54
55 <h3>Barcode [% barcode | html %]</h3>
56 <div class="page-section">
57     <table>
58             <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>
59
60             <tr><td>[% Branches.GetName( homebranch ) | html %]</td>
61                 <td>[% Branches.GetName( holdingbranch ) | html %]</td>
62                 <td>[% IF ( lastdate ) %][% lastdate | $KohaDates %][% ELSE %]Item has no transfer record[% END %]</td>
63                 <td>[% count | html %]</td>
64             </tr>
65     </table>
66 </div> <!-- /.page-section -->
67
68 <div class="page-section">
69     <table>
70         <tr>
71             <th>Library</th>
72             <th>No. of times checked out</th>
73             <th>Last seen</th>
74         </tr>
75         [% FOREACH library IN libraries %]
76         [% IF library.selected %]
77             <tr class="mybranch">
78         [% ELSE %]
79             <tr>
80         [% END %]
81                 <td>[% library.branchname | html %]</td>
82                 <td>[% library.issues | html %]</td>
83                 <td>[% IF library.seen %]
84                         [% library.seen | $KohaDates  with_hours => 1 %]
85                     [% ELSE %]
86                         <span>Never</span>
87                     [% END %]
88                 </td>
89             </tr>
90         [% END %]
91     </table>
92 </div> <!-- /.page-section -->
93
94             </main>
95         </div> <!-- /.col-sm-10.col-sm-push-2 -->
96
97         <div class="col-sm-2 col-sm-pull-10">
98             <aside>
99                 [% INCLUDE 'biblio-view-menu.inc' %]
100             </aside>
101         </div> <!-- /.col-sm-2.col-sm-pull-10 -->
102      </div> <!-- /.row -->
103
104 [% MACRO jsinclude BLOCK %]
105     <script>
106         $(document).ready(function(){
107         $("tr.mybranch td").css("background-color", "#CFE7FF");
108     });
109     </script>
110 [% END %]
111
112 [% INCLUDE 'intranet-bottom.inc' %]