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

Customer Report

@foreach($customers as $customer) @endforeach
Customer Name Mobile Total Invoices Total Purchase Amount (₹)
{{ $customer->customer_name }} {{ $customer->mobile }} {{ $customer->invoices_count }} {{ number_format($customer->invoices_sum_grand_total ?? 0, 2) }}
@endsection @push('scripts') @endpush