@extends('layouts.sales') @section('content')
Filtration Form
  Reset

Customers

Total (first level only): {{ $customers->total() }}
@if(session('success'))
{{ session('success') }}
@endif
@forelse ($customers as $customer) @empty @endforelse
First Name Last Name Phone Status Email Created At
{{ $customer->first_name }} {{ $customer->last_name }} {{ $customer->mobile }} {{ $customer->status == 0 ? 'Not Active' : 'Active' }} {{ $customer->email }} {{ $customer->created_at->format('d-m-Y H:i') }}
No customers found.
{{ $customers->appends(request()->query())->onEachSide(1)->links('pagination::bootstrap-5') }}
@endsection