bug fix in accounting search

This commit is contained in:
Hesabix 2025-07-24 21:58:50 +00:00
parent bf6ca0f8b6
commit 3c2bef6685

View file

@ -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();
}