mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 17:33:45 +00:00
Attempt at fixing https://github.com/firefly-iii/firefly-iii/issues/8137
This commit is contained in:
@@ -33,6 +33,7 @@ use FireflyIII\Models\TransactionCurrency;
|
|||||||
use FireflyIII\Repositories\Account\AccountRepositoryInterface;
|
use FireflyIII\Repositories\Account\AccountRepositoryInterface;
|
||||||
use FireflyIII\Support\Http\Api\ExchangeRateConverter;
|
use FireflyIII\Support\Http\Api\ExchangeRateConverter;
|
||||||
use Illuminate\Support\Collection;
|
use Illuminate\Support\Collection;
|
||||||
|
use Illuminate\Support\Facades\Log;
|
||||||
use JsonException;
|
use JsonException;
|
||||||
use Psr\Container\ContainerExceptionInterface;
|
use Psr\Container\ContainerExceptionInterface;
|
||||||
use Psr\Container\NotFoundExceptionInterface;
|
use Psr\Container\NotFoundExceptionInterface;
|
||||||
@@ -175,7 +176,7 @@ class Steam
|
|||||||
// use foreign amount:
|
// use foreign amount:
|
||||||
$amount = $foreignModified;
|
$amount = $foreignModified;
|
||||||
}
|
}
|
||||||
|
Log::debug(sprintf('Trying to add %s and %s.', var_export($currentBalance, true), var_export($amount, true)));
|
||||||
$currentBalance = bcadd($currentBalance, $amount);
|
$currentBalance = bcadd($currentBalance, $amount);
|
||||||
$carbon = new Carbon($entry->date, config('app.timezone'));
|
$carbon = new Carbon($entry->date, config('app.timezone'));
|
||||||
$date = $carbon->format('Y-m-d');
|
$date = $carbon->format('Y-m-d');
|
||||||
|
Reference in New Issue
Block a user