@extends('admin.layouts.dashboard') @section('title', 'Customers') @section('content')

Customers

+ Create Customer
@if(session('success')) @endif
@if(request()->filled('search')) Clear @endif
@forelse($customers as $c) @empty @endforelse
Sr No Name Phone Telephone Email City Country Remarks Actions
{{ ($customers->currentPage() - 1) * $customers->perPage() + $loop->iteration }} {{ $c->name }} {{ $c->phone ?: '—' }} {{ $c->telephone_no ?: '—' }} {{ $c->email ?: '—' }} {{ $c->city ?: '—' }} {{ $c->country ?: '—' }} {{ $c->remarks ? \Illuminate\Support\Str::limit($c->remarks, 40) : '—' }}
Edit
@csrf @method('DELETE')
@if(request()->filled('search')) No customers match your search. @else No customers yet. Add them from Admin Booking. @endif
{{ $customers->onEachSide(1)->links() }}
@endsection