Subversion Repositories SmartDukaan

Rev

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

Rev 1888 Rev 1891
Line 1... Line 1...
1
<html >
1
<html >
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
	<h2 >Statistics</h2>
7
	<h2 >Statistics</h2>
7
	<div>
8
	<div>
8
		<table border="1">
9
		<table border="1">
9
			<tr>
10
			<tr>
10
				<th width=50%>Field</th>
11
				<th width=50%>Field</th>
Line 41... Line 42...
41
			<br/>
42
			<br/>
42
		</table>
43
		</table>
43
		<br/>
44
		<br/>
44
		
45
		
45
		<h3>Last 10 Orders</h3>
46
		<h3>Last 10 Orders</h3>
46
		<table border="1">
47
		<table border="1" width="100%">
47
            <thead>
48
            <thead>
48
              <tr>
49
              <tr>
49
                <th width="10%">Order ID</th>
50
                <th width="8%">Order ID</th>
-
 
51
				<th width="18%">Date/Time</th>
50
                <th width="20%">Brand</th>
52
                <th width="12%">Brand</th>
51
                <th width="20%">Model Number</th>
53
                <th width="20%">Model Number</th>
52
                <th width="8%">Qty</th>
54
                <th width="8%">Qty</th>
53
                <th width="20%">Status</th>
55
                <th width="16%">Status</th>
54
				<th width="15%">Customer ID</th>
56
				<th width="10%">Customer ID</th>
55
                <th width="10%">Customer City </th>
57
                <th width="8%">Customer City </th>
56
              </tr>
58
              </tr>
57
            </thead>
59
            </thead>
58
            <tbody>
60
            <tbody>
59
					#foreach($order in $action.getValidOrders())
61
					#foreach($order in $action.getValidOrders())
60
						#set($item = $action.getItem($order.getId()))
62
						#set($item = $action.getItem($order))
61
              <tr>
63
              <tr>
62
                <td>$order.getId()</td>
64
                <td>$order.getId()</td>
-
 
65
				<td>$action.getDateTime($order.getCreated_timestamp())</td>
63
                <td>$item.getBrand()</td>
66
                <td>$item.getBrand()</td>
64
                <td>$item.getModel_number()</td>
67
                <td>$item.getModel_number()</td>
65
				<td>$item.getQuantity()</td>
68
				<td>$item.getQuantity()</td>
66
				<td>$action.getOrderStatusString($order.getStatus())
69
				<td>$action.getOrderStatusString($order.getStatus())
67
                <td>$order.getCustomer_id()</td>
70
                <td>$order.getCustomer_id()</td>