@extends('adminlayout.dashadmin') @section('content')

From :

to

GSTR -1 (SPVAIG AUTOMOBILES )

@php $totalqty = 0; $cgstamount = 0; $sgstamount = 0; $taxamount = 0; $totalamount = 0; @endphp @foreach($selllists as $item) @php $totalqty += $item->totalqty; $cgstamount += $item->totalgst/2; $sgstamount += $item->totalgst/2; $taxamount += $item->totalgst; $totalamount += $item->totalprice; @endphp @endforeach
GSTR Registration : {{Auth::user()->license}}
Details Of : HSN/SAC SUMMARY
HSN/SAC DESCRIPTION UQD OTY TAX RATE IGST CGST UGST/UTGST CESS TAX AMT TOTAL AMT
{{$item->hsn}} 0 {{$item->totalqty}} {{$item->gst_precent}} - {{ number_format(($item->totalgst/2),2)}} {{ number_format(($item->totalgst/2),2)}} {{ number_format(($item->totalgst),2)}} {{ number_format(($item->totalprice),2)}}
Total {{$totalqty}} {{ number_format(($cgstamount),2)}} {{ number_format(($sgstamount),2)}} {{ number_format(($taxamount),2)}} {{ number_format(($totalamount),2)}}
@endsection