TAX INVOICE 
	| 
				   {{ $v['customer_details']['name'] }}   
       | 
      
          {{ $v['bill_no'] }}  
       | 
    
| 
				  {{ $v['customer_details']['gstin'] }}   
       | 
      
				  {{ $v['bill_date'] }}  
			 | 
		
| 
		   @php echo $slno @endphp  
	 | 
	 
		      
			@php
			$myString = $vv['remarks'];
			$myArray = explode('?', $myString);
			$result = count($myArray);
			@endphp
			@for ($i = 0; $i <  $result; $i++)
			{{$myArray[$i]}}   
	@endfor  | 
	   {{$vv['quantity']}}     | 
	  {{$vv['price_per_quantity']}}   | 
	  {{$vv['tax_amount']}}   | 
	   {{$vv['total']}}     | 
	@php
		$slno++
		@endphp
	
	
|  
		@php
			$en = new NumberFormatter("en", NumberFormatter::SPELLOUT);
			$enamt = $en->format($v['net_total']);
			$ar = new NumberFormatter("ar", NumberFormatter::SPELLOUT);
			$aramt = $ar->format($v['net_total']);
		@endphp
	         SAR: {{ $enamt }}  
	        ريال سعودي: {{ $aramt }}   
	       | 
      
          {{ $v['taxable_amt'] }}  
       | 
    
| 
        @php
          if($v['discount_amount']) {
            $discount = $v['discount_amount'];
            $net_before_vat = $v['taxable_amt'] - $v['discount_amount'];
          }
          else {
            $discount = 0;
            $net_before_vat = $v['taxable_amt'];
          }
          
        @endphp
          {{ $discount }}  
       | 
    |
| {{-- {!! QrCode::size(120)->generate($v['qrcode']); !!} --}} | 
          {{ $net_before_vat }}   
       | 
    
| 
          {{ $v['tax'] }}   
       | 
    |
| 
          {{ $v['net_total'] }}   
       |