This commit is contained in:
Muhammad Fadli 2023-08-30 03:01:18 +07:00
commit b29d8f1a13

View File

@ -1571,10 +1571,10 @@ export class TransactionService {
dataTransaction.seri_number = callback['data']['serial_number']; 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') console.log('mskcbhargahemat', 'msk')
dataProductHistoryPrice.price = callback['hrg']; 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') console.log('mskcbhargahemat1', 'msk')
dataProductHistoryPrice.price = parseInt(callback['data']['additional']['harga']); dataProductHistoryPrice.price = parseInt(callback['data']['additional']['harga']);
} }