fixing: callback transaction
This commit is contained in:
parent
b33fa4c9c6
commit
044a5082e1
|
@ -481,7 +481,7 @@ export class TransactionService {
|
||||||
`${coaType[coaType.SALES]}-SYSTEM`,
|
`${coaType[coaType.SALES]}-SYSTEM`,
|
||||||
);
|
);
|
||||||
|
|
||||||
if (orderTransactionDto.bill_trx_id !== null) {
|
if (orderTransactionDto.bill_trx_id) {
|
||||||
try {
|
try {
|
||||||
const billId = await this.checkBillHistoryRepository.findOneOrFail({
|
const billId = await this.checkBillHistoryRepository.findOneOrFail({
|
||||||
where: {
|
where: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user