Merge branch 'development' of ssh://git.eigen.co.id:2222/eigen/pos-be into fix/bug-firman
commit
08e018e16b
|
@ -74,12 +74,17 @@ export class MidtransCallbackHandler
|
||||||
module: TABLE_NAME.TRANSACTION,
|
module: TABLE_NAME.TRANSACTION,
|
||||||
op: OPERATION.UPDATE,
|
op: OPERATION.UPDATE,
|
||||||
});
|
});
|
||||||
|
console.log({ data, old_data });
|
||||||
|
|
||||||
this.eventBus.publish(
|
this.eventBus.publish(
|
||||||
new TransactionChangeStatusEvent({
|
new TransactionChangeStatusEvent({
|
||||||
id: data_id,
|
id: data_id,
|
||||||
old: old_data,
|
old: old_data,
|
||||||
data: { ...data, status: transaction.status },
|
data: {
|
||||||
|
...data,
|
||||||
|
status: transaction.status,
|
||||||
|
booking_date: transaction.booking_date,
|
||||||
|
},
|
||||||
user: BLANK_USER,
|
user: BLANK_USER,
|
||||||
description: 'Midtrans Callback',
|
description: 'Midtrans Callback',
|
||||||
module: TABLE_NAME.TRANSACTION,
|
module: TABLE_NAME.TRANSACTION,
|
||||||
|
|
Loading…
Reference in New Issue