75 lines
2.5 KiB
PHP
75 lines
2.5 KiB
PHP
@component('mail::message')
|
|
@include('emails.partials.header')
|
|
|
|
# Pengesahan Permohonan Keahlian
|
|
|
|
Assalamualaikum **{{ $applicant->name }}**,
|
|
|
|
Terima kasih. Permohonan keahlian anda telah berjaya diterima.
|
|
|
|
**No. Permohonan:** {{ $application->application_number }}
|
|
|
|
Berikut adalah ringkasan maklumat yang anda hantar:
|
|
|
|
## Maklumat Peribadi
|
|
|
|
- **Nama:** {{ $applicant->name }}
|
|
- **Emel:** {{ $applicant->email }}
|
|
- **No. Kad Pengenalan:** {{ $applicant->ic_number }}
|
|
- **Tarikh Lahir:** {{ $applicant->birth_date }}
|
|
- **Tempat Lahir:** {{ $applicant->birth_place }}
|
|
- **Jantina:** {{ $applicant->gender }}
|
|
- **Status Perkahwinan:** {{ $applicant->marriage_status }}
|
|
|
|
## Hubungan & Alamat
|
|
|
|
- **Alamat:** {{ $applicant->address }}
|
|
- **Poskod:** {{ $applicant->postcode }}
|
|
- **No. Telefon:** {{ $applicant->phone_number }}
|
|
- **No. Pejabat:** {{ $applicant->office_number ?: '-' }}
|
|
|
|
## Maklumat Pekerjaan & Caruman
|
|
|
|
- **Nama Majikan:** {{ $applicant->employer_name }}
|
|
- **Alamat Majikan:** {{ $applicant->employer_address }}
|
|
- **Jawatan Semasa:** {{ $applicant->current_position }}
|
|
- **Tarikh Mula Berkhidmat:** {{ $applicant->start_work_date?->format('d/m/Y') ?? $applicant->start_work_date }}
|
|
- **Caruman Saham (RM):** {{ number_format((float) $applicant->stock_monthly_contribution, 2) }}
|
|
- **Caruman Yuran (RM):** {{ number_format((float) $applicant->fee_monthly_contribution, 2) }}
|
|
|
|
## Maklumat Waris
|
|
|
|
@forelse ($heirs as $index => $heir)
|
|
**Waris {{ $index + 1 }}**
|
|
- **Nama:** {{ $heir->name }}
|
|
- **No. Kad Pengenalan:** {{ $heir->ic_number }}
|
|
- **Hubungan:** {{ $heir->relationship }}
|
|
- **No. Telefon:** {{ $heir->phone_number }}
|
|
|
|
@empty
|
|
Tiada maklumat waris.
|
|
@endforelse
|
|
|
|
## Pencadang & Penyokong
|
|
|
|
@php
|
|
$proposer = $application->references->first(fn ($ref) => ($ref->reference_type?->value ?? $ref->reference_type) === 'PROPOSER');
|
|
$supporter = $application->references->first(fn ($ref) => ($ref->reference_type?->value ?? $ref->reference_type) === 'SUPPORTER');
|
|
@endphp
|
|
|
|
- **Pencadang:** {{ $proposer?->member?->name ? $proposer->member->name . ' (' . $proposer->member->ic_number . ')' : '-' }}
|
|
- **Penyokong:** {{ $supporter?->member?->name ? $supporter->member->name . ' (' . $supporter->member->ic_number . ')' : '-' }}
|
|
|
|
## Dokumen Dimuat Naik
|
|
|
|
@forelse ($documents as $document)
|
|
- **{{ $documentLabels[$document->type] ?? $document->type }}:** {{ $document->name }}
|
|
@empty
|
|
Tiada dokumen.
|
|
@endforelse
|
|
|
|
Anda akan menerima emel apabila keputusan permohonan tersedia.
|
|
|
|
@include('emails.partials.footer')
|
|
@endcomponent
|