Merge branch 'master' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-production
This commit is contained in:
commit
df46800089
|
@ -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']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user