@extends('layouts.admin') @section('title', 'Paid Billings Today') @section('content')

Paid Billings Today

All paid billings created on {{ \Carbon\Carbon::today()->format('M d, Y') }}

Back to Dashboard
@if(request()->hasAny(['search', 'payment_method'])) Clear @endif
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@forelse($billings as $billing) @empty @endforelse
Customer Room Amount to Pay Amount Paid Remaining Reference Actions
{{ $billing->booking->full_name }}
{{ $billing->booking->email }}
@if($billing->booking->room && $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 paid billings found for today

No billings created today have been fully paid yet

@if($billings->hasPages())
{{-- Previous Page Link --}} @if ($billings->onFirstPage()) @else @endif {{-- Page Info --}} Showing {{ $billings->firstItem() ?? 0 }}-{{ $billings->lastItem() ?? 0 }} of {{ $billings->total() }} {{ $billings->total() == 1 ? 'billing' : 'billings' }} {{-- Next Page Link --}} @if ($billings->hasMorePages()) @else @endif
@else
Showing {{ $billings->firstItem() ?? 0 }}-{{ $billings->lastItem() ?? 0 }} of {{ $billings->total() }} {{ $billings->total() == 1 ? 'billing' : 'billings' }}
@endif @include('admin.billings.modals') @endsection