Bug 7720: add options for controlling display of an item's home and/or holdings location
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / circ / bookcount.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Circulation &rsaquo; Circulation statistics for [% title |html %]</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript">
5 $(document).ready(function(){
6     $(".striped tr:even").addClass("highlight");
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 %][% ELSE %]Item has no transfer record[% END %]</td>
32             <td>[% count %]</td>
33         </tr>
34 </table>
35 <table class="striped">
36     <tr>
37         <th>Library</th>
38         <th>No. of times checked out</th>
39         <th>Last seen</th>
40     </tr>
41     [% FOREACH branchloo IN branchloop %]
42     [% IF ( branchloo.selected ) %]
43         <tr class="mybranch">
44     [% ELSE %]
45         <tr>
46     [% END %]
47             <td>[% branchloo.branchname %]</td>
48             <td>[% branchloo.issues %]</td>
49             <td>[% IF ( branchloo.seen ) %]
50                     [% branchloo.seen %] [% branchloo.seentime %]
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' %]