@extends('layouts.app') @section('title', $addon->exists ? __('Edit add-on') : __('New add-on')) @section('content') @php $quotas = config('subscriptions.quotas', []); $features = config('subscriptions.features', []); @endphp
@csrf @if($addon->exists) @method('PUT') @endif

{{ $addon->exists ? __('Edit add-on') : __('New add-on') }}

{{ __('Back') }}
@if($errors->any())
@endif @if(session('status'))
{{ session('status') }}
@endif {{-- Identity --}}

{{ __('Identity') }}

@foreach($locales as $loc) @endforeach
@foreach($locales as $loc) @endforeach
{{-- Pricing --}}

{{ __('Pricing') }}

{{-- Quota grants --}}

{{ __('Quota grants') }}

{{ __('Each unit (quantity) of this add-on adds these quotas to the tenant subscription.') }}

@foreach($quotas as $key => $meta) @endforeach
{{-- Feature grants --}}

{{ __('Feature grants') }}

{{ __('Boolean features unlocked when this add-on is attached.') }}

@foreach($features as $key => $label) @endforeach
{{ __('Cancel') }}
@endsection