From af0bcb2631daeb10d6830097b3c8a65f901d8072 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Tue, 9 Oct 2018 09:40:00 +0200 Subject: [PATCH] Standardize code --- htdocs/adherents/class/subscription.class.php | 9 +++++++++ htdocs/asset/class/asset.class.php | 9 +++++++++ htdocs/categories/class/categorie.class.php | 3 +++ htdocs/comm/propal/class/propal.class.php | 9 +++++++++ htdocs/commande/class/commande.class.php | 12 ++++++++++++ 5 files changed, 42 insertions(+) diff --git a/htdocs/adherents/class/subscription.class.php b/htdocs/adherents/class/subscription.class.php index 1c64560cf79..562b34af2b1 100644 --- a/htdocs/adherents/class/subscription.class.php +++ b/htdocs/adherents/class/subscription.class.php @@ -51,8 +51,17 @@ class Subscription extends CommonObject public $datem; // Date modification public $dateh; // Subscription start date (date subscription) public $datef; // Subscription end date + + /** + * @var int ID + */ public $fk_adherent; + public $amount; + + /** + * @var int ID + */ public $fk_bank; diff --git a/htdocs/asset/class/asset.class.php b/htdocs/asset/class/asset.class.php index 3f35c063fe9..8eeacdc1964 100644 --- a/htdocs/asset/class/asset.class.php +++ b/htdocs/asset/class/asset.class.php @@ -132,8 +132,17 @@ class Asset 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; /** diff --git a/htdocs/categories/class/categorie.class.php b/htdocs/categories/class/categorie.class.php index 8f09710854f..15cb254ed7d 100644 --- a/htdocs/categories/class/categorie.class.php +++ b/htdocs/categories/class/categorie.class.php @@ -161,6 +161,9 @@ class Categorie extends CommonObject */ public $table_element='categorie'; + /** + * @var int ID + */ public $fk_parent; /** diff --git a/htdocs/comm/propal/class/propal.class.php b/htdocs/comm/propal/class/propal.class.php index 263a425ff01..ff8b7c3c6ce 100644 --- a/htdocs/comm/propal/class/propal.class.php +++ b/htdocs/comm/propal/class/propal.class.php @@ -168,7 +168,12 @@ class Propal extends CommonObject public $remise = 0; public $remise_percent = 0; public $remise_absolue = 0; + + /** + * @var int ID + */ public $fk_address; + public $address_type; public $address; public $availability_id; @@ -191,7 +196,11 @@ class Propal extends CommonObject public $specimen; // Multicurrency + /** + * @var int ID + */ public $fk_multicurrency; + public $multicurrency_code; public $multicurrency_tx; public $multicurrency_total_ht; diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php index 39b0f0db2ee..c588830d83d 100644 --- a/htdocs/commande/class/commande.class.php +++ b/htdocs/commande/class/commande.class.php @@ -111,6 +111,9 @@ class Commande extends CommonOrder public $brouillon; public $cond_reglement_code; + /** + * @var int ID + */ public $fk_account; /** @@ -160,7 +163,12 @@ class Commande extends CommonOrder public $date_commande; public $date_livraison; // Date expected of shipment (date starting shipment, not the reception that occurs some days after) + + /** + * @var int ID + */ public $fk_remise_except; + public $remise_percent; public $remise_absolue; public $info_bits; @@ -180,7 +188,11 @@ class Commande extends CommonOrder public $lines = array(); // Multicurrency + /** + * @var int ID + */ public $fk_multicurrency; + public $multicurrency_code; public $multicurrency_tx; public $multicurrency_total_ht;