@extends('front_end.layouts.home') @php $showRightSidebar = false; @endphp @section('title', 'Wallet') @section('left_sidebar') @include('front_end.pages.events.events_left_sidebar') @endsection @section('content')

Wallet

Manage your funds and transactions

Available Balance
${{ number_format($wallet->balance, 2) }}
Pending Balance
${{ number_format($wallet->pending_balance, 2) }}
Total Earned
${{ number_format($stats['total_earned'], 2) }}
Recent Transactions
@forelse($recentTransactions as $transaction) @empty @endforelse
Date Description Amount
{{ $transaction->created_at->format('M d, Y') }} {{ $transaction->description }} @if($transaction->type == 'credit' || $transaction->flag == 'C') +${{ number_format($transaction->amount, 2) }} @else -${{ number_format($transaction->amount, 2) }} @endif
No transactions found.
Top Earning Actions
@if(count($topEarningActions) > 0)
@foreach($topEarningActions as $action)

{{ ucfirst(str_replace('_', ' ', $action->reference_type)) }} ${{ number_format($action->total_amount, 2) }}

@endforeach
@else

Start earning by completing actions!

@endif
@endsection