@extends('admin.layouts') @section('title', 'GST Purchase With HSN') @section('header') {{-- ========================================================= DATATABLE CSS ========================================================== --}} @endsection @section('content')
| S.NO | DATE | INVOICE NO | PARTY GSTIN | PARTY NAME | ITEM NAME | HSN CODE | QTY | PRICE/UNIT | SGST | CGST | AMOUNT | ACTION |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $index + 1 }} | {{-- DATE --}}{{ $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), 2 ) }} {{ $row['unit'] ?? '' }} | {{-- PRICE --}}₹{{ number_format( (float)($row['price'] ?? 0), 2 ) }} | {{-- SGST --}}
@if(
(float)($row['sgst'] ?? 0) > 0
)
₹{{ number_format(
(float)$row['sgst'],
2
) }}
@if(
!empty($row['gst_rate'])
)
( {{ number_format( (float)$row['gst_rate'] / 2, 2 ) }}% ) @endif @else - @endif |
{{-- CGST --}}
@if(
(float)($row['cgst'] ?? 0) > 0
)
₹{{ number_format(
(float)$row['cgst'],
2
) }}
@if(
!empty($row['gst_rate'])
)
( {{ number_format( (float)$row['gst_rate'] / 2, 2 ) }}% ) @endif @else - @endif |
{{-- AMOUNT --}}
₹{{ number_format( (float)($row['amount'] ?? 0), 2 ) }} | {{-- ACTION --}}@if( !empty($row['purchase_id']) ) Invoice @else - @endif |
| No GST purchase transactions available. | ||||||||||||