public function vaccinePlacementReceiveSummaryAction() { $this->_helper->layout->setLayout('print'); $var = $this->_request->type; $this->view->val = $var; $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; $data = $stock_master->getTempStockReceiveSummary($var); $this->view->result = $data; $this->view->username = $this->_identity->getUserName(); $this->view->warehousename = $this->_identity->getWarehouseName(); if ($var == "prod") { $this->view->headTitle("Product wise Stock Receive Summary"); $this->view->print_title = "Product wise Stock Receive Summary"; } else { $this->view->headTitle("Location wise Stock Receive Summary"); $this->view->print_title = "Location wise Stock Receive Summary"; } }