From 7e6cdfb5ec178f7495370f3afe16be2e6b447110 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Fri, 12 Oct 2018 09:34:54 +0200 Subject: [PATCH] Standardize and update code --- htdocs/projet/class/task.class.php | 17 +++++++++++++++++ htdocs/resource/class/dolresource.class.php | 5 +++++ htdocs/societe/class/societe.class.php | 13 +++++++++++++ htdocs/societe/class/societeaccount.class.php | 9 +++++++++ 4 files changed, 44 insertions(+) diff --git a/htdocs/projet/class/task.class.php b/htdocs/projet/class/task.class.php index a3fd5fb1703..84829bf85cb 100644 --- a/htdocs/projet/class/task.class.php +++ b/htdocs/projet/class/task.class.php @@ -49,6 +49,9 @@ class Task extends CommonObject public $picto = 'task'; protected $childtables=array('projet_task_time'); // To test if we can delete object + /** + * @var int ID parent task + */ public $fk_task_parent; /** @@ -67,10 +70,24 @@ class Task extends CommonObject public $date_start; public $date_end; public $progress; + + /** + * @var int ID + */ public $fk_statut; + public $priority; + + /** + * @var int ID + */ public $fk_user_creat; + + /** + * @var int ID + */ public $fk_user_valid; + public $rang; public $timespent_min_date; diff --git a/htdocs/resource/class/dolresource.class.php b/htdocs/resource/class/dolresource.class.php index 1c04a5633ec..c6e25c4d837 100644 --- a/htdocs/resource/class/dolresource.class.php +++ b/htdocs/resource/class/dolresource.class.php @@ -47,7 +47,12 @@ class Dolresource extends CommonObject public $element_type; public $busy; public $mandatory; + + /** + * @var int ID + */ public $fk_user_create; + public $type_label; public $tms=''; diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index dbc51c93816..6343fcf0e91 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -281,7 +281,12 @@ class Societe extends CommonObject public $remise_supplier_percent; public $mode_reglement_supplier_id; public $cond_reglement_supplier_id; + + /** + * @var int ID + */ public $fk_prospectlevel; + public $name_bis; //Log data @@ -449,12 +454,20 @@ class Societe extends CommonObject public $array_options; // Incoterms + /** + * @var int ID + */ public $fk_incoterms; + public $location_incoterms; public $libelle_incoterms; //Used into tooltip // Multicurrency + /** + * @var int ID + */ public $fk_multicurrency; + public $multicurrency_code; diff --git a/htdocs/societe/class/societeaccount.class.php b/htdocs/societe/class/societeaccount.class.php index bcb09675c3d..12a664f2686 100644 --- a/htdocs/societe/class/societeaccount.class.php +++ b/htdocs/societe/class/societeaccount.class.php @@ -127,8 +127,17 @@ class SocieteAccount extends CommonObject public $note_private; public $date_creation; public $tms; + + /** + * @var int ID + */ public $fk_user_creat; + + /** + * @var int ID + */ public $fk_user_modif; + public $import_key; /**