@use('\Illuminate\Support\Number', 'Number') @use('\Illuminate\Support\Str', 'Str') Users investment plans
@can('manually add profit')
@endcan
@if ($this->usersPlans->count() === 0)
@if ($user != 'All' && $status != 'All' && ($fromDate != '' && $toDate != ''))

No Result found

We couldn't find what you are looking for. Try again.

@else

When Users invest, their plan will show here.

@endif
@else
@foreach ($this->usersPlans as $userPlan) @endforeach
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) }}
{{ $this->usersPlans->links() }}
@endif
{{-- End Delete Plan Modal --}}