@extends('layouts.admin-club') @section('club-admin-content')

Financials

Track income, expenses, and transactions

Total Income

{{ $club->currency ?? 'BHD' }} {{ number_format($summary['total_income'] ?? 0, 2) }}

Total Expenses

{{ $club->currency ?? 'BHD' }} {{ number_format($summary['total_expenses'] ?? 0, 2) }}

Net Profit

{{ $club->currency ?? 'BHD' }} {{ number_format($summary['net_profit'] ?? 0, 2) }}

Pending Payments

{{ $club->currency ?? 'BHD' }} {{ number_format($summary['pending'] ?? 0, 2) }}

Recent Transactions
@if(isset($transactions) && count($transactions) > 0)
@foreach($transactions as $transaction) @endforeach
Date Description Type Amount Status Actions
{{ $transaction->transaction_date ? $transaction->transaction_date->format('M d, Y') : 'N/A' }} {{ $transaction->description ?? 'N/A' }} @if($transaction->type === 'income') Income @elseif($transaction->type === 'expense') Expense @else {{ ucfirst($transaction->type) }} @endif {{ $transaction->type === 'income' ? '+' : '-' }}{{ $club->currency ?? 'BHD' }} {{ number_format($transaction->amount, 2) }} @if($transaction->status === 'paid') Paid @elseif($transaction->status === 'pending') Pending @else {{ ucfirst($transaction->status) }} @endif
@else
No transactions yet

Transactions will appear here as they occur

@endif
@endsection