Standardize and update code
This commit is contained in:
parent
15ff9f8917
commit
574cfad48f
@ -3159,7 +3159,12 @@ class CommandeFournisseurLigne extends CommonOrderLine
|
|||||||
// From llx_commande_fournisseurdet
|
// From llx_commande_fournisseurdet
|
||||||
public $fk_parent_line;
|
public $fk_parent_line;
|
||||||
public $fk_facture;
|
public $fk_facture;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string supplier order line label
|
||||||
|
*/
|
||||||
public $label;
|
public $label;
|
||||||
|
|
||||||
public $rang = 0;
|
public $rang = 0;
|
||||||
public $special_code = 0;
|
public $special_code = 0;
|
||||||
|
|
||||||
|
|||||||
@ -50,7 +50,12 @@ class Loan extends CommonObject
|
|||||||
|
|
||||||
public $datestart;
|
public $datestart;
|
||||||
public $dateend;
|
public $dateend;
|
||||||
public $label;
|
|
||||||
|
/**
|
||||||
|
* @var string Loan label
|
||||||
|
*/
|
||||||
|
public $label;
|
||||||
|
|
||||||
public $capital;
|
public $capital;
|
||||||
public $nbterm;
|
public $nbterm;
|
||||||
public $rate;
|
public $rate;
|
||||||
@ -454,7 +459,7 @@ class Loan extends CommonObject
|
|||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialise an instance with random values.
|
* Initialise an instance with random values.
|
||||||
* Used to build previews or test instances.
|
* Used to build previews or test instances.
|
||||||
@ -465,9 +470,9 @@ class Loan extends CommonObject
|
|||||||
function initAsSpecimen()
|
function initAsSpecimen()
|
||||||
{
|
{
|
||||||
global $user, $langs, $conf;
|
global $user, $langs, $conf;
|
||||||
|
|
||||||
$now=dol_now();
|
$now=dol_now();
|
||||||
|
|
||||||
// Initialise parameters
|
// Initialise parameters
|
||||||
$this->id = 0;
|
$this->id = 0;
|
||||||
$this->fk_bank = 1;
|
$this->fk_bank = 1;
|
||||||
|
|||||||
@ -116,7 +116,11 @@ class MyObject extends CommonObject
|
|||||||
*/
|
*/
|
||||||
public $entity;
|
public $entity;
|
||||||
|
|
||||||
public $label;
|
/**
|
||||||
|
* @var string label
|
||||||
|
*/
|
||||||
|
public $label;
|
||||||
|
|
||||||
public $amount;
|
public $amount;
|
||||||
public $status;
|
public $status;
|
||||||
public $date_creation;
|
public $date_creation;
|
||||||
|
|||||||
@ -50,7 +50,12 @@ class MouvementStock extends CommonObject
|
|||||||
public $datem = '';
|
public $datem = '';
|
||||||
public $price;
|
public $price;
|
||||||
public $fk_user_author;
|
public $fk_user_author;
|
||||||
public $label;
|
|
||||||
|
/**
|
||||||
|
* @var string stock movements label
|
||||||
|
*/
|
||||||
|
public $label;
|
||||||
|
|
||||||
public $fk_origin;
|
public $fk_origin;
|
||||||
public $origintype;
|
public $origintype;
|
||||||
public $inventorycode;
|
public $inventorycode;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user