|
{{ $isAr ? 'مرحباً' : 'Hi' }} {{ $name }},
{!! $body !!}
|
{{ $isAr ? 'رقم الطلب' : 'Request Number' }}
|
{{ $requestNumber }}
|
|
{{ $isAr ? 'المرحلة الحالية' : 'Current Stage' }}
|
{{ $stageLabel }}
|
|
{{ $isAr ? 'التاريخ' : 'Date' }}
|
{{ now()->format('Y-m-d H:i') }}
|
@if(!empty($loanAmount) || !empty($loanTermMonths) || !empty($loanApr))
{{ $isAr ? '💼 تفاصيل عرض التمويل' : '💼 Financing Offer Details' }}
@if(!empty($loanAmount))
|
{{ $isAr ? 'قيمة القرض' : 'Loan Amount' }}
|
{{ number_format((float) $loanAmount, 2) }} {{ $isAr ? 'ر.س' : 'SAR' }}
|
@endif
@if(!empty($loanTermMonths))
|
{{ $isAr ? 'مدة السداد' : 'Repayment Term' }}
|
{{ $loanTermMonths }} {{ $isAr ? 'شهر' : 'months' }}
@if($loanTermMonths >= 12)
({{ round($loanTermMonths / 12, 1) }} {{ $isAr ? 'سنة' : 'yrs' }})
@endif
|
@endif
@if(!empty($loanApr))
|
{{ $isAr ? 'نسبة الفائدة السنوية (APR)' : 'Annual Percentage Rate (APR)' }}
|
{{ rtrim(rtrim(number_format((float) $loanApr, 3), '0'), '.') }} %
|
@endif
@if(!empty($loanAmount) && !empty($loanTermMonths))
@php
$apr = (float) ($loanApr ?? 0);
$principal = (float) $loanAmount;
$months = (int) $loanTermMonths;
if ($apr > 0 && $months > 0) {
$r = ($apr / 100) / 12;
$monthly = $principal * $r / (1 - pow(1 + $r, -$months));
} else {
$monthly = $months > 0 ? $principal / $months : 0;
}
$total = $monthly * $months;
@endphp
|
{{ $isAr ? 'القسط الشهري التقريبي' : 'Estimated Monthly Payment' }}
|
{{ number_format($monthly, 2) }} {{ $isAr ? 'ر.س' : 'SAR' }}
|
|
{{ $isAr ? 'إجمالي المبلغ المستحق' : 'Total Repayable' }}
|
{{ number_format($total, 2) }} {{ $isAr ? 'ر.س' : 'SAR' }}
|
@endif
@endif
@if(!empty($adminNotes))
{{ $isAr ? '📌 ملاحظات من فريقنا' : '📌 Notes from our team' }}
{{ $adminNotes }}
@endif
{{ $ctaLabel }}
{{ $isAr
? 'لو عندك أي استفسار، فريق الدعم جاهز لمساعدتك في أي وقت.'
: 'If you have any questions, our support team is available to assist you anytime.' }}
|