@extends('hotel_workspace.receipt_layout') @section('receipt')
Bill: {{ $bill->reference }}
Date: {{ $bill->created_at->format('d M Y H:i') }}
Guest: {{ $bill->guest_name ?: 'Walk in' }}@if($bill->booking)
Room: {{ $bill->booking->room?->name }}@endif
Currency: {{ $bill->currency }}
| Item | Qty | Price | Total |
|---|---|---|---|
| {{ $item->name }} | {{ number_format($item->quantity,2) }} | {{ number_format($item->unit_price,2) }} | {{ number_format($item->total,2) }} |
Total: {{ $bill->currency }} {{ number_format($bill->total,2) }}
Received: {{ $bill->currency }} {{ number_format($bill->paid,2) }}
Balance: {{ $bill->currency }} {{ number_format($bill->total-$bill->paid,2) }}