Subversion Repositories SmartDukaan

Rev

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

Rev 6685 Rev 6903
Line 52... Line 52...
52
		</div>
52
		</div>
53
		
53
		
54
		<!-- Cart Details -->
54
		<!-- Cart Details -->
55
	#set($orders = $action.getOrders())
55
	#set($orders = $action.getOrders())
56
	#set($cod = false)
56
	#set($cod = false)
-
 
57
	#set($isAnyOrderInsured = $action.isAnyOrderInsured())
57
		
58
		
58
		#if($orders && $orders.size() != 0)
59
		#if($orders && $orders.size() != 0)
59
		<div id="cart" class="blue-border">
60
		<div id="cart" class="blue-border">
60
			<div id="shippingEstimateCalculator" class="left">
61
			<div id="shippingEstimateCalculator" class="left">
61
				<span class="label left orange congrats">Congratulations! &nbsp;</span><span class="label left" style="font-size:13px; font-weight:bold; color:#333333">$action.getMessage()</span>
62
				<span class="label left orange congrats">Congratulations! &nbsp;</span><span class="label left" style="font-size:13px; font-weight:bold; color:#333333">$action.getMessage()</span>
Line 66... Line 67...
66
					<tr>
67
					<tr>
67
						<th width="80" class="first" style="text-align: center;"><b>ORDER ID</b></th>
68
						<th width="80" class="first" style="text-align: center;"><b>ORDER ID</b></th>
68
						<th width="222">Item &amp; Color</th>
69
						<th width="222">Item &amp; Color</th>
69
						<th width="100">Unit Price</th>
70
						<th width="100">Unit Price</th>
70
						<th width="50">Quantity</th>
71
						<th width="50">Quantity</th>
-
 
72
						#if($isAnyOrderInsured)
-
 
73
							<th width="80">Insurance</th>
-
 
74
						#end
71
						<th width="100">Total Price</th>
75
						<th width="100">Total Price</th>
72
						<th width="180">Estimated Delivery Date</th>
76
						<th width="180">Estimated Delivery Date</th>
73
						<th width="200">Order Status</th>
77
						<th width="200">Order Status</th>
74
                    </tr>
78
                    </tr>
75
                </thead>
79
                </thead>
76
				<tbody>
80
				<tbody>
77
				
81
				
78
				#foreach($order in $orders)
82
				#foreach($order in $orders)
-
 
83
					#set($insuranceAmount = $order.getInsuranceAmount())
79
					#set($pickUpStoreId = $order.getPickupStoreId())
84
					#set($pickUpStoreId = $order.getPickupStoreId())
80
					#set($lineitems = $order.getLineitems())
85
					#set($lineitems = $order.getLineitems())
81
					#foreach($lineitem in $lineitems)
86
					#foreach($lineitem in $lineitems)
-
 
87
 
82
						#set($total_price = $lineitem.getTotal_price())
88
						#set($total_price = $lineitem.getTotal_price())
83
						#set($total_amount = $total_amount + $total_price)
89
						#set($total_amount = $total_amount + $total_price)
84
							<tr>
90
						<tr>
85
								<td class="ordercolumn">
91
							<td class="ordercolumn">
86
									<a href="/order/$order.getId()">$order.getId()</a>
92
								<a href="/order/$order.getId()">$order.getId()</a>
87
									#if($order.isCod())
93
								#if($order.isCod())
88
            							#set($cod=true)
94
        							#set($cod=true)
89
            							<sup>*</sup>
95
        							<sup>*</sup>
90
									#end
-
 
91
								</td>
-
 
92
								<td>
-
 
93
        							<div class="cart-item-name-div">
-
 
94
                                        <div class="cart-item-name">
-
 
95
											#if($lineitem.getBrand()) $lineitem.getBrand() #end
-
 
96
											#if($lineitem.getModel_name()) $lineitem.getModel_name() #end
-
 
97
											#if($lineitem.getModel_number())  $lineitem.getModel_number() #end
-
 
98
										</div>
-
 
99
											#if($lineitem.getColor())
-
 
