Ejemplo n.º 1
0
 protected function _prepareLayout()
 {
     if ($this->getOrderId()) {
         $this->_addButton('send_email', array('label' => Mage::helper('amemail')->__('Send Email...'), 'onclick' => "setLocation('{$this->_getSendEmailUrl()}')"), 0);
     }
     return parent::_prepareLayout();
 }