Subversion Repositories SmartDukaan

Rev

Rev 6154 | Rev 6194 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6154 Rev 6161
Line 2... Line 2...
2
<head>
2
<head>
3
	<title>Statistics</title>
3
	<title>Statistics</title>
4
</head>
4
</head>
5
<body>
5
<body>
6
	#parse("../content/reports-common.vm")
6
	#parse("../content/reports-common.vm")
7
	<h2 >In Store Order Statistics</h2>
7
	<h2 >Recharge Orders</h2>
8
	<div>
8
	<div>
9
		<br/>
9
		<br/>
10
		<h3>Last 50 Orders</h3>
10
		<h3>All Orders</h3>
11
		<table border="1" width="100%">
11
		<table border="1" width="100%">
12
            <thead>
12
            <thead>
13
              <tr>
13
              <tr>
14
                <th width="5%">Order ID</th>
14
                <th width="5%">Order ID</th>
15
				<th width="20%">Order Date</th>
15
				<th width="20%">Order Date</th>
Line 23... Line 23...
23
            <tbody>
23
            <tbody>
24
			#foreach($order in $action.getValidOrders())
24
			#foreach($order in $action.getValidOrders())
25
			  <tr>
25
			  <tr>
26
                <td>$order.getDisplayId()</td>
26
                <td>$order.getDisplayId()</td>
27
				<td>$action.getDateTime($order.getCreationTimestamp())</td>
27
				<td>$action.getDateTime($order.getCreationTimestamp())</td>
28
				<td>$order.getOperatorId()</td>
28
				<td>$action.getOperator($order.getOperatorId())</td>
29
				<td>$order.getDeviceNumber()</td>
29
				<td>$order.getDeviceNumber()</td>
30
				<td>$order.getStatus()</td>
30
				<td>$order.getStatus()</td>
31
				<td>$order.getDescription()</td>
31
				<td>#if($order.getDescription())$order.getDescription()#end</td>
32
				<td>$order.getTotalAmount()</td>
32
				<td>$order.getTotalAmount()</td>
33
              </tr>
33
              </tr>
34
			#end
34
			#end
35
            </tbody>
35
            </tbody>
36
		</table>
36
		</table>