+ Fix bug v3

This commit is contained in:
Djery-Tom 2020-07-10 13:18:04 +01:00
parent 4d17526c57
commit e1e74dc197
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 AND type <> 12
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 AND type <> 14
ORDER BY date DESC LIMIT 10;', ['id_wallet' => $wallet_user->id]);
foreach ($transactions as $data){