Exemplo n.º 1
0
 private function toOK()
 {
     //new status
     $this->tmr['tmr_status'] = 'OK';
     //Do the billing
     if ($this->tmr['tmr_amount'] != 0) {
         $this->tmr['tmr_tmb_id'] = TMBill::newFromScratch()->getId();
     }
     //Update de DB
     $this->updateDB();
 }