|
|
|
@ -3131,13 +3131,16 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
if (!(PartnerRole.getRole(account.getIntValue("role")) == PartnerRole.CASHIER)) {
|
|
|
|
|
result.put("is_ordinary", false);
|
|
|
|
|
if (!expire && waring) {
|
|
|
|
|
String [] key = {result.getString("expire_days")};
|
|
|
|
|
result.put("contract_info",editContractOrdinaryWaring(key,config.getString("sys_contract_waring")));
|
|
|
|
|
String[] key = {result.getString("expire_days")};
|
|
|
|
|
result.put("contract_info", editContractOrdinaryWaring(key, config.getString("sys_contract_waring")));
|
|
|
|
|
}
|
|
|
|
|
if (expire) {
|
|
|
|
|
result.put("contract_info",config.getString("sys_contract_info"));
|
|
|
|
|
result.put("contract_info", config.getString("sys_contract_info"));
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
}
|
|
|
|
|
JSONObject file = clientContractService.getOrGenerateSourceAgreement(account.getIntValue("client_id"));
|
|
|
|
|
result.put("file_url", file.getString("file_value"));
|
|
|
|
|