@component('mail::message') {{-- Greeting --}} @if (! empty($greeting)) # {{ $greeting }} @else @if ($level === 'error') # @lang('Whoops!') @else # @lang('Hello!') @endif @endif {{-- Intro Lines --}} @foreach ($introLines as $line) {{ $line }} @endforeach @component('mail::panel') {{$appointment->doctor->name}} {{__('lang.by')}} {{$appointment->clinic->name}} @endcomponent @component('mail::panel') {{__('lang.appointment_address')}} {{$appointment->address->address}} @endcomponent @component('mail::panel') {{__('lang.appointment_appointment_at')}} {{$appointment->appointment_at}} {{__('lang.appointment_start_at')}} {{$appointment->start_at ?: '-'}} {{__('lang.appointment_ends_at')}} {{$appointment->ends_at ?: '-'}} @endcomponent @component('mail::panel') {{__('lang.appointment_total')}}

{!! getPrice($appointment->getTotal()) !!}

{{__('lang.payment_status')}} {{empty(!$appointment->payment) ? $appointment->payment->paymentStatus->status : '-'}} {{__('lang.payment_method')}} {{empty(!$appointment->payment) ? $appointment->payment->paymentMethod->name : '-'}} @endcomponent {{-- Action Button --}} @isset($actionText) @component('mail::button', ['url' => $actionUrl, 'color' => $color]) {{ $actionText }} @endcomponent @endisset {{-- Outro Lines --}} @foreach ($outroLines as $line) {{ $line }} @endforeach {{-- Salutation --}} @if (! empty($salutation)) {{ $salutation }} @else @lang('Regards'),
{{ setting('app_name',config('app.name')) }} @endif {{-- Subcopy --}} @isset($actionText) @slot('subcopy') @lang( "If you’re having trouble clicking the \":actionText\" button, copy and paste the URL below\n". 'into your web browser:', [ 'actionText' => $actionText, ] ) [{{ $displayableActionUrl }}]({{ $actionUrl }}) @endslot @endisset @endcomponent