mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-20 11:48:27 -06:00
This commit is contained in:
parent
25e3abeeb8
commit
9eca31529c
@ -355,6 +355,9 @@ class TransactionJournalFactory
|
|||||||
|
|
||||||
/** @var null|TransactionJournalMeta $result */
|
/** @var null|TransactionJournalMeta $result */
|
||||||
$result = TransactionJournalMeta::withTrashed()
|
$result = TransactionJournalMeta::withTrashed()
|
||||||
|
->leftJoin('transaction_journals', 'transaction_journals.id', '=', 'journal_meta.transaction_journal_id')
|
||||||
|
->whereNotNull('transaction_journals.id')
|
||||||
|
->where('transaction_journals.user_id', $this->user->id)
|
||||||
->where('data', json_encode($hash, JSON_THROW_ON_ERROR))
|
->where('data', json_encode($hash, JSON_THROW_ON_ERROR))
|
||||||
->with(['transactionJournal', 'transactionJournal.transactionGroup'])
|
->with(['transactionJournal', 'transactionJournal.transactionGroup'])
|
||||||
->first()
|
->first()
|
||||||
|
Loading…
Reference in New Issue
Block a user