Skip to content

Commit

Permalink
Standardize code
Browse files Browse the repository at this point in the history
  • Loading branch information
grandoc committed Oct 6, 2018
1 parent 5583211 commit 74c86f4
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 2 deletions.
3 changes: 3 additions & 0 deletions htdocs/expedition/class/expedition.class.php
Expand Up @@ -50,6 +50,9 @@ class Expedition extends CommonObject
*/
public $element="shipping";

/**
* @var int Field with ID of parent key if this field has a parent
*/
public $fk_element="fk_expedition";

/**
Expand Down
3 changes: 3 additions & 0 deletions htdocs/expensereport/class/expensereport_ik.class.php
Expand Up @@ -39,6 +39,9 @@ class ExpenseReportIk extends CoreObject
*/
public $table_element='expensereport_ik';

/**
* @var int Field with ID of parent key if this field has a parent
*/
public $fk_element='fk_expense_ik';

/**
Expand Down
7 changes: 5 additions & 2 deletions htdocs/expensereport/class/expensereport_rule.class.php
Expand Up @@ -33,12 +33,15 @@ class ExpenseReportRule extends CoreObject
* @var string ID to identify managed object
*/
public $element='expenserule';

/**
* @var string Name of table without prefix where object is stored
*/
public $table_element='expensereport_rules';


/**
* @var int Field with ID of parent key if this field has a parent
*/
public $fk_element='fk_expense_rule';

/**
Expand Down
5 changes: 5 additions & 0 deletions htdocs/holiday/class/holiday.class.php
Expand Up @@ -43,7 +43,12 @@ class Holiday extends CommonObject
public $table_element='holiday';

public $ismultientitymanaged = 0; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe

/**
* @var int Field with ID of parent key if this field has a parent
*/
public $fk_element = 'fk_holiday';

public $picto = 'holiday';

/**
Expand Down
5 changes: 5 additions & 0 deletions htdocs/user/class/user.class.php
Expand Up @@ -64,7 +64,12 @@ class User extends CommonObject
public $skype;
public $job; // job position
public $signature;

/**
* @var string Address
*/
public $address;

public $zip;
public $town;
public $state_id; // The state/department
Expand Down

0 comments on commit 74c86f4

Please sign in to comment.