Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jirisvoboda committed Nov 5, 2015
1 parent 3a38195 commit 0be4e7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/adapters/fio/FioAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,14 @@ private function initTransactionUploadList(TransactionUploadListInterface $list,
$transaction->setAccountFrom($model->getTransactionSenderAccountNum());
$transaction->setAccountTo($model->getTransactionRecipientAccountNum());
$transaction->setBankCode($model->getTransactionRecipientBankCode());
$transaction->setAmount($model->getTransactionAmount());
$transaction->setAmount(round($model->getTransactionAmount(), 2));
}

$transaction->setVariableSymbol($model->getTransactionVariableSymbol());
$transaction->setSpecificSymbol($model->primaryKey);
$transaction->setDate(new \DateTime('NOW'));
$transaction->setMessage($model->getTransactionComment());

if ($model->setTransactionAsReadyToPay() && $model->save())
{
$list->addTransaction($transaction);
Expand Down

0 comments on commit 0be4e7a

Please sign in to comment.