@extends('layouts.admin') @section('content')
@include('admin.partials.pro-hero', [ 'icon' => 'fas fa-users', 'title' => __('Customers Management'), 'subtitle' => __('View and manage all registered customers'), 'breadcrumbs' => [ ['label' => __('Dashboard'), 'url' => route('admin.dashboard')], ['label' => __('Customers'), 'url' => null], ], ]) @include('includes.admin.form-error') @include('includes.admin.form-success')

{{ __('All Customers') }}

@foreach($customers as $customer) @endforeach
{{ __('Customer Details') }} {{ __('Contact Info') }} {{ __('Location') }} {{ __('Actions') }}
{{ strtoupper(substr($customer->name, 0, 1)) }}
{{ $customer->name }}
{{ __('Customer ID') }}: #{{ $customer->id }}
{{ $customer->phone }}
{{ $customer->address ?? 'N/A' }}
@csrf @method('DELETE')
{{ $customers->links() }}
@endsection