bug fix in remove transfer document

This commit is contained in:
Hesabix 2025-01-12 07:16:42 +00:00
parent 592c938dfe
commit ff25eb7022

View file

@ -592,6 +592,8 @@ class HesabdariController extends AbstractController
$roll = 'sell';
elseif ($doc->getType() == 'buy_send')
$roll = 'buy';
elseif ($params['type'] == 'transfer')
$roll = 'bankTransfer';
else
$roll = $doc->getType();
$acc = $access->hasRole($roll);