public function ajaxGetBatchLocationsAction()
 {
     $this->_helper->layout->disableLayout();
     $stock_batch = new Model_StockBatch();
     $stock_batch->form_values['batch_id'] = $this->_request->getParam('batch_id');
     $stock_batch->form_values['item_id'] = $this->_request->getParam('item_id');
     $stock_batch->form_values['type'] = $this->_request->getParam('type');
     $item_pack_size = $this->_em->getRepository('ItemPackSizes')->find($this->_request->getParam('item_id'));
     //if vaccine
     if ($item_pack_size->getItemCategory() != null && ($item_pack_size->getItemCategory()->getPkId() == 1 || $item_pack_size->getItemCategory()->getPkId() == 4)) {
         $this->view->locations = $stock_batch->getBatchLocations();
     } else {
         $this->view->locations = $stock_batch->getBactchLocationDryStore();
     }
 }