From 62c602e8216e1856298db6c0071463d0ef8ee083 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Wed, 10 Oct 2018 08:50:23 +0200 Subject: [PATCH] Standardize and update code --- htdocs/contrat/class/contrat.class.php | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/htdocs/contrat/class/contrat.class.php b/htdocs/contrat/class/contrat.class.php index 2bcb802000f..398da806c2d 100644 --- a/htdocs/contrat/class/contrat.class.php +++ b/htdocs/contrat/class/contrat.class.php @@ -2519,8 +2519,16 @@ class ContratLigne extends CommonObjectLine public $tms; + /** + * @var int ID + */ public $fk_contrat; + + /** + * @var int ID + */ public $fk_product; + public $statut; // 0 inactive, 4 active, 5 closed public $type; // 0 for product, 1 for service @@ -2563,6 +2571,10 @@ class ContratLigne extends CommonObjectLine public $qty; public $remise_percent; public $remise; + + /** + * @var int ID + */ public $fk_remise_except; public $subprice; // Unit price HT @@ -2582,13 +2594,30 @@ class ContratLigne extends CommonObjectLine public $total_localtax2; public $total_ttc; + /** + * @var int ID + */ public $fk_fournprice; + public $pa_ht; public $info_bits; + + /** + * @var int ID + */ public $fk_user_author; + + /** + * @var int ID + */ public $fk_user_ouverture; + + /** + * @var int ID + */ public $fk_user_cloture; + public $commentaire; const STATUS_INITIAL = 0;