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

From :

to

GSTR -1 ( SPVAIG AUTOMOBILES )

@php $totalVoucher = 0; $taxableamnt = 0; $cgstamount = 0; $sgstamount = 0; $taxamount = 0; $invoiceamount = 0; @endphp @foreach($selllists as $item) @php $taxableamnt += $item->total_price; $cgstamount += $item->gst/2; $sgstamount += $item->gst/2; $taxamount += $item->gst; $invoiceamount += $item->grand_total_price; @endphp @endforeach
GSTR Registration : {{$userdetail->license}}
Details Of : B2B Invoices
Date Particulars Vouchere Type Vouchere No. Taxable amt. IGST CGST SGST/UTGST CESS Tax amt Invoice amt
{{date('d M Y', strtotime($item->bill_date))}} {{$item->name}} {{$item->order_type}} {{$item->invoice_number}} ₹ {{ number_format(($item->total_price),2)}} - ₹ {{ number_format(($item->gst/2),2)}} ₹ {{ number_format(($item->gst/2),2)}} ₹ {{ number_format(($item->gst),2)}} ₹ {{ number_format(($item->grand_total_price),2)}}
Total ₹ {{ number_format(($taxableamnt),2)}} - ₹ {{ number_format(($cgstamount),2)}} ₹ {{ number_format(($sgstamount),2)}} ₹ {{ number_format(($taxamount),2)}} ₹ {{ number_format(($invoiceamount),2)}}
@endsection