bug fix in accounting search
This commit is contained in:
parent
bf6ca0f8b6
commit
3c2bef6685
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue