|
|
@ -3779,7 +3779,14 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
ctx.setVariable("name", client.getString("contact_person"));
|
|
|
|
ctx.setVariable("name", client.getString("contact_person"));
|
|
|
|
ctx.setVariable("order_id", order.getString("order_id"));
|
|
|
|
ctx.setVariable("order_id", order.getString("order_id"));
|
|
|
|
ctx.setVariable("amount", order.getString("total_amount"));
|
|
|
|
ctx.setVariable("amount", order.getString("total_amount"));
|
|
|
|
String create_time = DateFormatUtils.format(order.getDate("create_time"), "yyyy-MM-dd HH:mm:ss");
|
|
|
|
ctx.setVariable("currency", order.getString("currency"));
|
|
|
|
|
|
|
|
String create_time = "";
|
|
|
|
|
|
|
|
if (client.getString("timezone") != null) {
|
|
|
|
|
|
|
|
create_time = DateFormatUtils.format(order.getDate("create_time"),
|
|
|
|
|
|
|
|
"yyyy-MM-dd HH:mm:ss", TimeZone.getTimeZone(client.getString("timezone")));
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
create_time = DateFormatUtils.format(order.getDate("create_time"), "yyyy-MM-dd HH:mm:ss");
|
|
|
|
|
|
|
|
}
|
|
|
|
ctx.setVariable("time", create_time);
|
|
|
|
ctx.setVariable("time", create_time);
|
|
|
|
final String content = thymeleaf.process( "mail/hf_email_notice", ctx);
|
|
|
|
final String content = thymeleaf.process( "mail/hf_email_notice", ctx);
|
|
|
|
final String mailTo = client.getString("contact_email");
|
|
|
|
final String mailTo = client.getString("contact_email");
|
|
|
|