@extends('layouts.admin') @section('content')
Inactive Investments
Inactive Investment List
Here's a list of all inactive investments
@include('includes.wallet.alert')
@foreach($inactive_investments as $investment) @php $userr = \App\User::where(['id' => $investment->user_id])->first(); $plan = \App\Models\Plan::where(['id' => $investment->plan_id])->first(); @endphp @endforeach
Plan Username Amount Earn Started Expiration Status Action
{{ $plan->name }} {{ $userr->username }} ${{ number_format($investment->amount_invested) }} ${{ number_format($investment->amount_to_earn) }} {{ $investment->created_at }} {{ $investment->expiration }} @if($investment->status == \App\Constants::ACTIVE) @endif @if($investment->status == \App\Constants::INACTIVE) @endif edit



@include('includes.wallet.floats')
{{--@include('includes.wallet.sidebar')--}}
@endsection