Merge branch 'develop'

master
taylor.dang 5 years ago
commit e15f71a16e

@ -10,7 +10,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>manage</artifactId> <artifactId>manage</artifactId>
<version>1.1.15</version> <version>1.1.16</version>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

@ -108,6 +108,5 @@ public class ManualServiceimpl implements ManualService {
} }
}); });
clientModifySupport.processClientConfigModify(new SwitchPermissionModify(null, client_moniker, "tax_in_surcharge", false));
} }
} }

@ -4997,7 +4997,6 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
rpayApi.modifySurchargeConfig(clientMapper.findClient(client_id)); rpayApi.modifySurchargeConfig(clientMapper.findClient(client_id));
} }
} }
clientModifySupport.processClientConfigModify(new SwitchPermissionModify(null, client.getString("client_moniker"), "tax_in_surcharge", false));
adminAccounts.forEach(o -> { adminAccounts.forEach(o -> {
sendClientPostponeNotify(o, expireDate); sendClientPostponeNotify(o, expireDate);
}); });
@ -5017,7 +5016,6 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
public boolean postponeClientRate(int clientId, String clientMoniker, String nextYearExipryDate) { public boolean postponeClientRate(int clientId, String clientMoniker, String nextYearExipryDate) {
try { try {
clientRateMapper.postponeMerchantRateByClientId(clientId); clientRateMapper.postponeMerchantRateByClientId(clientId);
clientModifySupport.processClientConfigModify(new SwitchPermissionModify(null, clientMoniker, "tax_in_surcharge", false));
List<JSONObject> adminAccounts = clientAccountMapper.listAdminAccounts(clientId); List<JSONObject> adminAccounts = clientAccountMapper.listAdminAccounts(clientId);
adminAccounts.forEach(o -> { adminAccounts.forEach(o -> {
sendClientPostponeNotify(o, nextYearExipryDate); sendClientPostponeNotify(o, nextYearExipryDate);

@ -104,7 +104,6 @@ public class ClientContractServiceImpl implements ClientContractService {
contract.put("confirm_time", now); contract.put("confirm_time", now);
contract.put("signatory", account.getString("display_name")); contract.put("signatory", account.getString("display_name"));
clientsContractMapper.update(contract); clientsContractMapper.update(contract);
clientManager.setClientTaxInSurcharge(clientAccountMapper.findById(account_id),client.getString("client_moniker"), false);
} }
@Override @Override

@ -261,7 +261,7 @@ $(function () {
}); });
$('#key_P').click(function () { $('#key_P').click(function () {
dataCache.remark = $('.remark-textarea').val(); dataCache.remark = $('.remark-textarea-new').val();
if (window.requireRemark) { if (window.requireRemark) {
if (!dataCache.remark) { if (!dataCache.remark) {
var config = { var config = {
@ -275,7 +275,7 @@ $(function () {
}); });
$('#key_P').bind('touchstart', function () { $('#key_P').bind('touchstart', function () {
dataCache.remark = $('.remark-textarea').val(); dataCache.remark = $('.remark-textarea-new').val();
if (window.requireRemark) { if (window.requireRemark) {
if (!dataCache.remark) { if (!dataCache.remark) {
return; return;

@ -253,7 +253,7 @@ $(function () {
}); });
$('#key_P').click(function () { $('#key_P').click(function () {
dataCache.remark = $('.remark-textarea').val(); dataCache.remark = $('.remark-textarea-new').val();
if (window.requireRemark) { if (window.requireRemark) {
if (!dataCache.remark) { if (!dataCache.remark) {
var config = { var config = {
@ -267,7 +267,7 @@ $(function () {
}); });
$('#key_P').bind('touchstart', function () { $('#key_P').bind('touchstart', function () {
dataCache.remark = $('.remark-textarea').val(); dataCache.remark = $('.remark-textarea-new').val();
if (window.requireRemark) { if (window.requireRemark) {
if (!dataCache.remark) { if (!dataCache.remark) {
return; return;

Loading…
Cancel
Save