public function stakeholderSummaryAction() { $this->_helper->layout->setLayout('print'); $this->view->headTitle("Manufacturer wise stock summary"); $stock_batch = new Model_StockBatch(); $stock_batch->form_values['adjustment_no'] = $this->_request->adjustment_no; $stock_batch->form_values['adjustment_type'] = $this->_request->adjustment_type; $stock_batch->form_values['product'] = $this->_request->product; $stock_batch->form_values['date_from'] = $this->_request->date_from; $stock_batch->form_values['date_to'] = $this->_request->date_to; $summary = $stock_batch->stakeholderProductSummary(); $expired_summary = $stock_batch->stakeholderExpiredProductSummary(); $this->view->summary = $summary; $this->view->expired_summary = $expired_summary; $this->view->print_title = "Batch Management Summary"; $this->view->warehousename = $this->_identity->getWarehouseName(); $this->view->username = $this->_identity->getUserName(); }