mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix some bugs in multi-currency reports.
This commit is contained in:
parent
a57a7d3bda
commit
01876be152
@ -322,8 +322,8 @@ class CategoryController extends Controller
|
||||
$noCatRepository = app(NoCategoryRepositoryInterface::class);
|
||||
|
||||
// this gives us all currencies
|
||||
$expenses = $noCatRepository->listExpenses($start, $end);
|
||||
$income = $noCatRepository->listIncome($start, $end);
|
||||
$expenses = $noCatRepository->listExpenses($start, $end, $accounts);
|
||||
$income = $noCatRepository->listIncome($start, $end, $accounts);
|
||||
$currencies = array_unique(array_merge(array_keys($income), array_keys($expenses)));
|
||||
$periods = app('navigation')->listOfPeriods($start, $end);
|
||||
$format = app('navigation')->preferredCarbonLocalizedFormat($start, $end);
|
||||
|
@ -89,7 +89,7 @@ class OperationsRepository implements OperationsRepositoryInterface
|
||||
|
||||
// catch "no category" entries.
|
||||
if (0 === $categoryId) {
|
||||
$categoryName = (string)trans('firefly.no_category');
|
||||
continue;
|
||||
}
|
||||
|
||||
// info about the currency:
|
||||
|
Loading…
Reference in New Issue
Block a user