remove old commented code
This commit is contained in:
parent
80d3a5784b
commit
ee861f20d0
@ -46,14 +46,6 @@ public class CustomerRemote extends AbstractRemote {
|
|||||||
}
|
}
|
||||||
resultMap.put("sharessigned", Integer.toString(cust.getSharesSigned()));
|
resultMap.put("sharessigned", Integer.toString(cust.getSharesSigned()));
|
||||||
resultMap.put("uidvat", cust.getUidVAT());
|
resultMap.put("uidvat", cust.getUidVAT());
|
||||||
// BankAccount bank = cust.getBankAccount();
|
|
||||||
// if (bank != null) {
|
|
||||||
// resultMap.put("bank_customer", bank.getBankCustomer());
|
|
||||||
// resultMap.put("bank_iban", bank.getBankIBAN());
|
|
||||||
// resultMap.put("bank_bic", bank.getBankBIC());
|
|
||||||
// resultMap.put("bank_name", bank.getBankName());
|
|
||||||
// resultMap.put("mandat_ref", bank.getMandatRef());
|
|
||||||
// }
|
|
||||||
Set<Contact> contacts = cust.getContacts();
|
Set<Contact> contacts = cust.getContacts();
|
||||||
if (contacts != null && !contacts.isEmpty()) {
|
if (contacts != null && !contacts.isEmpty()) {
|
||||||
Contact c = contacts.iterator().next();
|
Contact c = contacts.iterator().next();
|
||||||
@ -127,29 +119,6 @@ public class CustomerRemote extends AbstractRemote {
|
|||||||
if (assertNotNull(uidVat)) {
|
if (assertNotNull(uidVat)) {
|
||||||
cust.setUidVAT(uidVat);
|
cust.setUidVAT(uidVat);
|
||||||
}
|
}
|
||||||
// BankAccount bank = cust.getBankAccount();
|
|
||||||
// if (bank == null) {
|
|
||||||
// bank = new BankAccount();
|
|
||||||
// bank.setCustomer(cust);
|
|
||||||
// cust.setBankAccount(bank);
|
|
||||||
// bank.setMandatRef(memberNo);
|
|
||||||
// }
|
|
||||||
// String bankCustomer = (String) setParams.get("bank_customer");
|
|
||||||
// if (assertNotNull(bankCustomer)) {
|
|
||||||
// bank.setBankCustomer(bankCustomer);
|
|
||||||
// }
|
|
||||||
// String bankIBAN = (String) setParams.get("bank_iban");
|
|
||||||
// if (assertNotNull(bankIBAN)) {
|
|
||||||
// bank.setBankIBAN(bankIBAN);
|
|
||||||
// }
|
|
||||||
// String bankBIC = (String) setParams.get("bank_bic");
|
|
||||||
// if (assertNotNull(bankBIC)) {
|
|
||||||
// bank.setBankBIC(bankBIC);
|
|
||||||
// }
|
|
||||||
// String bankName = (String) setParams.get("bank_name");
|
|
||||||
// if (assertNotNull(bankName)) {
|
|
||||||
// bank.setBankName(bankName);
|
|
||||||
// }
|
|
||||||
Set<Contact> contacts = cust.getContacts();
|
Set<Contact> contacts = cust.getContacts();
|
||||||
Contact c = null;
|
Contact c = null;
|
||||||
if (contacts == null || contacts.isEmpty()) {
|
if (contacts == null || contacts.isEmpty()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user