public function stockReceiveListAction() { $this->_helper->layout->setLayout('print'); $this->view->headTitle("Stock Receive List"); $stock_master = new Model_StockMaster(); $stock_master->form_values['searchby'] = $this->_request->searchby; $stock_master->form_values['number'] = $this->_request->number; $stock_master->form_values['warehouses'] = $this->_request->warehouses; $stock_master->form_values['product'] = $this->_request->product; $stock_master->form_values['date_from'] = $this->_request->date_from; $stock_master->form_values['date_to'] = $this->_request->date_to; $dataset = $stock_master->getAllItemStock(); $this->view->username = $this->_identity->getUserName(); $this->view->warehousename = $this->_identity->getWarehouseName(); $this->view->print_title = "Stock Receive List"; $this->view->result = $dataset; }