Bug 15758: Koha::Libraries - Remove GetBranchesLoop
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / bookcount.tt
1 [% USE KohaDates %]
2 [% INCLUDE 'doc-head-open.inc' %]
3 <title>Koha &rsaquo; Circulation &rsaquo; Circulation statistics for [% title |html %]</title>
4 [% INCLUDE 'doc-head-close.inc' %]
5 <script type="text/javascript">
6 $(document).ready(function(){
7     $("tr.mybranch td").css("background-color", "#CFE7FF");
8 });
9 </script>
10 </head>
11 <body id="circ_bookcount" class="circ">
12 [% INCLUDE 'header.inc' %]
13 [% INCLUDE 'circ-search.inc' %]
14
15 <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; Circulation statistics for [% title |html %]</div>
16
17 <div id="doc3" class="yui-t2">
18    
19    <div id="bd">
20         <div id="yui-main">
21         <div class="yui-b">
22
23 <h2>
24 [% title |html %] [% IF ( author ) %] by [% author |html %][% END %]</h2>
25 <h3>Barcode [% barcode %]</h3>
26 <table>
27         <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>
28                 
29                 <tr><td>[% homebranch %]</td>
30             <td>[% holdingbranch %]</td>
31             <td>[% IF ( lastdate ) %][% lastdate | $KohaDates %][% ELSE %]Item has no transfer record[% END %]</td>
32             <td>[% count %]</td>
33         </tr>
34 </table>
35 <table>
36     <tr>
37         <th>Library</th>
38         <th>No. of times checked out</th>
39         <th>Last seen</th>
40     </tr>
41     [% FOREACH library IN libraries %]
42     [% IF library.selected %]
43         <tr class="mybranch">
44     [% ELSE %]
45         <tr>
46     [% END %]
47             <td>[% library.branchname %]</td>
48             <td>[% library.issues %]</td>
49             <td>[% IF library.seen %]
50                     [% library.seen | $KohaDates with_hours => 1 %]
51                 [% ELSE %]
52                     <span>Never</span>
53                 [% END %]
54             </td>
55         </tr>
56     [% END %]
57 </table>
58
59 </div>
60 </div>
61 <div class="yui-b">
62 [% INCLUDE 'biblio-view-menu.inc' %]
63 </div>
64 </div>
65 [% INCLUDE 'intranet-bottom.inc' %]