Added VMware for server virt type

Added VMware for server virt type
This commit is contained in:
cp6 2022-05-14 23:39:31 +10:00
parent 571c1c2d28
commit da34256194
3 changed files with 6 additions and 0 deletions

View File

@ -27,6 +27,8 @@ class Server extends Model
return "DEDI";
} elseif ($type === 4) {
return "LXC";
} elseif ($type === 6) {
return "VMware";
} else {
return "SEMI-DEDI";
}

View File

@ -93,6 +93,7 @@
<option value="3">DEDI</option>
<option value="4">LXC</option>
<option value="5">SEMI-DEDI</option>
<option value="6">VMware</option>
</select></div>
</div>
<div class="col-12 col-lg-3 mb-4">

View File

@ -78,6 +78,9 @@
<option value="5" {{ ($server[0]->server_type === 5) ? 'selected' : '' }}>
SEMI-DEDI
</option>
<option value="6" {{ ($server[0]->server_type === 6) ? 'selected' : '' }}>
VMware
</option>
</select></div>
</div>
<div class="col-12 col-lg-3 mb-4">