{{ $item->exists ? __($translatePrefix . '.show.title', ['name' => $item->extension]) : __($translatePrefix . '.create.title') }}

{{ __($translatePrefix . '.create.subheading') }}

@if ($errors->any()) @endif
@include('admin/shared/input', ['name' => 'extension', 'label' => __($translatePrefix . '.extension'), 'value' => old('extension', $item->extension), 'placeholder' => '.com'])
@include('admin/shared/status-select', ['name' => 'status', 'label' => __('global.status'), 'value' => old('status', $item->status)])
@include('admin/shared/select', ['name' => 'server_id', 'label' => __($translatePrefix . '.server'), 'options' => $servers, 'value' => old('server_id', $item->server_id), 'nullable' => true])
@include('admin/shared/checkbox', ['name' => 'dns_management', 'label' => __('provisioning.domain_manager.dns'), 'checked' => old('dns_management', $item->dns_management)]) @include('admin/shared/checkbox', ['name' => 'whois_privacy', 'label' => __('provisioning.domain_manager.whois_privacy'), 'checked' => old('whois_privacy', $item->whois_privacy)]) @include('admin.provisioning.domain-tlds.partials.defaults')

{{ __($translatePrefix . '.prices') }}

@foreach($recurrings as $recurring) @endforeach @foreach($actions as $action => $actionLabel) @foreach($recurrings as $billing => $recurring) @php($current = $item->exists ? $item->prices->where('currency', $defaultCurrency)->where('action', $action)->where('billing', $billing)->first() : null) @endforeach @foreach($recurrings as $billing => $recurring) @php($current = $item->exists ? $item->prices->where('currency', $defaultCurrency)->where('action', $action)->where('billing', $billing)->first() : null) @endforeach @endforeach
{{ __('admin.products.tariff') }} {{ $recurring['translate'] }}
{{ $actionLabel }} - {{ __('store.price') }} @include('admin/shared/input', [ 'name' => "prices[$defaultCurrency][$action][$billing][price]", 'type' => 'number', 'step' => '0.01', 'min' => 0, 'value' => old("prices.$defaultCurrency.$action.$billing.price", $current?->price), ])
{{ $actionLabel }} - {{ __('store.fees') }} @include('admin/shared/input', [ 'name' => "prices[$defaultCurrency][$action][$billing][setup]", 'type' => 'number', 'step' => '0.01', 'min' => 0, 'value' => old("prices.$defaultCurrency.$action.$billing.setup", $current?->setup), ])