diff --git a/htdocs/compta/paiement/liste.php b/htdocs/compta/paiement/liste.php index 346be2d16b4..e103234a81b 100644 --- a/htdocs/compta/paiement/liste.php +++ b/htdocs/compta/paiement/liste.php @@ -49,7 +49,7 @@ if ($sortorder == "") if ($sortfield == "") $sortfield="p.rowid"; -$sql = "SELECT p.rowid,".$db->pdate("p.datep")." as dp, p.amount"; +$sql = "SELECT p.rowid,".$db->pdate("p.datep")." as dp, p.amount, p.statut"; $sql .=", c.libelle as paiement_type, p.num_paiement"; $sql .= " FROM ".MAIN_DB_PREFIX."paiement as p, ".MAIN_DB_PREFIX."c_paiement as c"; $sql .= " WHERE p.fk_paiement = c.id"; @@ -83,7 +83,19 @@ if ($result) print img_file(); print " ".strftime("%d %B %Y",$objp->dp)."\n"; print "