@push('styles') @endpush
@if (auth()->user()->role->name == 'staff' || auth()->user()->role->name == 'companyStaff') @if (auth()->user()->is_add == 1) @else @endif @else @endif
@if (!empty($message)) @php $message = json_decode($message); @endphp @php $message = null; @endphp @endif
@php $start = $managers->firstItem(); @endphp @forelse ($managers as $manager) @if (auth()->user()->role->name == 'staff' || auth()->user()->role->name == 'companyStaff') @else @endif @empty @endforelse
# Full Name Email Contact Address Company Action
{{ $start + $loop->index }} {{ $manager->name }} {{ $manager->email }} {{ $manager->phone }} {{ $manager->address }} {{ $manager->company->name ?? '' }} @if (auth()->user()->is_edit == 1) @else @endif @if (auth()->user()->is_delete == 1) @else @endif
No Data!
Showing {{ $managers->firstItem() }} to {{ $managers->lastItem() }} of {{ $managers->total() }} results
{{ $managers->links() }}
@if (auth()->user()->role->name == 'staff' || auth()->user()->role->name == 'companyStaff') @if (auth()->user()->is_add == 1) @livewire('dashboard.manager.add') @else @endif @if (auth()->user()->is_edit == 1) @livewire('dashboard.manager.update') @else @endif @else @livewire('dashboard.manager.add') @livewire('dashboard.manager.update') @endif
@push('scripts') @endpush