1 <!-- TMPL_INCLUDE NAME="reportswcal-top.inc" -->
3 <h1>Till Reconciliation</h1>
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">
13 ifFormat : "%d/%m/%Y",
14 button : "buttonfrom1",
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">
25 ifFormat : "%d/%m/%Y",
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)
36 <table border="0" cellspacing="0" cellpadding="0" class="collapse">
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>
49 <!-- TMPL_LOOP NAME=loop1 -->
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>
65 <b>Total amount paid: $<!-- TMPL_VAR NAME="totalpaid" --></b>
71 <table border="0" cellspacing="0" cellpadding="0" class="collapse">
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>
82 <!-- TMPL_LOOP NAME=loop2 -->
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>
95 <b>Total amount credits: $<!-- TMPL_VAR NAME="totalcredits" --></b>
97 <b>Total number written off: <!-- TMPL_VAR NAME="totalwritten" --> charges</b>
103 <table border="0" cellspacing="0" cellpadding="0" class="collapse">
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>
114 <!-- TMPL_LOOP NAME=loop3 -->
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>
127 <b>Total amount refunds: $<!-- TMPL_VAR NAME="totalrefund" --></b>
130 <b>Total amount of cash collected:$ <!-- TMPL_VAR NAME="totalcash" --> </b>
132 <!-- TMPL_INCLUDE NAME="reports-bottom.inc" -->