@extends('layout.marketing_template') @section('marketingContent')

Dashboard

@if(Auth::guard('marketing')->user()->role == 'team_manager')
Total Submanager

{{ $totalsubmarketing }}

View more
Total Clients

{{ $totalclients }}

View More
Total IB

{{ $totalib }}

View More
@endif @if(Auth::guard('marketing')->user()->role != 'team_manager')
Pending Clients

{{ $pendingclients }}

View More
Wallet Balance

{{ round(Auth::guard('marketing')->user()->wallet_balance, 2) }}

Withdraw Now
@endif
Monthly Net Deposit

{{ $monthlynetdeposit }}

Monthly Net Target Deposit

{{ round(Auth::guard('marketing')->user()->net_deposit, 2) }}

Latest Clients
@foreach ($latestclients as $latest)
{{ $latest->name }}

{{ date('d M Y', strtotime($latest->created_at)) }}

@endforeach
Daily Deposit

{{ $dailydeposit }}

Weekly Deposit

{{ $weeklydeposit }}

Monthly Deposit

{{ $monthlydeposit }}

Total Deposit

{{ $totaldeposit }}

Daily Withdraw

{{ $dailywithdraw }}

Weekly Withdraw

{{ $weeklywithdraw }}

Monthly Withdraw

{{ $monthlywithdraw }}

Total Withdraw

{{ $totalwithdraw }}

Daily IB Withdraw

{{ $dailyibwithdraw }}

Weekly IB Withdraw

{{ $weeklyibwithdraw }}

Monthly IB Withdraw

{{ $monthlyibwithdraw }}

Total IB Withdraw

{{ $totalibwithdraw }}

@endsection