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