@extends('layouts.index') @section('contacts_active') nav-item active @endsection @section('page_title') Contacts @endsection @section('headaddons') @endsection @section('pg_name') Contact Requests @endsection @section('content') @if (count($errors) > 0)
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@endif
Contacts
@foreach ($allContacts as $contact) @endforeach
Name Phone Email City Message Time
{{ $contact->name }} {{ $contact->phone }} {{ $contact->email }} {{ $contact->city }} {{ $contact->message }} {{ $contact->created_at }}
Projects
@foreach ($allProjects as $project) @endforeach
Client Name Phone Number Project ID Time
{{ $project->client_name }} {{ $project->phone_number }} {{ $project->phone_number }} {{ $project->created_at }}
Units
@foreach ($allUnits as $unit) @endforeach
Client Name Phone Number Unit ID Time
{{ $unit->clientName }} {{ $unit->phoneNumber }} {{ $unit->unitId }} {{ $unit->created_at }}
@endsection