public function ajaxGetPlacementHistoryAction() { $this->_helper->layout->disableLayout(); //$this->_request->id $stock_batch = new Model_StockBatch(); $arr = explode('|', $this->_request->id); $this->view->array_data = $arr; $stock_batch->form_values['batch_id'] = $arr[0]; $this->view->data = $stock_batch->getPlacementHistory(); $this->view->data1 = $stock_batch->getPlacementVvmStage(); //$this->_em->getRepository("Placements")->findBy(array('stockBatch',$this->_request->id)); }
public function ajaxGetPlacementDetailAction() { $this->_helper->layout->disableLayout(); $detail_id = $this->_request->id; $stock_batch = new Model_StockBatch(); $arr = explode('|', $this->_request->id); $this->view->array_data = $arr; $stock_batch->form_values['batch_id'] = $arr[0]; $this->view->data = $stock_batch->getPlacementHistory(); $this->view->id = $detail_id; }