@extends('mainlayout.layout') @section('title', config('app.name') . ' | Transaction Logs') @push('css') @endpush @section('content')
Back to plotPayment activity

Transaction Logs

Plot {{ $plot->plotnumber }} · {{ $property->name }}

@if($order)@endif
@include('superadmin.property.partials.workspace_feedback')
Recorded Logs{{ number_format($logCount) }}All logs for this order
Order Reference{{ $referenceid ?: '—' }}Plot {{ $plot->plotnumber }}
Order Value{{ $order ? number_format((float) $order->amount) : '—' }}TZS

Transaction Activity

Review transaction responses, payment sources and device details.

@if($search !== '')Clear@endif
@forelse($transactionLogs as $index => $log) @empty@endforelse
#Transaction / TypeStatus / CodePhone (MSISDN)Amount (TZS)Source / AccountDevice / IPCreated
{{ $transactionLogs->firstItem() + $index }}{{ $log->transationid ?: '—' }}{{ $log->transactiontype ?: 'Type not provided' }}{{ $log->statusdescription ?: '—' }}Code: {{ $log->statuscode ?? '—' }}{{ $log->msisdn ?: '—' }}{{ $log->amount !== null ? number_format((float) $log->amount, 2) : '—' }}{{ $log->sourceInstitution ?: '—' }}{{ $log->sourceAccount ?: 'Account not provided' }}{{ $log->device ?: '—' }}{{ $log->ip ?: 'IP not provided' }}{{ optional($log->created_at)->format('M d, Y H:i') ?: '—' }}

{{ !$order ? 'No active order' : ($search !== '' ? 'No matching logs' : 'No transaction logs') }}

{{ !$order ? 'Transaction logs will appear when this plot has an order.' : ($search !== '' ? 'Try another transaction ID, status, phone or payment source.' : 'No transaction logs have been recorded for this order reference.') }}

@include('superadmin.property.partials.workspace_pagination', ['paginator' => $transactionLogs, 'label' => 'logs', 'section' => 'logs'])
@endsection @push('scripts') @endpush