@section("title", "{$server_data->hostname} edit") Edit {{ $server_data->hostname }}

Server information

{{ route('servers.index') }} Back to servers
@csrf @method('PUT')
Hostname
@error('name') {{ $message }} @enderror
Server type
{{$server_data->os_id}}
NS1 ns1 255 {{ $server_data->ns1 }}
NS2 ns2 255 {{ $server_data->ns2 }}
SSH ssh_port 22 999999 1 {{ $server_data->ssh }}
Bandwidth GB bandwidth 1000 99999 1 {{ $server_data->bandwidth }}
Promo price was_promo {{ $server_data->was_promo }}
{{$server_data->provider_id}}
Price price {{$server_data->price->price}} 9999 0.01
{{$server_data->price->term}}
{{$server_data->price->currency}}

Note adding a YABs output will overwrite Ram, disk and CPU.

CPU cpu {{$server_data->cpu}} 64 1
Ram ram {{$server_data->ram}} 100000
Ram type ram_type {{$server_data->ram_type}}
Disk disk {{$server_data->disk}} 99999 0.1
Disk type disk_type {{$server_data->disk_type}}
{{$server_data->location_id}}
Owned since owned_since {{$server_data->owned_since }}
Next due date next_due_date @if(isset($server_data->price->next_due_date)) {{$server_data->price->next_due_date}} @else {{\Carbon\Carbon::now()->addMonth(1)->format('Y-m-d')}} @endif
label label1 @if(isset($server_data->labels[0]->label->id)) {{$server_data->labels[0]->label->id}} @endif
label label2 @if(isset($server_data->labels[1]->label->id)) {{$server_data->labels[1]->label->id}} @endif
label label3 @if(isset($server_data->labels[2]->label->id)) {{$server_data->labels[2]->label->id}} @endif
label label4 @if(isset($server_data->labels[3]->label->id)) {{$server_data->labels[3]->label->id}} @endif
@foreach($server_data->ips as $ip)
IP ip{{{$loop->iteration}}} 255 {{ $ip['address'] }}
@endforeach
Update server