Standardize and update code
This commit is contained in:
parent
49fe6d3b79
commit
b1fa12e1e3
@ -32,12 +32,24 @@ require_once DOL_DOCUMENT_ROOT .'/core/modules/contract/modules_contract.php';
|
||||
*/
|
||||
class mod_contract_olive extends ModelNumRefContracts
|
||||
{
|
||||
/**
|
||||
* @var string Nom du modele
|
||||
* @deprecated
|
||||
* @see name
|
||||
*/
|
||||
public $nom='Olive';
|
||||
|
||||
/**
|
||||
* @var string model name
|
||||
*/
|
||||
public $name='Olive';
|
||||
|
||||
public $nom='Olive'; // Nom du modele
|
||||
public $code_modifiable = 1; // Code modifiable
|
||||
|
||||
public $code_modifiable_invalide = 1; // Code modifiable si il est invalide
|
||||
|
||||
public $code_modifiable_null = 1; // Code modifiables si il est null
|
||||
|
||||
public $code_null = 1; // Code facultatif
|
||||
|
||||
/**
|
||||
|
||||
@ -41,8 +41,18 @@ class mod_contract_serpis extends ModelNumRefContracts
|
||||
*/
|
||||
public $error='';
|
||||
|
||||
/**
|
||||
* @var string Nom du modele
|
||||
* @deprecated
|
||||
* @see name
|
||||
*/
|
||||
public $nom='Serpis';
|
||||
|
||||
/**
|
||||
* @var string model name
|
||||
*/
|
||||
public $name='Serpis';
|
||||
|
||||
public $code_auto=1;
|
||||
|
||||
|
||||
|
||||
@ -40,7 +40,17 @@ class mod_expedition_ribera extends ModelNumRefExpedition
|
||||
*/
|
||||
public $error = '';
|
||||
|
||||
public $nom = 'Ribera';
|
||||
/**
|
||||
* @var string Nom du modele
|
||||
* @deprecated
|
||||
* @see name
|
||||
*/
|
||||
public $nom='Ribera';
|
||||
|
||||
/**
|
||||
* @var string model name
|
||||
*/
|
||||
public $name='Ribera';
|
||||
|
||||
/**
|
||||
* Return default description of numbering model
|
||||
|
||||
@ -41,8 +41,18 @@ class mod_expedition_safor extends ModelNumRefExpedition
|
||||
*/
|
||||
public $error='';
|
||||
|
||||
/**
|
||||
* @var string Nom du modele
|
||||
* @deprecated
|
||||
* @see name
|
||||
*/
|
||||
public $nom='Safor';
|
||||
|
||||
/**
|
||||
* @var string model name
|
||||
*/
|
||||
public $name='Safor';
|
||||
|
||||
|
||||
/**
|
||||
* Return default description of numbering model
|
||||
|
||||
@ -41,8 +41,18 @@ class mod_expensereport_jade extends ModeleNumRefExpenseReport
|
||||
*/
|
||||
public $error='';
|
||||
|
||||
/**
|
||||
* @var string Nom du modele
|
||||
* @deprecated
|
||||
* @see name
|
||||
*/
|
||||
public $nom='Jade';
|
||||
|
||||
/**
|
||||
* @var string model name
|
||||
*/
|
||||
public $name='Jade';
|
||||
|
||||
|
||||
/**
|
||||
* Return description of numbering module
|
||||
|
||||
@ -41,7 +41,17 @@ class mod_expensereport_sand extends ModeleNumRefExpenseReport
|
||||
*/
|
||||
public $error = '';
|
||||
|
||||
public $nom = 'Sand';
|
||||
/**
|
||||
* @var string Nom du modele
|
||||
* @deprecated
|
||||
* @see name
|
||||
*/
|
||||
public $nom='Sand';
|
||||
|
||||
/**
|
||||
* @var string model name
|
||||
*/
|
||||
public $name='Sand';
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user