@extends('layouts.app') @section('title', 'Sales Invoices Directory - Pavitram Agroz') @section('content')

Sales & Invoicing Directory

Audit trail of completed customer billing transactions, tax receipts, and payment settlements.

Open POS Terminal Process Return
@if(auth()->user()->isSuperAdmin())
@endif
@if($searchTerm || $storeId || $paymentMethod || $fromDate || $toDate) @endif
@forelse($invoices as $inv) @empty @endforelse
Invoice # Date & Time Store Customer Payment Items Grand Total Status Actions
{{ $inv->invoice_number }} {{ $inv->invoice_date->format('d M Y, H:i') }}
{{ $inv->store->name }}
{{ $inv->store->code }}
@if($inv->customer_name)
{{ $inv->customer_name }}
{{ $inv->customer_phone ?? '' }} @else Walk-in Customer @endif
{{ $inv->payment_method }} {{ $inv->total_items }} ₹{{ number_format($inv->grand_total, 2) }} @if($inv->is_cancelled) Cancelled @elseif($inv->status === 'Returned') Returned @elseif($inv->status === 'Partially Returned') Partial Return @else Completed @endif
No sales invoices found matching the current criteria.
@if($invoices->hasPages()) @endif
@endsection