@php $fixedContent = \App\Services\FrontendService::getFrontendContent(\App\Enums\Frontend\SectionKey::MATRIX_PLAN, \App\Enums\Frontend\Content::FIXED); @endphp @foreach($matrix as $key => $plan)
@if($plan->is_recommend)
{{ __('Recommend') }}
@endif
{{ __('Award Image') }}
{{getCurrencySymbol()}}{{ shortAmount($plan->amount) }}

{{ $plan->name }}

{{ __('Straightforward Referral Reward') }}: {{getCurrencySymbol()}}{{ shortAmount($plan->referral_reward) }}
{{ __('Aggregate Level Commission') }}: {{ getCurrencySymbol() }}{{ \App\Services\Investment\MatrixService::calculateAggregateCommission((int)$plan->id) }}

{{ __('Get back') }} {{ shortAmount((\App\Services\Investment\MatrixService::calculateAggregateCommission((int)$plan->id) / $plan->amount) * 100) }}% {{ __('of what you invested') }}

    @foreach (\App\Services\Investment\MatrixService::calculateTotalLevel($plan->id) as $value) @php $matrix = pow(\App\Services\Investment\MatrixService::getMatrixWidth(), $loop->iteration) @endphp
  • {{ __('Level') }}-{{ $loop->iteration }} >> {{getCurrencySymbol()}}{{shortAmount($value->amount)}}x{{$matrix}} = {{getCurrencySymbol()}}{{ shortAmount($value->amount * $matrix) }}
  • @endforeach
@endforeach