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

Transactions

View all your transactions.

@forelse($transactions as $tx) @empty @endforelse
Service Reference Customer Amount Status Date
{{ $tx->service_name }} {{ $tx->reference }} {{ $tx->customer_number }} ₦{{ number_format($tx->total_amount, 2) }} @if($tx->status === 'successful') Successful @elseif($tx->status === 'pending') Pending @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.
{{ $transactions->links('vendor.pagination.tailwind') }}
@endsection