From eeb1db5aec92229c6628042a7231c273a7ef169c Mon Sep 17 00:00:00 2001 From: Djery-Tom Date: Tue, 26 Sep 2023 13:40:14 +0100 Subject: [PATCH] fix: user send wallet to card issues --- 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 12e470e..718021d 100755 --- a/app/Http/Controllers/iLinkTransactionController.php +++ b/app/Http/Controllers/iLinkTransactionController.php @@ -414,7 +414,7 @@ class iLinkTransactionController extends Controller $transaction->taxe = $taxe; $transaction->frais = $frais; $transaction->montant_net = $montantDepot = $transaction->montant - $frais - $taxe; - $transaction->montant_net_final_country = $this->toMoneyAmount($montantDepot, $init_country, $request->final_country); + $transaction->montant_net_final_country = $this->toMoneyAmount($montantDepot, $init_country, $final_country); $identification = Identification::with(['country'])->where('id_user', $user->id)->first(); $countryCurrency = CountriesCurrency::findOrFail($final_country);