4 [% USE AuthorisedValues %]
6 [% PROCESS 'i18n.inc' %]
8 [% INCLUDE 'doc-head-open.inc' %]
9 <title>[% FILTER collapse %]
10 [% UNLESS blocking_error %]
11 [% t("Statistics for") | html %] [% INCLUDE 'patron-title.inc' no_html = 1 %]
13 [% t("Patrons") | html %] ›
14 [% t("Koha") | html %]
16 [% INCLUDE 'doc-head-close.inc' %]
19 <body id="pat_statistics" class="pat">
20 [% WRAPPER 'header.inc' %]
21 [% INCLUDE 'patron-search-header.inc' %]
24 [% WRAPPER 'sub-header.inc' %]
25 [% WRAPPER breadcrumbs %]
26 [% WRAPPER breadcrumb_item %]
27 <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
29 [% WRAPPER breadcrumb_item %]
30 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | uri %]">[% INCLUDE 'patron-title.inc' %]</a>
32 [% WRAPPER breadcrumb_item bc_active= 1 %]
33 <span>Statistics</span>
35 [% END #/ WRAPPER breadcrumbs %]
36 [% END #/ WRAPPER sub-header.inc %]
38 <div class="main container-fluid">
40 <div class="col-sm-10 col-sm-push-2">
43 [% INCLUDE 'members-toolbar.inc' %]
45 <h1>Statistics for [% INCLUDE 'patron-title.inc' %]</h1>
46 [% IF ( datas.size ) %]
47 <div class="page-section">
48 <table id="statistics">
51 [% FOREACH cn IN column_names %]
55 <span>Item type</span>
57 <span>Collection</span>
59 <span>Shelving location</span>
60 [% CASE 'homebranch' %]
61 <span>Home library</span>
62 [% CASE 'holdingbranch' %]
63 <span>Holding library</span>
65 <span>[% cn | html %]</span>
69 <th>Total checkouts as of yesterday</th>
70 <th>Today's checkouts</th>
71 <th>Today's checkins</th>
72 <th>Total checkouts</th>
77 [% FOREACH r IN datas %]
80 <td>[% c | html %]</td>
87 <td colspan="[% column_names.size | html %]">TOTAL</td>
88 <td>[% count_total_precedent_state | html %]</td>
89 <td>[% count_total_issues | html %]</td>
90 <td>[% count_total_issues_returned | html %]</td>
91 <td>[% count_total_actual_state | html %]</td>
95 </div> <!-- /.page-section -->
97 <div class="dialog message">There are no statistics for this patron.</div>
101 </div> <!-- /.col-sm-10.col-sm-push-2 -->
103 <div class="col-sm-2 col-sm-pull-10">
105 [% INCLUDE 'circ-menu.inc' %]
107 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
108 </div> <!-- /.row -->
110 [% MACRO jsinclude BLOCK %]
111 [% INCLUDE 'str/members-menu.inc' %]
112 [% Asset.js("js/members-menu.js") | $raw %]
113 [% INCLUDE 'datatables.inc' %]
115 $(document).ready(function() {
116 $("#statistics").dataTable($.extend(true, {}, dataTablesDefaults, {
124 [% INCLUDE 'intranet-bottom.inc' %]