diff --git a/ChangeLog b/ChangeLog index e4815781cd0c7dc92bb1b8fac4d929ddb944df87..119556ecc2c59521388897b37af94e306013ae0e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,7 @@ FIX [ bug 1925 ] "Link to order" option in supplier invoices is not working prop FIX [ bug #3198 ] Trigger LINECONTRACT_INSERT passes Contrat as $object instead of ContratLigne FIX: Not showing delivery date on rouget pdf FIX: Not showing task extrafields when creating from left menu +FIX [ bug #3211 ] Outstading bill amount of a client showed wrong amounts NEW: Created new ContratLigne::insert function diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 649af79e6cc3c2da0b8f7d0a2316b8fd361f4655..0869f46c575630ffcc3f336b1c927ecaad848c3d 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -3162,6 +3162,7 @@ class Societe extends CommonObject $sql .= " AND fk_statut <> 0"; // Not a draft //$sql .= " AND (fk_statut <> 3 OR close_code <> 'abandon')"; // Not abandonned for undefined reason $sql .= " AND fk_statut <> 3"; // Not abandonned + $sql .= " AND fk_statut <> 2"; // Not clasified as paid dol_syslog("get_OutstandingBill", LOG_DEBUG); $resql=$this->db->query($sql);