예제 #1
0
 /**
  * Check - field is editable or not
  *
  * @return boolean
  */
 protected function isEditable()
 {
     return parent::isEditable() && !$this->getEntity()->isDefaultPrice();
 }
예제 #2
0
 /**
  * Check - field is editable or not
  *
  * @return boolean
  */
 protected function isEditable()
 {
     return parent::isEditable() && $this->getEntity()->getInventory()->getEnabled();
 }