mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-25 13:10:35 +00:00
Various code cleanup
This commit is contained in:
@@ -175,7 +175,10 @@ class BillTransformer extends AbstractTransformer
|
||||
'native_amount' => $this->converter->convert($currencies[$currencyId], $this->default, $journal->date, $transaction['amount']),
|
||||
'foreign_native_amount' => '' === (string)$transaction['foreign_amount'] ? null : $this->converter->convert(
|
||||
$currencies[$foreignCurrencyId],
|
||||
$this->default, $journal->date, $transaction['foreign_amount']),
|
||||
$this->default,
|
||||
$journal->date,
|
||||
$transaction['foreign_amount']
|
||||
),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user