fix: specific account transactions.

fix: specific expense associated expense account graph.
fix: specific manual journal associated account and contact graph.
This commit is contained in:
a.bouhuolia
2021-04-25 23:41:54 +02:00
parent fcc95d9e01
commit c75109a975
7 changed files with 102 additions and 4 deletions

View File

@@ -822,7 +822,8 @@ export default class ManualJournalsService implements IManualJournalsService {
);
const manualJournal = await ManualJournal.query()
.findById(manualJournalId)
.withGraphFetched('entries')
.withGraphFetched('entries.account')
.withGraphFetched('entries.contact')
.withGraphFetched('transactions')
.withGraphFetched('media');