public function stockAdjustmentPrintAction() { $this->_helper->layout->setLayout('print'); $this->view->headTitle("Stock Adjustments List"); $stock_master = new Model_StockMaster(); $stock_master->form_values['adjustment_no'] = $this->_request->adjustment_no; $stock_master->form_values['adjustment_type'] = $this->_request->adjustment_type; $stock_master->form_values['product'] = $this->_request->product; $stock_master->form_values['batch_no'] = $this->_request->batch_no; $stock_master->form_values['date_from'] = $this->_request->date_from; $stock_master->form_values['date_to'] = $this->_request->date_to; $stock_adjustment = $stock_master->stockAdjustment(); $this->view->result = $stock_adjustment; $this->view->username = $this->_identity->getUserName(); $this->view->warehousename = $this->_identity->getWarehouseName(); $this->view->print_title = "Stock Adjustment"; }