@extends('layouts.admin') @section('title', 'Payment History') @section('page-title', 'Payment History') @section('content')
| # | User | Type | Amount | Payment Method | Status | Approved By | Date | Actions |
|---|---|---|---|---|---|---|---|---|
| {{ $transaction->id }} |
{{ strtoupper(substr($transaction->user->name, 0, 1)) }}
{{ $transaction->user->name }}
{{ $transaction->user->email }}
|
{{ $transaction->type }} | ৳{{ number_format($transaction->amount, 2) }} | @if($transaction->payment_method) {{ $transaction->payment_method }} @else N/A @endif | {{ ucfirst($transaction->status) }} | @if($transaction->approver) {{ $transaction->approver->name }} @else N/A @endif | {{ $transaction->created_at->format('M j, Y H:i') }} |
@if($transaction->status == 'pending' && $transaction->type == 'topup')
@endif
|