1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Reports › Till reconciliation</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 [% INCLUDE 'calendar.inc' %]
7 <body id="rep_stats_screen" class="rep">
8 [% INCLUDE 'header.inc' %]
9 [% INCLUDE 'circ-search.inc' %]
10 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> › Till reconciliation
13 <div id="doc3" class="yui-t2">
19 <h1>Till reconciliation</h1>
21 <fieldset><legend>Search between two dates</legend>
22 <form action="stats.screen.pl" method="post">
23 <label for="from">Start Date: </label>
24 <input type="text" name="time" size="10" value="[% IF ( date ) %][% date %][% ELSE %]today[% END %]" id="from" />
25 <img src="[% themelang %]/lib/calendar/cal.gif" id="buttonfrom1" alt="Show calendar" style="cursor: pointer;" />
26 <script type="text/javascript">
29 ifFormat : "[% DHTMLcalendar_dateformat %]",
30 button : "buttonfrom1",
34 <label for="to">End Date: </label>
35 <input type="text" name="time2" size="10" value="[% IF ( date2 ) %][% date2 %][% ELSE %]tomorrow[% END %]" id="to" />
36 <img src="[% themelang %]/lib/calendar/cal.gif" id="buttonto1" alt="Show calendar" style="cursor: pointer;" />
37 <script type="text/javascript">
40 ifFormat : "[% DHTMLcalendar_dateformat %]",
45 <input type="submit" value="To screen" name="submit" class="submit" />
46 <!-- <input type="submit" value="To Excel" name="submit" class="button"> --></fieldset>
59 <th>Invoice amount</th>
61 <th>Payment amount</th>
64 [% FOREACH loop IN loop1 %]
66 <td>[% loop.branch %]</td>
67 <td>[% loop.datetime %]</td>
68 <td>[% loop.surname %]</td>
69 <td>[% loop.firstname %]</td>
70 <td>[% loop.description %]</td>
71 <td>[% loop.accounttype %]</td>
72 <td>[% loop.amount %]</td>
73 <td>[% loop.type %]</td>
74 <td>[% loop.value %]</td>
80 <b>Total amount paid: [% totalpaid %]</b>
94 <th>Invoice amount</th>
97 [% FOREACH loop IN loop2 %]
99 <td>[% loop.creditbranch %]</td>
100 <td>[% loop.creditdate %]</td>
101 <td>[% loop.creditsurname %]</td>
102 <td>[% loop.creditfirstname %]</td>
103 <td>[% loop.creditdescription %]</td>
104 <td>[% loop.creditaccounttype %]</td>
105 <td>[% loop.creditamount %]</td>
110 <ul><li> <b>Total amount credits: [% totalcredits %]</b></li>
111 <li><b>Total number written off: [% totalwritten %] charges</b></li></ul>
125 <th>Invoice amount</th>
128 [% FOREACH loop IN loop3 %]
130 <td>[% loop.refundbranch %]</td>
131 <td>[% loop.refunddate %]</td>
132 <td>[% loop.refundsurname %]</td>
133 <td>[% loop.refundfirstname %]</td>
134 <td>[% loop.refunddescription %]</td>
135 <td>[% loop.refundaccounttype %]</td>
136 <td>[% loop.refundamount %]</td>
141 <ul><li><b>Total amount refunds: [% totalrefund %]</b></li>
142 <li><b>Total amount of cash collected: [% totalcash %] </b></li></ul>
147 [% INCLUDE 'reports-menu.inc' %]
150 [% INCLUDE 'intranet-bottom.inc' %]