예제 #1
0
파일: Credit.php 프로젝트: ngchie/system
 protected function parseRow($credit_row)
 {
     $ret = Billrun_Util::parseCreditRow($credit_row);
     if (isset($ret['status']) && $ret['status'] == 0) {
         $error_message = isset($ret['desc']) ? $ret['desc'] : 'Error with credit row';
         return $this->setError($error_message, $credit_row);
     }
     return $ret;
 }