.
@error('domain_name') {{ $message }} @enderror @error('tld_id') {{ $message }} @enderror
@include('adminlte::widget.form_date',[ 'label'=>'Expiry', 'id'=>'expire_at', 'old'=>'host.expire_at', 'name'=>'host[expire_at]', 'value'=>$o->expire_at ? $o->expire_at->format('Y-m-d') : ($o->connect_at ? $o->connect_at->addMonths($o->contract_term)->format('Y-m-d') : ''), ])

Hosting Details

@include('adminlte::widget.form_select',[ 'label'=>'Hosting Server', 'icon'=>'fas fa-handshake', 'id'=>'supplier_host_server_id', 'old'=>'host.supplier_host_server_id', 'name'=>'host[supplier_host_server_id]', 'options'=>\App\Models\SupplierHostServer::active()->orderBy('name')->get()->transform(function($item) { return ['id'=>$item->id,'value'=>$item->name]; }), 'value'=>$o->supplier_host_server_id ?? '', ])
@include('adminlte::widget.form_text',[ 'label'=>'Admin User', 'icon'=>'fas fa-user', 'id'=>'host_username', 'old'=>'host.host_username', 'name'=>'host[host_username]', 'value'=>$o->host_username ?? '', ])
@include('adminlte::widget.form_text',[ 'label'=>'Admin Password', 'icon'=>'fas fa-lock', 'id'=>'host_password', 'old'=>'host.host_password', 'name'=>'host[host_password]', 'value'=>$o->host_password ?? '', ])
@section('page-scripts') @css(select2) @js(select2,autofocus) @append