@extends('layouts.app') @section('title', 'Sales Report') @section('content')

Sales Report

Back
Reset
Total Sales
₹{{ number_format($totalSales, 2) }}
Subtotal
₹{{ number_format($totalSubtotal, 2) }}
Discount
₹{{ number_format($totalDiscount, 2) }}
GST
₹{{ number_format($totalGst, 2) }}
@forelse($invoices as $invoice) @empty @endforelse
Invoice # Date Customer Subtotal Discount GST Total Payment
{{ $invoice->invoice_number }} {{ $invoice->invoice_date->format('d M Y') }} {{ $invoice->customer->name ?? '—' }} ₹{{ number_format($invoice->subtotal, 2) }} ₹{{ number_format($invoice->discount_amount, 2) }} ₹{{ number_format($invoice->gst_amount, 2) }} ₹{{ number_format($invoice->total, 2) }} {{ ucfirst($invoice->payment_type ?? 'cash') }}
No sales found for the selected period.
@endsection