|
|
@@ -117,7 +117,7 @@ class EventProduct extends CommonObject
|
|
|
'ref' => array('type'=>'varchar(128)', 'label'=>'Ref', 'enabled'=>'1', 'position'=>20, 'notnull'=>1, 'visible'=>4, 'noteditable'=>'1', 'default'=>'(PROV)', 'index'=>1, 'searchall'=>1, 'showoncombobox'=>'1', 'validate'=>'1', 'comment'=>"Reference of object"),
|
|
|
'label' => array('type'=>'varchar(255)', 'label'=>'Label', 'enabled'=>'1', 'position'=>30, 'notnull'=>0, 'visible'=>1, 'searchall'=>1, 'css'=>'minwidth300', 'cssview'=>'wordbreak', 'showoncombobox'=>'2', 'validate'=>'1',),
|
|
|
'amount' => array('type'=>'price', 'label'=>'Amount', 'enabled'=>'1', 'position'=>40, 'notnull'=>0, 'visible'=>1, 'default'=>'null', 'isameasure'=>'1', 'help'=>"Fixed amount", 'validate'=>'1',),
|
|
|
- 'qty' => array('type'=>'real', 'label'=>'Qty', 'enabled'=>'1', 'position'=>45, 'notnull'=>0, 'visible'=>1, 'default'=>'0', 'isameasure'=>'1', 'css'=>'maxwidth75imp', 'help'=>"Maximum quantity (0 means no limit)", 'validate'=>'1',),
|
|
|
+ 'qty' => array('type'=>'real', 'label'=>'Qty', 'enabled'=>'0', 'position'=>45, 'notnull'=>0, 'visible'=>1, 'isameasure'=>'1', 'css'=>'maxwidth75imp', 'help'=>"Maximum quantity (0 means no limit)", 'validate'=>'1',),
|
|
|
'description' => array('type'=>'text', 'label'=>'Description', 'enabled'=>'1', 'position'=>60, 'notnull'=>0, 'visible'=>3, 'validate'=>'1',),
|
|
|
'note_public' => array('type'=>'html', 'label'=>'NotePublic', 'enabled'=>'1', 'position'=>61, 'notnull'=>0, 'visible'=>0, 'cssview'=>'wordbreak', 'validate'=>'1',),
|
|
|
'note_private' => array('type'=>'html', 'label'=>'NotePrivate', 'enabled'=>'1', 'position'=>62, 'notnull'=>0, 'visible'=>0, 'cssview'=>'wordbreak', 'validate'=>'1',),
|
|
|
@@ -131,8 +131,6 @@ class EventProduct extends CommonObject
|
|
|
'status' => array('type'=>'integer', 'label'=>'Status', 'enabled'=>'1', 'position'=>2000, 'notnull'=>1, 'visible'=>1, 'index'=>1, 'arrayofkeyval'=>array('0'=>'Piszkozat', '1'=>'Hitelesítve', '9'=>'Cancelled'), 'validate'=>'1',),
|
|
|
'fk_eventdetails' => array('type'=>'integer:EventDetails:custom/eventwizard/class/eventdetails.class.php', 'label'=>'Event Details', 'enabled'=>'1', 'position'=>50, 'notnull'=>0, 'visible'=>-1,),
|
|
|
'fk_product' => array('type'=>'integer:Product:product/class/product.class.php', 'label'=>'Product', 'enabled'=>'1', 'position'=>50, 'notnull'=>0, 'visible'=>-1,),
|
|
|
- 'fk_eventoption' => array('type'=>'integer:EventOption:custom/eventwizard/class/eventoption.class.php:1:status=1 AND entity IN (__SHARED_ENTITIES__)', 'label'=>'Event Option', 'enabled'=>'1', 'position'=>50, 'notnull'=>0, 'visible'=>-1,),
|
|
|
- 'type' => array('type'=>'integer', 'label'=>'Type', 'enabled'=>'1', 'position'=>50, 'notnull'=>0, 'visible'=>-1, 'arrayofkeyval'=>array('1'=>'Kötelező elem', '2'=>'Választandó elem', '3'=>'Opcionális'),),
|
|
|
);
|
|
|
public $rowid;
|
|
|
public $entity;
|
|
|
@@ -153,8 +151,6 @@ class EventProduct extends CommonObject
|
|
|
public $status;
|
|
|
public $fk_eventdetails;
|
|
|
public $fk_product;
|
|
|
- public $fk_eventoption;
|
|
|
- public $type;
|
|
|
// END MODULEBUILDER PROPERTIES
|
|
|
|
|
|
|