@extends('admin.dashboard.layouts.app') @section('main')

{{ $organization->name }} Commission Details

Location: {{ $organization->location }}

Total Earned: {{ number_format($totalEarned, 2) }}

Total Withdrawn: {{ number_format($totalWithdrawn, 2) }}


Add Transaction
@csrf

Transaction History
@foreach($transactions as $index => $t) @endforeach
# Date Type Amount Note
{{ $index + 1 }} {{ $t->created_at->format('d M Y') }} {{ ucfirst($t->type) }} {{ number_format($t->amount, 2) }} {{ $t->note }}
@endsection