mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 17:06:28 +00:00
Update invoice
This commit is contained in:
@@ -168,6 +168,11 @@ const _generateInvoice = async (invoiceDate, uniqueCode) => {
|
||||
winston.logger.info(`SCHEDULER-FB70-${uniqueCode} success insert posting et : ${JSON.stringify(postingEt)}`)
|
||||
}
|
||||
|
||||
// write payment history
|
||||
winston.logger.info(`SCHEDULER-FB70-${uniqueCode} insert payment history et : ${JSON.stringify(invoice)}`)
|
||||
let history = await model.writePaynentHistory(invoice, trx)
|
||||
winston.logger.info(`SCHEDULER-FB70-${uniqueCode} result insert payment history et : ${JSON.stringify(history)}`)
|
||||
|
||||
})
|
||||
|
||||
if(invoice.length > 0){
|
||||
|
||||
Reference in New Issue
Block a user