@extends('components.customer-layout') @section('header')

Active Portfolio

@endsection {{-- @dd($transactionsPagination, $transactions) --}} @section('content') {{-- description --}}
Records
@if ($userInvestments) @foreach ($userInvestments as $Investment) @endforeach
Pack Invested Gains Uptick Start Date End Date
{{ $Investment['plan_name'] }}

({{ date('d M,Y', strtotime($Investment['lastAccured'])) }})

${{ number_format($Investment['amount'], 2, ".", ",") }} ${{ number_format($Investment['accuredAmount'], 2, ".", ",") }} @php $color = $Investment['percentageIncrease'] > 0 ? 'success' : 'danger'; @endphp {{ $Investment['percentageIncrease'] }} {{ date('d M,Y', strtotime($Investment['createdAt'])) }} {{ date('d M,Y', strtotime($Investment['endDate'])) }}
@else @endif
@endsection