update fix deadcode, security

This commit is contained in:
baodev0
2026-09-28 08:26:29 +07:00
parent 3af59bd9c5
commit 82080b5b84
452 changed files with 4857 additions and 26289 deletions
-9
View File
@@ -86,15 +86,6 @@ class ModuleVmware extends Model
return $this->belongsTo(\App\Models\Service::class, 'service_id');
}
public function getStatus()
{
return match ($this->status) {
1 => '<span class="badge bg-success">Active</span>',
2 => '<span class="badge bg-secondary">Cancel</span>',
default => '<span class="badge bg-danger">Pending</span>',
};
}
/**
* `virtual_machine_id`/`cpu`/`ram_mb` are only written when a service is
* created directly against a known vCenter inventory row (admin "create