@extends('layouts.user_type.auth') @section('contactUs')
@include('components.alert')
Contact Us

Incoming contact and inquiry requests.

{{ $contactUs->total() ?? 0 }} Records
@forelse($contactUs as $index => $contact) @empty @endforelse
# NameEmail Contact No.Company SubjectStatus Action
{{ str_pad($contactUs->firstItem()+$index,2,'0',STR_PAD_LEFT) }} {{ $contact->name }} {{ $contact->email }} {{ $contact->contact_number }} {{ $contact->company_name }} {{ \Illuminate\Support\Str::limit($contact->subject, 30) }} {{ ucfirst($contact->status) }}

No contact requests found

@include('components.pagination', ['paginator' => $contactUs])
Contact Details
@php $fields = [ ['label' => 'Name', 'id' => 'contact-name'], ['label' => 'Email', 'id' => 'contact-email'], ['label' => 'Contact Number', 'id' => 'contact-contact-number'], ['label' => 'Company Name', 'id' => 'contact-company-name'], ['label' => 'Subject', 'id' => 'contact-subject'], ['label' => 'Message', 'id' => 'contact-message'], ['label' => 'Hear About Us', 'id' => 'contact-hear_about_us'], ['label' => 'Status', 'id' => 'contact-status'], ['label' => 'Date', 'id' => 'contact-created_at'], ]; @endphp
@foreach($fields as $field)

{{ $field['label'] }}

@endforeach
@endsection