@php $tradingSettings = (array) data_get($cms, 'trading', []); $accountPlans = array_values((array) data_get($tradingSettings, 'plans', [])); $accountFeatures = \App\Support\TradingAccountPlanCatalog::features(); $planIcons = \App\Support\TradingAccountPlanCatalog::icons(); @endphp

Trading Account Plans

Create up to {{ \App\Support\TradingAccountPlanCatalog::MAX_PLANS }} public account cards. Each card has one icon, a plan name, a minimum deposit and a predefined benefit checklist with per-plan values.
Maximum {{ \App\Support\TradingAccountPlanCatalog::MAX_PLANS }} plans
@csrf
Plans
Set each benefit to Active or Inactive, then use Show on website to display or hide it for that plan. Values and benefit levels remain editable where available.
@can('cms_settings_update')@endcan
@foreach($accountPlans as $index => $plan) @include('admin.cms_settings.tabs.trading_plan_item', [ 'index' => $index, 'plan' => $plan, 'accountFeatures' => $accountFeatures, 'planIcons' => $planIcons, ]) @endforeach
No plans are configured. Add a plan to start.
@can('cms_settings_update')
@endcan