Merge remote-tracking branch 'upstream/develop' into trimtrailing2

This commit is contained in:
Frédéric FRANCE 2018-08-29 15:47:55 +02:00
commit 0e512cbc36
No known key found for this signature in database
GPG Key ID: 06809324E4B2ABC1
8 changed files with 22 additions and 23 deletions

View File

@ -81,7 +81,7 @@ class AccountingAccount extends CommonObject
var $account_category; var $account_category;
/** /**
* @var string proper name for given parameter * @var string Label of account
*/ */
public $label; public $label;

View File

@ -30,7 +30,7 @@ class FormAdvTargetEmailing extends Form
* @var DoliDB Database handler. * @var DoliDB Database handler.
*/ */
public $db; public $db;
/** /**
* @var string Error code (or message) * @var string Error code (or message)
*/ */
@ -378,10 +378,10 @@ class FormAdvTargetEmailing extends Form
/** /**
* Return combo list of categories * Return combo list of categories
* *
* @param string $htmlname Name of categorie * @param string $htmlname Name of categorie
* @param array $selected_array value selected * @param array $selected_array Value selected
* @param int $type type * @param int $type Type
* @return string HTML combo * @return string HTML combo
*/ */
public function multiselectCategories($htmlname='',$selected_array = array(), $type=0) public function multiselectCategories($htmlname='',$selected_array = array(), $type=0)
{ {

View File

@ -39,9 +39,9 @@ class Menubase
public $error; public $error;
/** /**
* @var string[] Error codes (or messages) * @var string[] Error codes (or messages)
*/ */
public $errors = array(); public $errors = array();
public $id; public $id;

View File

@ -37,12 +37,12 @@ class ExpenseReport extends CommonObject
* @var string ID to identify managed object * @var string ID to identify managed object
*/ */
public $element='expensereport'; public $element='expensereport';
/** /**
* @var string Name of table without prefix where object is stored * @var string Name of table without prefix where object is stored
*/ */
public $table_element='expensereport'; public $table_element='expensereport';
var $table_element_line = 'expensereport_det'; var $table_element_line = 'expensereport_det';
var $fk_element = 'fk_expensereport'; var $fk_element = 'fk_expensereport';
var $picto = 'trip'; var $picto = 'trip';
@ -2390,7 +2390,7 @@ class ExpenseReportLine
* @var DoliDB Database handler. * @var DoliDB Database handler.
*/ */
public $db; public $db;
/** /**
* @var string Error code (or message) * @var string Error code (or message)
*/ */

View File

@ -44,22 +44,22 @@ class CommandeFournisseur extends CommonOrder
* @var string ID to identify managed object * @var string ID to identify managed object
*/ */
public $element='order_supplier'; public $element='order_supplier';
/** /**
* @var string Name of table without prefix where object is stored * @var string Name of table without prefix where object is stored
*/ */
public $table_element='commande_fournisseur'; public $table_element='commande_fournisseur';
public $table_element_line = 'commande_fournisseurdet'; public $table_element_line = 'commande_fournisseurdet';
public $fk_element = 'fk_commande'; public $fk_element = 'fk_commande';
public $picto='order'; public $picto='order';
/** /**
* 0=No test on entity, 1=Test with field entity, 2=Test with link by societe * 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
* @var int * @var int
*/ */
public $ismultientitymanaged = 1; public $ismultientitymanaged = 1;
/** /**
* 0=Default, 1=View may be restricted to sales representative only if no permission to see all or to company of external user if external user * 0=Default, 1=View may be restricted to sales representative only if no permission to see all or to company of external user if external user
* @var integer * @var integer
@ -78,7 +78,7 @@ class CommandeFournisseur extends CommonOrder
* @var string * @var string
*/ */
public $ref; public $ref;
public $ref_supplier; public $ref_supplier;
public $brouillon; public $brouillon;
public $statut; // 0=Draft -> 1=Validated -> 2=Approved -> 3=Ordered/Process runing -> 4=Received partially -> 5=Received totally -> (reopen) 4=Received partially public $statut; // 0=Draft -> 1=Validated -> 2=Approved -> 3=Ordered/Process runing -> 4=Received partially -> 5=Received totally -> (reopen) 4=Received partially
@ -3099,7 +3099,7 @@ class CommandeFournisseurLigne extends CommonOrderLine
* @var string ID to identify managed object * @var string ID to identify managed object
*/ */
public $element='commande_fournisseurdet'; public $element='commande_fournisseurdet';
/** /**
* @var string Name of table without prefix where object is stored * @var string Name of table without prefix where object is stored
*/ */

View File

@ -33,9 +33,9 @@ class Loan extends CommonObject
* @var string ID to identify managed object * @var string ID to identify managed object
*/ */
public $element='loan'; public $element='loan';
public $table='loan'; public $table='loan';
/** /**
* @var string Name of table without prefix where object is stored * @var string Name of table without prefix where object is stored
*/ */

View File

@ -45,10 +45,10 @@ class Task extends CommonObject
public $picto = 'task'; public $picto = 'task';
protected $childtables=array('projet_task_time'); // To test if we can delete object protected $childtables=array('projet_task_time'); // To test if we can delete object
var $fk_task_parent; public $fk_task_parent;
/** /**
* @var string proper name for given parameter * @var string Label of task
*/ */
public $label; public $label;

View File

@ -19,7 +19,6 @@
* \file resource/class/resource.class.php * \file resource/class/resource.class.php
* \ingroup resource * \ingroup resource
* \brief Class file for resource object * \brief Class file for resource object
*/ */
require_once DOL_DOCUMENT_ROOT."/core/class/commonobject.class.php"; require_once DOL_DOCUMENT_ROOT."/core/class/commonobject.class.php";