Merge pull request #538 from mifoscontributer/mifosx-613
Return valid(not null) officeId for a loan
This commit is contained in:
+5
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user