public function printIssueShipmentAction() { $this->_helper->layout->setLayout('print'); $this->view->headTitle("Stock Issue List"); $stock_master = new Model_StockMaster(); $stock_master->form_values['pk_id'] = $this->_request->id; $stock_master->form_values['warehouse_id'] = $this->_request->warehouse_id; $result = $stock_master->getStocksIssueListShipment(); $this->view->result = $result; $this->view->username = $this->_identity->getUserName(); $this->view->warehousename = $result[0]['warehouse_name']; $this->view->print_title = "Stock Issue/Dispatch Voucher"; $this->view->department = $this->_identity->getUserDepartment(); }