@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') {{$booking->e_service->name}} {{__('lang.by')}} {{$booking->e_provider->name}} @endcomponent @component('mail::panel') {{__('lang.booking_address')}} {{$booking->address->address}} @endcomponent @component('mail::panel') {{__('lang.booking_booking_at')}} {{$booking->booking_at}} {{__('lang.booking_start_at')}} {{$booking->start_at ?: '-'}} {{__('lang.booking_ends_at')}} {{$booking->ends_at ?: '-'}} @endcomponent @component('mail::panel') {{__('lang.booking_total')}}

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

{{__('lang.payment_status')}} {{empty(!$booking->payment) ? $booking->payment->paymentStatus->status : '-'}} {{__('lang.payment_method')}} {{empty(!$booking->payment) ? $booking->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