@php $page = 'plans' @endphp @extends('includes.layout') @section('content')

Active Investments

Active User's Investments

@php $counter = 1; @endphp @forelse ($orders as $item) @php $counter++; @endphp @empty

No Payment Method

@endforelse
S/N Client Plan Amount Duration ROI Status Date Created Earnings Action
{{ $counter }} {{ optional($item->user)->name }} {{ optional($item->plan)->name ?? 'Deleted' }} ${{ number_format($item->amount, 2) }} {{ optional($item->plan)->duration ?? 0 }} Day(s) ${{ number_format($item->interest, 2) }} {{ Str::ucfirst($item->invest_status) }} {{ $item->created_at->diffForHumans() }} View Earnings
@endsection @push('scripts') @endpush