@extends('layouts.admin') @section('content')
| 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 | @if($investment->status == \App\Constants::INACTIVE) edit @endif @if($investment->status == \App\Constants::ACTIVE) edit @endif |