mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 17:33:45 +00:00
Fixes #743
This commit is contained in:
@@ -181,12 +181,12 @@ class Steam
|
||||
$modified = is_null($entry->modified) ? '0' : strval($entry->modified);
|
||||
$foreignModified = is_null($entry->modified_foreign) ? '0' : strval($entry->modified_foreign);
|
||||
$amount = '0';
|
||||
if ($currencyId === $entry->transaction_currency_id) {
|
||||
if ($currencyId === $entry->transaction_currency_id || $currencyId === 0) {
|
||||
// use normal amount:
|
||||
$amount = $modified;
|
||||
}
|
||||
if ($currencyId === $entry->foreign_currency_id) {
|
||||
// use normal amount:
|
||||
// use foreign amount:
|
||||
$amount = $foreignModified;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user