mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-26 05:26:17 +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']
|
||||
),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
<?php
|
||||
|
||||
|
||||
/*
|
||||
* UserGroupTransformer.php
|
||||
* Copyright (c) 2023 james@firefly-iii.org
|
||||
@@ -19,6 +21,8 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace FireflyIII\Transformers\V2;
|
||||
|
||||
use FireflyIII\Enums\UserRoleEnum;
|
||||
|
||||
Reference in New Issue
Block a user