public function ajaxIcePacksUnallocatedAction() { $this->_helper->layout->disableLayout(); if (isset($this->_request->unallocated) && !empty($this->_request->unallocated)) { $ccm_model = new Model_CcmModels(); $ccm_model->form_values['unallocated'] = $this->_request->unallocated; $array = $ccm_model->getQuantityByGenericMake(); $this->view->icePackQuantity = $array; } }