From 5be634cbd46f1d73a3f6523425bd59f16c45d96a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 9 Nov 2020 11:34:58 +0100 Subject: [PATCH] Clean code --- htdocs/commande/class/commande.class.php | 1 - htdocs/core/class/commonobjectline.class.php | 2 +- htdocs/core/class/commonorder.class.php | 6 ++++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php index 6133d067f52..3364dcb8a1f 100644 --- a/htdocs/commande/class/commande.class.php +++ b/htdocs/commande/class/commande.class.php @@ -4012,7 +4012,6 @@ class OrderLine extends CommonOrderLine */ public $commande_id; - // From llx_commandedet public $fk_parent_line; public $fk_facture; diff --git a/htdocs/core/class/commonobjectline.class.php b/htdocs/core/class/commonobjectline.class.php index c7e95aa1fbc..0d4cfbe4f34 100644 --- a/htdocs/core/class/commonobjectline.class.php +++ b/htdocs/core/class/commonobjectline.class.php @@ -19,7 +19,7 @@ /** * \file htdocs/core/class/commonobjectline.class.php * \ingroup core - * \brief File of the superclass of classes of lines of business objects (invoice, contract, PROPAL, commands, etc. ...) + * \brief File of the superclass of classes of lines of business objects (invoice, contract, proposal, orders, etc. ...) */ diff --git a/htdocs/core/class/commonorder.class.php b/htdocs/core/class/commonorder.class.php index e7c40d60bfd..bdcd0d3cf12 100644 --- a/htdocs/core/class/commonorder.class.php +++ b/htdocs/core/class/commonorder.class.php @@ -121,6 +121,12 @@ abstract class CommonOrderLine extends CommonObjectLine */ public $remise_percent; + /** + * VAT code + * @var string + */ + public $vat_src_code; + /** * VAT % * @var float