@extends('layouts.admin') @section('content')

Customers

@if(session('success')) @endif
@forelse($customers as $customer) @empty @endforelse
Name Email Phone Status Verified Actions
{{ $customer->full_name }} {{ $customer->email }} {{ $customer->phone_number }} {{ ucfirst($customer->status) }} @if($customer->verified_at) Verified @else Pending @endif
@if(!$customer->verified_at)
@csrf @method('PATCH')
@endif @if($customer->status === 'active')
@csrf @method('PATCH')
@else
@csrf @method('PATCH')
@endif
No customers found.
{{ $customers->appends(request()->query())->links() }}
@include('customers.modals.create') @foreach($customers as $customer) @include('customers.modals.edit', ['customer' => $customer]) @endforeach @push('scripts') @endpush @endsection