feat(PaymentReceive): link invoice with payment receive entries.

This commit is contained in:
a.bouhuolia
2021-03-06 14:33:09 +02:00
parent b03a27aefb
commit c245f4249d

View File

@@ -479,7 +479,7 @@ export default class PaymentReceiveService {
const paymentReceive = await PaymentReceive.query()
.withGraphFetched('customer')
.withGraphFetched('depositAccount')
.withGraphFetched('entries')
.withGraphFetched('entries.invoice')
.withGraphFetched('transactions')
.findById(paymentReceiveId);