feat: add flight details page and comment system for users and guests
This commit is contained in:
@@ -6,4 +6,14 @@ enum FlightTripType: int
|
||||
{
|
||||
case ONEWAY = 0;
|
||||
case ROUNDTRIP = 1;
|
||||
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match($this) {
|
||||
self::ONEWAY => 'یک طرفه',
|
||||
self::ROUNDTRIP => 'رفت و برگشت',
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user