fix: transaction amount while doing withdraw user to wallet

This commit is contained in:
Djery-Tom 2023-10-11 13:50:16 +01:00
parent c4ab2831a0
commit e5ccbaf6c0
1 changed files with 1 additions and 1 deletions

View File

@ -2005,7 +2005,7 @@ class iLinkTransactionController extends Controller
$transaction->date = $this->getCurrentTime($init_country);
$transaction->save();
$message = trans('messages.successful_user_remove_from_cart_to_other_wallet',
['id_transaction' => $transaction->id_transaction, 'amount' => $this->toMoney($transaction->montant, $init_country),
['id_transaction' => $transaction->id_transaction, 'amount' => $this->toMoney($transaction->montant, $init_country),'net_final' => $this->toMoney($transaction->montant_net_final_country, $request->final_country),
'total' => $this->toMoney($montantRetrait, $init_country), 'fees' => $this->toMoney($frais, $init_country),'init_country' => $this->getCountryName($init_country), 'final_country' => $this->getCountryName($request->final_country),
'sender_code' => $transaction->id_destinataire, 'cart_number' => wordwrap($transaction->numero_carte, 4, ' ', true)]);
$this->sendMail($user->email, trans('messages.successful_transaction'), $message);