From d498dce9cae76ebbfb4f1e3a6dc5ad1f098a01e4 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Thu, 21 Mar 2019 14:54:18 +0100 Subject: [PATCH 01/10] add some comments --- htdocs/bookmarks/class/bookmark.class.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/htdocs/bookmarks/class/bookmark.class.php b/htdocs/bookmarks/class/bookmark.class.php index eb1342ad119..6750180ec0e 100644 --- a/htdocs/bookmarks/class/bookmark.class.php +++ b/htdocs/bookmarks/class/bookmark.class.php @@ -1,6 +1,6 @@ - * Copyright (C) 2015 Marcos García + * Copyright (C) 2015 Marcos García * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -64,7 +64,12 @@ class Bookmark extends CommonObject */ public $fk_user; - public $datec; + /** + * Date creation record (datec) + * + * @var integer + */ + public $datec; public $url; From 86c3b1a5b0570558dc9a3b29a54631b09238e7fb Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Thu, 21 Mar 2019 14:59:21 +0100 Subject: [PATCH 02/10] add some comments --- htdocs/compta/bank/class/account.class.php | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/htdocs/compta/bank/class/account.class.php b/htdocs/compta/bank/class/account.class.php index bd0e43b8461..dbb52137c27 100644 --- a/htdocs/compta/bank/class/account.class.php +++ b/htdocs/compta/bank/class/account.class.php @@ -1693,13 +1693,27 @@ class AccountLine extends CommonObject */ public $ref; - public $datec; + /** + * Date creation record (datec) + * + * @var integer + */ + public $datec; + + /** + * Date (dateo) + * + * @var integer + */ public $dateo; /** - * Value date - */ + * Date value (datev) + * + * @var integer + */ public $datev; + public $amount; /** From cb59f52a550168182d2591e32b91563bc3bbcfdb Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Thu, 21 Mar 2019 15:01:09 +0100 Subject: [PATCH 03/10] add some comments --- .../compta/deplacement/class/deplacement.class.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/htdocs/compta/deplacement/class/deplacement.class.php b/htdocs/compta/deplacement/class/deplacement.class.php index ae1360ff633..dbe35f5fa3e 100644 --- a/htdocs/compta/deplacement/class/deplacement.class.php +++ b/htdocs/compta/deplacement/class/deplacement.class.php @@ -57,7 +57,18 @@ class Deplacement extends CommonObject */ public $ismultientitymanaged = 0; - public $datec; // Creation date + /** + * Date creation record (datec) + * + * @var integer + */ + public $datec; + + /** + * Date (dated) + * + * @var integer + */ public $dated; /** From 96893315b5acb2be7af28aaa9850bf67aafcd21c Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Thu, 21 Mar 2019 15:03:01 +0100 Subject: [PATCH 04/10] add some comments --- htdocs/core/class/comment.class.php | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/comment.class.php b/htdocs/core/class/comment.class.php index 1bf7a4eb9db..0b4fc9cc58d 100644 --- a/htdocs/core/class/comment.class.php +++ b/htdocs/core/class/comment.class.php @@ -42,10 +42,20 @@ class Comment extends CommonObject * @var string description */ public $description; - + + /** + * Date modification record (tms) + * + * @var integer + */ public $tms; - public $datec; + /** + * Date creation record (datec) + * + * @var integer + */ + public $datec; /** * @var int ID From 79884816888d91322b01a51e6319b522c463ca59 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Thu, 21 Mar 2019 15:06:14 +0100 Subject: [PATCH 05/10] add some comments --- htdocs/core/class/discount.class.php | 7 ++++++- htdocs/core/class/fiscalyear.class.php | 22 ++++++++++++++++++++-- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/htdocs/core/class/discount.class.php b/htdocs/core/class/discount.class.php index 0a681b95b18..93b51d0ddf8 100644 --- a/htdocs/core/class/discount.class.php +++ b/htdocs/core/class/discount.class.php @@ -73,7 +73,12 @@ class DiscountAbsolute */ public $description; - public $datec; // Date creation + /** + * Date creation record (datec) + * + * @var integer + */ + public $datec; /** * @var int ID invoice line when a discount is used into an invoice line (for absolute discounts) diff --git a/htdocs/core/class/fiscalyear.class.php b/htdocs/core/class/fiscalyear.class.php index 014946434be..5c6a5b4cf4d 100644 --- a/htdocs/core/class/fiscalyear.class.php +++ b/htdocs/core/class/fiscalyear.class.php @@ -63,10 +63,28 @@ class Fiscalyear extends CommonObject * @var string fiscal year label */ public $label; - + + /** + * Date start (date_start) + * + * @var integer + */ public $date_start; + + /** + * Date end (date_end) + * + * @var integer + */ public $date_end; - public $datec; + + /** + * Date creation record (datec) + * + * @var integer + */ + public $datec; + public $statut; // 0=open, 1=closed /** From c906820a51637a32a9bdce927ef5cefad2b1c0da Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Thu, 21 Mar 2019 15:08:09 +0100 Subject: [PATCH 06/10] add some comments --- htdocs/fichinter/class/fichinter.class.php | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/htdocs/fichinter/class/fichinter.class.php b/htdocs/fichinter/class/fichinter.class.php index 43cd79bfe70..2e51d97079c 100644 --- a/htdocs/fichinter/class/fichinter.class.php +++ b/htdocs/fichinter/class/fichinter.class.php @@ -5,8 +5,8 @@ * Copyright (C) 2011-2013 Juanjo Menent * Copyright (C) 2015 Marcos García * Copyright (C) 2015 Charlie Benke - * Copyright (C) 2018 Nicolas ZABOURI - * Copyright (C) 2018 Frédéric France + * Copyright (C) 2018 Nicolas ZABOURI + * Copyright (C) 2018 Frédéric France * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -69,12 +69,26 @@ class Fichinter extends CommonObject public $socid; // Id client public $author; - public $datec; + + /** + * Date creation record (datec) + * + * @var integer + */ + public $datec; + public $datev; public $dateo; public $datee; public $datet; - public $datem; + + /** + * Date modification record (tms) + * + * @var integer + */ + public $datem; + public $duration; public $statut = 0; // 0=draft, 1=validated, 2=invoiced, 3=Terminate From 6babf88968d22087f70735b2db4b6ba6e90df589 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Thu, 21 Mar 2019 15:11:28 +0100 Subject: [PATCH 07/10] add some comments --- .../fourn/class/fournisseur.facture.class.php | 35 ++++++++++++++++--- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/htdocs/fourn/class/fournisseur.facture.class.php b/htdocs/fourn/class/fournisseur.facture.class.php index 4450ee611f8..11b88b2d110 100644 --- a/htdocs/fourn/class/fournisseur.facture.class.php +++ b/htdocs/fourn/class/fournisseur.facture.class.php @@ -5,7 +5,7 @@ * Copyright (C) 2005 Marc Barilley * Copyright (C) 2005-2012 Regis Houssin * Copyright (C) 2010-2017 Juanjo Menent - * Copyright (C) 2013-2018 Philippe Grand + * Copyright (C) 2013-2019 Philippe Grand * Copyright (C) 2013 Florian Henry * Copyright (C) 2014-2016 Marcos García * Copyright (C) 2015 Bahfir Abbes @@ -113,10 +113,35 @@ class FactureFournisseur extends CommonInvoice public $author; public $libelle; - public $datec; // Creation date - public $tms; // Last update date - public $date; // Invoice date - public $date_echeance; // Max payment date + + /** + * Date creation record (datec) + * + * @var integer + */ + public $datec; + + /** + * Date modification record (tms) + * + * @var integer + */ + public $tms; + + /** + * Invoice date (date) + * + * @var integer + */ + public $date; + + /** + * Max payment date (date_echeance) + * + * @var integer + */ + public $date_echeance; + public $amount=0; public $remise=0; public $tva=0; From e8721fdd07dff45e4d96ff98b987ccf7ad429454 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Thu, 21 Mar 2019 15:14:09 +0100 Subject: [PATCH 08/10] add some comments --- htdocs/societe/class/companybankaccount.class.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/htdocs/societe/class/companybankaccount.class.php b/htdocs/societe/class/companybankaccount.class.php index 60fb6a2a4c7..0c4da8aa103 100644 --- a/htdocs/societe/class/companybankaccount.class.php +++ b/htdocs/societe/class/companybankaccount.class.php @@ -40,8 +40,19 @@ class CompanyBankAccount extends Account public $rum; public $date_rum; - public $datec; - public $datem; + /** + * Date creation record (datec) + * + * @var integer + */ + public $datec; + + /** + * Date modification record (tms) + * + * @var integer + */ + public $datem; /** From 2ad649eaeaf4d918e414e15cbd85e5704a12a6c8 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Thu, 21 Mar 2019 15:18:05 +0100 Subject: [PATCH 09/10] add some comments --- .../societe/class/companypaymentmode.class.php | 17 +++++++++++++++-- htdocs/user/class/user.class.php | 17 ++++++++++++++--- 2 files changed, 29 insertions(+), 5 deletions(-) diff --git a/htdocs/societe/class/companypaymentmode.class.php b/htdocs/societe/class/companypaymentmode.class.php index 5194046e40c..ae9f0a44b32 100644 --- a/htdocs/societe/class/companypaymentmode.class.php +++ b/htdocs/societe/class/companypaymentmode.class.php @@ -169,8 +169,21 @@ class CompanyPaymentMode extends CommonObject public $starting_date; public $ending_date; - public $datec; - public $tms; + + /** + * Date creation record (datec) + * + * @var integer + */ + public $datec; + + /** + * Date modification record (tms) + * + * @var integer + */ + public $tms; + public $import_key; // END MODULEBUILDER PROPERTIES diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php index db0632be486..fdb77068ba3 100644 --- a/htdocs/user/class/user.class.php +++ b/htdocs/user/class/user.class.php @@ -7,7 +7,7 @@ * Copyright (C) 2005-2017 Regis Houssin * Copyright (C) 2005 Lionel Cousteix * Copyright (C) 2011 Herve Prot - * Copyright (C) 2013-2018 Philippe Grand + * Copyright (C) 2013-2019 Philippe Grand * Copyright (C) 2013-2015 Alexandre Spangaro * Copyright (C) 2015 Marcos García * Copyright (C) 2018 charlene Benke @@ -108,8 +108,19 @@ class User extends CommonObject //! Encrypted password in database (always defined) public $pass_indatabase_crypted; - public $datec; - public $datem; + /** + * Date creation record (datec) + * + * @var integer + */ + public $datec; + + /** + * Date modification record (tms) + * + * @var integer + */ + public $datem; //! If this is defined, it is an external user /** From efc393e13cccb2fad3d726ddc42c07402d29c952 Mon Sep 17 00:00:00 2001 From: Philippe GRAND Date: Thu, 21 Mar 2019 15:19:01 +0100 Subject: [PATCH 10/10] add some comments --- htdocs/user/class/userbankaccount.class.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/htdocs/user/class/userbankaccount.class.php b/htdocs/user/class/userbankaccount.class.php index 18c1ab742a1..8bba66ac497 100644 --- a/htdocs/user/class/userbankaccount.class.php +++ b/htdocs/user/class/userbankaccount.class.php @@ -36,7 +36,18 @@ class UserBankAccount extends Account { public $socid; - public $datec; + /** + * Date creation record (datec) + * + * @var integer + */ + public $datec; + + /** + * Date modification record (tms) + * + * @var integer + */ public $datem;