FINERACT-2429: Fix typo getCreditAcount to getCreditAccount in TaxComponent and SavingsAccountTransaction
This commit is contained in:
+2
-2
@@ -643,8 +643,8 @@ public final class SavingsAccountTransaction extends AbstractAuditableWithUTCDat
|
|||||||
for (final SavingsAccountTransactionTaxDetails taxDetails : this.taxDetails) {
|
for (final SavingsAccountTransactionTaxDetails taxDetails : this.taxDetails) {
|
||||||
final Map<String, Object> taxDetailsData = new HashMap<>();
|
final Map<String, Object> taxDetailsData = new HashMap<>();
|
||||||
taxDetailsData.put("amount", taxDetails.getAmount());
|
taxDetailsData.put("amount", taxDetails.getAmount());
|
||||||
if (taxDetails.getTaxComponent().getCreditAcount() != null) {
|
if (taxDetails.getTaxComponent().getCreditAccount() != null) {
|
||||||
taxDetailsData.put("creditAccountId", taxDetails.getTaxComponent().getCreditAcount().getId());
|
taxDetailsData.put("creditAccountId", taxDetails.getTaxComponent().getCreditAccount().getId());
|
||||||
}
|
}
|
||||||
taxData.add(taxDetailsData);
|
taxData.add(taxDetailsData);
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -202,7 +202,7 @@ public class TaxComponent extends AbstractAuditableCustom {
|
|||||||
return this.creditAccountType;
|
return this.creditAccountType;
|
||||||
}
|
}
|
||||||
|
|
||||||
public GLAccount getCreditAcount() {
|
public GLAccount getCreditAccount() {
|
||||||
return this.creditAccount;
|
return this.creditAccount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user