@push('styles') @endpush
@if (auth()->user()->role->name == 'staff' || auth()->user()->role->name == 'companyStaff') @if (auth()->user()->is_add == 1) Add Client @else @endif @else Add Client @endif
@if (session()->has('message')) @php $message = json_decode(session()->get('message')); @endphp @endif
@php $start = $clients->firstItem(); @endphp @forelse ($clients as $client) @if (auth()->user()->role->name == 'staff' || auth()->user()->role->name == 'companyStaff') @else @endif @empty @endforelse
# Name Email Address Tel Action
{{ $start + $loop->index }} {{ $client->name }} {{ $client->email }} {{ $client->address }} {{ $client->tel }} @if (auth()->user()->is_edit == 1) @else @endif @if (auth()->user()->is_delete == 1) @else @endif
No Data!
Showing {{ $clients->firstItem() }} to {{ $clients->lastItem() }} of {{ $clients->total() }} results
{{ $clients->links() }}
@push('scripts') @endpush