add pending to status
This commit is contained in:
@@ -6,12 +6,14 @@ enum SafetyAndPrivacyStatus: int
|
||||
{
|
||||
case CONFIRM = 1;
|
||||
case REJECT = 2;
|
||||
case PENDING = 3;
|
||||
|
||||
public static function name(int $state): string
|
||||
{
|
||||
$mapArray = [
|
||||
1 => 'تایید',
|
||||
2 => 'عدم تایید',
|
||||
3 => 'در حال بررسی'
|
||||
];
|
||||
|
||||
return $mapArray[$state];
|
||||
|
||||
Reference in New Issue
Block a user