@extends('admin.layouts') @section('title', 'GSTR-1 (Sales)') @section('header') @endsection @section('content')
| S.N | GSTIN | Customer Name | Invoice No | Invoice Date | Invoice Value | Total Tax % | Taxable Value | SGST | CGST | Total Tax |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $gstin }} | {{ $customerName }} | {{ $purchase->invoice_number }} | {{ \Carbon\Carbon::parse($purchase->purchase_date)->format('d-m-Y') }} | ₹{{ number_format($taxableValue, 2) }} | {{ number_format(count($purchase->items) > 0 ? $totalGstPercent / count($purchase->items) : 0, 2) }}% | ₹{{ number_format($invoiceTotal, 2) }} | ₹{{ number_format($totalSgst, 2) }} | ₹{{ number_format($totalCgst, 2) }} | ₹{{ number_format($totalTax, 2) }} |