@extends('layout.base') @section('action') Back @endsection @section('content')
Invoice Number: {{ $reservation->invoice_number }}
Date: {{ $reservation->created_at->format('F d, Y') }}
123 Company Address
City, Country
Phone: +123456789
| Room | Persons | Price per Night | Total Price |
|---|---|---|---|
| {{ $detail->room->room_name }} | {{ $detail->quantity }} | $ {{ number_format($detail->room->room_price, 2) }} | $ {{ number_format($detail->total_price, 2) }} |
Total: $ {{ number_format($reservation->details->sum('total_price'), 2) }}