From e3940a4ad42d01408bb8ec0612d8d76327735c28 Mon Sep 17 00:00:00 2001 From: Djery-Tom Date: Wed, 9 Aug 2023 14:13:44 +0100 Subject: [PATCH] fix: commission calculate while type 21 --- app/Http/Controllers/iLinkTransactionController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/iLinkTransactionController.php b/app/Http/Controllers/iLinkTransactionController.php index a596e7c..72983bb 100755 --- a/app/Http/Controllers/iLinkTransactionController.php +++ b/app/Http/Controllers/iLinkTransactionController.php @@ -2200,7 +2200,7 @@ class iLinkTransactionController extends Controller }else{ $init_country = $walletUser->user->network->country->id; - if($request->id == 21){ + if($request->type == 21){ $withLinkedCard = $request->input('with_linked_card', false); if ($withLinkedCard) { $init_country = $walletUser->user->card_country_id;