fixing: callback transaction

This commit is contained in:
ilham 2022-05-21 19:40:47 +07:00
parent b33fa4c9c6
commit 044a5082e1

View File

@ -481,7 +481,7 @@ export class TransactionService {
`${coaType[coaType.SALES]}-SYSTEM`,
);
if (orderTransactionDto.bill_trx_id !== null) {
if (orderTransactionDto.bill_trx_id) {
try {
const billId = await this.checkBillHistoryRepository.findOneOrFail({
where: {