feat(tour): implement tour details page with comments system and dynamic sidebar

This commit is contained in:
2026-08-18 16:14:14 +03:30
parent 83cca25dd8
commit c3d6bed0f1
8 changed files with 236 additions and 12 deletions
+19
View File
@@ -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 => 'رد شده',
};
}
}