Merge pull request #3368 from marcosgdf/bug-3211
FIX [ bug #3211 ] Error about sold to pay (Montant encours)
This commit is contained in:
commit
af2d63d7e5
@ -19,6 +19,7 @@ FIX [ bug #3198 ] Trigger LINECONTRACT_INSERT passes Contrat as $object instead
|
|||||||
FIX: Not showing delivery date on rouget pdf
|
FIX: Not showing delivery date on rouget pdf
|
||||||
FIX: Not showing task extrafields when creating from left menu
|
FIX: Not showing task extrafields when creating from left menu
|
||||||
FIX [ bug #3288 ] Tasks box is not properly drawn
|
FIX [ bug #3288 ] Tasks box is not properly drawn
|
||||||
|
FIX [ bug #3211 ] Outstading bill amount of a client showed wrong amounts
|
||||||
|
|
||||||
NEW: Created new ContratLigne::insert function
|
NEW: Created new ContratLigne::insert function
|
||||||
|
|
||||||
|
|||||||
@ -3162,6 +3162,7 @@ class Societe extends CommonObject
|
|||||||
$sql .= " AND fk_statut <> 0"; // Not a draft
|
$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 OR close_code <> 'abandon')"; // Not abandonned for undefined reason
|
||||||
$sql .= " AND fk_statut <> 3"; // Not abandonned
|
$sql .= " AND fk_statut <> 3"; // Not abandonned
|
||||||
|
$sql .= " AND fk_statut <> 2"; // Not clasified as paid
|
||||||
|
|
||||||
dol_syslog("get_OutstandingBill", LOG_DEBUG);
|
dol_syslog("get_OutstandingBill", LOG_DEBUG);
|
||||||
$resql=$this->db->query($sql);
|
$resql=$this->db->query($sql);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user