fix: user send wallet to card issues
This commit is contained in:
parent
bc1a2f2972
commit
eeb1db5aec
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue