public function locationStatusVaccinesAction() { $placement_location = new Model_PlacementLocations(); $result = $placement_location->locationStatusVaccines(); $this->view->result = $result; }
/** * @name $getPlacementsSummary * @param int $wh_id Warehouse ID * @param int $type Location Type ID i.e. 99 - CCEM, 100 - Non CCEM * * This service will return placement summary for both ccem and non ccem * * @author Ajmal Hussain <*****@*****.**> */ public function getPlacementsSummaryAction() { $wh_id = $this->_request->getParam('wh_id', ''); $type = $this->_request->getParam('type', ''); if (!empty($wh_id)) { $placement_location = new Model_PlacementLocations(); $result = $placement_location->getPlacementsSummary($wh_id, $type); } else { $result = array(array("error" => "Please provide wh_id param. e.g. (?wh_id=&type=)")); } echo Zend_Json::encode($result); }