@php $totals = ['taxable_value' => 0]; @endphp
@if(!empty($receipt_details->logo)) @endif

 SANTHOSH ENTERPRISES
   H.O : 356/3,80/1, Kumaran Nagar, Nagaramani
   Main Road,Alagapuram,Salem - 636016
   +91 9965566711 | 9364433966 | 9342233966
   santhoshenterprisessalem@gmail.com
   www.santhoshdoors.com
   GSTIN - 33ALWPT2402J1ZT

TAX INVOICE
  Invoice Date:{{$receipt_details->invoice_date}}   @if(!empty($receipt_details->invoice_no_prefix)) {!! $receipt_details->invoice_no_prefix !!} @endif {{$receipt_details->invoice_no}}

  Customer Address :   Shipping Address :
  Name : @if(!empty($receipt_details->customer_name)) {{ $receipt_details->customer_name }}
@endif
  Name : @if(!empty($receipt_details->customer_name)) {{ $receipt_details->customer_name }}
@endif
  Address : @if(!empty($receipt_details->customer_info)) {!! $receipt_details->customer_info !!} @endif   Address : @if(!empty($receipt_details->customer_info)) {!! $receipt_details->customer_info !!} @endif
  State Code:      : 33   State Code:       : 33
  GSTIN NO      @if(!empty($receipt_details->customer_tax_label)) {{ $receipt_details->customer_tax_number }} @endif   GSTIN NO       @if(!empty($receipt_details->customer_tax_label)) {{ $receipt_details->customer_tax_number }} @endif
@if($receipt_details->show_cat_code == 1) @endif @if(!empty($receipt_details->table_tax_headings)) @foreach($receipt_details->table_tax_headings as $tax_heading) @php $totals[$tax_heading] = 0; @endphp @endforeach @endif @foreach($receipt_details->lines as $line) @if($receipt_details->show_cat_code == 1) @endif @if(!empty($receipt_details->table_tax_headings)) @foreach($receipt_details->table_tax_headings as $tax_heading) @endforeach @endif {{-- @if(!empty($line['modifiers'])) @foreach($line['modifiers'] as $modifier) @if($receipt_details->show_cat_code == 1) @endif @endforeach @endif --}} @endforeach @php $lines = count($receipt_details->lines); @endphp @for ($i = $lines; $i < 5; $i++) @if(!empty($receipt_details->table_tax_headings)) @foreach($receipt_details->table_tax_headings as $tax_heading) @endforeach @endif @if($receipt_details->show_cat_code == 1) @endif @endfor @php $colspan = 4; @endphp @if($receipt_details->show_cat_code == 1) @php $colspan = 5; @endphp @endif @if(!empty($receipt_details->table_tax_headings)) @foreach($receipt_details->table_tax_headings as $tax_heading) @endforeach @endif
S.No {!! $receipt_details->table_product_label !!} {!! $receipt_details->cat_code_label !!} {!! $receipt_details->table_qty_label !!} {!! $receipt_details->table_unit_price_label !!} ({{$receipt_details->currency['symbol']}}) Tax Value ({{$receipt_details->currency['symbol']}}) {{$tax_heading}} ({{$receipt_details->currency['symbol']}}) {!! $receipt_details->table_subtotal_label !!} ({{$receipt_details->currency['symbol']}})
{{$loop->iteration}} {{$line['name']}} {{$line['variation']}} @if(!empty($line['sub_sku'])), {{$line['sub_sku']}} @endif @if(!empty($line['brand'])), {{$line['brand']}} @endif @if(!empty($line['sell_line_note']))({{$line['sell_line_note']}}) @endif @if(!empty($line['lot_number']))
{{$line['lot_number_label']}}: {{$line['lot_number']}} @endif @if(!empty($line['product_expiry'])), {{$line['product_expiry_label']}}: {{$line['product_expiry']}} @endif
@if(!empty($line['cat_code'])) {{$line['cat_code']}} @endif {{$line['quantity']}} {{$line['units']}} {{$line['unit_price_before_discount']}} {{$line['price_exc_tax']}} @php $totals['taxable_value'] += $line['price_exc_tax']; @endphp @if(!empty($line['group_tax_details'])) @foreach($line['group_tax_details'] as $tax_detail) @if(strpos($tax_detail['name'], $tax_heading) !== FALSE) @php $totals[$tax_heading] += $tax_detail['calculated_tax']; @endphp {{$tax_detail['calculated_tax']}}
{{$tax_detail['amount']}}% @endif @endforeach @else @if(strpos($line['tax_name'], $tax_heading) !== FALSE) @php $totals[$tax_heading] += $line['tax_unformatted']; @endphp {{$line['tax_unformatted']}}
{{$line['tax_percent']}}% @endif @endif
{{$line['line_total']}}
  {{$modifier['name']}} {{$modifier['variation']}} @if(!empty($modifier['sub_sku'])), {{$modifier['sub_sku']}} @endif @if(!empty($modifier['sell_line_note']))({{$modifier['sell_line_note']}}) @endif @if(!empty($modifier['cat_code'])) {{$modifier['cat_code']}} @endif {{$modifier['quantity']}} {{$modifier['units']}}       {{$modifier['unit_price_exc_tax']}} {{$modifier['line_total']}}
              
Total {{$totals['taxable_value']}} {{$totals[$tax_heading]}} {{number_format($receipt_details->subtotal_unformatted,0)}}
Tax Details @if(!empty($receipt_details->taxes)) @foreach($receipt_details->taxes as $k => $v) @endforeach @endif
{{$k}} (+) {{$v}}
@if(!empty($receipt_details->shipping_charges)) @endif @if( !empty($receipt_details->discount) ) @endif @if(!empty($receipt_details->group_tax_details)) @foreach($receipt_details->group_tax_details as $key => $value) @endforeach @else @if( !empty($receipt_details->tax) ) @endif @endif
{!! $receipt_details->shipping_charges_label !!} {{$receipt_details->shipping_charges}}
{!! $receipt_details->discount_label !!} (-) {{$receipt_details->discount}}
{!! $key !!} (+) {{$value}}
{!! $receipt_details->tax_label !!} (+) {{$receipt_details->tax}}
{!! $receipt_details->total_label !!} {{$receipt_details->total}}

   Declaration:
   We Declare that this invoice shows the actual price of the    goods described and that all    particulars are true and    correct.
   Company's Bank Details
   BANK NAME  : KARUR VYSYA BANK
   A/C NAME       : SANTHOSH ENTERPRISES
   A/C NO             : 1854135000000123
   IFSC CODE      : KVBL0001854
   Customer's Seal and Signature
   SANTHOSH ENTERPRISES



   Signature
B.0.-1 : 93/7-B,Yercard Main Road, Kondappanachickanpatty,Salem-636008.
Cell : 99655 66711, Email : santhoshenterpeisesretail@gmail.com
B.0.-2 : 2/82,Saniyasukundu Bye-Pass, Kitchipalayam,Salem-636015.
Cell : 93644 33966, Email : santhosh@santhoshdoors.com
B.0.-3 : 52,Banglore Highway, Road Vinayaga Complex Backside, Hosur-635109.
Cell : 93422 33966, Email : santhoshenterpeiseshosur@gmail.com