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
-7
View File
@@ -52,13 +52,6 @@ class Os extends Model
{
return $this->belongsTo(\App\Models\ModuleFolder::class, 'folder_id');
}
public function getStatus()
{
return match ($this->attributes['status']){
1 => '<span class="badge bg-success">Active</span>',
default => '<span class="badge bg-danger">De-Active</span>'
};
}
/**
* Many-to-many relationship với Products (new table: os_product)
*/