Subversion Repositories SmartDukaan

Rev

Rev 5874 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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