@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 = $mycompanies->firstItem(); @endphp @forelse ($mycompanies as $company) @if (auth()->user()->role->name == 'staff' || auth()->user()->role->name == 'companyStaff') @else @endif @if (auth()->user()->role->name == 'staff' || auth()->user()->role->name == 'companyStaff') @else @endif @empty @endforelse
# Full Name Email Contact Address Status Action
{{ $start + $loop->index }} {{ $company->name }} {{ $company->email }} {{ $company->phone }} {{ $company->address }} @if (auth()->user()->is_edit == 1) @if ($company->status == 1) Active @else Pending @endif @else @endif @if ($company->status == 1) Active @else Pending @endif @if (auth()->user()->is_edit == 1) @else @endif @if (auth()->user()->is_delete == 1) @else @endif
No Data!
Showing {{ $mycompanies->firstItem() }} to {{ $mycompanies->lastItem() }} of {{ $mycompanies->total() }} results
{{ $mycompanies->links() }}
@if (auth()->user()->role->name == 'staff' || auth()->user()->role->name == 'companyStaff') @if (auth()->user()->is_add == 1) @livewire('dashboard.mycompany.add') @else @endif @if (auth()->user()->is_edit == 1) @livewire('dashboard.mycompany.update') @else @endif @else @livewire('dashboard.mycompany.add') @livewire('dashboard.mycompany.update') @endif
@push('scripts') @endpush