Skip to content

Commit

Permalink
Update and standardize code
Browse files Browse the repository at this point in the history
  • Loading branch information
grandoc committed Aug 28, 2018
1 parent 50d50c2 commit 65af8f9
Show file tree
Hide file tree
Showing 11 changed files with 67 additions and 13 deletions.
7 changes: 6 additions & 1 deletion htdocs/accountancy/class/accountancycategory.class.php
Expand Up @@ -58,7 +58,12 @@ class AccountancyCategory // extends CommonObject

public $id;
public $code;
public $label;

/**
* @var string proper name for given parameter
*/
public $label;

public $range_account;
public $sens;
public $category_type;
Expand Down
6 changes: 3 additions & 3 deletions htdocs/accountancy/class/accountingaccount.class.php
Expand Up @@ -81,9 +81,9 @@ class AccountingAccount extends CommonObject
var $account_category;

/**
* @var string proper name for given parameter
*/
public $label;
* @var string proper name for given parameter
*/
public $label;

var $fk_user_author;
var $fk_user_modif;
Expand Down
7 changes: 6 additions & 1 deletion htdocs/accountancy/class/accountingjournal.class.php
Expand Up @@ -43,7 +43,12 @@ class AccountingJournal extends CommonObject
var $rowid;

public $code;
public $label;

/**
* @var string proper name for given parameter
*/
public $label;

public $nature; // 1:various operations, 2:sale, 3:purchase, 4:bank, 5:expense-report, 8:inventory, 9: has-new
public $active;

Expand Down
7 changes: 6 additions & 1 deletion htdocs/asset/class/asset.class.php
Expand Up @@ -98,7 +98,12 @@ class Asset extends CommonObject
public $rowid;
public $ref;
public $entity;
public $label;

/**
* @var string proper name for given parameter
*/
public $label;

public $amount;
public $fk_soc;
public $description;
Expand Down
7 changes: 6 additions & 1 deletion htdocs/categories/class/categorie.class.php
Expand Up @@ -159,7 +159,12 @@ class Categorie extends CommonObject
public $table_element='categorie';

public $fk_parent;
public $label;

/**
* @var string proper name for given parameter
*/
public $label;

public $description;
/**
* @var string Color
Expand Down
6 changes: 5 additions & 1 deletion htdocs/compta/bank/class/bankcateg.class.php
Expand Up @@ -33,7 +33,11 @@ class BankCateg // extends CommonObject
public $picto='generic';

public $id;
public $label;

/**
* @var string proper name for given parameter
*/
public $label;


/**
Expand Down
7 changes: 6 additions & 1 deletion htdocs/compta/salaries/class/paymentsalary.class.php
Expand Up @@ -51,7 +51,12 @@ class PaymentSalary extends CommonObject
public $fk_project;
public $type_payment;
public $num_payment;
public $label;

/**
* @var string proper name for given parameter
*/
public $label;

public $datesp;
public $dateep;
public $fk_bank;
Expand Down
14 changes: 12 additions & 2 deletions htdocs/core/class/ctyperesource.class.php
Expand Up @@ -48,7 +48,12 @@ class Ctyperesource
public $lines = array();

public $code;
public $label;

/**
* @var string proper name for given parameter
*/
public $label;

public $active;


Expand Down Expand Up @@ -480,7 +485,12 @@ class CtyperesourceLine
*/

public $code;
public $label;

/**
* @var string proper name for given parameter
*/
public $label;

public $active;

/**
Expand Down
7 changes: 6 additions & 1 deletion htdocs/core/class/html.formmail.class.php
Expand Up @@ -1395,7 +1395,12 @@ static function getAvailableSubstitKey($mode='formemail', $object=null)
class ModelMail
{
public $id;
public $label;

/**
* @var string proper name for given parameter
*/
public $label;

public $topic;
public $content;
public $content_lines;
Expand Down
5 changes: 5 additions & 0 deletions htdocs/core/class/link.class.php
Expand Up @@ -41,7 +41,12 @@ class Link extends CommonObject
public $entity;
public $datea;
public $url;

/**
* @var string proper name for given parameter
*/
public $label;

public $objecttype;
public $objectid;

Expand Down
7 changes: 6 additions & 1 deletion htdocs/core/modules/import/modules_import.php
Expand Up @@ -40,7 +40,12 @@ class ModeleImports
public $error='';

public $id; // Id of driver
public $label; // Label of driver

/**
* @var string proper name for given parameter
*/
public $label;

public $extension; // Extension of files imported by driver
public $version; // Version of driver

Expand Down

0 comments on commit 65af8f9

Please sign in to comment.