listAllTokensByClient_id(@Param("client_id") int client_id);
}
diff --git a/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/OrderMapper.xml b/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/OrderMapper.xml
index c009f4864..9cad5b62b 100644
--- a/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/OrderMapper.xml
+++ b/src/main/resources/au/com/royalpay/payment/manage/mappers/payment/OrderMapper.xml
@@ -541,7 +541,7 @@
+
+
-
\ No newline at end of file
+
diff --git a/src/main/ui/static/payment/tradelog/templates/incremental_trade_logs.html b/src/main/ui/static/payment/tradelog/templates/incremental_trade_logs.html
index da3881451..1bf750ffa 100644
--- a/src/main/ui/static/payment/tradelog/templates/incremental_trade_logs.html
+++ b/src/main/ui/static/payment/tradelog/templates/incremental_trade_logs.html
@@ -395,7 +395,8 @@
ng-click="showRefundLog(trade.order_id)">(-{{trade.refund_fee}})
|
- {{(trade.surcharge_rate * 100 - trade.rate_value)| number : 2}}% |
+ {{(((trade.surcharge_rate * 100) > trade.rate_value)?(trade.surcharge_rate * 100-trade.rate_value):trade.surcharge_rate)| number : 2}}%
+ |
{{(trade.total_surcharge-trade.incremental_surcharge) | number : 2 | currency:trade.currency}} |
{{trade.source}}:{{(trade.rate_value) | number : 2}}%
diff --git a/src/main/ui/static/payment/tradelog/templates/partner_incremental_trade_logs.html b/src/main/ui/static/payment/tradelog/templates/partner_incremental_trade_logs.html
index bcbf4d146..d9dd59a02 100644
--- a/src/main/ui/static/payment/tradelog/templates/partner_incremental_trade_logs.html
+++ b/src/main/ui/static/payment/tradelog/templates/partner_incremental_trade_logs.html
@@ -348,7 +348,7 @@
(-{{trade.refund_fee}})
|
|
- {{(trade.surcharge_rate * 100 - trade.rate_value)| number : 2}}% |
+ {{(((trade.surcharge_rate * 100) > trade.rate_value)?(trade.surcharge_rate * 100-trade.rate_value):trade.surcharge_rate)| number : 2}}% |
{{(trade.total_surcharge-trade.incremental_surcharge) | number : 2 | currency:trade.currency}} |
{{trade.source}}:{{(trade.rate_value) | number : 2}}%
|