/** * Setter for $_entity and add some extra data to history * * @param Varien_Object $entity * @return Enterprise_Reward_Model_Action_Abstract */ public function setEntity($entity) { parent::setEntity($entity); $this->getHistory()->addAdditionalData(array('increment_id' => $this->getEntity()->getIncrementId())); return $this; }
/** * Setter for $_entity and add some extra data to history * * @param Varien_Object $entity * @return Enterprise_Reward_Model_Action_Abstract */ public function setEntity($entity) { parent::setEntity($entity); $this->getHistory()->addAdditionalData(array('email' => $this->getEntity()->getEmail())); return $this; }