mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Various code reshuffelling.
This commit is contained in:
@@ -30,7 +30,6 @@ use FireflyIII\Models\TransactionCurrency;
|
||||
use FireflyIII\Models\TransactionType;
|
||||
use FireflyIII\User;
|
||||
use Illuminate\Support\Collection;
|
||||
use Log;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -135,12 +134,12 @@ class NoBudgetRepository implements NoBudgetRepositoryInterface
|
||||
/** @var TransactionCurrency $currency */
|
||||
$currency = $currencies[$code];
|
||||
$return[] = [
|
||||
'currency_id' => (string) $currency['id'],
|
||||
'currency_id' => (string)$currency['id'],
|
||||
'currency_code' => $code,
|
||||
'currency_name' => $currency['name'],
|
||||
'currency_symbol' => $currency['symbol'],
|
||||
'currency_decimal_places' => $currency['decimal_places'],
|
||||
'amount' => number_format((float)$spent,$currency['decimal_places'], '.',''),
|
||||
'amount' => number_format((float)$spent, $currency['decimal_places'], '.', ''),
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user