@extends('layouts.admin') @section('title', 'Billing Management') @section('content')
Manage all billing records
| Customer | Room | Amount to Pay | Amount Paid | Remaining | Reference | Actions |
|---|---|---|---|---|---|---|
|
{{ $billing->booking->full_name }}
{{ $billing->booking->email }}
|
@if($billing->booking->room->room_number)
Room #{{ $billing->booking->room->room_number }}
@else
N/A
@endif
|
${{ number_format($billing->amount_to_pay ?? 0, 2) }}
|
${{ number_format($billing->amount_paid ?? 0, 2) }}
|
@php
$remaining = ($billing->amount_to_pay ?? 0) - ($billing->amount_paid ?? 0);
@endphp
${{ number_format($remaining, 2) }}
|
{{ $billing->reference_number ?? '-' }}
|
|
|
No billing records found Create a billing record to get started |
||||||