@php
$contactPerson = trim($participationInterest->contact_first_name.' '.$participationInterest->contact_last_name);
$addressParts = array_filter([
$participationInterest->address_line1,
$participationInterest->address_line2,
$participationInterest->city?->name,
$participationInterest->state?->name,
$participationInterest->zip,
]);
$fullAddress = implode(', ', $addressParts);
$logoUrl = asset('assets/img/icsa-logo.jpg');
$emailTitle = "Inquire to Participate - India's Coolest Store Awards 2026";
$rows = [
['label' => 'Store Name', 'value' => $participationInterest->store_name, 'link' => false],
['label' => 'Contact Person', 'value' => $contactPerson, 'link' => false],
['label' => 'Phone Number', 'value' => $participationInterest->phone, 'link' => false],
['label' => 'Email id', 'value' => $participationInterest->email, 'link' => true, 'href' => 'mailto:'.$participationInterest->email],
['label' => 'Address', 'value' => $fullAddress, 'link' => false],
['label' => 'Store Link', 'value' => $participationInterest->store_link, 'link' => true, 'href' => $participationInterest->store_link],
];
@endphp
{{ $emailTitle }}
|
| |
|
{{ $emailTitle }}
|
@foreach ($rows as $row)
|
{{ $row['label'] }}
|
@if (!empty($row['link']) && !empty($row['href']) && trim((string) $row['value']) !== '')
{{ $row['value'] }}
@else
{{ $row['value'] !== '' ? $row['value'] : '—' }}
@endif
|
@endforeach
|
|
|