diff --git a/src/main/java/au/com/royalpay/payment/manage/management/clearing/core/impl/CleanServiceImpl.java b/src/main/java/au/com/royalpay/payment/manage/management/clearing/core/impl/CleanServiceImpl.java
index 73469d505..8226ccf24 100644
--- a/src/main/java/au/com/royalpay/payment/manage/management/clearing/core/impl/CleanServiceImpl.java
+++ b/src/main/java/au/com/royalpay/payment/manage/management/clearing/core/impl/CleanServiceImpl.java
@@ -842,10 +842,6 @@ public class CleanServiceImpl implements CleanService, ApplicationEventPublisher
// 测试用地址
// String mailId = mailService.sendEmail(title, "164851225@qq.com", "1029811920@qq.com", content,
// attachList);
- // String mailId = mailService.sendEmail(title, "fazal.cader@flexewallet.com",
- // "locky@royalpay.com.au,leo.huang@royalpay.com.au,eason.qian@royalpay.com.au,astro.dai@royalpay.com.au,settlement@royalpay.com.au,settlements@flexewallet.com",
- // content, attachList);
- // todo 等fazal休假结算后恢复
String mailId = mailService.sendEmail(title, "diana.baldi@flexewallet.com,steven.stamboultgis@novatti.com,fazal.cader@flexewallet.com",
"locky@royalpay.com.au,leo.huang@royalpay.com.au,eason.qian@royalpay.com.au,astro.dai@royalpay.com.au,settlement@royalpay.com.au,settlements@flexewallet.com,tommy.yang@royalpay.com.au",
content, attachList);
diff --git a/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java b/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java
index 9b50937bd..dab9557d1 100644
--- a/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java
+++ b/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java
@@ -627,8 +627,8 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
// todo Velocity
Context ctx = new Context();
ctx.setVariable("bds", bds);
- ctx.setVariable("credential_code", username);
ctx.setVariable("password", pwd);
+ ctx.setVariable("username", username);
ctx.setVariable("client_moniker", client.getString("client_moniker"));
ctx.setVariable("contact_person", client.getString("contact_person"));
ctx.setVariable("credential_code", client.getString("credential_code"));
diff --git a/src/main/java/au/com/royalpay/payment/manage/tradelog/refund/impls/RefundServiceImpl.java b/src/main/java/au/com/royalpay/payment/manage/tradelog/refund/impls/RefundServiceImpl.java
index b7c2e2fe1..6a77fe285 100644
--- a/src/main/java/au/com/royalpay/payment/manage/tradelog/refund/impls/RefundServiceImpl.java
+++ b/src/main/java/au/com/royalpay/payment/manage/tradelog/refund/impls/RefundServiceImpl.java
@@ -183,7 +183,7 @@ public class RefundServiceImpl implements RefundService, ApplicationEventPublish
BigDecimal realAmount = original ? fee : CurrencyAmountUtils.toAmount(fee, order.getString("currency"));
JSONObject refundConfig = checkRefundAuditFlag();
- if (refundConfig != null && refundConfig.size() > 0 && refundConfig.getBoolean("refundAudit")) {
+ if (partnerAccount!=null && refundConfig != null && refundConfig.size() > 0 && refundConfig.getBoolean("refundAudit")) {
if (realAmount.compareTo(refundConfig.getBigDecimal("refundAuditAmount")) > 0) {
//订单需要审核
boolean casherRefund = reviewNewRefundOrder(orderId, realAmount, remark, partnerAccount, manager);
diff --git a/src/main/resources/templates/activity/one_dollar_day/merchant_detail.html b/src/main/resources/templates/activity/one_dollar_day/merchant_detail.html
index 8bd064772..ce1e7710f 100644
--- a/src/main/resources/templates/activity/one_dollar_day/merchant_detail.html
+++ b/src/main/resources/templates/activity/one_dollar_day/merchant_detail.html
@@ -30,21 +30,21 @@
-
diff --git a/src/main/resources/templates/mail/register_application.html b/src/main/resources/templates/mail/register_application.html
deleted file mode 100644
index f0f14b3a5..000000000
--- a/src/main/resources/templates/mail/register_application.html
+++ /dev/null
@@ -1,53 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
- |
-
-
- |
-
-
-
-
-
-
-
- Dear Partner,
- Thank you for registering an account with us!
- This is a system verification email from RoyalPay. RoyalPay is an exciting platform that makes international payments as easy as local ones.
- To get started, click on the button below:
- |
-
-
-
-
-
-
-
- |
-
-
-
-
-
- |
-
-
\ No newline at end of file
diff --git a/src/main/resources/templates/mail/reset_password.html b/src/main/resources/templates/mail/reset_password.html
index 4a0aa5e7d..cbc7bc56d 100644
--- a/src/main/resources/templates/mail/reset_password.html
+++ b/src/main/resources/templates/mail/reset_password.html
@@ -34,11 +34,10 @@
- #foreach($item in $accounts)
diff --git a/src/main/resources/templates/reports/week_report.html b/src/main/resources/templates/reports/week_report.html
index 41c182525..e3bcd0070 100644
--- a/src/main/resources/templates/reports/week_report.html
+++ b/src/main/resources/templates/reports/week_report.html
@@ -123,7 +123,7 @@
th:if="${report.transaction_report.melbourne.thisweek.compare.direction<0}"
th:text="'↓'+${report.transaction_report.melbourne.thisweek.compare.value}">
$report.transaction_report.melbourne.thisweek.compare.value
+ th:text="${report.transaction_report.melbourne.thisweek.compare.value}">
@@ -172,7 +172,7 @@
th:if="${report.transaction_report.sydney.thisweek.compare.direction<0}"
th:text="'↓'+${$report.transaction_report.sydney.thisweek.compare.value}">
$report.transaction_report.sydney.thisweek.compare.value
+ th:text="${$report.transaction_report.sydney.thisweek.compare.value}">
@@ -226,89 +226,49 @@
- ##
- ##
新增商户情况(Melbourne)
- ##
- ##
- ##
- ##
- ##
- ##
新增商户情况(Sydney)
- ##
- ##
- ##
|