feat(tour): implement tour details page with comments system and dynamic sidebar
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum CommentStatus:int
|
||||
{
|
||||
case PENDING= 0;
|
||||
case CONFIRMED= 1;
|
||||
case REJECTED= 2;
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match($this) {
|
||||
self::PENDING => 'در انتظار',
|
||||
self::CONFIRMED => 'تایید شده',
|
||||
self::REJECTED => 'رد شده',
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user