<table style="width:100%;" style="border: 1px solid black;">
	

	
		<tr><center>
			<br>
			<td class="text-center" style="line-height: 15px !important; padding-bottom: 10px !important">
				<?php if(!empty($receipt_details->header_text)): ?>
					<?php echo $receipt_details->header_text; ?>

				<?php endif; ?>

				<?php
					$sub_headings = implode('<br/>', array_filter([$receipt_details->sub_heading_line1, $receipt_details->sub_heading_line2, $receipt_details->sub_heading_line3, $receipt_details->sub_heading_line4, $receipt_details->sub_heading_line5]));
				?>

				<?php if(!empty($sub_headings)): ?>
					<span><?php echo $sub_headings; ?></span>
				<?php endif; ?>

				
			</td>
		</center></tr>

		</table>


<div style="width:100%;height:150px; margin:0 0px; float:left;border-top: 1px solid black;border-left: 1px solid black;border-right: 1px solid black;">
<div style="border:0px solid black; width:30%;height:170px; margin:0 1px; float:left;">	
	<!-- Logo -->
	<?php if(!empty($receipt_details->tax_info1)): ?>
					<?php echo e($receipt_details->tax_label1, false); ?> <?php echo e($receipt_details->tax_info1, false); ?>

				<?php endif; ?>
	<br>
			<?php if(!empty($receipt_details->logo)): ?>
		<img style="max-height: 120px; width: auto;" src="<?php echo e($receipt_details->logo, false); ?>" class="img img-responsive center-block">
	<?php endif; ?>
		</div>



	<div style="border:0px solid black; width:39%;height:100px;height:170px; margin:0 1px; float:left;">
	<?php if(!empty($receipt_details->invoice_heading)): ?>
						<span style="font-size: 15px;font-weight: bold;"><?php echo $receipt_details->invoice_heading; ?></span>
				<?php endif; ?>	<br>
	<?php if(!empty($receipt_details->display_name)): ?>
			 
				<font color="red"><span style="font-size: 22px;font-weight:bold;"><?php echo e($receipt_details->display_name, false); ?></span></font>
			
			<br>
				<?php if(!empty($receipt_details->address)): ?>
					<?php echo $receipt_details->address; ?>

				<?php endif; ?>

				

				<?php if(!empty($receipt_details->website)): ?>
					<br/><?php echo e($receipt_details->website, false); ?>

				<?php endif; ?>
				<br>
				<?php if(!empty($receipt_details->contact)): ?>
					
					<?php echo $receipt_details->contact; ?><?php endif; ?>
					<br>
							
				

				<?php if(!empty($receipt_details->location_custom_fields)): ?>
					<br/><?php echo e($receipt_details->location_custom_fields, false); ?>

				<?php endif; ?>
			</p>
		<?php endif; ?>
		</div>
		

<div style="border:0px solid black; width:30%;height:150px; margin:0px; float:right;">	
	<!-- Logo -->
			
					<br>
					<img src="http://localhost/neopos/neowep/public/uploads/img/img/rr.png" style="width: 150px; height: 120px;" class="img img-responsive center-block" alt="alt text">
		</div>


</div>
<table style="width:100%;border:1px solid black;margin-top: 150px;">
	
<center>
	
		<tr style="width:100%;border:1px solid black;">
			
			<td class="" style="line-height: 15px !important;border:1px solid black; padding-bottom: 10px !important">
				
&nbsp;&nbsp;<center>State:Tamilnadu</center>
			</td>
			<td class="" style="line-height: 15px !important;border:1px solid black; padding-bottom: 10px !important">
			

				<?php if(!empty($receipt_details->invoice_no_prefix)): ?>
				<span class="pull-left"><center>&nbsp;&nbsp;<?php echo $receipt_details->invoice_no_prefix; ?></center></span>
			<?php endif; ?>

			<?php echo e($receipt_details->invoice_no, false); ?>

			</td>
		</tr>
		<tr>
			
			<td class="" style="line-height: 15px !important;border:1px solid black; padding-bottom: 10px !important">
				

				&nbsp;&nbsp;<center>Code:33</center>
			</td>
			<td class="" style="line-height: 15px !important;border:1px solid black; padding-bottom: 10px !important">
				
&nbsp;&nbsp;<?php if(!empty($receipt_details->date_label)): ?>
			
					<?php echo e($receipt_details->date_label, false); ?>:
				

				<?php echo e($receipt_details->invoice_date, false); ?>

			
		<?php endif; ?>
				
			</td>
		</tr>
</center>
		</table>
