Standardize and Update code
This commit is contained in:
parent
d86d7323fb
commit
7b0d3c32ab
@ -71,7 +71,11 @@ class AccountingAccount extends CommonObject
|
||||
*/
|
||||
public $id;
|
||||
|
||||
/**
|
||||
* @var int ID
|
||||
*/
|
||||
public $rowid;
|
||||
|
||||
public $datec; // Creation date
|
||||
public $fk_pcg_version;
|
||||
public $pcg_type;
|
||||
|
||||
@ -44,6 +44,9 @@ class AccountingJournal extends CommonObject
|
||||
public $ismultientitymanaged = 0; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
|
||||
public $picto = 'generic';
|
||||
|
||||
/**
|
||||
* @var int ID
|
||||
*/
|
||||
public $rowid;
|
||||
|
||||
public $code;
|
||||
|
||||
@ -95,6 +95,10 @@ class Asset extends CommonObject
|
||||
'import_key' => array('type'=>'varchar(14)', 'label'=>'ImportId', 'visible'=>-2, 'enabled'=>1, 'position'=>1000, 'notnull'=>-1,),
|
||||
'status' => array('type'=>'integer', 'label'=>'Status', 'visible'=>1, 'enabled'=>1, 'position'=>1000, 'notnull'=>1, 'index'=>1, 'arrayofkeyval'=>array('0'=>'Draft', '1'=>'Active', '-1'=>'Cancel')),
|
||||
);
|
||||
|
||||
/**
|
||||
* @var int ID
|
||||
*/
|
||||
public $rowid;
|
||||
|
||||
/**
|
||||
|
||||
@ -88,6 +88,10 @@ class EmailSenderProfile extends CommonObject
|
||||
'tms' => array('type'=>'timestamp', 'label'=>'DateModification', 'visible'=>-1, 'enabled'=>1, 'position'=>500, 'notnull'=>1,),
|
||||
'active' => array('type'=>'integer', 'label'=>'Status', 'visible'=>1, 'enabled'=>1, 'position'=>1000, 'notnull'=>-1, 'index'=>1),
|
||||
);
|
||||
|
||||
/**
|
||||
* @var int ID
|
||||
*/
|
||||
public $rowid;
|
||||
|
||||
/**
|
||||
|
||||
@ -47,6 +47,9 @@ class Fiscalyear extends CommonObject
|
||||
|
||||
public $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
|
||||
|
||||
/**
|
||||
* @var int ID
|
||||
*/
|
||||
public $rowid;
|
||||
|
||||
/**
|
||||
|
||||
@ -41,6 +41,9 @@ class PaymentDonation extends CommonObject
|
||||
|
||||
public $picto = 'payment';
|
||||
|
||||
/**
|
||||
* @var int ID
|
||||
*/
|
||||
public $rowid;
|
||||
|
||||
public $fk_donation;
|
||||
|
||||
@ -77,7 +77,10 @@ class FactureFournisseur extends CommonInvoice
|
||||
*/
|
||||
protected $table_ref_field = 'ref';
|
||||
|
||||
public $rowid;
|
||||
/**
|
||||
* @var int ID
|
||||
*/
|
||||
public $rowid;
|
||||
|
||||
/**
|
||||
* @var string Ref
|
||||
|
||||
@ -48,13 +48,19 @@ class Establishment extends CommonObject
|
||||
public $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
|
||||
public $picto='building';
|
||||
|
||||
public $id;
|
||||
/**
|
||||
* @var int ID
|
||||
*/
|
||||
public $id;
|
||||
|
||||
/**
|
||||
* @var string Ref
|
||||
*/
|
||||
public $ref;
|
||||
|
||||
/**
|
||||
* @var int ID
|
||||
*/
|
||||
public $rowid;
|
||||
|
||||
public $name;
|
||||
|
||||
@ -43,7 +43,11 @@ class Loan extends CommonObject
|
||||
|
||||
public $picto = 'bill';
|
||||
|
||||
/**
|
||||
* @var int ID
|
||||
*/
|
||||
public $rowid;
|
||||
|
||||
public $datestart;
|
||||
public $dateend;
|
||||
public $label;
|
||||
|
||||
@ -101,6 +101,9 @@ class MyObject extends CommonObject
|
||||
'status' =>array('type'=>'integer', 'label'=>'Status', 'enabled'=>1, 'visible'=>1, 'notnull'=>1, 'default'=>0, 'index'=>1, 'position'=>1000, 'arrayofkeyval'=>array(0=>'Draft', 1=>'Active', -1=>'Cancel')),
|
||||
);
|
||||
|
||||
/**
|
||||
* @var int ID
|
||||
*/
|
||||
public $rowid;
|
||||
|
||||
/**
|
||||
|
||||
@ -99,6 +99,9 @@ class Inventory extends CommonObject
|
||||
'status' => array('type'=>'integer', 'label'=>'Status', 'visible'=>1, 'enabled'=>1, 'position'=>1000, 'default'=>0, 'arrayofkeyval'=>array(0=>'Todo', 1=>'Done', -1=>'Cancel')),
|
||||
);
|
||||
|
||||
/**
|
||||
* @var int ID
|
||||
*/
|
||||
public $rowid;
|
||||
|
||||
/**
|
||||
|
||||
@ -36,22 +36,22 @@ class CompanyPaymentMode extends CommonObject
|
||||
* @var string ID to identify managed object
|
||||
*/
|
||||
public $element = 'companypaymentmode';
|
||||
|
||||
|
||||
/**
|
||||
* @var string Name of table without prefix where object is stored
|
||||
*/
|
||||
public $table_element = 'societe_rib';
|
||||
|
||||
|
||||
/**
|
||||
* @var int Does companypaymentmode support multicompany module ? 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
|
||||
*/
|
||||
public $ismultientitymanaged = 2;
|
||||
|
||||
|
||||
/**
|
||||
* @var int Does companypaymentmode support extrafields ? 0=No, 1=Yes
|
||||
*/
|
||||
public $isextrafieldmanaged = 0;
|
||||
|
||||
|
||||
/**
|
||||
* @var string String with name of icon for companypaymentmode. Must be the part after the 'object_' into object_companypaymentmode.png
|
||||
*/
|
||||
@ -118,7 +118,12 @@ class CompanyPaymentMode extends CommonObject
|
||||
'import_key' =>array('type'=>'varchar(14)', 'label'=>'Import key', 'enabled'=>1, 'visible'=>-2, 'position'=>105),
|
||||
//'aaa' =>array('type'=>'date', 'label'=>'Ending date', 'enabled'=>0, 'visible'=>-2, 'position'=>185),
|
||||
);
|
||||
|
||||
/**
|
||||
* @var int ID
|
||||
*/
|
||||
public $rowid;
|
||||
|
||||
public $fk_soc;
|
||||
public $label;
|
||||
public $bank;
|
||||
|
||||
@ -28,7 +28,11 @@ require_once DOL_DOCUMENT_ROOT.'/stripe/config.php'; // This set stripe glo
|
||||
*/
|
||||
class Stripe extends CommonObject
|
||||
{
|
||||
/**
|
||||
* @var int ID
|
||||
*/
|
||||
public $rowid;
|
||||
|
||||
public $fk_soc;
|
||||
public $fk_key;
|
||||
public $id;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user