@extends('mails.layout.app')
@section('main')
@php
$statusValue = $status ?? '';
$subjectLine = $emailSubject ?? 'Booking Payment Status Update - RO Wellness Suite';
$headline = 'Booking Payment Status Update';
$messageBody = '';
switch ($statusValue) {
case 'paid':
$headline = 'Payment Confirmation';
$messageBody = 'We have received your payment in full. Your appointment remains confirmed and an invoice is attached for your records.';
break;
case 'partially_paid':
case 'partially-paid':
case 'partial':
$headline = 'Partial Payment Received';
$messageBody = 'We have received a partial payment for your appointment. Please settle the remaining balance before your visit or contact us if you need any assistance.';
break;
case 'unpaid':
case 'pending':
$headline = 'Payment Pending';
$messageBody = 'Your appointment payment is still pending. Kindly complete the payment at your earliest convenience to keep your booking active.';
break;
default:
$messageBody = 'There has been an update to your appointment payment status. Please review the details below.';
break;
}
@endphp
{{ $headline }}
{{ $subjectLine }}
Dear {{ $userName }},
{{ $messageBody }}
Date: {{ $date }}
Time: {{ $time }}
If you have any questions, please feel free to contact us.
Thank you, RO Wellness
|
@endsection