mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix display of foreign currencies in charts.
This commit is contained in:
@@ -41,11 +41,10 @@ class AccountTasker implements AccountTaskerInterface
|
||||
*/
|
||||
public function getAccountReport(Collection $accounts, Carbon $start, Carbon $end): array
|
||||
{
|
||||
$ids = $accounts->pluck('id')->toArray();
|
||||
$yesterday = clone $start;
|
||||
$yesterday->subDay();
|
||||
$startSet = Steam::balancesById($ids, $yesterday);
|
||||
$endSet = Steam::balancesById($ids, $end);
|
||||
$startSet = Steam::balancesByAccounts($accounts, $yesterday);
|
||||
$endSet = Steam::balancesByAccounts($accounts, $end);
|
||||
|
||||
Log::debug('Start of accountreport');
|
||||
|
||||
|
Reference in New Issue
Block a user