+ Fix bug v2

This commit is contained in:
Djery-Tom 2020-07-10 13:07:27 +01:00
parent 2ea9b5b838
commit 4d17526c57
1 changed files with 1 additions and 1 deletions

View File

@ -905,7 +905,7 @@ class iLinkTransactionController extends Controller
$wallet_user = WalletsUser::where('idUser',$user->id)->firstOrFail();
$transactions = DB::select('SELECT id_wallet_user , operation , id_transaction ,network_destinataire, init_country , final_country, date , id , montant , frais , taxe , pays_init , pays_final,
destinataire_phone , destinataire_name , nom_destinataire, prenom_destinataire, montant_net ,montant_net_final_country FROM infos_ilink_transaction WHERE id_wallet_user = :id_wallet
destinataire_phone , destinataire_name , nom_destinataire, prenom_destinataire, montant_net ,montant_net_final_country FROM infos_ilink_transaction WHERE id_wallet_user = :id_wallet AND type <> 12
ORDER BY date DESC LIMIT 10;', ['id_wallet' => $wallet_user->id]);
foreach ($transactions as $data){