@extends('emails.booking._layout') @php $maison = $booking->maison; $client = $booking->client; $payUrl = route('maison.booking.pay', $booking->token); $clientName = trim(($client->first_name ?? '').' '.($client->last_name ?? '')) ?: $client->name; $gold = 'color:#f8e7b0;'; $nights = __('mails.nights_count', ['count' => $booking->nights]); $period = __('mails.period', [ 'start' => $booking->start_date->format('d.m.Y'), 'end' => $booking->end_date->format('d.m.Y'), 'nights' => $nights, ]); @endphp @section('subject', __('mails.acc_title')) @section('heading', __('mails.acc_heading')) @section('body')
{!! __('mails.greeting', ['name' => ''.e($clientName).'']) !!}
{!! __('mails.acc_intro', [ 'title' => ''.e($maison->title).'', 'hours' => ''.e(__('mails.req_hours')).'', ]) !!}
|
{{ __('mails.sect_stay_detail') }} {{ __('mails.lbl_stay') }} {{ $period }} {{ number_format($booking->nightly_price, 2, ',', ' ') }} {{ $booking->currency }} × {{ $nights }} @if($booking->cleaning_fee > 0){{ __('mails.lbl_cleaning') }} {{ number_format($booking->cleaning_fee, 2, ',', ' ') }} {{ $booking->currency }} @endif @if($booking->deposit > 0){{ __('mails.lbl_deposit') }} {{ number_format($booking->deposit, 2, ',', ' ') }} {{ $booking->currency }} @endif{{ __('mails.acc_total_due', ['amount' => number_format($booking->total_amount, 2, ',', ' ').' '.$booking->currency]) }} |
| {{ __('mails.acc_btn_pay') }} |