@extends('layouts.admin') @section('title', 'Manage Transactions') @section('page-title', 'Transactions') @section('content')
| Reference | User | Service | Amount | Fee | Status | Date | |
|---|---|---|---|---|---|---|---|
| {{ $tx->reference }} | {{ $tx->user->first_name }} {{ $tx->user->last_name }} | {{ $tx->service_name }} | ₦{{ number_format($tx->total_amount, 2) }} | ₦{{ number_format($tx->fee, 2) }} | @if($tx->status === 'successful') OK @elseif($tx->status === 'failed') Failed @elseif($tx->status === 'refunded') Refunded @else {{ ucfirst($tx->status) }} @endif | {{ $tx->created_at->format('M d, Y H:i') }} | View |
| No transactions found. | |||||||