Subversion Repositories SmartDukaan

Rev

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

Rev 1088 Rev 1136
Line 71... Line 71...
71
					<div align="center" class="note">Note: For order details click on Order ID</div>
71
					<div align="center" class="note">Note: For order details click on Order ID</div>
72
					<table align="center" cellpadding="0" cellspacing="0" border="0" width="100%" id="orderData" class="tablesorter">
72
					<table align="center" cellpadding="0" cellspacing="0" border="0" width="100%" id="orderData" class="tablesorter">
73
						<thead>
73
						<thead>
74
							<tr>
74
							<tr>
75
								<th width="14%">Order ID</th>
75
								<th width="14%">Order ID</th>
76
								<th>Item Name</th>
76
								<th width="40%">Item Name</th>
77
								<th>Quantity</th>
77
								<th>Quantity</th>
78
								<th width="15%"><span class="price">Price</span> <img src="/images/rupee-symbol.png" width="10" height="14" alt="INR" class="rupee" /></th>
78
								<th width="15%"><span class="price">Price</span> <img src="/images/rupee-symbol.png" width="10" height="14" alt="INR" class="rupee" /></th>
79
								<th width="23%">Status</th>
79
								<th width="23%">Status</th>
80
								<th>Courier AWB No.</th>
-
 
81
							</tr>
80
							</tr>
82
						</thead>
81
						</thead>
83
						<tbody>
82
						<tbody>
84
				#foreach($order in $orders)
83
				#foreach($order in $orders)
85
					#set($lineitems = $order.getLineitems())
84
					#set($lineitems = $order.getLineitems())
Line 87... Line 86...
87
						#set($total_price = $lineitem.getTotal_price())
86
						#set($total_price = $lineitem.getTotal_price())
88
						#set($total_amount = $total_amount + $total_price)
87
						#set($total_amount = $total_amount + $total_price)
89
							<tr>
88
							<tr>
90
								<td><a href="/order/$order.getId()">$order.getId()</a></td>
89
								<td><a href="/order/$order.getId()">$order.getId()</a></td>
91
								<td>#if($lineitem.getBrand()) $lineitem.getBrand() #end
90
								<td>#if($lineitem.getBrand()) $lineitem.getBrand() #end
92
										#if($lineitem.getModel_name()) $lineitem.getModel_name() #end
91
									#if($lineitem.getModel_name()) $lineitem.getModel_name() #end
93
										#if($lineitem.getModel_name())  $lineitem.getModel_name() #end
92
									#if($lineitem.getModel_name())  $lineitem.getModel_name() #end
94
										#if($lineitem.getColor()) $lineitem.getColor() #end
93
									#if($lineitem.getColor()) ($lineitem.getColor()) #end
95
								</td>
94
								</td>
96
								<td>$lineitem.getQuantity()</td>
95
								<td>$lineitem.getQuantity()</td>
97
								<td>$total_price</td>
96
								<td>$total_price</td>
98
								<td>
97
								<td>
99
					#if($order.getStatus().getDescription())
98
					#if($order.getStatus().getDescription())
100
						$order.getStatus().getDescription()
99
						$order.getStatus().getDescription()
101
					#end
100
					#end
102
								</td>
101
								</td>
103
								<td>
-
 
104
				#if($order.getStatus().getValue() > 8) <!-- 8 corresponds to OrderStatus.READY_FOR_SHIPPING -->
-
 
105
					#if($providerNames.get($order.getLogistics_provider_id()))
-
 
106
						$order.getAirwaybill_no()
-
 
107
					#end
-
 
108
				#end
-
 
109
								</td>
-
 
110
							</tr>
102
							</tr>
111
									#end
103
									#end
112
								#end
104
								#end
113
							<tr>
105
							<tr>
114
								<td colspan="6">
106
								<td colspan="5">
115
									<div class="totalAmount">
107
									<div class="totalAmount">
116
										Total Amount:
108
										Total Amount:
117
										<img src="/images/rupee-symbol.png" width="10" height="14" alt="INR" class="rupee" />
109
										<img src="/images/rupee-symbol.png" width="10" height="14" alt="INR" class="rupee" />
118
										$total_amount
110
										$total_amount
119
									</div>
111
									</div>
Line 132... Line 124...
132
				<div class="clearBoth"></div>
124
				<div class="clearBoth"></div>
133
			</div>
125
			</div>
134
		</div>
126
		</div>
135
		
127
		
136
		<div class="bottom">
128
		<div class="bottom">
137
			<div class="bottom-grey-left">
-
 
138
				<div class="bottom-white-right">&nbsp;</div>
129
			<div class="bottom-grey-left">&nbsp;</div>
139
			</div>
-
 
140
		</div>
130
		</div>
141
	</div>
131
	</div>
142
	<!-- /my account -->
132
	<!-- /my account -->
143
		</div>
133
		</div>
144
		<!-- /wrapper-->
134
		<!-- /wrapper-->