@include('head')
@include ('header-dashboard')
Requests Status
Investment
Withdrawal
All
Active
Matured
Pending
Rejected
@forelse($deals as $deal) @php $status = strtolower($deal['Investment_Status']); $statusColors = [ 'active' => '#002233', 'matured' => '#83FF8E', 'pending' => '#FFBE55', 'rejected' => '#FF9494', ]; $statusColor = $statusColors[$status] ?? '#002233'; @endphp
{{ ucfirst($status) }}
{{ $deal['Products']['name'] }}
{{ !empty($deal['Closing_Date']) ? \Carbon\Carbon::parse($deal['Closing_Date'])->format('d-m-Y') : ' ' }}
{{ 'BBB+' }}
{{ $deal['ROI'] ?? 'NA' }}%
INTEREST
{{ $deal['Unit'] ?? 0 }}
NUMBER OF SLOTS
₹ {{ number_format($deal['Investment_Amount'] ?? 0) }}
INVESTED
@empty
No investment requests found.
@endforelse
{{ $deals->onEachSide(1)->links('pagination::bootstrap-5') }}
@forelse($dealswithdraw as $deal) @php $status = strtolower($deal['Investment_Status'] ?? 'active'); $statusColors = [ 'active' => '#002233', 'matured' => '#83FF8E', 'pending' => '#FFBE55', 'rejected' => '#FF9494', ]; $statusColor = $statusColors[$status] ?? '#002233'; @endphp
{{ ucfirst($status) }}
{{ $deal['Product_Name'] ?? 'N/A' }}
{{ !empty($deal['Created_Time']) ? \Carbon\Carbon::parse($deal['Created_Time'])->format('d-m-Y') : '-' }}
BBB+
{{ $deal['Security_Type'] }}
SECURITY TYPE
{{ $deal['Withdrawal_Unit'] ?? 0 }}
UNITS
₹ {{ number_format($deal['Withdrawal_Amount'] ?? 0) }}
WITHDRAWAL AMOUNT
@empty
No withdrawal requests found.
@endforelse
{{ $dealswithdraw->onEachSide(1)->links('pagination::bootstrap-5') }}