@extends('layouts.printSalesQuoteInvoice') @section('pageSize','A4') @section('content') @foreach($company as $com => $c)
TAX INVOICE
@endforeach @foreach($data as $k => $v) @php $slno = 1 @endphp @php $stringvalue =$v['customer_details']['address']; $str_arr = explode (",", $stringvalue); $result = count($str_arr); @endphp
Customer : {{$v['customer_details']['name']}}
Invoice No : {{$v['bill_no']}}
@for ($i = 0; $i < $result; $i++)

{{$str_arr[$i]}}

@endfor
Invoice Date : {{$v['bill_date']}}

GSTIN : {{$v['customer_details']['gstin']}}
Payment Mode : {{$v['payment_mode']}}
Sl.No
Description
Unit
Qty
Rate
Tax%
Total
@foreach($v['items'] as $vv)
@php echo $slno @endphp
{{$vv['item_details']['name']}}
@if($vv['package_id'])
{{$vv['package_details']['measuring_unit']}}/{{$vv['package_details']['no_of_qty']}}
@else
{{$vv['mesuring_details']['name']}}
@endif
{{$vv['quantity']}}
{{$vv['price_per_quantity']}}
{{$vv['tax_details']['tax']}}
{{$vv['total']}}
@php $slno++ @endphp @endforeach
TAX %
TAXABLE
SGST
CGST
IGST
@php $taxable = $v['net_total'] -$v['tax']; @endphp @if($v['tax_zeros']['taxable'])
{{$v['tax_zeros']['tax']}}
{{$v['tax_zeros']['taxable']}}
{{$v['tax_zeros']['sgst']}}
{{$v['tax_zeros']['cgst']}}
{{$v['tax_zeros']['igst']}}
@endif @if($v['tax_fives']['taxable'])
{{$v['tax_fives']['tax']}}
{{$v['tax_fives']['taxable']}}
{{$v['tax_fives']['sgst']}}
{{$v['tax_fives']['cgst']}}
{{$v['tax_fives']['igst']}}
@endif @if($v['tax_twelves']['taxable'])
{{$v['tax_twelves']['tax']}}
{{$v['tax_twelves']['taxable']}}
{{$v['tax_twelves']['sgst']}}
{{$v['tax_twelves']['cgst']}}
{{$v['tax_twelves']['igst']}}
@endif @if($v['tax_eighteens']['taxable'])
{{$v['tax_eighteens']['tax']}}
{{$v['tax_eighteens']['taxable']}}
{{$v['tax_eighteens']['sgst']}}
{{$v['tax_eighteens']['cgst']}}
{{$v['tax_eighteens']['igst']}}
@endif @if($v['tax_twentyeights']['taxable'])
{{$v['tax_twentyeights']['tax']}}
{{$v['tax_twentyeights']['taxable']}}
{{$v['tax_twentyeights']['sgst']}}
{{$v['tax_twentyeights']['cgst']}}
{{$v['tax_twentyeights']['igst']}}
@endif
Taxable : {{$taxable}}      Tax : {{$v['tax']}}      Net : {{$v['net_total']}}
For UKB SUPPLIERS

Authorised Signatory

@endforeach