Merge pull request #538 from mifoscontributer/mifosx-613

Return valid(not null) officeId for a loan
This commit is contained in:
Vishwas Babu A J
2013-08-22 07:33:37 -07:00
@@ -835,7 +835,11 @@ public class LoanAccountData {
}
public Long officeId() {
return this.clientOfficeId;
Long officeId = this.clientOfficeId;
if (officeId == null) {
officeId = groupOfficeId();
}
return officeId;
}
public Long loanOfficerId() {