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

Investment Plans

Note!

Users cannot invest in an inactive plan. Plan status is useful when you want to display to your users a plan but you do not want them to invest in it at the moment. Users already subscribed to an inactive plan would still receive ROI till the plan expires, but will not be able to purchase it.

Plan Lists

@forelse ($plans as $item)
{{ Str::ucfirst($item->status) }}

{{$item->name}} PLAN

@if($item->topup_type == 'percentage') %{{$item->topup_value}} {{$item->payment_interval}} @endif @if($item->topup_type == 'fixed') ${{$item->topup_value}} {{$item->payment_interval}} @endif

Minimum Amount: ${{$item->min_amount}}

Maximum Amount: ${{$item->max_amount}}

Plan Duration: {{$item->duration}} Day(s)

Gift Bonus: ${{$item->bonus}}

Support: 24x7

Plan Category: {{Str::ucfirst($item->category)}}

@if($item->status == 'active')
@csrf @method('patch')
@else
@csrf @method('patch')
@endif
@empty

No plan found

@endforelse
@endsection