stats.screen.pl template file, grabbed from 2.2 needs to be 3.0ified
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / reports / stats_screen.tmpl
1 <!-- TMPL_INCLUDE NAME="reportswcal-top.inc" -->
2
3 <h1>Till Reconciliation</h1>
4
5 <h4>Search between two dates</h4>
6 <form action="stats.screen.pl" method="post">
7   <label>Start Date</label>
8   <input type="text" name="time" size="10" value="<!-- TMPL_IF NAME="date" --><!-- TMPL_VAR NAME="date" --><!-- TMPL_ELSE -->today<!-- /TMPL_IF -->" id="from"> 
9   <img src="<!-- TMPL_VAR Name="themelang" -->/includes/calendar/cal.gif" id="buttonfrom1" style="cursor: pointer;" />
10      <script type="text/javascript">
11      Calendar.setup({
12      inputField     :    "from",
13      ifFormat       :    "%d/%m/%Y",
14      button         :    "buttonfrom1",
15      align          :    "Tl"
16      });
17      </script>
18
19   <label>End Date</label>
20   <input type="text" name="time2" size="10" value="<!-- TMPL_IF NAME="date2" --><!-- TMPL_VAR NAME="date2" --><!-- TMPL_ELSE -->tomorrow<!-- /TMPL_IF -->" id="to">
21   <img src="<!-- TMPL_VAR Name="themelang" -->/includes/calendar/cal.gif" id="buttonto1" style="cursor: pointer;" />
22      <script type="text/javascript">
23      Calendar.setup({
24      inputField     :    "to",
25      ifFormat       :    "%d/%m/%Y",
26      button         :    "buttonto1",
27      align          :    "Tl"
28      });
29      </script>
30   <input type="submit" value="To Screen" name="submit" class="button">
31   <input type="submit" value="To Excel" name="submit" class="button"> (dd/mm/yyyy)
32 </form>
33
34 <h2>Payments</h2>
35
36         <table border="0" cellspacing="0" cellpadding="0" class="collapse">
37                 <tr>
38                         <th class="cell-header">Branch</th>
39                         <th class="cell-header">Date/time</th>
40                         <th class="cell-header">Surname</th>
41                         <th class="cell-header">Firstname</th>
42                         <th class="cell-header">Description</th>
43                         <th class="cell-header">Charge Type</th>
44                         <th class="cell-header">Invoice Amount</th>
45                         <th class="cell-header">Payment Type</th>
46                         <th class="cell-header">Payment Amount</th>
47                 </tr>
48
49                 <!-- TMPL_LOOP NAME=loop1 -->
50                 <tr>
51                      <td class="cell"><!-- TMPL_VAR NAME="branch" --></td>
52                         <td class="cell"><!-- TMPL_VAR NAME="datetime" --></td>
53                         <td class="cell"><!-- TMPL_VAR NAME="surname" --></td>
54                         <td class="cell"><!-- TMPL_VAR NAME="firstname" --></td>
55                         <td class="cell"><!-- TMPL_VAR NAME="description" --></td>
56                         <td class="cell"><!-- TMPL_VAR NAME="accounttype" --></td>
57                         <td class="cell"><!-- TMPL_VAR NAME="amount" --></td>
58                         <td class="cell"><!-- TMPL_VAR NAME="type" --></td>
59                         <td class="cell"><!-- TMPL_VAR NAME="value" --></td>
60                 </tr>
61                 <!-- /TMPL_LOOP -->
62         </table>
63
64 <p>
65         <b>Total amount paid: $<!-- TMPL_VAR NAME="totalpaid" --></b>
66 </p>
67
68
69 <h2>Credits</h2>
70
71         <table border="0" cellspacing="0" cellpadding="0" class="collapse">
72                 <tr>
73                         <th class="cell-header">Branch</th>
74                         <th class="cell-header">Date/time</th>
75                         <th class="cell-header">Surname</th>
76                         <th class="cell-header">Firstname</th>
77                         <th class="cell-header">Description</th>
78                         <th class="cell-header">Charge Type</th>
79                         <th class="cell-header">Invoice Amount</th>
80                 </tr>
81
82                 <!-- TMPL_LOOP NAME=loop2 -->
83                 <tr>
84                      <td class="cell"><!-- TMPL_VAR NAME="creditbranch" --></td>
85                         <td class="cell"><!-- TMPL_VAR NAME="creditdate" --></td>
86                         <td class="cell"><!-- TMPL_VAR NAME="creditsurname" --></td>
87                         <td class="cell"><!-- TMPL_VAR NAME="creditfirstname" --></td>
88                         <td class="cell"><!-- TMPL_VAR NAME="creditdescription" --></td>
89                         <td class="cell"><!-- TMPL_VAR NAME="creditaccounttype" --></td>
90                         <td class="cell"><!-- TMPL_VAR NAME="creditamount" --></td>
91                 </tr>
92                 <!-- /TMPL_LOOP -->
93         </table>
94 <p>
95         <b>Total amount credits: $<!-- TMPL_VAR NAME="totalcredits" --></b>
96         <br>
97         <b>Total number written off: <!-- TMPL_VAR NAME="totalwritten" --> charges</b>
98 </p>
99
100
101 <h2>Refunds</h2>
102
103         <table border="0" cellspacing="0" cellpadding="0" class="collapse">
104                 <tr>
105                         <th class="cell-header">Branch</th>
106                         <th class="cell-header">Date/time</th>
107                         <th class="cell-header">Surname</th>
108                         <th class="cell-header">Firstname</th>
109                         <th class="cell-header">Description</th>
110                         <th class="cell-header">Charge Type</th>
111                         <th class="cell-header">Invoice Amount</th>
112                 </tr>
113
114                 <!-- TMPL_LOOP NAME=loop3 -->
115                 <tr>
116                      <td class="cell"><!-- TMPL_VAR NAME="refundbranch" --></td>
117                         <td class="cell"><!-- TMPL_VAR NAME="refunddate" --></td>
118                         <td class="cell"><!-- TMPL_VAR NAME="refundsurname" --></td>
119                         <td class="cell"><!-- TMPL_VAR NAME="refundfirstname" --></td>
120                         <td class="cell"><!-- TMPL_VAR NAME="refunddescription" --></td>
121                         <td class="cell"><!-- TMPL_VAR NAME="refundaccounttype" --></td>
122                         <td class="cell"><!-- TMPL_VAR NAME="refundamount" --></td>
123                 </tr>
124                 <!-- /TMPL_LOOP -->
125         </table>
126 <p>
127         <b>Total amount refunds: $<!-- TMPL_VAR NAME="totalrefund" --></b>
128 </p>
129 <p>
130         <b>Total amount of cash collected:$ <!-- TMPL_VAR NAME="totalcash" --> </b>
131 </p>
132 <!-- TMPL_INCLUDE NAME="reports-bottom.inc" -->
133 </body>
134 </html>
135
136