<div style="width:50%;height:150px; margin:0 -1px; float:left;border-left: 1px solid black;">
	<!-- Logo -->
		<?php if(!empty($receipt_details->customer_label)): ?>
				<b>&nbsp;<?php echo e($receipt_details->customer_label, false); ?></b><br/>
			<?php endif; ?>

			<!-- customer info -->
			<?php if(!empty($receipt_details->customer_info)): ?>
				&nbsp;<?php echo $receipt_details->customer_info; ?>

			<?php endif; ?>
			<?php if(!empty($receipt_details->client_id_label)): ?>
				<br/>
				<strong>&nbsp;<?php echo e($receipt_details->client_id_label, false); ?></strong> <?php echo e($receipt_details->client_id, false); ?>

			<?php endif; ?>
		
			
				<strong><?php echo e($receipt_details->customer_tax_label, false); ?></strong> <?php echo e($receipt_details->customer_tax_number, false); ?>

			
			<?php if(!empty($receipt_details->customer_custom_fields)): ?>
				<br/>&nbsp;<?php echo $receipt_details->customer_custom_fields; ?>

			<?php endif; ?>
			<?php if(!empty($receipt_details->sales_person_label)): ?>
				<br/>
				<strong>&nbsp;<?php echo e($receipt_details->sales_person_label, false); ?></strong> <?php echo e($receipt_details->sales_person, false); ?>

			<?php endif; ?>
			<?php if(!empty($receipt_details->commission_agent_label)): ?>
				<br/>
				<strong>&nbsp;<?php echo e($receipt_details->commission_agent_label, false); ?></strong> <?php echo e($receipt_details->commission_agent, false); ?>

			<?php endif; ?>

			<?php if(!empty($receipt_details->customer_rp_label)): ?>
				<br/>
				<strong><?php echo e($receipt_details->customer_rp_label, false); ?></strong> <?php echo e($receipt_details->customer_total_rp, false); ?>

			<?php endif; ?>
			<br>

			<?php $__currentLoopData = $receipt_details->lines; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $line): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?><?php if(!empty($line['brand'])): ?>, 
			Brand:<?php echo e($line['brand'], false); ?> <?php endif; ?>
			<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
		</div>





		
	
	
<div style="border:0px solid black; width:50%;height:150px; margin:0 0px; float:right;">		<!-- Logo -->
	<div style="border-bottom:1px solid black;border-left:1px solid black;border-right: 1px solid black;width:100%;height:50px; margin:0 0px; float:right;">		<!-- Logo -->
	
		<?php if(!empty($receipt_details->shipping_custom_field_2_label)): ?>
				
					<?php echo $receipt_details->shipping_custom_field_2_label; ?><br>
				
<br>
			<?php echo $receipt_details->shipping_custom_field_2_value ?? ''; ?></td></tr>
			
		<?php endif; ?>
		</div>
		<br>
		<div style="border-bottom:1px solid black;border-left:1px solid black;border-right: 1px solid black;  width:100%;height:50px; margin:0 0px; float:right;">		<!-- Logo -->
	
		
				<?php if(!empty($receipt_details->shipping_custom_field_1_label)): ?>
				<tr style="border:1px solid black;"><td style="border:1px solid black;"><?php echo $receipt_details->shipping_custom_field_1_label; ?>

			
<br>
			<br> <?php echo $receipt_details->shipping_custom_field_1_value ?? ''; ?></td>
		

<?php endif; ?>
		</div>
		<div style="border-left:1px solid black;border-right: 1px solid black; width:100%;height:50px; margin:0 0px; float:right;">		<!-- Logo -->
	
		
		</div>
		</div>





		
	
<!-----costmedetials------------->




<div class="row color-555">
	<div class="col-xs-12">
		
		<table class="table table-bordered table-no-top-cell-border table-slim">
			<thead>
				<tr style="background-color: #357ca5 !important; color: white !important;border: 1px solid black; font-size: 15px !important" class="table-no-side-cell-border table-no-top-cell-border text-center">
					<td style="background-color: #357ca5 !important; color: black !important;border: 1px solid black;width: 5% !important">S.No</td>
					
					<?php
						$p_width = 37;
					?>
					<?php if($receipt_details->show_cat_code != 1): ?>
						<?php
							$p_width = 35;
						?>
					<?php endif; ?>
					
					<td style="background-color:  !important; color: black !important;border: 1px solid black; width: <?php echo e($p_width, false); ?>% !important">
						<?php echo e($receipt_details->table_product_label, false); ?>

					</td>
