Fix budget limit test, and a bug in the other currencies corrector.

This commit is contained in:
James Cole
2019-06-11 21:21:50 +02:00
parent b632405a11
commit 5f768a0525
2 changed files with 5 additions and 2 deletions

View File

@@ -205,7 +205,7 @@ class OtherCurrenciesCorrections extends Command
if (null === $transaction->transaction_currency_id) {
$transaction->transaction_currency_id = $currency->id;
$transaction->save();
$this->count++;
//$this->count++;
}
// when mismatch in transaction:
@@ -214,7 +214,7 @@ class OtherCurrenciesCorrections extends Command
$transaction->foreign_amount = $transaction->amount;
$transaction->transaction_currency_id = $currency->id;
$transaction->save();
$this->count++;
//$this->count++;
}
}
);