@extends('guest.layouts.auth') @section('title', 'Payments History | Kevron Suites & Apartments') @section('dashboard_content')

Payments History

Track your successful, pending, and refunded NGN billing transactions.

All transactions, invoicing, and refunds are processed in compliance with our official Payment Policy. View Payment Policy
@if($payments->isEmpty())

No Payments Recorded

There are no transaction records currently matched to this executive account.

@else
@foreach($payments as $payment) @endforeach
Transaction Ref Stay Reference Amount Method Status Date
{{ $payment->transaction_reference }} @if($payment->booking) {{ $payment->booking->booking_reference }} @else - @endif ₦{{ number_format($payment->amount, 2) }} {{ str_replace('_', ' ', $payment->payment_method) }} {{ $payment->payment_status }} {{ $payment->created_at->format('M d, Y H:i') }}
@if($payments->hasPages())
{{ $payments->links() }}
@endif
@endif

Security Deposits

Track your refundable room security deposits, deductions, and refund status.

Security deposits are processed and refunded in compliance with the Damage and Security Deposit Policy. View Damage & Deposit Policy
@php $linkedBookingIds = \App\Models\GuestBookingLink::where('user_id', Auth::id())->pluck('booking_id')->toArray(); $securityDeposits = \App\Models\SecurityDepositTransaction::whereIn('booking_id', $linkedBookingIds) ->with('booking') ->orderBy('created_at', 'desc') ->get(); @endphp @if($securityDeposits->isEmpty())

No Deposits Active

No refundable security deposit records are currently linked to this profile.

@else
@foreach($securityDeposits as $deposit) @endforeach
Booking Ref Amount Collected Deductions Refunded Status Actions
{{ $deposit->booking_reference }} ₦{{ number_format($deposit->amount_collected, 2) }} ₦{{ number_format($deposit->amount_deducted, 2) }} ₦{{ number_format($deposit->amount_refunded, 2) }} @switch($deposit->status) @case('collected') Collected @break @case('deduction_pending') Deduction Pending @break @case('dispute_pending') Dispute Under Review @break @case('partially_refunded') Partially Refunded @break @case('fully_refunded') Fully Refunded @break @case('fully_deducted') Fully Deducted @break @case('closed') Closed @break @default {{ $deposit->status }} @endswitch File Dispute
@endif
@endsection