@extends('FrontUser.layouts.app') @section('title', 'Transaction History') @section('content')

Transaction History

View all your wallet transactions

All Transactions
Total: {{ $transactions->total() }} transactions
@if($transactions->count() > 0)
@foreach($transactions as $transaction) @endforeach
Transaction ID Type Description Amount Status Payment Method Date Actions
{{ $transaction->reference_id }} {{ ucfirst($transaction->type) }} {{ $transaction->description }} {{ $transaction->type === 'credit' ? '+' : '-' }}₹{{ number_format($transaction->amount, 2) }} {{ ucfirst($transaction->status) }} {{ ucfirst($transaction->payment_method ?? 'N/A') }}
{{ $transaction->created_at->format('M d, Y') }} {{ $transaction->created_at->format('h:i A') }}
@if($transaction->status === 'pending') @endif
{{ $transactions->links() }}
@else
No transactions found

Your transaction history will appear here once you start using your wallet.

Add Funds
@endif
@endsection @section('scripts') @endsection