@extends('layouts.admin') @section('title', 'Transactions') @section('content')
All transactions in the system ({{ number_format($totalCount) }} total)
| ID | User | Type | Details | Amount | Status | Date |
|---|---|---|---|---|---|---|
| {{ $tx->id }} |
{{ $tx->user?->name ?? '—' }}
@if($tx->user?->email)
{{ $tx->user->email }} @endif |
{{ str_replace('_', ' ', ucfirst($tx->type)) }} | {{ $tx->details ?? '—' }} | ${{ number_format($tx->amount, 2) }} | {{ $tx->status->label() }} | {{ $tx->created_at->format('Y-m-d H:i:s') }} |
| No transactions found | ||||||