@php $matched = $organizationSaas->where('id', @$mySubscriptionPackage->package_id)->first(); $disabledYearly = (!is_null($matched) && $mySubscriptionPackage->subscription_type == SUBSCRIPTION_TYPE_YEARLY ? true : false); $disabledMonthly = ($disabledYearly) ? true : (!is_null($matched) && $mySubscriptionPackage->subscription_type == SUBSCRIPTION_TYPE_MONTHLY ? true : false); @endphp
@php $first = 0; @endphp @foreach ($organizationSaas as $index => $saas) @if (!(get_option('saas_org_default_package_type') == 'yearly' && $saas->monthly_price <= 1))
  • {{ __('Unlimited create of ').' '. $saas->instructor. ' '.__('instructor') }}

  • {{ __('Create ').' '. $saas->student. ' '.__('student') }}

  • {{ __('Unlimited Create ').' '. $saas->course. ' '.__('Course') }}

  • {{ __("Create") .' '. $saas->bundle_course.' '.__('Bundle Course') }}

  • {{ __("Enable") .' '. $saas->subscription_course.' '.__('Subscription Course') }}

  • {{ __("Give") .' '. $saas->consultancy.' '.__('hour consultancy') }}

  • {{ __("Minimum of") .' '. $saas->admin_commission .'% '.__('sale commission')}}

@csrf
@endif @php if ($disabledMonthly && $saas->id == $matched->id) { $disabledMonthly = false; } @endphp @endforeach
@php $first = 0; @endphp @foreach ($organizationSaas as $index => $saas) @if (!(get_option('saas_org_default_package_type') == 'monthly' && $saas->yearly_price <= 1))
  • {{ __('Unlimited create of ').' '. $saas->instructor. ' '.__('instructor') }}

  • {{ __('Create ').' '. $saas->student. ' '.__('student') }}

  • {{ __('Unlimited Create ').' '. $saas->course. ' '.__('Course') }}

  • {{ __("Create") .' '. $saas->bundle_course.' '.__('Bundle Course') }}

  • {{ __("Enable") .' '. $saas->subscription_course.' '.__('Subscription Course') }}

  • {{ __("Give") .' '. $saas->consultancy.' '.__('hour consultancy') }}

  • {{ __("Minimum of") .' '. $saas->admin_commission .'% '.__('sale commission')}}

@csrf
@endif @php if ($disabledYearly && $saas->id == $matched->id) { $disabledYearly = false; } @endphp @endforeach