From da51a2876625d33df66ae4037988dd6f1da8eb0a Mon Sep 17 00:00:00 2001 From: Maxime Kohlhaas Date: Mon, 23 Nov 2015 17:22:29 +0100 Subject: [PATCH] Fix : situation percent should be 100 by default --- htdocs/compta/facture/class/facture.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php index 6f8484cbc42..099dc9f4185 100644 --- a/htdocs/compta/facture/class/facture.class.php +++ b/htdocs/compta/facture/class/facture.class.php @@ -3897,7 +3897,7 @@ class FactureLigne extends CommonInvoiceLine if (empty($this->special_code)) $this->special_code=0; if (empty($this->fk_parent_line)) $this->fk_parent_line=0; if (empty($this->fk_prev_id)) $this->fk_prev_id = 'null'; - if (empty($this->situation_percent)) $this->situation_percent = 0; + if (empty($this->situation_percent)) $this->situation_percent = 100; if (empty($this->pa_ht)) $this->pa_ht=0;