{{-- resources/views/guests/statement.blade.php --}} @extends('layouts.app') @section('title', 'Statement — ' . $guest->first_name . ' ' . $guest->last_name) @section('page_title', 'Guest Statement') @section('page_subtitle', $guest->first_name . ' ' . $guest->last_name) @section('content')
{{-- Summary --}}No invoices yet
| Invoice # | Date | Due | Total | Paid | Balance | Status |
|---|---|---|---|---|---|---|
| {{ $inv->invoice_number }} | {{ $inv->invoice_date->format('d M Y') }} | {{ $inv->due_date->format('d M Y') }} | {{ $inv->currency }} {{ number_format($inv->total_amount, 2) }} | {{ $inv->currency }} {{ number_format($inv->amount_paid, 2) }} | @if($inv->balance_due > 0) {{ $inv->currency }} {{ number_format($inv->balance_due, 2) }} @else Paid @endif | {{ $inv->status }} |