@extends('layouts.app') @section('title', 'Dashboard') @section('page_title', 'My Dashboard') @section('content')
${{ number_format($stats['total_balance'], 2) }}
Total Balance
Deposit
${{ number_format($stats['portfolio_value'], 2) }}
Portfolio Value
{{ $stats['total_profit'] >= 0 ? '+' : '' }}${{ number_format($stats['total_profit'], 2) }}
{{ number_format($stats['active_investments']) }}
Active Investments
View
{{ number_format($stats['pending_deposits']) }}
Pending Deposits
View All
My Portfolios New Portfolio
@forelse($portfolios as $portfolio) @empty @endforelse
Portfolio Investments Value Status Action
{{ $portfolio->name }}
{{ Str::limit($portfolio->description, 30) }}
{{ $portfolio->investments_count }}
${{ number_format($portfolio->total_value, 2) }}
@if($portfolio->status === 'active') Active @elseif($portfolio->status === 'closed') Closed @else Suspended @endif
No portfolios yet
Create Your First Portfolio
My Wallets
@forelse($wallets as $wallet)
{{ substr($wallet->currency, 0, 1) }}
{{ $wallet->currency }}
{{ $wallet->label ?? 'Wallet' }}
{{ number_format($wallet->balance, 8) }}
${{ number_format($wallet->balance * 1, 2) }}
@empty
No wallets found
@endforelse
Recent Transactions View All
@forelse($recent_transactions as $transaction) @empty @endforelse
Type Currency Amount USD Value Status Date
{{ ucfirst($transaction->type) }}
{{ substr($transaction->crypto_currency, 0, 1) }}
{{ $transaction->crypto_currency }}
{{ number_format($transaction->amount, 8) }} ${{ number_format($transaction->usd_value, 2) }} @if($transaction->status === 'confirmed') Confirmed @elseif($transaction->status === 'pending') Pending @else {{ ucfirst($transaction->status) }} @endif {{ $transaction->created_at->format('M d, Y H:i') }}
No transactions yet
Make Your First Deposit
@if($asset_allocation->count() > 0)
Asset Allocation
Recent Investment Performance
@endif @endsection @push('scripts') @endpush