@php $overdueDaysInt = null; if (!empty($payload['created_at'])) { $createdAt = \Carbon\Carbon::parse($payload['created_at']); $overdueDaysInt = $createdAt->isPast() ? (int) $createdAt->diffInDays(now('Asia/Kolkata')) // always int : 0; } @endphp
Quick reminder to finish your onboarding. Welcome aboard!
MarquisTech Logo

Hi {{ $payload['first_name'] ?? 'there' }} {{ $payload['last_name'] ?? '' }},

This is a friendly reminder to complete your onboarding. We’ve already sent the initial onboarding email {{ $overdueDaysInt }} day{{ $overdueDaysInt === 1 ? '' : 's' }} ago. Please pick up where you left off.

@if (!is_null($overdueDaysInt) && $overdueDaysInt > 0)

Overdue by: {{ $overdueDaysInt }} day{{ $overdueDaysInt === 1 ? '' : 's' }}

@endif
Resume Onboarding

Need help? Contact {{ $payload['support_email'] ?? 'hr@marquistech.com' }} .

This is an automated message; please do not reply.