mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code clean up [skip ci]
This commit is contained in:
@@ -431,10 +431,12 @@ class AccountRepository implements AccountRepositoryInterface
|
||||
$fields[] = 'destination.account_id as destination_account_id';
|
||||
$fields[] = 'destination.amount as destination_amount';
|
||||
|
||||
$query->groupBy(['source.account_id',
|
||||
'source.amount',
|
||||
'destination.account_id',
|
||||
'destination.amount',]);
|
||||
$query->groupBy(
|
||||
['source.account_id',
|
||||
'source.amount',
|
||||
'destination.account_id',
|
||||
'destination.amount',]
|
||||
);
|
||||
|
||||
$complete = $query->get($fields);
|
||||
|
||||
|
@@ -134,7 +134,7 @@ class BillRepository implements BillRepositoryInterface
|
||||
->whereIn('bill_id', $ids)
|
||||
->before($end)
|
||||
->after($start)
|
||||
->groupBy(['transaction_journals.bill_id','transaction_journals.id'])
|
||||
->groupBy(['transaction_journals.bill_id', 'transaction_journals.id'])
|
||||
->get(
|
||||
[
|
||||
'transaction_journals.bill_id',
|
||||
|
Reference in New Issue
Block a user