@php $buttonUrl = $setPasswordUrl ?? $loginUrl; $course = $courseRun->course; $amountDueCents = $enrolment?->amount_due_cents; $amount = $amountDueCents !== null ? 'S$'.number_format($amountDueCents / 100, 2) : null; @endphp Dear {{ $user->display_name }}, Thank you for registering. Your enrolment has been confirmed. Course: {{ $course->title }} Course Dates: {{ $courseRun->run_start_date->format('d M Y') }} – {{ $courseRun->run_end_date->format('d M Y') }} @if ($amount) Amount Due: {{ $amount }} @if ($amountDueCents > 0) Please complete your payment by signing in to CyberQuote TMS. @endif @endif Open CyberQuote TMS: {!! $buttonUrl !!} @if ($setPasswordUrl) This link expires in 7 days. @endif Happy Learning! The CyberQuote Team If you encounter any issues please contact support@cyberquote.com.sg