Update and standardize code
This commit is contained in:
parent
95349365ba
commit
e0462b975b
@ -43,7 +43,11 @@ class AdvanceTargetingMailing extends CommonObject
|
||||
*/
|
||||
public $errors = array();
|
||||
|
||||
var $element='advtargetemailing'; //!< Id that identify managed objects
|
||||
/**
|
||||
* @var string ID to identify managed object
|
||||
*/
|
||||
public $element='advtargetemailing';
|
||||
|
||||
var $table_element='advtargetemailing'; //!< Name of table without prefix where object is stored
|
||||
|
||||
/**
|
||||
|
||||
@ -1643,7 +1643,11 @@ class AccountLine extends CommonObject
|
||||
*/
|
||||
public $db;
|
||||
|
||||
var $element='bank';
|
||||
/**
|
||||
* @var string ID to identify managed object
|
||||
*/
|
||||
public $element='bank';
|
||||
|
||||
var $table_element='bank';
|
||||
var $picto = 'generic';
|
||||
|
||||
|
||||
@ -28,7 +28,11 @@
|
||||
*/
|
||||
class ExpeditionLineBatch extends CommonObject
|
||||
{
|
||||
var $element='expeditionlignebatch'; //!< Id that identify managed objects
|
||||
/**
|
||||
* @var string ID to identify managed object
|
||||
*/
|
||||
public $element='expeditionlignebatch';
|
||||
|
||||
private static $_table_element='expeditiondet_batch'; //!< Name of table without prefix where object is stored
|
||||
|
||||
var $sellby;
|
||||
|
||||
@ -33,7 +33,11 @@ require_once DOL_DOCUMENT_ROOT .'/expensereport/class/expensereport_rule.class.p
|
||||
*/
|
||||
class ExpenseReport extends CommonObject
|
||||
{
|
||||
var $element='expensereport';
|
||||
/**
|
||||
* @var string ID to identify managed object
|
||||
*/
|
||||
public $element='expensereport';
|
||||
|
||||
var $table_element='expensereport';
|
||||
var $table_element_line = 'expensereport_det';
|
||||
var $fk_element = 'fk_expensereport';
|
||||
|
||||
@ -30,7 +30,11 @@ require_once DOL_DOCUMENT_ROOT."/core/class/commonobject.class.php";
|
||||
*/
|
||||
class Productbatch extends CommonObject
|
||||
{
|
||||
var $element='productbatch'; //!< Id that identify managed objects
|
||||
/**
|
||||
* @var string ID to identify managed object
|
||||
*/
|
||||
public $element='productbatch';
|
||||
|
||||
private static $_table_element='product_batch'; //!< Name of table without prefix where object is stored
|
||||
|
||||
var $tms='';
|
||||
|
||||
@ -28,7 +28,11 @@ require_once DOL_DOCUMENT_ROOT . '/core/class/commonobject.class.php';
|
||||
*/
|
||||
class Productcustomerprice extends CommonObject
|
||||
{
|
||||
var $element = 'product_customer_price'; // !< Id that identify managed objects
|
||||
/**
|
||||
* @var string ID to identify managed object
|
||||
*/
|
||||
public $element = 'product_customer_price';
|
||||
|
||||
var $table_element = 'product_customer_price'; // !< Name of table without prefix where object is stored
|
||||
var $entity;
|
||||
var $datec = '';
|
||||
|
||||
@ -31,7 +31,11 @@ require_once DOL_DOCUMENT_ROOT."/core/class/commonobject.class.php";
|
||||
*/
|
||||
class Propalmergepdfproduct extends CommonObject
|
||||
{
|
||||
var $element='propal_merge_pdf_product'; //!< Id that identify managed objects
|
||||
/**
|
||||
* @var string ID to identify managed object
|
||||
*/
|
||||
public $element='propal_merge_pdf_product';
|
||||
|
||||
var $table_element='propal_merge_pdf_product'; //!< Name of table without prefix where object is stored
|
||||
|
||||
var $fk_product;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user