@extends('template.master') @section('page_styles') {{--CUSTOM STYLES HERE--}} @stop @section('content')
{{--content--}}
@if(auth()->user()->role_id == 1)
 

{{-- Load Existing Contacts --}}
@endif

Contact Submission Per Month

@if(count($contact_data) > 0) @foreach($contact_data as $k => $contact)
{{ $contact->email }}
  • {{ $contact->company_name }}
  • {{ date('M d, Y h:i a', strtotime($contact->created_at)) }}

{{ $contact->subject }}

{{ $contact->message }}


Additional Information

@php $payload = json_decode($contact->payload); @endphp @foreach($payload as $key => $data) @if(!empty($data))

{{ str_replace('_', ' ', ucfirst($key)) }}: {{ $data }}

@endif @endforeach @foreach($payload as $key => $data) @if(!empty($data)) @endif @endforeach

Form Contents

{{ str_replace('_', ' ', ucfirst($key)) }} {{ $data }}
@endforeach @else
No data found.
@endif
@stop @section('page_modals') @include('template.footer_scripts') @stop @section('page_scripts') @stop