bug fix in accounting search
This commit is contained in:
parent
bf6ca0f8b6
commit
3c2bef6685
|
@ -188,7 +188,7 @@ class HesabdariController extends AbstractController
|
||||||
HesabdariTableRepository $hesabdariTableRepository,
|
HesabdariTableRepository $hesabdariTableRepository,
|
||||||
Jdate $jdate
|
Jdate $jdate
|
||||||
): JsonResponse {
|
): JsonResponse {
|
||||||
$acc = $access->hasRole('acc');
|
$acc = $access->hasRole('accounting');
|
||||||
if (!$acc) {
|
if (!$acc) {
|
||||||
throw $this->createAccessDeniedException();
|
throw $this->createAccessDeniedException();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue