NASER add type for apps list

This commit is contained in:
Montzar.ah.01
2026-04-25 12:54:33 +00:00
parent c159163601
commit cf50c3371f
3 changed files with 13 additions and 6 deletions
+8 -2
View File
@@ -25,7 +25,13 @@ class App extends Model
];
protected $TYPE = [
1=>'خانگی',
2=>'همکار'
1=>'(خانگی)',
2=>'(همکار)'
];
public function getTypeFaAttribute(): string
{
return $this->TYPE[$this->type] ?? '';
}
}