Bug 1962: Add new syspref FineNotifyAtCheckin
[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> &rsaquo; <a href="/cgi-bin/koha/reports/reports-home.pl">Reports</a> &rsaquo; Till Reconciliation
11 </div>
12
13 <div id="doc3" class="yui-t2">
14    
15    <div id="bd">
16         <div id="yui-main">
17         <div class="yui-b">
18
19 <h1>Till Reconciliation</h1>
20
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="<!-- TMPL_IF NAME="date" --><!-- TMPL_VAR NAME="date" --><!-- TMPL_ELSE -->today<!-- /TMPL_IF -->" id="from" /> 
25   <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="buttonfrom1" alt="Show Calendar" style="cursor: pointer;" />
26      <script type="text/javascript">
27      Calendar.setup({
28      inputField     :    "from",
29      ifFormat       :    "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
30      button         :    "buttonfrom1",
31      align          :    "Tl"
32      });
33      </script>
34   <label for="to">End Date: </label>
35   <input type="text" name="time2" size="10" value="<!-- TMPL_IF NAME="date2" --><!-- TMPL_VAR NAME="date2" --><!-- TMPL_ELSE -->tomorrow<!-- /TMPL_IF -->" id="to" />
36   <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="buttonto1" alt="Show Calendar" style="cursor: pointer;" />
37      <script type="text/javascript">
38      Calendar.setup({
39      inputField     :    "to",
40      ifFormat       :    "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
41      button         :    "buttonto1",
42      align          :    "Tl"
43      });
44      </script>
45   <input type="submit" value="To Screen" name="submit" class="submit" />
46 <!--  <input type="submit" value="To Excel" name="submit" class="button"> --></fieldset>
47 </form>
48
49 <h2>Payments</h2>
50
51         <table>
52                 <tr>
53                         <th>Library</th>
54                         <th>Date/time</th>
55                         <th>Surname</th>
56                         <th>Firstname</th>
57                         <th>Description</th>
58                         <th>Charge Type</th>
59                         <th>Invoice Amount</th>
60                         <th>Payment Type</th>
61                         <th>Payment Amount</th>
62                 </tr>
63
64                 <!-- TMPL_LOOP NAME=loop1 -->
65                 <tr>
66                      <td><!-- TMPL_VAR NAME="branch" --></td>
67                         <td><!-- TMPL_VAR NAME="datetime" --></td>
68                         <td><!-- TMPL_VAR NAME="surname" --></td>
69                         <td><!-- TMPL_VAR NAME="firstname" --></td>
70                         <td><!-- TMPL_VAR NAME="description" --></td>
71                         <td><!-- TMPL_VAR NAME="accounttype" --></td>
72                         <td><!-- TMPL_VAR NAME="amount" --></td>
73                         <td><!-- TMPL_VAR NAME="type" --></td>
74                         <td><!-- TMPL_VAR NAME="value" --></td>
75                 </tr>
76                 <!-- /TMPL_LOOP -->
77         </table>
78
79 <p>
80         <b>Total amount paid: <!-- TMPL_VAR NAME="totalpaid" --></b>
81 </p>
82
83
84 <h2>Credits</h2>
85
86         <table>
87                 <tr>
88                         <th>Library</th>
89                         <th>Date/time</th>
90                         <th>Surname</th>
91                         <th>Firstname</th>
92                         <th>Description</th>
93                         <th>Charge Type</th>
94                         <th>Invoice Amount</th>
95                 </tr>
96
97                 <!-- TMPL_LOOP NAME=loop2 -->
98                 <tr>
99                      <td><!-- TMPL_VAR NAME="creditbranch" --></td>
100                         <td><!-- TMPL_VAR NAME="creditdate" --></td>
101                         <td><!-- TMPL_VAR NAME="creditsurname" --></td>
102                         <td><!-- TMPL_VAR NAME="creditfirstname" --></td>
103                         <td><!-- TMPL_VAR NAME="creditdescription" --></td>
104                         <td><!-- TMPL_VAR NAME="creditaccounttype" --></td>
105                         <td><!-- TMPL_VAR NAME="creditamount" --></td>
106                 </tr>
107                 <!-- /TMPL_LOOP -->
108         </table>
109 <p>
110        <ul><li> <b>Total amount credits: <!-- TMPL_VAR NAME="totalcredits" --></b></li>
111         <li><b>Total number written off: <!-- TMPL_VAR NAME="totalwritten" --> charges</b></li></ul>
112 </p>
113
114
115 <h2>Refunds</h2>
116
117         <table>
118                 <tr>
119                         <th>Library</th>
120                         <th>Date/time</th>
121                         <th>Surname</th>
122                         <th>Firstname</th>
123                         <th>Description</th>
124                         <th>Charge Type</th>
125                         <th>Invoice Amount</th>
126                 </tr>
127
128                 <!-- TMPL_LOOP NAME=loop3 -->
129                 <tr>
130                      <td><!-- TMPL_VAR NAME="refundbranch" --></td>
131                         <td><!-- TMPL_VAR NAME="refunddate" --></td>
132                         <td><!-- TMPL_VAR NAME="refundsurname" --></td>
133                         <td><!-- TMPL_VAR NAME="refundfirstname" --></td>
134                         <td><!-- TMPL_VAR NAME="refunddescription" --></td>
135                         <td><!-- TMPL_VAR NAME="refundaccounttype" --></td>
136                         <td><!-- TMPL_VAR NAME="refundamount" --></td>
137                 </tr>
138                 <!-- /TMPL_LOOP -->
139         </table>
140 <p>
141         <ul><li><b>Total amount refunds: <!-- TMPL_VAR NAME="totalrefund" --></b></li>
142         <li><b>Total amount of cash collected: <!-- TMPL_VAR NAME="totalcash" --> </b></li></ul>
143 </p>
144 </div>
145 </div>
146 <div class="yui-b">
147 <!-- TMPL_INCLUDE NAME="reports-menu.inc" -->
148 </div>
149 </div>
150 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->