Bug 10904: Limit patron update request management by branch
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / reports / stats_screen.tt
1 [% INCLUDE 'doc-head-open.inc' %] 
2 <title>Koha &rsaquo; Reports &rsaquo; Till reconciliation</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% INCLUDE 'calendar.inc' %]
5 </head>
6 <body id="rep_stats_screen" class="rep">
7 [% INCLUDE 'header.inc' %]
8 [% INCLUDE 'circ-search.inc' %]
9 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> &rsaquo; Till reconciliation
10 </div>
11
12 <div id="doc3" class="yui-t2">
13    
14    <div id="bd">
15         <div id="yui-main">
16         <div class="yui-b">
17
18 <h1>Till reconciliation</h1>
19
20 <fieldset><legend>Search between two dates</legend>
21 <form action="stats.screen.pl" method="post">
22   <label for="from">Start Date: </label>
23   <input type="text" name="time" size="10" value="[% IF ( date ) %][% date %][% ELSE %]today[% END %]" id="from" class="datepickerfrom" />
24   <label for="to">End Date: </label>
25   <input type="text" name="time2" size="10" value="[% IF ( date2 ) %][% date2 %][% ELSE %]tomorrow[% END %]" class="datepickerto" id="to" />
26   <input type="submit" value="To screen" name="submit" class="submit" />
27 <!--  <input type="submit" value="To Excel" name="submit" class="button"> --></fieldset>
28 </form>
29
30 <h2>Payments</h2>
31
32         <table>
33                 <tr>
34                         <th>Library</th>
35                         <th>Date/time</th>
36                         <th>Surname</th>
37                         <th>First name</th>
38                         <th>Description</th>
39                         <th>Charge type</th>
40                         <th>Invoice amount</th>
41                         <th>Payment type</th>
42                         <th>Payment amount</th>
43                 </tr>
44
45                 [% FOREACH loop IN loop1 %]
46                 <tr>
47                      <td>[% loop.branch %]</td>
48                         <td>[% loop.datetime %]</td>
49                         <td>[% loop.surname %]</td>
50                         <td>[% loop.firstname %]</td>
51                         <td>[% loop.description %]</td>
52                         <td>[% loop.accounttype %]</td>
53                         <td>[% loop.amount %]</td>
54                         <td>[% loop.type %]</td>
55                         <td>[% loop.value %]</td>
56                 </tr>
57                 [% END %]
58         </table>
59
60 <p>
61         <b>Total amount paid: [% totalpaid %]</b>
62 </p>
63
64
65 <h2>Credits</h2>
66
67         <table>
68                 <tr>
69                         <th>Library</th>
70                         <th>Date/time</th>
71                         <th>Surname</th>
72                         <th>First name</th>
73                         <th>Description</th>
74                         <th>Charge type</th>
75                         <th>Invoice amount</th>
76                 </tr>
77
78                 [% FOREACH loop IN loop2 %]
79                 <tr>
80                      <td>[% loop.creditbranch %]</td>
81                         <td>[% loop.creditdate %]</td>
82                         <td>[% loop.creditsurname %]</td>
83                         <td>[% loop.creditfirstname %]</td>
84                         <td>[% loop.creditdescription %]</td>
85                         <td>[% loop.creditaccounttype %]</td>
86                         <td>[% loop.creditamount %]</td>
87                 </tr>
88                 [% END %]
89         </table>
90 <p>
91        <ul><li> <b>Total amount credits: [% totalcredits %]</b></li>
92         <li><b>Total number written off: [% totalwritten %] charges</b></li></ul>
93 </p>
94
95
96 <h2>Refunds</h2>
97
98         <table>
99                 <tr>
100                         <th>Library</th>
101                         <th>Date/time</th>
102                         <th>Surname</th>
103                         <th>First name</th>
104                         <th>Description</th>
105                         <th>Charge type</th>
106                         <th>Invoice amount</th>
107                 </tr>
108
109                 [% FOREACH loop IN loop3 %]
110                 <tr>
111                      <td>[% loop.refundbranch %]</td>
112                         <td>[% loop.refunddate %]</td>
113                         <td>[% loop.refundsurname %]</td>
114                         <td>[% loop.refundfirstname %]</td>
115                         <td>[% loop.refunddescription %]</td>
116                         <td>[% loop.refundaccounttype %]</td>
117                         <td>[% loop.refundamount %]</td>
118                 </tr>
119                 [% END %]
120         </table>
121 <p>
122         <ul><li><b>Total amount refunds: [% totalrefund %]</b></li>
123         <li><b>Total amount of cash collected: [% totalcash %] </b></li></ul>
124 </p>
125 </div>
126 </div>
127 <div class="yui-b">
128 [% INCLUDE 'reports-menu.inc' %]
129 </div>
130 </div>
131 [% INCLUDE 'intranet-bottom.inc' %]