| Line 122... |
Line 122... |
| 122 |
<h4 class="modelHeaderCustom" style="font-size: 22px;">Product
|
122 |
<h4 class="modelHeaderCustom" style="font-size: 22px;">Product
|
| 123 |
Information</h4>
|
123 |
Information</h4>
|
| 124 |
<table id="order-items" class="table table-condensed">
|
124 |
<table id="order-items" class="table table-condensed">
|
| 125 |
<tr>
|
125 |
<tr>
|
| 126 |
<th style="width: 25%">Description</th>
|
126 |
<th style="width: 25%">Description</th>
|
| 127 |
<th style="width: 10%">Quantity</th>
|
127 |
<th style="width: 6%">Quantity</th>
|
| 128 |
<th style="width: 15%">Serial Number</th>
|
128 |
<th style="width: 13%">Serial Number</th>
|
| 129 |
<th style="width: 12%">Unit Price</th>
|
129 |
<th style="width: 13%">Unit Price</th>
|
| - |
|
130 |
<th style="widht:13%">Activation Discount</h4></th>
|
| 130 |
<th style="width: 15%">Mobile Insurance</th>
|
131 |
<th style="width: 15%">Mobile Insurance</th>
|
| 131 |
<!--<th><h4 class="grnProductInfo modelHeaderCustom table-align-center">Discount</h4></th>-->
|
- |
|
| 132 |
<th style="width: 12%">Total Price</th>
|
132 |
<th style="width: 15%">Total Price</th>
|
| 133 |
</tr>
|
133 |
</tr>
|
| 134 |
|
134 |
|
| 135 |
#foreach ($cartItem in $cartItems) #set($mrp="MRP")
|
135 |
#foreach ($cartItem in $cartItems) #set($mrp="MRP")
|
| 136 |
#if($mopPriceMap.get($cartItem.getItemId()).getMrp()!=0)
|
136 |
#if($mopPriceMap.get($cartItem.getItemId()).getMrp()!=0)
|
| 137 |
#set($mrp="$mopPriceMap.get($cartItem.getItemId()).getMrp()(MRP)")
|
137 |
#set($mrp="$mopPriceMap.get($cartItem.getItemId()).getMrp()(MRP)")
|
| 138 |
#end #set($placeHolder =
|
138 |
#end
|
| 139 |
"$mopPriceMap.get($cartItem.getItemId()).getPrice() - $mrp")
|
139 |
#set($placeHolder = "$mopPriceMap.get($cartItem.getItemId()).getPrice()(MOP) - $mrp")
|
| 140 |
#set($dp =
|
- |
|
| 141 |
$mopPriceMap.get($cartItem.getItemId()).getPurchasePrice())
|
140 |
#set($dp = $mopPriceMap.get($cartItem.getItemId()).getPurchasePrice())
|
| 142 |
#if($accessoriesDeals && $cartItem.getItemType()
|
141 |
#if($accessoriesDeals && $cartItem.getItemType() =="NON_SERIALIZED")
|
| 143 |
=="NON_SERIALIZED") #set($placeHolder =
|
- |
|
| 144 |
"$mopPriceMap.get($cartItem.getItemId()).getPurchasePrice()(DP) -
|
142 |
#set($placeHolder = "$mopPriceMap.get($cartItem.getItemId()).getPurchasePrice()(DP) -
|
| 145 |
$mopPriceMap.get($cartItem.getItemId()).getPrice()(MOP) - $mrp")
|
143 |
$mopPriceMap.get($cartItem.getItemId()).getPrice()(MOP) - $mrp")
|
| - |
|
144 |
#end
|
| 146 |
#end #if($cartItem.getItemType() =="SERIALIZED") #set($start = 1)
|
145 |
#if($cartItem.getItemType() =="SERIALIZED") #set($start = 1)
|
| 147 |
#set($end = $cartItem.getQuantity()) #set($range =
|
146 |
#set($end = $cartItem.getQuantity())
|
| - |
|
147 |
#set($range = [$start..$end])
|
| 148 |
[$start..$end]) #foreach ($index in $range)
|
148 |
#foreach ($index in $range)
|
| 149 |
<tr>
|
149 |
<tr>
|
| 150 |
<td>$cartItem.getDisplayName()</td>
|
150 |
<td>$cartItem.getDisplayName()</td>
|
| 151 |
<td class="table-align-center">1</td>
|
151 |
<td class="table-align-center">1</td>
|
| 152 |
<td class="table-align-center"><input readonly type="text"
|
152 |
<td class="table-align-center"><input readonly type="text"
|
| 153 |
itemId="$cartItem.getItemId()"
|
153 |
itemId="$cartItem.getItemId()"
|
| 154 |
itemType="$cartItem.getItemType()" name="serialNumber"
|
154 |
itemType="$cartItem.getItemType()" name="serialNumber"
|
| 155 |
class="serialNumber input-sm form-control"></td>
|
155 |
class="serialNumber input-sm form-control"></td>
|
| 156 |
<td class="table-align-center"><input type="number"
|
156 |
<td class="table-align-center"><input type="number"
|
| 157 |
class="unitPrice form-control input-sm" name="unitPrice"
|
157 |
class="unitPrice form-control input-sm" name="unitPrice"
|
| 158 |
quantity="1" itemId="$cartItem.getItemId()"
|
158 |
quantity="1" itemId="$cartItem.getItemId()"
|
| 159 |
mopPrice="$mopPriceMap.get($cartItem.getItemId()).getPrice()"
|
159 |
mopPrice="$mopPriceMap.get($cartItem.getItemId()).getPrice()"
|
| 160 |
dp="$dp"
|
160 |
dp="$dp"
|
| 161 |
mopPrice="$mopPriceMap.get($cartItem.getItemId()).isMop()"
|
161 |
mopPrice="$mopPriceMap.get($cartItem.getItemId()).isMop()"
|
| 162 |
placeholder="$placeHolder"></td>
|
162 |
placeholder="$placeHolder"></td>
|
| - |
|
163 |
<td class="table-align-center"><input type="number"
|
| - |
|
164 |
class="discount form-control input-sm" name="discount"
|
| - |
|
165 |
#if($mopPriceMap.get($cartItem.getItemId()).getMaxDiscountAmount() > 0)
|
| - |
|
166 |
data-maxdiscount="$mopPriceMap.get($cartItem.getItemId()).getMaxDiscountAmount()"
|
| - |
|
167 |
max="$mopPriceMap.get($cartItem.getItemId()).getMaxDiscountAmount()"
|
| - |
|
168 |
placeholder="Upto $mopPriceMap.get($cartItem.getItemId()).getMaxDiscountAmount()"
|
| - |
|
169 |
value="$mopPriceMap.get($cartItem.getItemId()).getMaxDiscountAmount()"
|
| - |
|
170 |
#else
|
| - |
|
171 |
readonly value="0"
|
| - |
|
172 |
#end
|
| - |
|
173 |
></td>
|
| 163 |
<td class="table-align-center">
|
174 |
<td class="table-align-center">
|
| 164 |
<div class="input-group">
|
175 |
<div class="input-group">
|
| 165 |
<input type="number" itemId="$cartItem.getItemId()" value="0"
|
176 |
<input type="number" itemId="$cartItem.getItemId()" value="0"
|
| 166 |
name="insuranceamount"
|
177 |
name="insuranceamount"
|
| 167 |
class="insuranceamount form-control input-sm" readonly>
|
178 |
class="insuranceamount form-control input-sm" readonly>
|
| 168 |
<input type="hidden" itemId="$cartItem.getItemId()" value="0"
|
179 |
<input type="hidden" itemId="$cartItem.getItemId()" value="0"
|
| 169 |
name="insuranceid" class="insuranceid"> <input
|
180 |
name="insuranceid" class="insuranceid"> <input
|
| 170 |
type="hidden" itemId="$cartItem.getItemId()" name="ram"
|
181 |
type="hidden" itemId="$cartItem.getItemId()" name="ram"
|
| 171 |
class="ram"> <input type="hidden"
|
182 |
class="ram"> <input type="hidden"
|
| 172 |
itemId="$cartItem.getItemId()" name="memory" class="memory">
|
183 |
itemId="$cartItem.getItemId()" name="memory" class="memory">
|
| 173 |
<input type="hidden" itemId="$cartItem.getItemId()"
|
184 |
<input type="hidden" itemId="$cartItem.getItemId()"
|
| 174 |
name="mfgdate" class="mfgdate">
|
185 |
name="mfgdate" class="mfgdate">
|
| 175 |
<div class="input-group-btn">
|
186 |
<div class="input-group-btn">
|
| 176 |
<button type="button"
|
187 |
<button type="button"
|
| 177 |
class="btn btn-sm btn-default mk_check_plans"
|
188 |
class="btn btn-sm btn-default mk_check_plans"
|
| 178 |
data-mop="$mopPriceMap.get($cartItem.getItemId()).getPrice()">
|
189 |
data-mop="$mopPriceMap.get($cartItem.getItemId()).getPrice()">
|
| 179 |
Check Plans</button>
|
190 |
Check Plans</button>
|
| - |
|
191 |
</div>
|
| 180 |
</div>
|
192 |
</div>
|
| 181 |
</div>
|
- |
|
| 182 |
</td>
|
193 |
</td>
|
| 183 |
<td class="table-align-center"><input name="totalPrice"
|
194 |
<td class="table-align-center"><input name="totalPrice"
|
| 184 |
class="totalPrice input-sm form-control"
|
195 |
class="totalPrice input-sm form-control"
|
| 185 |
itemId="$cartItem.getItemId()" type="number" value="0" readonly></td>
|
196 |
itemId="$cartItem.getItemId()" type="number" value="0" readonly></td>
|
| 186 |
</tr>
|
197 |
</tr>
|
| - |
|
198 |
#end
|
| 187 |
#end #else
|
199 |
#else
|
| 188 |
<tr>
|
200 |
<tr>
|
| 189 |
<td>$cartItem.getDisplayName()</td>
|
201 |
<td>$cartItem.getDisplayName()</td>
|
| 190 |
<td class="table-align-center">$cartItem.getQuantity()</td>
|
202 |
<td class="table-align-center">$cartItem.getQuantity()</td>
|
| 191 |
<td class="table-align-center"><div class="input-group">
|
203 |
<td class="table-align-center"><div class="input-group">
|
| 192 |
<input type="text" itemId="$cartItem.getItemId()"
|
204 |
<input type="text" itemId="$cartItem.getItemId()"
|
| Line 199... |
Line 211... |
| 199 |
itemId="$cartItem.getItemId()"
|
211 |
itemId="$cartItem.getItemId()"
|
| 200 |
mopPrice="$mopPriceMap.get($cartItem.getItemId()).getPrice()"
|
212 |
mopPrice="$mopPriceMap.get($cartItem.getItemId()).getPrice()"
|
| 201 |
mopPrice="$mopPriceMap.get($cartItem.getItemId()).isMop()"
|
213 |
mopPrice="$mopPriceMap.get($cartItem.getItemId()).isMop()"
|
| 202 |
placeholder="$placeHolder" /></td>
|
214 |
placeholder="$placeHolder" /></td>
|
| 203 |
<td>Not Applicable</td>
|
215 |
<td>Not Applicable</td>
|
| - |
|
216 |
<td>Not Applicable</td>
|
| 204 |
<td class="table-align-center"><input name="totalPrice"
|
217 |
<td class="table-align-center"><input name="totalPrice"
|
| 205 |
class="totalPrice input-sm form-control"
|
218 |
class="totalPrice input-sm form-control"
|
| 206 |
itemId="$cartItem.getItemId()" type="number" value="0" readonly></td>
|
219 |
itemId="$cartItem.getItemId()" type="number" value="0" readonly></td>
|
| 207 |
</tr>
|
220 |
</tr>
|
| 208 |
#end #end
|
221 |
#end #end
|