@extends('admin.layouts') @section('title', 'GST Sales With HSN') @section('header') {{-- ========================================================= DATATABLE CSS ========================================================== --}} @endsection @section('content')
{{-- ========================================================= HEADER ========================================================== --}}

GST Sales Report With HSN

GSTR-1 Sales / HSN Wise Report
{{-- ================================================= SINGLE EXCEL EXPORT BUTTON ================================================== --}}
{{-- ========================================================= FILTER ========================================================== --}}
{{-- FROM DATE --}}
{{-- TO DATE --}}
{{-- FILTER --}}
{{-- RESET --}}
{{-- ========================================================= REPORT ========================================================== --}}
@forelse($report ?? [] as $row) {{-- DATE --}} {{-- INVOICE NO --}} {{-- PARTY GSTIN --}} {{-- PARTY NAME --}} {{-- ITEM NAME --}} {{-- HSN CODE --}} {{-- QTY --}} {{-- PRICE / UNIT --}} {{-- SGST --}} {{-- CGST --}} {{-- IGST --}} {{-- AMOUNT --}} {{-- ACTION --}} @empty @endforelse
DATE INVOICE NO PARTY GSTIN PARTY NAME ITEM NAME HSN CODE QTY PRICE/UNIT SGST CGST IGST AMOUNT ACTION
{{ $row['date'] ?? '-' }} {{ $row['invoice_no'] ?? '-' }} {{ $row['party_gstin'] ?? '-' }}{{ $row['party_name'] ?? '-' }}{{ $row['item_name'] ?? '-' }} {{ $row['hsn_code'] ?? '-' }} {{ number_format((float)($row['qty'] ?? 0), 1) }} {{ $row['unit'] ?? 'PCS' }} ₹{{ number_format((float)($row['price'] ?? 0), 2) }} @if(isset($row['sgst']) && (float)$row['sgst'] > 0) ₹{{ number_format((float)$row['sgst'], 2) }} @if(!empty($row['gst_rate']))
({{ number_format((float)$row['gst_rate'] / 2, 0) }}%) @endif @else - @endif
@if(isset($row['cgst']) && (float)$row['cgst'] > 0) ₹{{ number_format((float)$row['cgst'], 2) }} @if(!empty($row['gst_rate']))
({{ number_format((float)$row['gst_rate'] / 2, 0) }}%) @endif @else - @endif
@if(isset($row['igst']) && (float)$row['igst'] > 0) ₹{{ number_format((float)$row['igst'], 2) }} @if(!empty($row['gst_rate']))
({{ number_format((float)$row['gst_rate'], 0) }}%) @endif @else - @endif
₹{{ number_format((float)($row['amount'] ?? 0), 2) }} @if(!empty($row['invoice_no']) && $row['invoice_no'] !== '-') View Invoice @else - @endif
No GST sales transactions available.
@endsection @section('footer') {{-- ========================================================= JQUERY ========================================================== --}} {{-- ========================================================= DATATABLE JS ========================================================== --}} {{-- ========================================================= SHEETJS Used for multi-sheet Excel workbook. ========================================================== --}} @endsection