@extends('layout.master')
@section('parentPageTitle', 'Contact Inquires')
@section('title', 'Contact Inquires')
@section('content')
@include('layout.alert')
| # |
Name |
Email |
Phone |
Message |
Status |
Created At |
Updated At |
Action |
| # |
Name |
Email |
Phone |
Message |
Status |
Created At |
Updated At |
Action |
@foreach($contacts as $contact)
| {{ $contact->id }} |
{{ $contact->name }} |
{{ $contact->email }} |
{{ $contact->phone }} |
{{ $contact->message }} |
@switch($contact->status)
@case('new')
New
@break
@case('in_progress')
In Progress
@break
@case('contacted')
Contacted
@break
@case('awaiting_reply')
Awaiting Reply
@break
@case('resolved')
Resolved
@break
@case('closed')
Closed
@break
@case('spam')
Spam
@break
@default
{{ ucfirst($contact->status) }}
@endswitch
|
{{ Carbon\Carbon::parse($contact->created_at)->format('Y-m-d') }} |
{{ Carbon\Carbon::parse($contact->updated_at)->format('Y-m-d') }} |
|
@endforeach
@stop
@section('page-styles')
@stop
@section('page-script')
@stop