This commit is contained in:
Saeed Vaziry
2025-05-30 11:02:07 +02:00
parent 1b9f826bcb
commit 104cd2fce8
14 changed files with 572 additions and 266 deletions

View File

@ -23,6 +23,8 @@ public function toArray(Request $request): array
'version' => $this->version,
'unit' => $this->unit,
'status' => $this->status,
'status_color' => Service::$statusColors[$this->status] ?? 'gray',
'icon' => config('core.service_icons')[$this->name] ?? '',
'is_default' => $this->is_default,
'created_at' => $this->created_at,
'updated_at' => $this->updated_at,