mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-04 16:12:39 +01:00
Todo: prvoir les avoirs pour les factures fournisseurs
This commit is contained in:
@@ -177,7 +177,8 @@ if ($_REQUEST["account"] || $_REQUEST["ref"])
|
||||
$societestatic->id = $obj->socid;
|
||||
$societestatic->nom = $obj->nom;
|
||||
|
||||
if ($obj->fournisseur == 1 && $obj->total_ttc < 0 && $obj->type != 2)
|
||||
// Todo: Ajouter test pour les avoirs fournisseurs
|
||||
if ($obj->fournisseur == 1 && ($obj->total_ttc < 0 && $obj->type != 2))
|
||||
{
|
||||
$facturefournstatic->ref=$obj->facnumber;
|
||||
$facturefournstatic->id=$obj->facid;
|
||||
|
||||
Reference in New Issue
Block a user