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

Customer Report

Back
@forelse($customers as $customer) @empty @endforelse
Customer Name Phone Address Total Invoices Total Purchase Loyalty Points
{{ $customer->name }} {{ $customer->phone ?? '—' }} {{ $customer->address ?? '—' }} {{ $customer->invoices_count }} ₹{{ number_format($customer->invoices_sum_total ?? 0, 2) }} {{ $customer->loyalty_points ?? 0 }}
No customers found.
@endsection