Subversion Repositories SmartDukaan

Rev

Rev 5874 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5874 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>
6010 rajveer 14
                <th width="6%">Order ID</th>
15
				<th width="16%">Order Date</th>
16
				<th width="22%">Product</th>
17
                <th width="6%">Type</th>
18
				<th width="16%">Status</th>
19
				<th width="16%">Action Date</th>
5874 rajveer 20
				<th width="10%">Store</th>
21
                <th width="8%">Customer City</th>
22
              </tr>
23
            </thead>
24
            <tbody>
25
			#foreach($order in $action.getValidOrders())
26
			#set($item = $action.getItem($order))
27
              <tr>
28
                <td>$order.getId()</td>
29
				<td>$action.getDateTime($order.getCreated_timestamp())</td>
6010 rajveer 30
				<td>$item.getBrand() $item.getModel_number()</td>
5874 rajveer 31
				#if($order.isCod())
32
				<td>COD</td>
33
				#else
34
				<td>Prepaid</td>
35
				#end
36
				<td>$action.getOrderStatusString($order.getStatus())</td>
6010 rajveer 37
				<td>$action.getLastUpdateTime($order)</td>
5874 rajveer 38
                <td>$action.getStoreName($order.getPickupStoreId())</td>
39
				<td>$order.getCustomer_city()</td>
40
              </tr>
41
			#end
42
            </tbody>
43
		</table>
44
 
45
    </div>
46
</body>
47
</html>