@php $form_type_vars = [ 'product' => 'Request A Quote', 'contact' => 'Contact Us', 'modification' => 'Modify Your Container', 'clearance' => 'Clearance Enquiry' ]; @endphp

{{ strtoupper(env('APPNAME')) }} WEBSITE ENQUIRY FORM


A new enquiry has been made:

@foreach ($enquiry->getAttributes() as $name => $val) @if (!in_array($name, [ 'id', 'created_at', 'updated_at', 'site', 'post'])) {{-- @php if ($name === 'accessories') { $val = implode(', ', json_decode($val, true)); } elseif ($name === 'options') { $options_data = []; $val = json_decode($val, true); foreach ($val as $key => $value) { $options_data[] = $key.': '.$value; } $val = implode('
', $options_data); } @endphp --}} @if(($val != null)) @endif @endif @endforeach
{{title_case(str_replace("_", " ", $name))}} {!! $name === 'form_type' ? $form_type_vars[$val] : $val !!}

Best Regards,

{{ env('APP_NAME') }}


@include('mail.partials.footer')