@if(session('success')) @endif @if(session('error')) @endif
Customer Contact Persons Management
@if(auth()->check() && auth()->user()->hasRole('Admin')) @if(request('trashed') === 'only') View Active @else View Deleted @endif @endif Add New Contact Person
@if(request('trashed') === 'only')
Showing Soft Deleted Contact Persons.
@endif
Reset
@csrf
@forelse($persons as $person) @empty @endforelse
# Company / Customer Contact Person Name Phone / Alt Phone Email Department / Designation Actions
{{ $loop->iteration + ($persons->currentPage() - 1) * $persons->perPage() }} @if($person->customer) {{ $person->customer->company_name ?: $person->customer->name }}
{{ $person->customer->inquiry_no }}
@else @endif
{{ $person->name }}
{{ $person->mobile_no ?: '—' }}
@if($person->alt_person_no)
Alt: {{ $person->alt_person_no }}
@endif
{{ $person->email ?: '—' }} {{ $person->department ?: 'General' }}
Edit
No contact persons found.
{{ $persons->links('pagination::bootstrap-5') }}