@php $companyName = (string) (config('company.name') ?: ''); $preheader = 'Thanks — we received your inquiry.'; $rows = []; foreach (($summaryRows ?? []) as $f) { $rows[] = ['label' => $f['label'], 'value' => e($f['value'])]; } @endphp @extends('emails.layouts.stepup', ['preheader' => $preheader, 'heading' => 'We received your inquiry']) @section('body')

Hi {{ $name }},

Thank you for reaching out{{ $companyName !== '' ? ' to ' . $companyName : '' }}. We've received your inquiry and a member of our team will be in touch shortly.

Below is a copy of the details you submitted so you can reference it in any reply.

@endsection @if(!empty($rows)) @section('summary') @include('emails.components.summary-table', ['title' => 'Your submission', 'rows' => $rows]) @endsection @endif