@extends('admin.layouts.main') @section('title', $extension->exists ? 'Edit TLD Extension' : 'Create TLD Extension') @section('menu', 'TLD Extensions') @section('content')
@csrf @if($extension->exists) @method('PUT') @endif
TLD Details
@if ($errors->has('tld')){{ $errors->first('tld') }}@endif
@if ($errors->has('min_years')){{ $errors->first('min_years') }}@endif
@if ($errors->has('max_years')){{ $errors->first('max_years') }}@endif
Pricing
@foreach($currencies as $currency)
{{ $currency->name }} ({{ $currency->code }})
@for($years = 1; $years <= 10; $years++) @php $existing = $extension->exists ? $extension->pricing->where('currency_code', $currency->code)->where('years', $years)->first() : null; @endphp @endfor
YearsRegister PriceRenewal PriceTransfer PriceCost RegisterCost RenewalCost Transfer
{{ $years }}
@endforeach
Options
is_transfer_supported ?? true) ? 'checked' : '' }}>
requires_epp_code ?? true) ? 'checked' : '' }}>
id_protection_available) ? 'checked' : '' }}>
dns_management) ? 'checked' : '' }}>
is_active ?? true) ? 'checked' : '' }}>
Publish
@endsection