complete story 11.3 with qa tests
This commit is contained in:
@@ -6,15 +6,20 @@
|
||||
|
||||
**معلومات العميل:**
|
||||
|
||||
@if($isGuest)
|
||||
- **نوع الحجز:** زائر (بدون حساب)
|
||||
@else
|
||||
@if($client->user_type === 'company')
|
||||
- **الشركة:** {{ $client->company_name }}
|
||||
- **الشخص المسؤول:** {{ $client->contact_person_name }}
|
||||
@else
|
||||
- **الاسم:** {{ $client->full_name }}
|
||||
@endif
|
||||
- **البريد الإلكتروني:** {{ $client->email }}
|
||||
- **الهاتف:** {{ $client->phone }}
|
||||
@endif
|
||||
- **الاسم:** {{ $clientName }}
|
||||
- **البريد الإلكتروني:** {{ $clientEmail }}
|
||||
- **الهاتف:** {{ $clientPhone ?? 'غير متوفر' }}
|
||||
@unless($isGuest)
|
||||
- **نوع العميل:** {{ $client->user_type === 'company' ? 'شركة' : 'فرد' }}
|
||||
@endunless
|
||||
|
||||
**تفاصيل الموعد:**
|
||||
|
||||
|
||||
@@ -5,15 +5,20 @@ A new consultation request has been submitted and requires your review.
|
||||
|
||||
**Client Information:**
|
||||
|
||||
@if($isGuest)
|
||||
- **Booking Type:** Guest (No Account)
|
||||
@else
|
||||
@if($client->user_type === 'company')
|
||||
- **Company:** {{ $client->company_name }}
|
||||
- **Contact Person:** {{ $client->contact_person_name }}
|
||||
@else
|
||||
- **Name:** {{ $client->full_name }}
|
||||
@endif
|
||||
- **Email:** {{ $client->email }}
|
||||
- **Phone:** {{ $client->phone }}
|
||||
@endif
|
||||
- **Name:** {{ $clientName }}
|
||||
- **Email:** {{ $clientEmail }}
|
||||
- **Phone:** {{ $clientPhone ?? 'Not provided' }}
|
||||
@unless($isGuest)
|
||||
- **Client Type:** {{ ucfirst($client->user_type) }}
|
||||
@endunless
|
||||
|
||||
**Appointment Details:**
|
||||
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
<x-mail::message>
|
||||
<div dir="rtl" style="text-align: right;">
|
||||
# تم تأكيد حجزك
|
||||
|
||||
عزيزي/عزيزتي {{ $guestName }}،
|
||||
|
||||
أخبار سارة! تمت الموافقة على طلب الاستشارة الخاص بك.
|
||||
|
||||
**التاريخ:** {{ $formattedDate }}
|
||||
|
||||
**الوقت:** {{ $formattedTime }}
|
||||
|
||||
**المدة:** 45 دقيقة
|
||||
|
||||
**النوع:** {{ $isPaid ? 'استشارة مدفوعة' : 'استشارة مجانية' }}
|
||||
|
||||
@if($isPaid && $paymentAmount)
|
||||
**المبلغ المستحق:** {{ number_format($paymentAmount, 2) }} شيكل
|
||||
|
||||
@if($paymentInstructions)
|
||||
**تعليمات الدفع:**
|
||||
{{ $paymentInstructions }}
|
||||
@endif
|
||||
@endif
|
||||
|
||||
مرفق بهذه الرسالة ملف دعوة تقويم (.ics). يمكنك إضافته إلى تطبيق التقويم الخاص بك.
|
||||
|
||||
نتطلع للقائك.
|
||||
|
||||
مع أطيب التحيات،<br>
|
||||
{{ config('app.name') }}
|
||||
</div>
|
||||
</x-mail::message>
|
||||
@@ -0,0 +1,31 @@
|
||||
<x-mail::message>
|
||||
# Your Booking Has Been Confirmed
|
||||
|
||||
Dear {{ $guestName }},
|
||||
|
||||
Great news! Your consultation request has been approved.
|
||||
|
||||
**Date:** {{ $formattedDate }}
|
||||
|
||||
**Time:** {{ $formattedTime }}
|
||||
|
||||
**Duration:** 45 minutes
|
||||
|
||||
**Type:** {{ $isPaid ? 'Paid Consultation' : 'Free Consultation' }}
|
||||
|
||||
@if($isPaid && $paymentAmount)
|
||||
**Amount Due:** {{ number_format($paymentAmount, 2) }} ILS
|
||||
|
||||
@if($paymentInstructions)
|
||||
**Payment Instructions:**
|
||||
{{ $paymentInstructions }}
|
||||
@endif
|
||||
@endif
|
||||
|
||||
A calendar invitation (.ics file) is attached to this email. You can add it to your calendar application.
|
||||
|
||||
We look forward to meeting with you.
|
||||
|
||||
Regards,<br>
|
||||
{{ config('app.name') }}
|
||||
</x-mail::message>
|
||||
@@ -0,0 +1,22 @@
|
||||
<x-mail::message>
|
||||
<div dir="rtl" style="text-align: right;">
|
||||
# تحديث الحجز
|
||||
|
||||
عزيزي/عزيزتي {{ $guestName }}،
|
||||
|
||||
نأسف لإبلاغك بأننا غير قادرين على استيعاب طلب الاستشارة الخاص بك في الوقت التالي:
|
||||
|
||||
**التاريخ المطلوب:** {{ $formattedDate }}
|
||||
|
||||
**الوقت المطلوب:** {{ $formattedTime }}
|
||||
|
||||
@if($hasReason)
|
||||
**السبب:** {{ $reason }}
|
||||
@endif
|
||||
|
||||
نعتذر عن أي إزعاج. لا تتردد في تقديم طلب حجز جديد لفترة زمنية مختلفة.
|
||||
|
||||
مع أطيب التحيات،<br>
|
||||
{{ config('app.name') }}
|
||||
</div>
|
||||
</x-mail::message>
|
||||
@@ -0,0 +1,20 @@
|
||||
<x-mail::message>
|
||||
# Booking Update
|
||||
|
||||
Dear {{ $guestName }},
|
||||
|
||||
We regret to inform you that we are unable to accommodate your consultation request for the following time:
|
||||
|
||||
**Requested Date:** {{ $formattedDate }}
|
||||
|
||||
**Requested Time:** {{ $formattedTime }}
|
||||
|
||||
@if($hasReason)
|
||||
**Reason:** {{ $reason }}
|
||||
@endif
|
||||
|
||||
We apologize for any inconvenience. Please feel free to submit a new booking request for a different time slot.
|
||||
|
||||
Regards,<br>
|
||||
{{ config('app.name') }}
|
||||
</x-mail::message>
|
||||
Reference in New Issue
Block a user