@extends('backend.template.layouts.template-base') @section('title', 'Reports - Customer Report') @php $phoneSvg = ''; @endphp @section('content')

Customer Report

Download XLSX
Show entries
@forelse($customers as $customer) @empty @endforelse
# Customer Details Email Total Orders Total Spent Joined On Status
{{ $customer->id }}
{{ $customer->name }} {!! $phoneSvg !!} {{ $customer->mobile }}
{{ $customer->email ?? '—' }} {{ $customer->orders_count }} ₹{{ number_format((float)$customer->orders_total, 2) }} {{ $customer->created_at?->format('d M Y') ?? '—' }} {{ $customer->status ? 'Active' : 'Inactive' }}
No customers found.

Showing {{ $customers->firstItem() ?? 0 }}–{{ $customers->lastItem() ?? 0 }} of {{ $customers->total() }} results

{{ $customers->links() }}
@endsection @section('scripts') @endsection