From 3c2bef6685c65de5892ce05bf09af3f0a8c4af3d Mon Sep 17 00:00:00 2001 From: Babak Alizadeh Date: Thu, 24 Jul 2025 21:58:50 +0000 Subject: [PATCH] bug fix in accounting search --- hesabixCore/src/Controller/HesabdariController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hesabixCore/src/Controller/HesabdariController.php b/hesabixCore/src/Controller/HesabdariController.php index d62e910..68d9be1 100644 --- a/hesabixCore/src/Controller/HesabdariController.php +++ b/hesabixCore/src/Controller/HesabdariController.php @@ -188,7 +188,7 @@ class HesabdariController extends AbstractController HesabdariTableRepository $hesabdariTableRepository, Jdate $jdate ): JsonResponse { - $acc = $access->hasRole('acc'); + $acc = $access->hasRole('accounting'); if (!$acc) { throw $this->createAccessDeniedException(); }