X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=modules%2Fpayment.php;h=4fa064197d51f3fe55267edcd1230be997276b27;hb=4dcee20be6bd4ca928c54a6ae580f832b287777e;hp=1776cc4b0954c29090ec6aef6bb3b2fb1276e3b2;hpb=73317355964c4cd538157f8b281a1384b7e38e4d;p=platal.git diff --git a/modules/payment.php b/modules/payment.php index 1776cc4..4fa0641 100644 --- a/modules/payment.php +++ b/modules/payment.php @@ -934,7 +934,7 @@ class PaymentModule extends PLModule FROM payment_transactions AS t LEFT JOIN payments AS p ON (t.ref = p.id) LEFT JOIN groups AS g ON (p.asso_id = g.id) - WHERE t.recon_id IN {?} + WHERE t.recon_id IN {?} AND t.status = "confirmed" GROUP BY t.ref', $recongp_id, $recon_ids);