NASER add type for apps list
This commit is contained in:
+8
-2
@@ -25,7 +25,13 @@ class App extends Model
|
||||
];
|
||||
|
||||
protected $TYPE = [
|
||||
1=>'خانگی',
|
||||
2=>'همکار'
|
||||
1=>'(خانگی)',
|
||||
2=>'(همکار)'
|
||||
];
|
||||
|
||||
public function getTypeFaAttribute(): string
|
||||
{
|
||||
return $this->TYPE[$this->type] ?? '';
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user