@extends('admin.layouts')
@section('title', 'Non-GST Sales History')
@section('header')
@endsection
@section('content')
{{-- =========================================================
PAGE HEADING
========================================================== --}}
Non-GST Sales History
Non-GST Report From 01-Aug-2026
{{-- =========================================================
CURRENT MONTH TOTAL
========================================================== --}}
@if(request('from_date') && request('to_date'))
Filtered Non-GST Sales Total
@elseif(request('phone'))
Filtered Non-GST Sales Total
@else
Current Month Non-GST Sales Total
@endif
₹{{ number_format($currentMonthTotal ?? 0, 2) }}
{{-- =========================================================
REPORT TABLE
========================================================== --}}
{{-- =========================================================
FILTERS
========================================================== --}}
{{-- FROM DATE --}}
From Date
{{-- TO DATE --}}
To Date
{{-- PHONE --}}
Search Phone No
{{-- FILTER --}}
Filter
{{-- RESET --}}
Reset
{{-- =========================================================
EXCEL EXPORT
========================================================== --}}
{{-- =========================================================
TABLE
========================================================== --}}
Non-GST SN
NON-GST ORDER ID
NAME
USER ID
PHONE No
DATE
MEMBERSHIP
PAYMENT MODE
REMARK
NON-GST AMOUNT
ACTION
@forelse ($nonGstSales as $index => $sale)
{{ $index + 1 }}
{{ $sale->report_order_id }}
{{ $sale->user->name ?? 'N/A' }}
{{ $sale->user_id }}
{{ preg_replace('/\D/', '', $sale->user->phone_number ?? '') }}
{{ $sale->report_date->format('Y-m-d') }}
{{ $sale->user->membership ?? 'N/A' }}
{{ $sale->payment_mode ?? 'N/A' }}
{{ $sale->status ?? 'N/A' }}
₹{{ number_format($sale->report_amount ?? 0, 2) }}
View Invoice
@empty
No Non-GST sales records found.
@endforelse
@endsection
@section('footer')
@endsection