Subversion Repositories SmartDukaan

Rev

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

Rev 24152 Rev 24271
Line 191... Line 191...
191
		</div>
191
		</div>
192
	</form>
192
	</form>
193
	<div class="col-lg-4" style="border-left:1px solid #f0f0f0;">
193
	<div class="col-lg-4" style="border-left:1px solid #f0f0f0;">
194
		<h4>INVOICE DETAILS</h4>
194
		<h4>INVOICE DETAILS</h4>
195
		<p class="bold-details">Invoice Number <span class="normal-details extra-margin">$fofoOrder.getInvoiceNumber()</span></p>
195
		<p class="bold-details">Invoice Number <span class="normal-details extra-margin">$fofoOrder.getInvoiceNumber()</span></p>
-
 
196
		<p class="invoice_download_option">
-
 
197
			<i class="fa fa-print" aria-hidden="true"></i>
196
		<p class="invoice_download_option"><i class="fa fa-print" aria-hidden="true"></i><a target="_blank" href="generateInvoice/?orderId=$fofoOrder.getId()" class="extra-margin" style="font-size:18px">Print Invoice</a	></i></p>
198
			<a target="_blank" href="generateInvoice/?orderId=$fofoOrder.getId()" class="extra-margin" style="font-size:18px">Print Invoice</a	></i>
-
 
199
		</p>
-
 
200
		<p class="invoice_download_option">
-
 
201
			<i class="fa fa-undo" aria-hidden="true"></i>
-
 
202
			<a target="_blank" href="generateInvoice/?orderId=$fofoOrder.getId()" class="extra-margin" style="font-size:18px">Print Invoice</a	></i>
-
 
203
		</p>
197
	</div>
204
	</div>
198
 
205
 
199
</div>
206
</div>
200
<br>
207
<br>
201
<div class="row" style="font-size:14px;color:#688a7e;">
208
<div class="row" style="font-size:14px;color:#688a7e;">
Line 206... Line 213...
206
					<th>Item Code</th>
213
					<th>Item Code</th>
207
					<th>Description</th>
214
					<th>Description</th>
208
					<th>Unit Price</th>
215
					<th>Unit Price</th>
209
					<th>Quantity</th>
216
					<th>Quantity</th>
210
					<th>Total Price</th>
217
					<th>Total Price</th>
211
					<th>Prebooking Quantity</th>
-
 
212
					<th>Prebooking Amount</th>
-
 
213
				</tr>
218
				</tr>
214
				 #foreach( $fofoLineItem in $fofoLineItems )
219
				 #foreach( $fofoOrderItem in $fofoOrderItems )
215
				 #set ($total = $fofoLineItem.getSellingPrice() * $fofoLineItem.getQuantity())
220
				 #set ($total = $fofoOrderItem.getSellingPrice() * $fofoOrderItem.getQuantity())
216
				 	<tr>
221
				 	<tr>
217
				 		<td>$fofoLineItem.getItemId()</td>
222
				 		<td>$fofoOrderItem.getItemId()</td>
218
				 		<td>
223
				 		<td>
219
				 			$fofoLineItem.getBrand() $fofoLineItem.getModelName() $fofoLineItem.getModelNumber() $fofoLineItem.getColor()
224
				 			$fofoOrderItem.getBrand() $fofoOrderItem.getModelName() $fofoOrderItem.getModelNumber() $fofoOrderItem.getColor()
220
				 		</td>
225
				 		</td>
221
				 		<td>$fofoLineItem.getSellingPrice()</td>
226
				 		<td>$fofoOrderItem.getSellingPrice()</td>
222
				 		<td>$fofoLineItem.getQuantity()</td>
227
				 		<td>$fofoOrderItem.getQuantity()</td>
223
				 		<td>$total</td>
228
				 		<td>$total</td>
224
				 		#if($itemIdPrebookingOrderItemMap.get($fofoLineItem.getItemId()))
-
 
225
							<td>$itemIdPrebookingOrderItemMap.get($fofoLineItem.getItemId()).getQuantity()</td>
-
 
226
							<td>$itemIdPrebookingOrderItemMap.get($fofoLineItem.getItemId()).getAdvanceAmount()</td>
-
 
227
						#else
-
 
228
							<td>0</td>
-
 
229
							<td>0</td>
-
 
230
						#end
-
 
231
				 	</tr>
229
				 	</tr>
232
				 #end
230
				 #end
-
 
231
				 #set ($item = $itemsMap.get($fofoOrderItem.getItemId()))
-
 
232
				#if($item.getCategoryId()==10006)
-
 
233
					#if($fofoOrderItem.isDoa())
-
 
234
						<td><a class="pointer" data-foi="$fofoOrderItem.getId()" 
-
 
235
						data-itemdesc="$item.getItemDescription()" data-target=".bs-example-modal-sm" data-toggle="modal">Mark DOA</a></td>
-
 
236
					#else
-
 
237
						<td></td>
-
 
238
					#end
-
 
239
				#else
-
 
240
					#if($markDefective)
-
 
241
						<td><a class="pointer" data-foi="$fofoOrderItem.getId()" 
-
 
242
						data-itemdesc="$item.getItemDescription()" data-target=".bs-example-modal-sm" data-toggle="modal">Mark Defective</a></td>
-
 
243
					#else
-
 
244
						<td></td>
-
 
245
					#end
-
 
246
				#end
233
			</tbody>
247
			</tbody>
234
		</table>
248
		</table>
235
	</div>
249
	</div>
236
</div>
250
</div>
237
 
251