@extends('central.super.layout') @section('title', __('super.plans.edit_title')) @section('content')
@csrf @method('PUT')
{{-- Left column --}}
{{-- Plan details --}}

{{ __('super.plans.plan_details') }}

{{ $currencySymbol }}

{{ __('super.plans.monthly_price_hint') }}

{{ $currencySymbol }}

{{ __('super.plans.yearly_price_hint') }}

{{ __('super.plans.inactive_hint') }}

Private plans are hidden from the landing page, registration form, and tenant billing page. Only a super admin can assign them to tenants.

{{ __('super.plans.free_trial_hint') }}

{{-- Usage limits --}}

{{ __('super.plans.usage_limits') }}

{{ __('super.plans.limits_hint') }}
@foreach($availableLimits as $key => $meta) @php $currentVal = old('limits.' . $key, $plan->getLimit($key)); @endphp
@endforeach
{{-- Features --}}

{{ __('super.plans.features') }}

{{ __('super.plans.features_toggle') }}
@php $currentFeatures = old('features', $plan->features ?? []); @endphp
@foreach($availableFeatures as $key => $meta) @endforeach
{{ __('super.common.cancel') }}
{{-- Right column --}}
{{-- Plan summary --}}
{{-- Danger zone (outside form) --}}

{{ __('super.plans.danger_zone') }}

{{ __('super.plans.delete_plan') }}

{{ __('super.plans.delete_warning') }}

@csrf @method('DELETE')
@push('scripts') @endpush @endsection