@extends('layouts.backend') @section('extraCss') @endsection @section('mainContentArea')

GST Summary Report

From Date End Date

@php $output = []; $input = []; @endphp @if(!empty($salesData)) @if(is_array($salesData) && sizeof($salesData) > 0)
@csrf

GST Input

{{-- --}} @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 @endforeach {{-- --}} @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
GSTIN PARTY PARTICULAR HSN TAX TAXABLE VAL IGST TAX% IGST TAX AMT CGST TAX% CGST TAX AMT SGST TAX % SGST TAX AMT TOTAL AFTER TAXROUND OFFQTY
{{ $saleData['gstin'] }} {{ $saleData['party'] }} {{ $saleData['particular'] }} {{ $saleData['hsn'] }} {{ $saleData['tax'] }} {{ number_format($saleData['taxableValue'], 2, '.', '') }} {{ $saleData['igst_tax_per'] }} {{ number_format($saleData['igst_tax_amt'], 2, '.', '') }} {{ $saleData['cgst_tax_per'] }} {{ number_format($saleData['cgst_tax_amt'], 2, '.', '') }} {{ $saleData['sgst_tax_per'] }} {{ number_format($saleData['sgst_tax_amt'], 2, '.', '') }} {{ number_format($saleData['total_after_tax'], 2, '.', '') }} {{ $saleData['qty'] }}
{{ '' }} {{ '' }} {{ '' }} {{ '' }} {{ '' }} {{ number_format($taxableValue, 2, '.', '') }} {{ '' }} {{ number_format($igst_tax_amt, 2, '.', '') }} {{ '' }} {{ number_format($cgst_tax_amt, 2, '.', '') }} {{ '' }} {{ number_format($sgst_tax_amt, 2, '.', '') }} {{ number_format($total_after_tax, 2, '.', '') }}{{ $roundoff }}{{ $qty }}

GST OUTPUT

{{-- --}} @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 {{-- --}} @endforeach {{-- --}}
GSTIN PARTY PARTICULAR HSN TAX TAXABLE VAL IGST TAX% IGST TAX AMT CGST TAX% CGST TAX AMT SGST TAX % SGST TAX AMT TOTAL AFTER TAXROUND OFFQTY
{{ $saleData['gstin'] }} {{ $saleData['party'] }} {{ $saleData['particular'] }} {{ $saleData['hsn'] }} {{ $saleData['tax'] }} {{ number_format($saleData['total_after_tax'], 2, '.', '') }} {{ $saleData['igst_tax_per'] }} {{ number_format($saleData['igst_tax_amt'], 2, '.', '') }} {{ $saleData['cgst_tax_per'] }} {{ number_format($saleData['cgst_tax_amt'], 2, '.', '') }} {{ $saleData['sgst_tax_per'] }} {{ number_format($saleData['sgst_tax_amt'], 2, '.', '') }} {{ number_format($saleData['taxableValue'], 2, '.', '') }}{{ $saleData['roundoff'] }}{{ $saleData['qty'] }}
{{ '' }} {{ '' }} {{ '' }} {{ '' }} {{ '' }} {{ number_format($total_after_tax, 2, '.', '') }} {{ '' }} {{ number_format($igst_tax_amt, 2, '.', '') }} {{ '' }} {{ number_format($cgst_tax_amt, 2, '.', '') }} {{ '' }} {{ number_format($sgst_tax_amt, 2, '.', '') }} {{ number_format($taxableValue, 2, '.', '') }}{{ $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 {{-- --}} {{-- --}}
GSTIN PARTY PARTICULAR HSN TAX TAXABLE VAL IGST TAX% IGST TAX AMT CGST TAX% CGST TAX AMT SGST TAX % SGST TAX AMT TOTAL AFTER TAXROUND OFFQTY
{{ 'Totals:' }} {{ '' }} {{ '' }} {{ '' }} {{ '' }} {{ number_format($input['total_after_tax'] - $output['taxableValue'], 2, '.', '') }} {{ '' }} {{ number_format($input['igst_tax_amt'] - $output['igst_tax_amt'], 2, '.', '') }} {{ '' }} {{ number_format($input['cgst_tax_amt'] - $output['cgst_tax_amt'], 2, '.', '') }} {{ '' }} {{ number_format($input['sgst_tax_amt'] - $output['sgst_tax_amt'], 2, '.', '') }} {{ number_format($input['taxableValue'] - $output['total_after_tax'], 2, '.', '') }}{{ $roundoff }}{{ $input['qty'] - $output['qty'] }}
@else
No record found
@endif @else
Please select the dates above to get the report
@endif
@endsection @section('extraJs') @endsection