<td style="background-color: #357ca5 !important; color: black !important;border: 1px solid black; width: 10% !important;"><?php echo e($receipt_details->cat_code_label, false); ?></td>
					
						
					
					
					<td style="background-color: #357ca5 !important; color: black !important;border: 1px solid black;width: 10% !important;">
						<?php echo e($receipt_details->table_qty_label, false); ?>

					</td>
					<?php if(!empty($receipt_details->item_discount_label)): ?>
					<td style="background-color: #357ca5 !important; color: white !important;">
						<?php echo $receipt_details->item_discount_label; ?>

					</td>
					<?php endif; ?>
					<td style="background-color: #357ca5 !important; color: black !important;border: 1px solid black;width: 10% !important;">
						<?php echo e($receipt_details->table_unit_price_label, false); ?>

					</td>
					<td style="background-color: #357ca5 !important; color: black !important;border: 1px solid black;width: 10% !important;">
						<?php echo e($receipt_details->line_tax_label, false); ?>

					</td>
					
					
					<td style="background-color: #357ca5 !important; color: black !important;border: 1px solid black;width: 16% !important;">
						<?php echo e($receipt_details->table_subtotal_label, false); ?>

					</td>
				</tr>
			</thead>
			<tbody>
				<?php $__currentLoopData = $receipt_details->lines; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $line): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
					<tr>
						<td class="text-center">
							<?php echo e($loop->iteration, false); ?>

						</td>

	                       
	                   
						<td>
							<?php if(!empty($line['image'])): ?>
								<img src="<?php echo e($line['image'], false); ?>" alt="Image" width="50" style="float: left; margin-right: 8px;">
							<?php endif; ?>
                            <?php echo e($line['name'], false); ?> <?php echo e($line['product_variation'], false); ?> <?php echo e($line['variation'], false); ?> 
                             <?php if(!empty($line['sub_sku'])): ?>, <?php echo e($line['sub_sku'], false); ?> <?php endif; ?> <!--<?php if(!empty($line['brand'])): ?>, <?php echo e($line['brand'], false); ?> <?php endif; ?>
                            <?php if(!empty($line['product_custom_fields'])): ?>, <?php echo e($line['product_custom_fields'], false); ?> <?php endif; ?>
 -->                           
                            <?php if(!empty($line['lot_number'])): ?><br> <?php echo e($line['lot_number_label'], false); ?>:  <?php echo e($line['lot_number'], false); ?> <?php endif; ?> 
                            <?php if(!empty($line['product_expiry'])): ?>, <?php echo e($line['product_expiry_label'], false); ?>:  <?php echo e($line['product_expiry'], false); ?> <?php endif; ?> 

                            <?php if(!empty($line['warranty_name'])): ?> <br><small><?php echo e($line['warranty_name'], false); ?> </small><?php endif; ?> <?php if(!empty($line['warranty_exp_date'])): ?> <small>- <?php echo e(\Carbon::createFromTimestamp(strtotime($line['warranty_exp_date']))->format(session('business.date_format')), false); ?> </small><?php endif; ?>
                            <?php if(!empty($line['warranty_description'])): ?> <small> <?php echo e($line['warranty_description'] ?? '', false); ?></small><?php endif; ?>
                        </td>

						<?php if($receipt_details->show_cat_code == 1): ?>
	                        <td class="text-right">
	                        	<?php if(!empty($line['cat_code'])): ?>
	                        		<?php echo e($line['cat_code'], false); ?>

	                        	<?php endif; ?>
	                        </td>
	                    <?php endif; ?>
	                   
						<td class="text-right">
							<?php echo e($line['quantity'], false); ?> <?php echo e($line['units'], false); ?>

						</td>
						<td class="text-right">
							<?php echo e($line['unit_price_before_discount'], false); ?>

						</td>
													
						
						<?php if(!empty($receipt_details->item_discount_label)): ?>
									<td class="text-right">0.00</td>
								<?php endif; ?>
						<td class="text-right">
							<?php echo e($line['tax'], false); ?> <?php echo e($line['tax_name'], false); ?>

						</td>
						<td class="text-right">
							<?php echo e($line['line_total'], false); ?>

						</td>
					</tr>
					<?php if(!empty($line['modifiers'])): ?>
						
					<?php endif; ?>
				<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

				<?php
					$lines = count($receipt_details->lines);
				?>

				<?php for($i = $lines; $i < 8; $i++): ?>
    				<tr>
    					<td  style="color: solid black;">&nbsp;</td>
    					<td style="color: solid black;">&nbsp;</td>
    					<td style="color: solid black;">&nbsp;</td>
    					<td style="color: solid black;">&nbsp;</td>
    					<td>&nbsp;</td>
    					<td>&nbsp;</td>
    					<td>&nbsp;</td>
    					
    					
    					
    				</tr>
				<?php endfor; ?>

			</tbody>
		</table>
	</div>
