@use('\Illuminate\Support\Number', 'Number')
@use('\Illuminate\Support\Str', 'Str')
@if ($user != 'All' && $status != 'All' && ($fromDate != '' && $toDate != ''))
We couldn't find what you are looking for. Try again.
@else| Customer | Amount Invested | Plan | Profit Earned | Start Date | Expiration Date | Status | Action |
|---|---|---|---|---|---|---|---|
| spa_mode) wire:navigate @endif href="{{ route('admin.users.singleUser', ['user' => $userPlan->user]) }}"> {{ $userPlan->user->name }} | {{ Number::currency($userPlan->amount, $settings->s_currency) }} | {{ $userPlan->plan->name }} | {{ Number::currency($userPlan->profit_earned, $settings->s_currency) }} | {{ $userPlan->created_at->toDayDateTimeString() }} {{ $userPlan->created_at->format('d M, Y') }} | {{ $userPlan->expire_date->toDayDateTimeString() }} {{ $userPlan->expire_date->format('d M, Y') }} | $userPlan->status == 'expired', 'badge-success' => $userPlan->status == 'active', 'badge-warning' => $userPlan->status == 'cancelled', ])>{{ Str::ucfirst($userPlan->status) }} |
|