Subversion Repositories SmartDukaan

Rev

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

Rev 1076 Rev 1077
Line 60... Line 60...
60
			<div class="left-grey-left">
60
			<div class="left-grey-left">
61
				<div class="left-white-right">&nbsp;</div>
61
				<div class="left-white-right">&nbsp;</div>
62
			</div>
62
			</div>
63
		</div>
63
		</div>
64
		<div class="middle">
64
		<div class="middle">
65
			<div class="middle-grey-left">
-
 
66
				<div class="middle-white-right">
65
			<div class="middle-white-right">
67
 
-
 
68
					<!-- content -->
66
				<!-- content -->
69
					<div class="content">
67
				<div class="content">
70
						<p><strong>$action.getMessage()</strong></p>
68
					<p align="center"><strong>$action.getMessage()</strong></p>
71
						
69
					
72
				#set($orders = $action.getOrders())
70
			#set($orders = $action.getOrders())
73
				#if($orders && $orders.size() != 0)
71
			#if($orders && $orders.size() != 0)
74
					#set($total_amount = 0.0)
72
				#set($total_amount = 0.0)
75
						<div class="note">
-
 
76
							Note: For order details click on Order ID
73
					<div align="center" class="note">Note: For order details click on Order ID</div>
77
						</div>
-
 
78
						<table cellpadding="0" cellspacing="0" border="0" width="100%" id="orderData" class="tablesorter">
74
					<table cellpadding="0" cellspacing="0" border="0" width="100%" id="orderData" class="tablesorter">
79
							<thead>
75
						<thead>
80
								<tr>
76
							<tr>
81
									<th width="14%">Order ID</th>
77
								<th width="14%">Order ID</th>
82
                                    <th>Item Name</th>
78
								<th>Item Name</th>
83
									<th>Quantity</th>
79
								<th>Quantity</th>
84
									<th width="15%"><span class="price">Price</span> <img src="/images/rupee-symbol.png" width="10" height="14" alt="INR" class="rupee" /></th>
80
								<th width="15%"><span class="price">Price</span> <img src="/images/rupee-symbol.png" width="10" height="14" alt="INR" class="rupee" /></th>
-
 
81
								<th>Status</th>
85
									<th>Courier AWB No.</th>
82
								<th>Courier AWB No.</th>
86
								</tr>
83
							</tr>
87
							</thead>
84
						</thead>
88
							<tbody>
85
						<tbody>
89
								#foreach($order in $orders)
86
				#foreach($order in $orders)
90
									#set($lineitems = $order.getLineitems())
87
					#set($lineitems = $order.getLineitems())
91
									#foreach($lineitem in $lineitems)
88
					#foreach($lineitem in $lineitems)
92
										#set($total_price = $lineitem.getTotal_price())
89
						#set($total_price = $lineitem.getTotal_price())
93
										#set($total_amount = $total_amount + $total_price)
90
						#set($total_amount = $total_amount + $total_price)
94
								<tr>
91
							<tr>
95
									<td><a href="/order/$order.getId()">$order.getId()</td>
92
								<td><a href="/order/$order.getId()">$order.getId()</td>
96
									<td>#if($lineitem.getBrand()) $lineitem.getBrand() #end
93
								<td>#if($lineitem.getBrand()) $lineitem.getBrand() #end
97
										#if($lineitem.getModel_name()) $lineitem.getModel_name() #end
94
										#if($lineitem.getModel_name()) $lineitem.getModel_name() #end
98
										#if($lineitem.getModel_name())  $lineitem.getModel_name() #end
95
										#if($lineitem.getModel_name())  $lineitem.getModel_name() #end
99
										#if($lineitem.getColor()) $lineitem.getColor() #end
96
										#if($lineitem.getColor()) $lineitem.getColor() #end
100
									</td>
97
								</td>
101
									<td>$lineitem.getQuantity()</td>
98
								<td>$lineitem.getQuantity()</td>
102
									<td>$total_price</td>
99
								<td>$total_price</td>
-
 
100
								<td>
-
 
101
					#if($order.getStatus().getDescription())
-
 
102
						$order.getStatus().getDescription()
-
 
103
					#end
-
 
104
								</td>
103
									<td>
105
								<td>
104
				#if($order.getStatus().getValue() > 8) <!-- 8 corresponds to OrderStatus.READY_FOR_SHIPPING -->
106
				#if($order.getStatus().getValue() > 8) <!-- 8 corresponds to OrderStatus.READY_FOR_SHIPPING -->
105
					#if($providerNames.get($order.getLogistics_provider_id()))
107
					#if($providerNames.get($order.getLogistics_provider_id()))
106
						$order.getAirwaybill_no()
108
						$order.getAirwaybill_no()
107
					#end
109
					#end
108
				#end
110
				#end
109
									</td>
111
								</td>
110
								</tr>
112
							</tr>
111
									#end
113
									#end
112
								#end
114
								#end
113
								<tr>
115
							<tr>
114
									<td colspan="4">
116
								<td colspan="5">
115
										<div class="totalAmount">
117
									<div class="totalAmount">
116
											Total Amount:
118
										Total Amount:
117
											<img src="/images/rupee-symbol.png" width="10" height="14" alt="INR" class="rupee" />
119
										<img src="/images/rupee-symbol.png" width="10" height="14" alt="INR" class="rupee" />
118
											$total_amount
120
										$total_amount
119
										</div>
121
									</div>
120
									</td>
122
								</td>
121
								</tr>
123
							</tr>
122
							</tbody>
124
						</tbody>
123
						</table>
125
					</table>
124
						#else
126
						#else
125
						<div class="note">
127
					<div class="note">
126
							Due to some error we are unable to display your details.
128
							Due to some error we are unable to display your details.
127
							Please check your account page to see the order confirmation status.
129
							Please check your account page to see the order confirmation status.
128
						</div>
-
 
129
					#end
-
 
130
					</div>
130
					</div>
131
					<!-- /content -->
131
					#end
132
					<div class="clearBoth"></div>
-
 
133
				</div>
132
				</div>
-
 
133
				<!-- /content -->
-
 
134
				<div class="clearBoth"></div>
134
			</div>
135
			</div>
135
		</div>
136
		</div>
136
		
137
		
137
		<div class="bottom">
138
		<div class="bottom">
138
			<div class="bottom-grey-left">
139
			<div class="bottom-grey-left">