|
@@ -35,22 +35,22 @@ class Asset extends CommonObject
|
|
|
* @var string ID to identify managed object
|
|
|
*/
|
|
|
public $element = 'asset';
|
|
|
-
|
|
|
+
|
|
|
/**
|
|
|
* @var string Name of table without prefix where object is stored
|
|
|
*/
|
|
|
public $table_element = 'asset';
|
|
|
-
|
|
|
+
|
|
|
/**
|
|
|
* @var int Does module support multicompany module ? 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
|
|
|
*/
|
|
|
public $ismultientitymanaged = 0;
|
|
|
-
|
|
|
+
|
|
|
/**
|
|
|
* @var int Does asset support extrafields ? 0=No, 1=Yes
|
|
|
*/
|
|
|
public $isextrafieldmanaged = 1;
|
|
|
-
|
|
|
+
|
|
|
/**
|
|
|
* @var string String with name of icon for asset. Must be the part after the 'object_' into object_asset.png
|
|
|
*/
|
|
@@ -96,14 +96,19 @@ class Asset extends CommonObject
|
|
|
'status' => array('type'=>'integer', 'label'=>'Status', 'visible'=>1, 'enabled'=>1, 'position'=>1000, 'notnull'=>1, 'index'=>1, 'arrayofkeyval'=>array('0'=>'Draft', '1'=>'Active', '-1'=>'Cancel')),
|
|
|
);
|
|
|
public $rowid;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @var string Ref
|
|
|
+ */
|
|
|
public $ref;
|
|
|
+
|
|
|
public $entity;
|
|
|
-
|
|
|
+
|
|
|
/**
|
|
|
- * @var string proper name for given parameter
|
|
|
- */
|
|
|
- public $label;
|
|
|
-
|
|
|
+ * @var string proper name for given parameter
|
|
|
+ */
|
|
|
+ public $label;
|
|
|
+
|
|
|
public $amount;
|
|
|
public $fk_soc;
|
|
|
public $description;
|