mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 23:06:28 +00:00
update
This commit is contained in:
@@ -466,7 +466,11 @@ const _postingInvoice = async (uniqueCode) => {
|
||||
);
|
||||
|
||||
winston.logger.info(`SCHEDULER-RETRY-${uniqueCode} ITEM REFERENCE ${item.reference}`);
|
||||
let invoiceRetry = await model.getInvoice(item.reference, trx)
|
||||
winston.logger.info(`SCHEDULER-RETRY-${uniqueCode} URL SAP ${parameter.c_value}`);
|
||||
// let invoiceRetry = await model.getInvoice(item.reference, trx)
|
||||
let invoiceRetry = await trx('payment.t_d_invoice')
|
||||
.where('c_invoice_no', '=', code)
|
||||
.first()
|
||||
winston.logger.info(`SCHEDULER-RETRY-${uniqueCode} RETRY INVOICE ${JSON.stringify(invoiceRetry)}`);
|
||||
|
||||
const cms = await model.setReturnSAP(
|
||||
|
||||
Reference in New Issue
Block a user