@php /** * File : subscription-plans.blade.php ----------------------------------------------------------------------------- */ @endphp @extends('layouts.app', ['title' => ($pageTitle ?? '')]) @section('content') @include('users.partials.header', [ 'title' => __tr('Subscription Plans') . ' '. auth()->user()->name, 'description' => '', 'class' => 'col-lg-12' ])
{{-- Free Plan --}}

{{ __tr('Free Plan Configurations') }}

@php $freeFeatures = $freePlan['features']; @endphp

{{ __tr('Feature Limits') }}

@if (!__isEmpty($freeFeatures)) @foreach ($freeFeatures as $featureKey => $feature) @php $structureFeature = $freePlanStructure['features'][$featureKey]; @endphp
{{ $structureFeature['description'] }}
@endforeach @endif
@foreach ($planStructure as $planKey => $plan) @php $savedPlan = $planDetails[$planKey]; $planId = $plan['id']; $features = $plan['features']; @endphp

#{{ $planId }} {{ __tr('Plan Configurations') }}


{{ __tr('Feature Limits') }}

@if (!__isEmpty($features)) @foreach ($features as $featureKey => $feature) @php $structureFeature = $feature; $feature = $savedPlan['features'][$featureKey]; @endphp
{{ $structureFeature['description'] }}
@endforeach @endif

{{ __tr('Charges') }}

@if (!__isEmpty($plan['charges']))
@foreach ($plan['charges'] as $itemKey => $itemValue) @php $itemValue = $planDetails[$planKey]['charges'][$itemKey]; @endphp
{{ $itemKey }}
{{ getCurrencySymbol() }} {{ getCurrency() }}
@endforeach
@endif
@endforeach
@endsection