Subversion Repositories SmartDukaan

Rev

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

Rev 1630 Rev 1886
Line 1... Line -...
1
 
-
 
2
<html >
1
<html >
3
<head>
2
<head>
4
	<title>Statistics</title>
3
	<title>Statistics</title>
5
</head>
4
</head>
6
<body>
5
<body>
-
 
6
	#parse("../content/reports-common.vm")
7
	<h2 >Statistics</h2>
7
	<h2 >Statistics</h2>
8
	<div>
8
	<div>
9
		<table border="1">
9
		<table border="1">
10
			<tr>
10
			<tr>
11
				<th width=50%>Field</th>
11
				<th width=50%>Field</th>
Line 37... Line 37...
37
			</tr>
37
			</tr>
38
			<tr>
38
			<tr>
39
				<td>Minimum Payment Amount</td>
39
				<td>Minimum Payment Amount</td>
40
				<td align="right">$minPaymentAmount</td>
40
				<td align="right">$minPaymentAmount</td>
41
			</tr>
41
			</tr>
-
 
42
			<br/>
42
		</table> 
43
		</table>
-
 
44
		<br/>
-
 
45
		
-
 
46
		<h3>Last 10 Orders</h3>
-
 
47
		<table border="1">
-
 
48
            <thead>
-
 
49
              <tr>
-
 
50
                <th width="10%">Order ID</th>
-
 
51
                <th width="20%">Brand</th>
-
 
52
                <th width="20%">Model Number</th>
-
 
53
                <th width="8%">Qty</th>
-
 
54
                <th width="20%">Status</th>
-
 
55
				<th width="15%">Customer ID</th>
-
 
56
                <th width="10%">Customer City </th>
-
 
57
              </tr>
-
 
58
            </thead>
-
 
59
            <tbody>
-
 
60
					#foreach($order in $action.getValidOrders())
-
 
61
						#set($item = $action.getItem($order.getId()))
-
 
62
              <tr>
-
 
63
                <td>$order.getId()</td>
-
 
64
                <td>$item.getBrand()</td>
-
 
65
                <td>$item.getModel_number()</td>
-
 
66
				<td>$item.getQuantity()</td>
-
 
67
				<td>$action.getOrderStatusString($order.getStatus())
-
 
68
                <td>$order.getCustomer_id()</td>
-
 
69
				<td>$order.getCustomer_city()</td>
-
 
70
              </tr>
-
 
71
					#end
-
 
72
            </tbody>
-
 
73
		</table>
-
 
74
 
43
    </div>
75
    </div>
44
	<div id="messageError">
76
	<div id="messageError">
45
         $errorMsg
77
         $errorMsg
46
    </div>
78
    </div>
47
</body>
79
</body>