Fix for Retrieve group loanofficers for ASSIGN LOANOFFICER template

This commit is contained in:
mifoscontributer
2013-08-22 19:44:01 +05:30
parent 6d0afd2b1e
commit f59f18eaeb
@@ -835,7 +835,11 @@ public class LoanAccountData {
} }
public Long officeId() { public Long officeId() {
return this.clientOfficeId; Long officeId = this.clientOfficeId;
if (officeId == null) {
officeId = groupOfficeId();
}
return officeId;
} }
public Long loanOfficerId() { public Long loanOfficerId() {