@extends('backend.template.layouts.template-base') @section('title', 'Reports - Customer Report') @php $phoneSvg = ''; @endphp @section('content')
| # | Customer Details | 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() }}