@php $configData = Helper::appClasses(); @endphp @extends('layouts/layoutMaster') @section('title', 'Global Ledger - Administration') @section('content')
Audit system payments, M-Pesa receipts, and automated webhook callback logs.
| Invoice No | Landlord Owner | Tenant | Payment Method | Ref Code | Amount Paid | Payment Date | Receipt |
|---|---|---|---|---|---|---|---|
| {{ $payment->invoice->invoice_number }} | {{ $payment->invoice->lease->unit->property->owner->name ?? 'N/A' }} | {{ $payment->invoice->lease->tenant->name ?? 'N/A' }} | @if($payment->payment_method === 'M-Pesa' || str_contains($payment->payment_method, 'M-Pesa')) {{ $payment->payment_method }} @elseif($payment->payment_method === 'Bank Transfer') Bank @else Cash @endif | {{ $payment->transaction_reference }} |
Ksh {{ number_format($payment->amount, 2) }} | {{ $payment->paid_at->format('d M Y, h:i A') }} | Receipt |
| No system transactions recorded. | |||||||
| Date / Time | Invoice No | Landlord | Phone Number | Amount Requested | Checkout Request ID | API Status | Callback Response |
|---|---|---|---|---|---|---|---|
| {{ $log->created_at->format('d M Y, h:i A') }} | {{ $log->invoice->invoice_number }} | {{ $log->invoice->lease->unit->property->owner->name ?? 'N/A' }} | {{ $log->phone_number }} |
Ksh {{ number_format($log->amount, 2) }} | {{ $log->checkout_request_id }} | @if($log->status === 'success') Success @elseif($log->status === 'failed') Failed @else Pending @endif | {{ $log->result_desc }} |
| No Safaricom API push logs found. | |||||||