complete story 3.7 with qa test
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
@php
|
||||
$locale = $user->preferred_language ?? 'ar';
|
||||
@endphp
|
||||
@component('mail::message')
|
||||
@if($locale === 'ar')
|
||||
<div dir="rtl" style="text-align: right;">
|
||||
# {{ __('emails.consultation_cancelled_title', [], $locale) }}
|
||||
|
||||
{{ __('emails.consultation_cancelled_greeting', ['name' => $user->company_name ?? $user->full_name], $locale) }}
|
||||
|
||||
{{ __('emails.consultation_cancelled_body', [], $locale) }}
|
||||
|
||||
**{{ __('emails.cancelled_booking_details', [], $locale) }}**
|
||||
|
||||
- **{{ __('emails.booking_date', [], $locale) }}** {{ \Carbon\Carbon::parse($consultation->booking_date)->translatedFormat('l, d M Y') }}
|
||||
- **{{ __('emails.booking_time', [], $locale) }}** {{ \Carbon\Carbon::parse($consultation->booking_time)->format('g:i A') }}
|
||||
|
||||
{{ __('emails.consultation_cancelled_rebook', [], $locale) }}
|
||||
|
||||
{{ __('emails.consultation_cancelled_contact', [], $locale) }}
|
||||
|
||||
{{ __('emails.regards', [], $locale) }}<br>
|
||||
{{ config('app.name') }}
|
||||
</div>
|
||||
@else
|
||||
# {{ __('emails.consultation_cancelled_title', [], $locale) }}
|
||||
|
||||
{{ __('emails.consultation_cancelled_greeting', ['name' => $user->company_name ?? $user->full_name], $locale) }}
|
||||
|
||||
{{ __('emails.consultation_cancelled_body', [], $locale) }}
|
||||
|
||||
**{{ __('emails.cancelled_booking_details', [], $locale) }}**
|
||||
|
||||
- **{{ __('emails.booking_date', [], $locale) }}** {{ \Carbon\Carbon::parse($consultation->booking_date)->translatedFormat('l, d M Y') }}
|
||||
- **{{ __('emails.booking_time', [], $locale) }}** {{ \Carbon\Carbon::parse($consultation->booking_time)->format('g:i A') }}
|
||||
|
||||
{{ __('emails.consultation_cancelled_rebook', [], $locale) }}
|
||||
|
||||
{{ __('emails.consultation_cancelled_contact', [], $locale) }}
|
||||
|
||||
{{ __('emails.regards', [], $locale) }}<br>
|
||||
{{ config('app.name') }}
|
||||
@endif
|
||||
@endcomponent
|
||||
@@ -0,0 +1,56 @@
|
||||
@php
|
||||
$locale = $user->preferred_language ?? 'ar';
|
||||
@endphp
|
||||
@component('mail::message')
|
||||
@if($locale === 'ar')
|
||||
<div dir="rtl" style="text-align: right;">
|
||||
# {{ __('emails.consultation_rescheduled_title', [], $locale) }}
|
||||
|
||||
{{ __('emails.consultation_rescheduled_greeting', ['name' => $user->company_name ?? $user->full_name], $locale) }}
|
||||
|
||||
{{ __('emails.consultation_rescheduled_body', [], $locale) }}
|
||||
|
||||
**{{ __('emails.old_booking_details', [], $locale) }}**
|
||||
|
||||
- **{{ __('emails.booking_date', [], $locale) }}** {{ $oldDate->translatedFormat('l, d M Y') }}
|
||||
- **{{ __('emails.booking_time', [], $locale) }}** {{ \Carbon\Carbon::parse($oldTime)->format('g:i A') }}
|
||||
|
||||
**{{ __('emails.new_booking_details', [], $locale) }}**
|
||||
|
||||
- **{{ __('emails.booking_date', [], $locale) }}** {{ \Carbon\Carbon::parse($consultation->booking_date)->translatedFormat('l, d M Y') }}
|
||||
- **{{ __('emails.booking_time', [], $locale) }}** {{ \Carbon\Carbon::parse($consultation->booking_time)->format('g:i A') }}
|
||||
- **{{ __('emails.booking_duration', [], $locale) }}** 45 {{ __('common.minutes', [], $locale) }}
|
||||
|
||||
{{ __('emails.consultation_rescheduled_calendar', [], $locale) }}
|
||||
|
||||
{{ __('emails.consultation_rescheduled_contact', [], $locale) }}
|
||||
|
||||
{{ __('emails.regards', [], $locale) }}<br>
|
||||
{{ config('app.name') }}
|
||||
</div>
|
||||
@else
|
||||
# {{ __('emails.consultation_rescheduled_title', [], $locale) }}
|
||||
|
||||
{{ __('emails.consultation_rescheduled_greeting', ['name' => $user->company_name ?? $user->full_name], $locale) }}
|
||||
|
||||
{{ __('emails.consultation_rescheduled_body', [], $locale) }}
|
||||
|
||||
**{{ __('emails.old_booking_details', [], $locale) }}**
|
||||
|
||||
- **{{ __('emails.booking_date', [], $locale) }}** {{ $oldDate->translatedFormat('l, d M Y') }}
|
||||
- **{{ __('emails.booking_time', [], $locale) }}** {{ \Carbon\Carbon::parse($oldTime)->format('g:i A') }}
|
||||
|
||||
**{{ __('emails.new_booking_details', [], $locale) }}**
|
||||
|
||||
- **{{ __('emails.booking_date', [], $locale) }}** {{ \Carbon\Carbon::parse($consultation->booking_date)->translatedFormat('l, d M Y') }}
|
||||
- **{{ __('emails.booking_time', [], $locale) }}** {{ \Carbon\Carbon::parse($consultation->booking_time)->format('g:i A') }}
|
||||
- **{{ __('emails.booking_duration', [], $locale) }}** 45 {{ __('common.minutes', [], $locale) }}
|
||||
|
||||
{{ __('emails.consultation_rescheduled_calendar', [], $locale) }}
|
||||
|
||||
{{ __('emails.consultation_rescheduled_contact', [], $locale) }}
|
||||
|
||||
{{ __('emails.regards', [], $locale) }}<br>
|
||||
{{ config('app.name') }}
|
||||
@endif
|
||||
@endcomponent
|
||||
Reference in New Issue
Block a user