diff --git a/pom.xml b/pom.xml
index 2b0065cdc..2f7647441 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
4.0.0
manage
- 2.3.56
+ 2.3.57
UTF-8
2.4.0
diff --git a/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/TransactionMapper.xml b/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/TransactionMapper.xml
index 242c3f775..256c10b7e 100644
--- a/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/TransactionMapper.xml
+++ b/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/TransactionMapper.xml
@@ -938,11 +938,11 @@
t.channel,
t.surcharge_rate,
t.transaction_time,
- if(t.transaction_type = 'Credit', t.clearing_amount, -t.clearing_amount) clearing_amount,
- if(t.transaction_type = 'Credit', t.total_surcharge, -t.total_surcharge) total_surcharge,
- if(t.transaction_type = 'Credit', t.transaction_fee, -t.transaction_fee) transaction_fee,
- if(t.transaction_type = 'Credit', t.channel_surcharge, -t.channel_surcharge) channel_surcharge,
- if(t.transaction_type = 'Credit', t.settle_amount, -t.settle_amount) settle_amount,
+ IF( t.transaction_type = 'Credit', t.clearing_amount,-(if(t.clearing_amount>=0,t.clearing_amount, - t.clearing_amount))) clearing_amount,
+ IF( t.transaction_type = 'Credit', t.total_surcharge, -(if(t.total_surcharge>=0,t.total_surcharge, - t.total_surcharge))) total_surcharge,
+ IF( t.transaction_type = 'Credit', t.transaction_fee, -(if(t.transaction_fee>=0,t.transaction_fee, - t.transaction_fee))) transaction_fee,
+ IF( t.transaction_type = 'Credit', t.channel_surcharge, - (if(t.channel_surcharge>=0,t.channel_surcharge, - t.channel_surcharge))) channel_surcharge,
+ IF( t.transaction_type = 'Credit', t.settle_amount, - (if(t.settle_amount>=0,t.settle_amount, - t.settle_amount)) ) settle_amount,
t.order_id,
t.org_rate,
t.surcharge_cashback,