Subversion Repositories SmartDukaan

Rev

Rev 6161 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
6154 rajveer 1
<html >
2
<head>
3
	<title>Statistics</title>
4
</head>
5
<body>
6
	#parse("../content/reports-common.vm")
7
	<h2 >In Store Order Statistics</h2>
8
	<div>
9
		<br/>
10
		<h3>Last 50 Orders</h3>
11
		<table border="1" width="100%">
12
            <thead>
13
              <tr>
14
                <th width="5%">Order ID</th>
15
				<th width="20%">Order Date</th>
16
				<th width="10%">Operator</th>
17
                <th width="10%">Device</th>
18
				<th width="15%">Status</th>
19
				<th width="30%">Description</th>
20
				<th width="10%">Amount</th>
21
              </tr>
22
            </thead>
23
            <tbody>
24
			#foreach($order in $action.getValidOrders())
25
			  <tr>
26
                <td>$order.getDisplayId()</td>
27
				<td>$action.getDateTime($order.getCreationTimestamp())</td>
28
				<td>$order.getOperatorId()</td>
29
				<td>$order.getDeviceNumber()</td>
30
				<td>$order.getStatus()</td>
31
				<td>$order.getDescription()</td>
32
				<td>$order.getTotalAmount()</td>
33
              </tr>
34
			#end
35
            </tbody>
36
		</table>
37
 
38
    </div>
39
</body>
40
</html>