@extends('mail.layout') @section('title', 'Your booking invoice') @section('preheader', 'Invoice '.$booking->invoice_number.' for '.$booking->room?->name) @section('heading', 'Your booking invoice') @section('content')
Hello {{ $booking->name }},
Thank you for choosing {{ $brand['company'] }}. Invoice {{ $booking->invoice_number }} is attached for your stay in {{ $booking->room?->name ?? 'your room' }}@if($booking->unit?->number), room {{ $booking->unit->number }}@endif.
@include('mail.partials.details', [ 'rows' => [ ['label' => 'Invoice', 'value' => $booking->invoice_number], ['label' => 'Room', 'value' => $booking->room?->name], ['label' => 'Room number', 'value' => $booking->unit?->number], ['label' => 'Check-in', 'value' => $booking->check_in?->format('j F Y')], ['label' => 'Check-out', 'value' => $booking->check_out?->format('j F Y')], ['label' => 'Total (TZS)', 'value' => \App\Support\Money\ExchangeRates::formatBase($booking->total_price)], ['label' => 'USD equivalent', 'value' => \App\Support\Money\ExchangeRates::formatUsdFromBase($booking->total_price, $booking->fx_snapshot)], ], ])Your invoice PDF is attached. The stay is held as requested and is finalized after payment is confirmed by {{ $brand['company'] }}.
@endsection @section('action') Visit the resort @endsection