mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 09:22:33 +00:00
Fix some bugs in multi-currency reports.
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user