@extends('layouts.admin') @section('title','Transactions') @section('content')
Money

Transaction history.

Review every credit and debit recorded on the platform.

@forelse($records as $tx)@empty@endforelse
ReferenceUserActivityAssetAmountStatusDate
{{ $tx->reference }}{{ $tx->user?->name ?: $tx->user?->email ?: 'User #'.$tx->user_id }}{{ str_replace('_',' ',ucfirst($tx->type->value)) }}{{ $tx->asset->symbol }}{{ $tx->direction === 'credit' ? '+' : '-' }}{{ rtrim(rtrim($tx->amount,'0'),'.') }}{{ $tx->created_at->format('M j, Y H:i') }}
No transactions found.
@endsection