{{-- Header --}}
@if($restaurant && $restaurant->logo_url)
@endif
|
{{ $companyTitle }}
@if($companyAddress)
{{ $companyAddress }}
@endif
|
@if($companyPhone)
{{ __('hotel::modules.reservation.emailContactPhone') }}: {{ $companyPhone }}
@endif
@if($companyEmail)
{{ __('hotel::modules.reservation.emailContactEmail') }}: {{ $companyEmail }}
@endif
@if($companyWebsite)
{{ __('hotel::modules.reservation.emailContactWebsite') }}: {{ $companyWebsite }}
@endif
|
|
{{-- Overview --}}
{{ __('hotel::modules.quotation.emailQuotationId') }} {{ $quotation->quotation_number }}
|
{{ __('hotel::modules.reservation.emailArrivalDateTime') }} {{ $arrivalAt ?: '—' }}
|
{{ __('hotel::modules.reservation.emailDepartureDateTime') }} {{ $departureAt ?: '—' }}
|
{{ __('hotel::modules.reservation.emailNights') }} {{ $nights }} {{ $nights === 1 ? __('hotel::modules.reservation.emailNightSingular') : __('hotel::modules.reservation.emailNightPlural') }}
|
{{ __('hotel::modules.quotation.status') }} {{ $statusLabel }}
|
{{ __('hotel::modules.quotation.date') }} {{ optional($quotation->created_at)->format($df) ?? '—' }}
|
|
{{-- Customer --}}
|
{{ __('hotel::modules.reservation.emailCustomerSection') }}
| {{ __('hotel::modules.reservation.emailCustomerName') }} |
{{ $guest?->full_name ?? '—' }} |
| {{ __('hotel::modules.reservation.emailCustomerAddress') }} |
{{ $guest?->address ? $guest->address : '—' }} |
| {{ __('hotel::modules.reservation.emailMobile') }} |
{{ $guest?->phone ?? '—' }} |
|
{{-- Rooms --}}
|
{{ __('hotel::modules.reservation.emailRoomsSection') }}
|
| {{ __('hotel::modules.reservation.roomType') }} |
{{ __('hotel::modules.reservation.quantityShort') }} |
{{ __('hotel::modules.reservation.rate') }} |
{{ __('hotel::modules.reservation.total') }} |
@forelse($quotation->quotationRooms as $qr)
| {{ $qr->roomType?->name ?? '—' }} |
{{ $qr->quantity ?? 0 }} |
{{ currency_format($qr->rate ?? 0) }} |
{{ currency_format($qr->total_amount ?? 0) }} |
@empty
| {{ __('hotel::modules.reservation.noRoomsSelected') }} |
@endforelse
|
{{-- Extras --}}
|
{{ __('hotel::modules.reservation.emailExtrasSection') }}
|
@forelse($quotation->quotationExtras as $qe)
|
{{ $qe->extraService?->name ?? '—' }}
@if(($qe->quantity ?? 0) > 1)
/ {{ __('hotel::modules.reservation.quantityShort') }} {{ $qe->quantity }}
@endif
/ {{ currency_format($qe->total_amount ?? 0) }}
@if($qe->unit_price)
— {{ __('hotel::modules.reservation.unitPrice') }} {{ currency_format($qe->unit_price) }}
@endif
|
@empty
| — |
@endforelse
|
{{-- Financial summary --}}
{{ __('hotel::modules.reservation.roomsPrice') }} {{ currency_format($roomsTotal) }}
|
{{ __('hotel::modules.reservation.extrasPrice') }} {{ currency_format($extrasTotal) }}
|
{{ __('hotel::modules.reservation.discount') }} {{ currency_format($discountAmount) }}
|
|
@php $invoiceTaxLines = $quotation->invoiceTaxes(); @endphp
@forelse($invoiceTaxLines as $line)
{{ $line['tax']->name ?? __('hotel::modules.reservation.bookingTax') }}
@if($line['tax']->rate !== null && (float) $line['tax']->rate != 0)
({{ $line['tax']->rate }}%)
@endif
{{ currency_format($line['amount']) }}
@empty
{{ __('hotel::modules.reservation.bookingTax') }} {{ currency_format($quotation->tax_amount ?? 0) }}
@endforelse
|
{{ __('hotel::modules.reservation.total') }} {{ currency_format($quotation->total_amount ?? 0) }}
|
{{ __('hotel::modules.reservation.advancePaid') }} {{ currency_format($advancePaid) }}
|
{{ __('hotel::modules.reservation.balanceDue') }} {{ currency_format($balanceDue) }}
|
|
{{-- Footer --}}
|
{{ __('hotel::modules.quotation.emailInvoiceFooter') }}
|