@if (session()->has('companymessage'))
@php
$message = json_decode(session()->get('companymessage'));
@endphp
| # |
Make |
Action |
@php
$start = $companies->firstItem();
@endphp
@forelse ($companies as $company)
| {{ $start + $loop->index }} |
{{ $company->name }} |
@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 {{ $companies->firstItem() }} to {{ $companies->lastItem() }} of
{{ $companies->total() }} results
{{ $companies->links() }}