fix: user send wallet to card issues

This commit is contained in:
Djery-Tom 2023-09-26 13:40:14 +01:00
parent bc1a2f2972
commit eeb1db5aec
1 changed files with 1 additions and 1 deletions

View File

@ -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);