From ebb69e9d6e4556187381646998faf32b2bbb5ff4 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Fri, 4 Sep 2020 19:38:49 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/commande/class/commande.class.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php index 74338d7bddc..73dd2cee9fb 100644 --- a/htdocs/commande/class/commande.class.php +++ b/htdocs/commande/class/commande.class.php @@ -1003,7 +1003,7 @@ class Commande extends CommonOrder $originid = $line->id; $origintype = $this->element; } - + // ref_ext if (empty($line->ref_ext)) { $line->ref_ext = ''; @@ -1221,7 +1221,7 @@ class Commande extends CommonOrder $this->date_creation = ''; $this->date_validation = ''; if (empty($conf->global->MAIN_KEEP_REF_CUSTOMER_ON_CLONING)) $this->ref_client = ''; - + // Do not clone ref_ext $num = count($this->lines); for ($i = 0; $i < $num; $i++) @@ -1461,7 +1461,7 @@ class Commande extends CommonOrder include_once DOL_DOCUMENT_ROOT.'/core/lib/price.lib.php'; // Clean parameters - + if (empty($remise_percent)) $remise_percent = 0; if (empty($qty)) $qty = 0; if (empty($info_bits)) $info_bits = 0; @@ -3991,7 +3991,7 @@ class OrderLine extends CommonOrderLine * @var string Order lines label */ public $label; - + public $ref_ext; public $fk_remise_except;