@extends(template().'layout.master') @section('content') @php $content = content('plan.content'); $plans = App\Models\Plan::where('status', 1) ->latest() ->get(); @endphp

{{ __($pageTitle) }}

image
@forelse ($plans as $plan) @php $plan_exist = App\Models\Payment::where('plan_id', $plan->id) ->where('user_id', Auth::id()) ->where('next_payment_date', '!=', null) ->where('payment_status', 1) ->count(); @endphp

{{ $plan->plan_name }}

image

{{ number_format($plan->return_interest, 2) }} @if ($plan->interest_status == 'percentage') {{ '%' }} @else {{ @$general->site_currency }} @endif

    @if ($plan->amount_type == 0)
  • {{ __('Minimum') }} {{ number_format($plan->minimum_amount, 2) . ' ' . @$general->site_currency }}
  • {{ __('Maximum') }} {{ number_format($plan->maximum_amount, 2) . ' ' . @$general->site_currency }}
  • @else
  • {{ __('Amount') }} {{ number_format($plan->amount, 2) . ' ' . @$general->site_currency }}
  • @endif @if ($plan->return_for == 1)
  • {{ __('For') }} {{ $plan->how_many_time }} {{ __('Times') }}
  • @else
  • {{ __('For') }} {{ __('Lifetime') }}
  • @endif
  • {{ __('Rio Back') }} {{ __('Every') }} {{ $plan->time->name }}
  • @if ($plan->capital_back == 1)
  • {{ __('Capital Back') }} {{ __('YES') }}
  • @else
  • {{ __('Capital Back') }} {{ __('NO') }}
  • @endif

{{ __('Affiliate Bonus') }}

{{ __('Affiliate Bonus') }}
@if($plan->referrals) @foreach ($plan->referrals->level as $key => $value)

{{$value}}

{{$plan->referrals->commision[$key]}} %
@endforeach @endif
@if ($plan_exist >= $plan->invest_limit) {{ __('Max Limit exceeded') }} @else {{ __('Invest Now') }} @auth @endauth @endif
@empty @endforelse
image
@push('script') @endpush