From 34026cfcfb7f7160344c4a79191cf5d99c49b7ec Mon Sep 17 00:00:00 2001 From: Babak Alizadeh Date: Sun, 12 Jan 2025 07:24:40 +0000 Subject: [PATCH] more bug fix again in transfer --- 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 1fa7244..29097f4 100644 --- a/hesabixCore/src/Controller/HesabdariController.php +++ b/hesabixCore/src/Controller/HesabdariController.php @@ -490,7 +490,7 @@ class HesabdariController extends AbstractController $roll = 'sell'; elseif ($doc->getType() == 'buy_send') $roll = 'buy'; - elseif ($params['type'] == 'transfer') + elseif ($doc->getType() == 'transfer') $roll = 'bankTransfer'; else $roll = $doc->getType();