</div>
<div style="width:100%;height:50px; margin:0 -1px; float:left;margin-top: -17px;">
<div style="border-left:1px solid black;border-top: 1px solid black; width:50%;height:300px; margin:0 1px; float:left;">	
	<!-- Logo -->
			<?php if(!empty($receipt_details->total_in_words)): ?>
								
								<b> &nbsp;&nbsp;&nbsp;Amount In Words:(<?php echo e($receipt_details->total_in_words, false); ?>)</b>
							<?php endif; ?>
		</div>

		<div style="border:0px; width:50%;height:100%; margin:0 -1px; float:right;">
		<!-- Shop & Location Name  -->
		<table style="border:1px solid black;width: 100%;">
	
			<?php if(!empty($receipt_details->total_quantity_label)): ?>
				<tr style="border:1px solid black;" class="color-555"><td  class="text-right"  colspan="6" style="border:1px solid black;">
<?php echo $receipt_details->subtotal_label; ?>

			</td>
		
	<?php endif; ?>

			
		<td style="border:1px solid black;"  class="text-right"><?php echo e($receipt_details->subtotal_exc_tax, false); ?></td></tr>
			
		<?php if(empty($receipt_details->hide_price)): ?>
	            <!-- tax -->
	            <?php if(!empty($receipt_details->taxes)): ?>
	            
	            		<?php $__currentLoopData = $receipt_details->taxes; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $val): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
	            			<tr style="border:1px solid black;" class="color-555">
	            				<td class="text-right" colspan="6" style="border:1px solid black;"><?php echo e($key, false); ?></td>
	            				<td class="text-right" colspan="6" style="border:1px solid black;"><?php echo e($val, false); ?></td>
	            			</tr>
	            		<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
	            	
	            <?php endif; ?>
            <?php endif; ?>
		
				
				


			
		
						<?php if(!empty($receipt_details->total_quantity_label)): ?>
				<tr style="border:1px solid black;" class="color-555"><td class="text-right" colspan="6" style="border:1px solid black;">Grand Total:
			

			</td>
		
	<?php endif; ?>

			
		<td  class="text-right"style="border:1px solid black;"><?php echo e($receipt_details->total, false); ?></td></tr>

				
</table>
</div>


		
	</div>
<div style="width:100%;height:77px; margin:0 -1px; float:left;">
<div style="border-left:1px solid black;border-top:1px solid black;border-right: 1px solid black; width:50%;height:77px; margin:0 1px; float:left;">		<!-- Logo -->
	
		 &nbsp;&nbsp;&nbsp;Note:<br>
1.Goods Once Sold Cannot Be Taken Back Or Exchanged<br> 
 
		</div>



		<div style="border:0px double #56B5E5; width:50%;height:100%; margin:0 -1px; float:right;">
		<!-- Shop & Location Name  -->
		
<table style="border:1px solid black;width: 100%;">

		
	
</table>


</div>
	
</div>


		
	</div>



<div style="border:1px solid black; width:100%;height:10%; margin:30 px; float:right;">
<div style="width:40%;height:20%; margin:0 -1px; float:left;border-right:1px solid black;">	
	<!-- Logo -->
	
		 &nbsp;&nbsp;&nbsp;Bank Details<br>
	 &nbsp;&nbsp;&nbsp;Bank Name:State Bank Of India<br>
	 &nbsp;&nbsp;&nbsp;ACC:40810489740<br>
	 &nbsp;&nbsp;&nbsp;Ifsc Code:SBIN0000832
		
		</div>



		<div style="width:50%;height:15%; margin:0 -1px; float:left;">
		<!-- Shop & Location Name  -->
		 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;For VIGNESH AUTOMOBLIES

		 <br>
	<br>
	<br>
	
	
	
		 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Authorised Singature
</div>
</div>


<div class="row color-555">
	
		<?php if($receipt_details->show_barcode || $receipt_details->show_qr_code): ?>
			<div class="<?php if(!empty($receipt_details->footer_text)): ?> col-xs-4 <?php else: ?> col-xs-12 <?php endif; ?> text-center">
				
				<?php if($receipt_details->show_barcode): ?>
					<img class="center-block" src="data:image/png;base64,<?php echo e(DNS1D::getBarcodePNG($receipt_details->invoice_no, 'C128', 2,30,array(39, 48, 54), true), false); ?>">
				<?php endif; ?>
				
				<?php if($receipt_details->show_qr_code && !empty($receipt_details->qr_code_details)): ?>
					<?php
						$qr_code_text = implode(',    ', $receipt_details->qr_code_details);
					?>
					<img class="center-block mt-5" src="data:image/png;base64,<?php echo e(DNS2D::getBarcodePNG($qr_code_text, 'QRCODE', 3, 3, [39, 48, 54]), false); ?>">
				<?php endif; ?>
			</div>
		<?php endif; ?>
	</div>

			</td>
		</tr>
	</tbody>
</table><?php /**PATH /home/webapps1/pos.neowep.in/resources/views/sale_pos/receipts/classic.blade.php ENDPATH**/ ?>