diff --git a/src/main/resources/au/com/royalpay/payment/manage/mappers/system/ClientMapper.xml b/src/main/resources/au/com/royalpay/payment/manage/mappers/system/ClientMapper.xml
index af8c3f98b..a16023efc 100644
--- a/src/main/resources/au/com/royalpay/payment/manage/mappers/system/ClientMapper.xml
+++ b/src/main/resources/au/com/royalpay/payment/manage/mappers/system/ClientMapper.xml
@@ -113,13 +113,19 @@
locate(c.client_moniker,#{temp_mch_id_source})<=0
+
+ and ((c.approve_result=4 and c.open_status is null) or (c.approve_result=3 and c.open_status is null) or
+ c.open_status=1 or c.open_status=2 or c.open_status=4)
+
+
+
+ and c.source=4
+
and ((c.source=1 or c.source=2) and c.approve_result=2 and (c.open_status is null or c.open_status=3))
-
-
diff --git a/src/main/ui/static/analysis/templates/trans_analysis.html b/src/main/ui/static/analysis/templates/trans_analysis.html
index cee216777..363ca5a87 100644
--- a/src/main/ui/static/analysis/templates/trans_analysis.html
+++ b/src/main/ui/static/analysis/templates/trans_analysis.html
@@ -193,7 +193,7 @@