fix(Journals): sync posting datetime with jorunal entries.

This commit is contained in:
a.bouhuolia
2021-03-29 10:50:44 +02:00
parent 40b2ba099e
commit 9a204282a2
38 changed files with 477 additions and 302 deletions

View File

@@ -569,7 +569,12 @@ export default class BillPaymentsService implements IBillPaymentsService {
credit: 0,
referenceId: billPayment.id,
referenceType: 'BillPayment',
transactionNumber: billPayment.paymentNumber,
referenceNumber: billPayment.reference,
date: formattedDate,
createdAt: billPayment.createdAt,
};
if (override) {
const transactions = await AccountTransaction.query()