feat(admin): improve payments and server settings
This commit is contained in:
@@ -126,9 +126,9 @@ class ServiceClientDetailResource extends JsonResource
|
||||
'dns' => $vm->dns ?? null,
|
||||
] : null,
|
||||
'hosting' => $hosting ? [
|
||||
'ip_address' => $hosting->server?->ip_address,
|
||||
'plesk_url' => $hosting->server?->ip_address
|
||||
? "http://{$hosting->server->ip_address}:{$hosting->server->panel_port}/"
|
||||
'ip_address' => $hosting->server?->publicHost(),
|
||||
'plesk_url' => $hosting->server
|
||||
? "http://{$hosting->server->publicHost()}:{$hosting->server->panel_port}/"
|
||||
: null,
|
||||
'hosting_plan' => $hosting->hosting_plan,
|
||||
'ftp_username' => $hosting->ftp_username,
|
||||
|
||||
Reference in New Issue
Block a user