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