@php use App\Services\CompanyEmailDetails; // Get company details using global helper function $customer_id = $customer_id ?? null; $companyDetails = CompanyEmailDetails::getCompanyEmailDetails($customer_id); // Extract variables for easier use in template $logoPath = $companyDetails['logoPath']; $companyName = $companyDetails['companyName']; $companyAddress = $companyDetails['companyAddress']; $companyCity = $companyDetails['companyCity']; $companyState = $companyDetails['companyState']; $companyPostCode = $companyDetails['companyPostCode']; $companyCountry = $companyDetails['companyCountry']; $companyPhone = $companyDetails['companyPhone']; $companyEmail = $companyDetails['companyEmail']; $fullAddress = $companyDetails['companyAddressFull']; @endphp
@if ($is_update) An induction document has been updated. @else A new induction document has been created. @endif
Hi {{ $subcontractor_name ?? 'there' }},
@if ($is_update)
An induction document has been updated. Please review the details below:
@else
A new induction document has been created and requires your attention. Please review the details below:
@endif
| Title | {{ $document_title }} |
| Version | {{ $document_version }} |
|
|
Important NoticePlease sign the @if ($is_update) updated @endif version of this document through your subcontractor portal as soon as possible. |
Thank you for your cooperation.
{{ $companyName }} Team