Merge pull request #760 from goutham-M/mifosx-journalentryerrmsgfix
MIFOSX-910 for journal entry posting not proper err msg displaying fixed
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ public class JournalEntryCommand {
|
|||||||
// validation for debit array elements
|
// validation for debit array elements
|
||||||
if (this.debits != null) {
|
if (this.debits != null) {
|
||||||
if (this.debits.length == 0) {
|
if (this.debits.length == 0) {
|
||||||
validateSingleDebitOrCredit(baseDataValidator, "credits", 0, new SingleDebitOrCreditEntryCommand(null, null, null, null));
|
validateSingleDebitOrCredit(baseDataValidator, "debits", 0, new SingleDebitOrCreditEntryCommand(null, null, null, null));
|
||||||
} else {
|
} else {
|
||||||
int i = 0;
|
int i = 0;
|
||||||
for (final SingleDebitOrCreditEntryCommand debit : this.debits) {
|
for (final SingleDebitOrCreditEntryCommand debit : this.debits) {
|
||||||
|
|||||||
Reference in New Issue
Block a user