@extends('layouts.admin.base') @section('page-title') Dashboard @endsection @php $active_investors_count = $investments->where('status', \App\Models\Investments\Investment::status_active)->unique('user_id')->count(); $total_invested = $investments->where('status', \App\Models\Investments\Investment::status_active)->sum('amount'); $total_withdrawn = $withdrawals->sum('amount'); $total_payout = $payouts->sum('amount'); @endphp @section('content')
{{ formatMoney($withdrawal->amount) }}
No requests yet.
| User | Plan | Invested | Split | Payment Method | Start | Next Payout | End | Status | Action |
|---|---|---|---|---|---|---|---|---|---|
| {{ $investment->user->name }} | {{ $investment->plan->name }} | {{ formatMoney($investment->amount) }} | {{ formatMoney(calculate_percentage(80,$investment->amount)) }}/{{ formatMoney(calculate_percentage(20,$investment->amount)) }} |
{{ $investment->payment_method }} {{ $investment->transaction_hash }} |
{{ $investment->start_date($investment->payouts) }} | {{ $investment->next_payout_date($investment->payouts) }} | {{ $investment->end_date($investment->payouts) }} | {{ $investment->status_data()->message }} |
|