Merge branch 'development' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-staging

This commit is contained in:
Muhammad Fadli 2023-08-02 00:23:26 +07:00
commit 75495c0e00

View File

@ -1445,7 +1445,7 @@ export class TransactionService {
if (callback['message'].includes('METRO')) {
const response = callback['message'];
const responseBaru = response.split('.');
dataTransaction.failed_reason = `Trx ${product.code} ke ${dataTransaction.destination} gagal. ${responseBaru[1]}`;
dataTransaction.failed_reason = `Trx ${product.code} ke ${dataTransaction.destination} gagal. ${responseBaru[2]}`;
if (callback['price'] != dataTransaction.product_price.price) {
dataTransaction.product_price.price = parseInt(callback['price']);
}