polisplexity.tech/resources/views/emails/rfp-submitted.blade.php

25 lines
633 B
PHP

{{-- resources/views/emails/rfp-submitted.blade.php --}}
@php
$title = isset($rfpDetails['formLabel']) ? $rfpDetails['formLabel'] : 'New Submission';
@endphp
<h1>Form comming from: {{ $title }}</h1>
@foreach($rfpDetails as $key => $value)
<p><strong>{{ $key }}:</strong>
@if(is_array($value))
@foreach($value as $subKey => $subValue)
<br>{{ $subKey }}: {{ is_array($subValue) ? json_encode($subValue) : $subValue }}
@endforeach
@else
{{ $value }}
@endif
</p>
@endforeach
<p>Please review the submission and take the necessary action.</p>