feat: implement flights index and blade view for panel admin

This commit is contained in:
2026-08-20 13:31:51 +03:30
parent 8d0cd16384
commit 3e60fa13d3
5 changed files with 609 additions and 2 deletions
+10
View File
@@ -10,4 +10,14 @@ enum FlightStatus:int
case CANCELLED = 2;
case DRAFT = 3;
case DELAYED = 4;
public function label(): string
{
return match($this) {
self::AVAILABLE => 'در دسترس',
self::FULL => 'تکمیل ظرفیت',
self::CANCELLED => 'کنسل شده',
self::DRAFT => 'در انتظار',
self::DELAYED => 'با تاخیر',
};
}
}