100
        								<div class="cart-item-color">Color - $lineitem.getColor()</div>
-
 
101
											#end
-
 
102
											#if($lineitem.getDealText())
-
 
103
										<div class="cart-item-best-deal-text">$lineitem.getDealText()</div>
-
 
104
											#end
-
 
105
                                    </div>
-
 
106
								</td>
-
 
107
								<td><img src="/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($lineitem.getUnit_price())</td>
-
 
108
								<td>$lineitem.getQuantity().intValue()</td>
-
 
109
								<td><img src="/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($total_price)</td>
-
 
110
								<td><div>$action.formatDate($order.getExpected_delivery_time())</div>
-
 
111
								#if($order.isOtg())
-
 
112
									<div>On Time Guarantee<br>
-
 
113
										<span class="red">We Pay if we Delay</span>
-
 
114
										<a class="otg_know_more" href="javascript:void(0)" style="padding-left:2px">
-
 
115
											<img src="/images/quesmark-6561.png" style="vertical-align: middle;">
-
 
116
										</a>
-
 
117
									</div>
-
 
118
								#end
-
 
119
								</td>
-
 
120
								<td>
-
 
121
            					#if($order.getStatus().getDescription())
-
 
122
            						$order.getStatus().getDescription()
-
 
123
            					#end
-
 
124
								</td>
-
 
125
							</tr>
-
 
126
									#end
-
 
127
								#end
96
								#end
-
 
97
							</td>
-
 
98
							<td>
-
 
99
    							<div class="cart-item-name-div">
-
 
100
                                    <div class="cart-item-name">
-
 
101
										#if($lineitem.getBrand()) $lineitem.getBrand() #end
-
 
102
										#if($lineitem.getModel_name()) $lineitem.getModel_name() #end
-
 
103
										#if($lineitem.getModel_number())  $lineitem.getModel_number() #end
-
 
104
									</div>
-
 
105
										#if($lineitem.getColor())
-
 
106
    								<div class="cart-item-color">Color - $lineitem.getColor()</div>
-
 
107
										#end
-
 
108
										#if($lineitem.getDealText())
-
 
109
									<div class="cart-item-best-deal-text">$lineitem.getDealText()</div>
-
 
110
										#end
-
 
111
                                </div>
-
 
112
							</td>
-
 
113
							<td><img src="/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($lineitem.getUnit_price())</td>
-
 
114
							<td>$lineitem.getQuantity().intValue()</td>
-
 
115
							#if($isAnyOrderInsured)
-
 
116
								<td><img src="/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($insuranceAmount)</td>
-
 
117
							#end
-
 
118
							<td><img src="/images/rupee-symbol.png" alt="Rs." /> $action.formatPrice($total_price)</td>
-
 
119
							<td><div>$action.formatDate($order.getExpected_delivery_time())</div>
-
 
120
							#if($order.isOtg())
-
 
121
								<div>On Time Guarantee<br>
-
 
122
									<span class="red">We Pay if we Delay</span>
-
 
123
									<a class="otg_know_more" href="javascript:void(0)" style="padding-left:2px">
-
 
124
										<img src="/images/quesmark-6561.png" style="vertical-align: middle;">
-
 
125
									</a>
-
 
126
								</div>
-
 
127
							#end
-
 
128
							</td>
-
 
129
							<td>
-
 
130
        					#if($order.getStatus().getDescription())
-
 
131
        						$order.getStatus().getDescription()
-
 
132
        					#end
-
 
133
							</td>
-
 
134
						</tr>
-
 
135
					#end
-
 
136
					#set($total_amount = $total_amount + $insuranceAmount)
-
 
137
				#end
128
                </tbody>
138
                </tbody>
129
            </table>
139
            </table>
130
			<table class="net-amount right" style="margin-bottom: 30px" cellspacing="0">
140
			<table class="net-amount right" style="margin-bottom: 30px" cellspacing="0">
131
				<tr class="total-amount payable">
141
				<tr class="total-amount payable">
132
					<td class="label">Total Amount:</td>
142
					<td class="label">Total Amount:</td>