Merge branch 'new_branch_21_08_2018' of github.com:grandoc/dolibarr into new_branch_21_08_2018

This commit is contained in:
Philippe GRAND 2018-08-23 11:13:54 +02:00
commit 9e900e583d
12 changed files with 55 additions and 54 deletions

View File

@ -28,7 +28,7 @@
*/
class AccountancySystem
{
/**
/**
* @var DoliDB Database handler.
*/
public $db;
@ -43,7 +43,7 @@ class AccountancySystem
var $pcg_type;
var $pcg_subtype;
/**
/**
* @var string proper name for given parameter
*/
public $label;

View File

@ -44,6 +44,7 @@ class AccountingAccount extends CommonObject
* @var int
*/
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
* @var integer
@ -51,9 +52,9 @@ class AccountingAccount extends CommonObject
public $restrictiononfksoc = 1;
/**
* @var DoliDB Database handler.
*/
public $db;
* @var DoliDB Database handler.
*/
public $db;
/**
* @var string Error code (or message)
@ -80,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;

View File

@ -33,9 +33,9 @@ include_once DOL_DOCUMENT_ROOT . '/adherents/class/subscription.class.php';
class AdherentStats extends Stats
{
/**
* @var string Name of table without prefix where object is stored
*/
public $table_element;
* @var string Name of table without prefix where object is stored
*/
public $table_element;
var $socid;
var $userid;

View File

@ -31,9 +31,9 @@ class Bookmark extends CommonObject
public $element='bookmark';
/**
* @var string Name of table without prefix where object is stored
*/
public $table_element='bookmark';
* @var string Name of table without prefix where object is stored
*/
public $table_element='bookmark';
public $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
public $picto = 'bookmark';
@ -44,9 +44,9 @@ class Bookmark extends CommonObject
public $db;
/**
* @var int ID
*/
public $id;
* @var int ID
*/
public $id;
var $fk_user;
var $datec;

View File

@ -37,9 +37,9 @@ class ActionComm extends CommonObject
public $element='action';
/**
* @var string Name of table without prefix where object is stored
*/
public $table_element = 'actioncomm';
* @var string Name of table without prefix where object is stored
*/
public $table_element = 'actioncomm';
public $table_rowid = 'id';
public $picto='action';

View File

@ -29,9 +29,9 @@
class CActionComm
{
/**
* @var string Error code (or message)
*/
public $error='';
* @var string Error code (or message)
*/
public $error='';
/**
* @var DoliDB Database handler.
@ -39,9 +39,9 @@ class CActionComm
public $db;
/**
* @var int ID
*/
public $id;
* @var int ID
*/
public $id;
var $code;
var $type;

View File

@ -29,9 +29,9 @@
class AdvanceTargetingMailing extends CommonObject
{
/**
* @var DoliDB Database handler.
*/
public $db;
* @var DoliDB Database handler.
*/
public $db;
/**
* @var string Error code (or message)
@ -972,4 +972,4 @@ class AdvanceTargetingMailing extends CommonObject
}
}
}

View File

@ -31,9 +31,9 @@ include_once DOL_DOCUMENT_ROOT . '/compta/deplacement/class/deplacement.class.ph
class DeplacementStats extends Stats
{
/**
* @var string Name of table without prefix where object is stored
*/
public $table_element;
* @var string Name of table without prefix where object is stored
*/
public $table_element;
var $socid;
var $userid;

View File

@ -71,7 +71,7 @@ abstract class CommonObject
/**
* @var string Name of table without prefix where object is stored
*/
public $table_element
public $table_element;
/**
* @var

View File

@ -44,9 +44,9 @@ class FactureFournisseur extends CommonInvoice
public $element='invoice_supplier';
/**
* @var string Name of table without prefix where object is stored
*/
public $table_element='facture_fourn';
* @var string Name of table without prefix where object is stored
*/
public $table_element='facture_fourn';
public $table_element_line='facture_fourn_det';
public $fk_element='fk_facture_fourn';

View File

@ -43,21 +43,21 @@ class ProductFournisseur extends Product
public $db;
/**
* @var string Error code (or message)
*/
public $error='';
* @var string Error code (or message)
*/
public $error='';
var $product_fourn_price_id; // id of ligne product-supplier
/**
* @var int ID
*/
public $id;
* @var int ID
*/
public $id;
/**
* @deprecated
* @see ref_supplier
*/
/**
* @deprecated
* @see ref_supplier
*/
var $fourn_ref;
var $delivery_time_days;
var $ref_supplier; // ref supplier (can be set by get_buyprice)
@ -89,9 +89,9 @@ class ProductFournisseur extends Product
var $fourn_multicurrency_unitprice;
/**
* Constructor
*
* @param DoliDB $db Database handler
* Constructor
*
* @param DoliDB $db Database handler
*/
function __construct($db)
{

View File

@ -3,8 +3,8 @@
* Copyright (C) 2005-2014 Regis Houssin <regis.houssin@capnetworks.com>
* Copyright (C) 2006-2007 Laurent Destailleur <eldy@users.sourceforge.net>
* Copyright (C) 2007 Franky Van Liedekerke <franky.van.liedekerke@telenet.be>
* Copyright (C) 2011-2012 Philippe Grand <philippe.grand@atoo-net.com>
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2011-2018 Philippe Grand <philippe.grand@atoo-net.com>
* Copyright (C) 2013 Florian Henry <florian.henry@open-concept.pro>
* Copyright (C) 2014-2015 Marcos García <marcosgdf@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
@ -1062,7 +1062,7 @@ class Livraison extends CommonObject
*/
class LivraisonLigne extends CommonObjectLine
{
/**
/**
* @var DoliDB Database handler.
*/
public $db;
@ -1075,7 +1075,7 @@ class LivraisonLigne extends CommonObjectLine
var $fk_product;
var $origin_id;
/**
/**
* @var string proper name for given parameter
*/
public $label;