/** * @name $getIssueVoucherList * @param int $wh_id * * This service will return all Issue voucher which are * not received or partially received sorted by issue date. * * @author Ajmal Hussain <*****@*****.**> */ public function getIssueVoucherListNotReceivedAction() { if ($this->_request->getParam('wh_id')) { $wh_id = $this->_request->getParam('wh_id'); $stock_master = new Model_StockMaster(); $result = $stock_master->getIssueVoucherListNotReceived($wh_id); } else { $result = array(array("error" => "Please provide wh_id param. e.g. (?wh_id=1)")); } echo Zend_Json::encode($result); }