@component('mail::message') # HRD Corp registration received A participant has requested **HRD Corp (employer-sponsored)** registration for: **Programme:** {{ $course->programme->name ?? $course->name }} @php $programme = $course->programme ?? null; @endphp @if ($programme && ! is_null($programme->cpd_points)) - **CPD points (per participant):** {{ $programme->cpd_points }} point{{ $programme->cpd_points === 1 ? '' : 's' }} @endif @if ($course->start_date) - **Dates:** {{ $course->start_date->format('d M Y') }}@if ($course->end_date && $course->end_date->isAfter($course->start_date)) – {{ $course->end_date->format('d M Y') }}@endif @endif @if ($course->start_time || $course->end_time) - **Time:** {{ $course->start_time ?? '–' }}@if($course->end_time) – {{ $course->end_time }}@endif @endif @if ($course->location) - **Venue:** {{ $course->location }} @endif @php $unitSelf = $course->price; $unitHrd = $course->hrd_price ?? $course->price; @endphp - **Quantity:** {{ $registration->quantity }} pax - **Self-pay price:** @if(!is_null($unitSelf)) RM {{ number_format($unitSelf, 2) }} per pax @else n/a @endif - **HRD Corp price:** @if(!is_null($unitHrd)) RM {{ number_format($unitHrd, 2) }} per pax @else n/a @endif - **Total (HRD basis):** RM {{ number_format(($unitHrd ?? 0) * (int) $registration->quantity, 2) }} ## Participant details - **Name:** {{ $registration->name }} - **Email:** {{ $registration->email }} - **Phone:** {{ $registration->phone ?: '–' }} ## Company details - **Company name:** {{ $registration->organisation ?: '–' }} - **Company registration no.:** {{ $registration->company_reg_number ?: '–' }} - **Company address:** {{ $registration->company_address ?: '–' }} ## Internal notes - **Registration ID:** {{ $registration->id }} - **Order ID:** {{ $registration->order_id }} - **Payment mode:** HRD Corp (manual processing) - **Recorded amount:** RM {{ number_format($registration->amount, 2) }} (status: {{ $registration->status }}) Please contact the participant and their organisation to arrange HRD Corp documentation and payment. Thanks, CORELIFE TRAINING AND CONSULTANCY SDN BHD @endcomponent