@extends('admin.layouts') @section('title', 'GST Sales With HSN') @section('header') {{-- ========================================================= DATATABLE CSS ========================================================== --}} @endsection @section('content')
| DATE | INVOICE NO | PARTY GSTIN | PARTY NAME | ITEM NAME | HSN CODE | QTY | PRICE/UNIT | SGST | CGST | IGST | AMOUNT | ACTION |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $row['date'] ?? '-' }} | {{-- INVOICE NO --}}{{ $row['invoice_no'] ?? '-' }} | {{-- PARTY GSTIN --}}{{ $row['party_gstin'] ?? '-' }} | {{-- PARTY NAME --}}{{ $row['party_name'] ?? '-' }} | {{-- ITEM NAME --}}{{ $row['item_name'] ?? '-' }} | {{-- HSN CODE --}}{{ $row['hsn_code'] ?? '-' }} | {{-- QTY --}}{{ number_format((float)($row['qty'] ?? 0), 1) }} {{ $row['unit'] ?? 'PCS' }} | {{-- PRICE / UNIT --}}₹{{ number_format((float)($row['price'] ?? 0), 2) }} | {{-- SGST --}}
@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 |
{{-- CGST --}}
@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 |
{{-- IGST --}}
@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 |
{{-- AMOUNT --}}
₹{{ number_format((float)($row['amount'] ?? 0), 2) }} | {{-- ACTION --}}@if(!empty($row['invoice_no']) && $row['invoice_no'] !== '-') View Invoice @else - @endif |
| No GST sales transactions available. | ||||||||||||