mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-06 14:12:15 +00:00
Large commit to get rid of a lot of static methods.
This commit is contained in:
@@ -39,7 +39,11 @@ class JournalList implements BinderInterface
|
||||
$object = TransactionJournal::whereIn('transaction_journals.id', $ids)
|
||||
->expanded()
|
||||
->where('transaction_journals.user_id', auth()->user()->id)
|
||||
->get(TransactionJournal::queryFields());
|
||||
->get([
|
||||
'transaction_journals.*',
|
||||
'transaction_types.type AS transaction_type_type',
|
||||
'transaction_currencies.code AS transaction_currency_code',
|
||||
]);
|
||||
|
||||
if ($object->count() > 0) {
|
||||
return $object;
|
||||
|
||||
Reference in New Issue
Block a user