@php use App\Services\CompanyEmailDetails; // Ensure customer_id is available $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']; // Format full address $fullAddress = $companyAddress; if (!empty($companyCity)) { $fullAddress .= ', ' . $companyCity; } if (!empty($companyState)) { $fullAddress .= ', ' . $companyState; } if (!empty($companyPostCode)) { $fullAddress .= ' ' . $companyPostCode; } if (!empty($companyCountry)) { $fullAddress .= ', ' . $companyCountry; } @endphp
You have been invited to participate in a tender
Hi {{ $subcontractor_name }},
You have been invited to participate in a tender. Please review the tender details below.
| Title | {{ $tender_title }} |
| Reference | {{ $tender_reference }} |
| Project | {{ $project_name }} |
| Closing Date | {{ $closing_date }} |
|
|
Important NoticePlease review the tender details and submit your bid before the closing date. If you have any questions, please contact us using the information provided below. |
Thank you for your interest in our tender. We look forward to your participation.
Best regards,
{{ $companyName }} Team