I need to redirect to get data relevant to current increment ID of Order entity? So how I find current increment ID?
public function viewAction() {
$this->loadLayout();
if($increment_id = $this->getRequest()->getParam('increment_id')) {
Mage::register('current_increment_id',$increment_id);
$this->_setActiveMenu('casestation');
$this->_addContent(
$this->getLayout()->createBlock('casestation/adminhtml_print')
);
}
return $this->renderLayout();
}
Page page directed according to above function. I need to add button here and want to get order details on current increment ID.