@php use App\Services\CompanyEmailDetails; // Get company details using global helper function $companyDetails = CompanyEmailDetails::getCompanyEmailDetails($customer_id ?? null, $workspace_id ?? null); // 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']; @endphp {{ $subject }}
@if (!empty($logoPath) && file_exists(public_path($logoPath))) Logo @else

{{ $companyName }}

@endif
Hello, {{ $employee_name }}
📋 Project Assignment Notification

✅ New Projects Assigned

Status: You have been assigned to new project(s) by {{ $subcontractor_name ?? 'your subcontractor' }}.

Action Required: Please review the assigned projects below and access them through your account.

📁 Newly Assigned Projects

@if (!empty($project_names) && count($project_names) > 0) @foreach ($project_names as $projectName)
{{ $projectName }}
@endforeach @else
No projects assigned
@endif
@if (env('APP_LINK_APPSTORE') || env('APP_LINK_APPSTORE_Apple'))
@if (env('APP_LINK_APPSTORE')) Get it on Google Play @endif @if (env('APP_LINK_APPSTORE_Apple'))
Apple
Download on the
App Store
@endif
Tap to download our mobile app
@endif

📋 Important • Next Steps

@if(env('APP_LINK_APPSTORE'))

📱 Download App: Install the mobile app using the badges above for easy access to your projects

@endif

🔐 Login: Access your account to view project details and start working

📧 Updates: Check your email regularly for project updates and notifications

❓ Questions: Contact {{ $subcontractor_name ?? $companyName }} for any project-related questions

💡 Tip: You can now access these projects through your account. Log in to view project details and start working.

Best regards,
{{ $subcontractor_name ?? $companyName }} Team