From 12f1bec8c8ac8be043a2eca6bafa2bc86901ff99 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 7 Apr 2005 23:50:33 +0000 Subject: [PATCH] Qual: Ajout d'un commentaire pour signaler qu'il y a un bug. je corrigerais plus tard. --- htdocs/compta/stats/index.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/compta/stats/index.php b/htdocs/compta/stats/index.php index 5a9f6441747..827c0b4fc22 100644 --- a/htdocs/compta/stats/index.php +++ b/htdocs/compta/stats/index.php @@ -238,6 +238,7 @@ print "\n"; if ($modecompta != 'CREANCES-DETTES') { // Factures non réglées + // \todo Ya bug ici. Il faut prendre le reste à payer et non le total des factures non réglèes ! $sql = "SELECT f.facnumber, f.rowid, s.nom, s.idp, f.total_ttc, sum(pf.amount) as am"; $sql .= " FROM ".MAIN_DB_PREFIX."societe as s,".MAIN_DB_PREFIX."facture as f left join ".MAIN_DB_PREFIX."paiement_facture as pf on f.rowid=pf.fk_facture";