create controller and rote and form request for harim office

This commit is contained in:
2025-08-02 15:59:24 +03:30
parent 163f2d9038
commit 1e352e01c3
8 changed files with 195 additions and 11 deletions

25
app/Enums/HarimAction.php Normal file
View File

@@ -0,0 +1,25 @@
<?php
namespace App\Enums;
enum HarimAction: int
{
case FEEDBACK = 1;
case YES = 2;
case NO = 3;
case CONFIRM = 4;
case REJECT = 5;
public static function name(int $state): string
{
$mapArray = [
1 => "بازخورد",
2 => "بله",
3 => "خیر",
4 => "تائید کردن",
5 => "رد درخواست",
];
return $mapArray[$state];
}
}