@php
$output = [];
$input = [];
@endphp
@if(!empty($salesData))
@if(is_array($salesData) && sizeof($salesData) > 0)
GST Input
GSTIN |
PARTY |
PARTICULAR |
DATE |
HSN |
TAX |
TAXABLE VAL |
IGST TAX% |
IGST TAX AMT |
CGST TAX% |
CGST TAX AMT |
SGST TAX % |
SGST TAX AMT |
TOTAL AFTER TAX |
{{-- ROUND OFF | --}}
QTY |
@php
$taxableValue = 0;
$igst_tax_amt = 0;
$cgst_tax_amt = 0;
$sgst_tax_amt = 0;
$total_after_tax = 0;
$roundoff = 0;
$qty = 0;
@endphp
@foreach($inData as $date => $saleData)
@php
$taxableValue+=$saleData['taxableValue'];
$igst_tax_amt+=$saleData['igst_tax_amt'];
$cgst_tax_amt+=$saleData['cgst_tax_amt'];
$sgst_tax_amt+=$saleData['sgst_tax_amt'];
$total_after_tax+=$saleData['total_after_tax'];
$roundoff+=$saleData['roundoff'];
$qty+=$saleData['qty'];
@endphp
{{ $saleData['gstin'] }} |
{{ '' }} |
{{ $saleData['particular'] }} |
{{ $saleData['date'] }} |
{{ $saleData['hsn'] }} |
{{ $saleData['tax'] }} |
{{ $saleData['total_after_tax'] }} |
{{ $saleData['igst_tax_per'] }} |
{{ $saleData['igst_tax_amt'] }} |
{{ $saleData['cgst_tax_per'] }} |
{{ $saleData['cgst_tax_amt'] }} |
{{ $saleData['sgst_tax_per'] }} |
{{ $saleData['sgst_tax_amt'] }} |
{{ $saleData['taxableValue'] }} |
{{-- {{ $saleData['roundoff'] }} | --}}
{{ $saleData['qty'] }} |
@endforeach
{{ '' }} |
{{ '' }} |
{{ '' }} |
{{ '' }} |
{{ '' }} |
{{ '' }} |
{{ $total_after_tax }} |
{{ '' }} |
{{ $igst_tax_amt }} |
{{ '' }} |
{{ $cgst_tax_amt }} |
{{ '' }} |
{{ $sgst_tax_amt }} |
{{ $taxableValue }} |
{{-- {{ $roundoff }} | --}}
{{ $qty }} |
@php
$output['total_after_tax'] = $total_after_tax;
$output['igst_tax_amt'] = $igst_tax_amt;
$output['cgst_tax_amt'] = $cgst_tax_amt;
$output['sgst_tax_amt'] = $sgst_tax_amt;
$output['taxableValue'] = $taxableValue;
$output['qty'] = $qty;
@endphp
GST OUTPUT
GSTIN |
PARTY |
PARTICULAR |
DATE |
HSN |
TAX |
TAXABLE VAL |
IGST TAX% |
IGST TAX AMT |
CGST TAX% |
CGST TAX AMT |
SGST TAX % |
SGST TAX AMT |
TOTAL AFTER TAX |
{{-- ROUND OFF | --}}
QTY |
@php
$taxableValue = 0;
$igst_tax_amt = 0;
$cgst_tax_amt = 0;
$sgst_tax_amt = 0;
$total_after_tax = 0;
$roundoff = 0;
$qty = 0;
@endphp
@foreach($salesData as $date => $saleData)
@php
$taxableValue+=$saleData['taxableValue'];
$igst_tax_amt+=$saleData['igst_tax_amt'];
$cgst_tax_amt+=$saleData['cgst_tax_amt'];
$sgst_tax_amt+=$saleData['sgst_tax_amt'];
$total_after_tax+=$saleData['total_after_tax'];
$roundoff+=$saleData['roundoff'];
$qty+=$saleData['qty'];
@endphp
{{ $saleData['gstin'] }} |
{{ '' }} |
{{ $saleData['particular'] }} |
{{ $saleData['date'] }} |
{{ $saleData['hsn'] }} |
{{ $saleData['tax'] }} |
{{ $saleData['total_after_tax'] }} |
{{ $saleData['igst_tax_per'] }} |
{{ $saleData['igst_tax_amt'] }} |
{{ $saleData['cgst_tax_per'] }} |
{{ $saleData['cgst_tax_amt'] }} |
{{ $saleData['sgst_tax_per'] }} |
{{ $saleData['sgst_tax_amt'] }} |
{{ $saleData['taxableValue'] }} |
{{-- {{ $saleData['roundoff'] }} | --}}
{{ $saleData['qty'] }} |
@endforeach
{{ '' }} |
{{ '' }} |
{{ '' }} |
{{ '' }} |
{{ '' }} |
{{ '' }} |
{{ $total_after_tax }} |
{{ '' }} |
{{ $igst_tax_amt }} |
{{ '' }} |
{{ $cgst_tax_amt }} |
{{ '' }} |
{{ $sgst_tax_amt }} |
{{ $taxableValue }} |
{{-- {{ $roundoff }} | --}}
{{ $qty }} |
@php
$input['total_after_tax'] = $total_after_tax;
$input['igst_tax_amt'] = $igst_tax_amt;
$input['cgst_tax_amt'] = $cgst_tax_amt;
$input['sgst_tax_amt'] = $sgst_tax_amt;
$input['taxableValue'] = $taxableValue;
$input['qty'] = $qty;
@endphp
|
PARTY |
PARTICULAR |
HSN |
TAX |
TAXABLE VAL |
IGST TAX% |
IGST TAX AMT |
CGST TAX% |
CGST TAX AMT |
SGST TAX % |
SGST TAX AMT |
TOTAL AFTER TAX |
{{-- ROUND OFF | --}}
QTY |
{{ 'Totals:' }} |
{{ '' }} |
{{ '' }} |
{{ '' }} |
{{ '' }} |
{{ $input['total_after_tax'] - $output['total_after_tax'] }} |
{{ '' }} |
{{ $input['igst_tax_amt'] - $output['igst_tax_amt'] }} |
{{ '' }} |
{{ $input['cgst_tax_amt'] - $output['cgst_tax_amt'] }} |
{{ '' }} |
{{ $input['sgst_tax_amt'] - $output['sgst_tax_amt'] }} |
{{ $input['taxableValue'] - $output['taxableValue'] }} |
{{-- {{ $roundoff }} | --}}
{{ $input['qty'] - $output['qty'] }} |
@else
No record found
@endif
@else
Please select the dates above to get the report
@endif