@php $emailBrand = $company->getEmailBranding(); $emailLogoSrc = $emailBrand['logo_path'] && isset($message) ? $message->embed($emailBrand['logo_path']) : $emailBrand['logo_url']; @endphp New Query Notification
@if($emailLogoSrc) {{ $company->name }} logo @endif

New {{ $query->kind === 'contractor' ? 'Contractor Query' : 'Enquiry' }} Submitted

A new query has been submitted for {{ $company->name }}.

@if(($query->kind ?? null) === 'contractor') @endif
Query ID: #{{ $query->id }}
Type: {{ ucfirst($query->kind ?? 'enquiry') }}
Name: {{ trim(($query->name ?? '').' '.($query->surname ?? '')) }}
Email: {{ $query->email ?? 'N/A' }}
Cell: {{ $query->cell ?? 'N/A' }}
Description: {{ $query->description ?? '' }}
Company Name: {{ $query->company_name ?? 'N/A' }}
Company Email: {{ $query->company_email ?? 'N/A' }}
Company Contact: {{ $query->company_contact_number ?? 'N/A' }}
Address: {{ trim(implode(', ', array_filter([$query->company_address ?? null, $query->company_city ?? null, $query->company_province ?? null]))) ?: 'N/A' }}
Website: {{ $query->websiteStatusLabel() ?? 'N/A' }}@if($query->company_website) — {{ $query->company_website }}@endif
Package: {{ $query->selectedPackageLabel() ?? 'N/A' }}

Review this query in JobCardOnline: {{ url('/queries/'.$query->id) }}