- added logs tracing hemat

This commit is contained in:
Muhammad Fadli 2023-08-30 03:00:26 +07:00
parent b15b685a7b
commit b9bc034492

View File

@ -1571,10 +1571,10 @@ export class TransactionService {
dataTransaction.seri_number = callback['data']['serial_number'];
}
if (callback['hrg'] != undefined) {
if (callback['hrg'] != undefined || callback['hrg'] != 'undefined' || callback['hrg'] != null) {
console.log('mskcbhargahemat', 'msk')
dataProductHistoryPrice.price = callback['hrg'];
} else if (callback['data']['additional']['harga'] != undefined) {
} else if (callback['data']['additional']['harga'] != undefined || callback['data']['additional']['harga'] != 'undefined' || callback['data']['additional']['harga'] != null) {
console.log('mskcbhargahemat1', 'msk')
dataProductHistoryPrice.price = parseInt(callback['data']['additional']['harga']);
}