Subversion Repositories SmartDukaan

Rev

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

Rev 7621 Rev 8406
Line 57... Line 57...
57
				<th width="10%">Source</th>
57
				<th width="10%">Source</th>
58
                <th width="8%">Customer City </th>
58
                <th width="8%">Customer City </th>
59
              </tr>
59
              </tr>
60
            </thead>
60
            </thead>
61
            <tbody>
61
            <tbody>
-
 
62
			#set($count = 0)
62
			#foreach($order in $action.getValidOrders())
63
			#foreach($order in $action.getValidOrders())
-
 
64
			#if($order.getSource() == 1 && $count < 50)
-
 
65
			#set($count = $count + 1)
63
			#set($item = $action.getItem($order))
66
			#set($item = $action.getItem($order))
64
              <tr>
67
              <tr>
65
                <td>$order.getId()</td>
68
                <td>$order.getId()</td>
66
				<td>$action.getDateTime($order.getCreated_timestamp())</td>
69
				<td>$action.getDateTime($order.getCreated_timestamp())</td>
67
				#set($modelname = "")
70
				#set($modelname = "")
Line 77... Line 80...
77
				<td>COD</td>
80
				<td>COD</td>
78
				#else
81
				#else
79
				<td>Prepaid</td>
82
				<td>Prepaid</td>
80
				#end
83
				#end
81
				<td>$action.getOrderStatusString($order.getStatus())</td>
84
				<td>$action.getOrderStatusString($order.getStatus())</td>
82
				#set($source = "WEBSITE")
85
				<td>WEBSITE</td>
83
				#if($order.getSource() == 2)
-
 
84
					#set($source = "STORE")
-
 
85
				#elseif($order.getSource() == 3)
-
 
86
					#set($source = "AMAZON")
-
 
87
				#end
-
 
88
                <td>$source</td>
-
 
89
				<td>$order.getCustomer_city()</td>
86
				<td>$order.getCustomer_city()</td>
90
              </tr>
87
              </tr>
91
			#end
88
			#end
-
 
89
			#end
92
            </tbody>
90
            </tbody>
93
		</table>
91
		</table>
94
 
92
 
95
    </div>
93
    </div>
96
</body>
94
</body>