This commit is contained in:
2025-11-26 09:46:17 +03:30
parent d47b23f368
commit 6a8d27b2c3
12 changed files with 102 additions and 18 deletions

View File

@@ -12,6 +12,7 @@ use App\Http\Traits\ApiResponse;
use App\Models\Harim;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Throwable;
class ProvinceOfficeController extends Controller
{
@@ -31,9 +32,11 @@ class ProvinceOfficeController extends Controller
);
return response()->json($data);
}
/**
* @throws Throwable
*/
public function feedback(FeedBackRequest $request, Harim $harim): JsonResponse
{
$harim->updateStateWithHistory(