Ejemplo n.º 1
0
 public static function ProcessAdvanceTx($tx)
 {
     if ($tx->commit()) {
         return Voucher::CreateAdvanceVoucher($tx);
     } else {
         Logger::Log('TransactionProcessor', 'Failed', 'Advance transaction employee id:' . $tx->partyId . ' with tx id:' . $tx->transactionId . ' could not be commited');
         return false;
     }
 }