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) {
|
||||
final Map<String, Object> taxDetailsData = new HashMap<>();
|
||||
taxDetailsData.put("amount", taxDetails.getAmount());
|
||||
if (taxDetails.getTaxComponent().getCreditAcount() != null) {
|
||||
taxDetailsData.put("creditAccountId", taxDetails.getTaxComponent().getCreditAcount().getId());
|
||||
if (taxDetails.getTaxComponent().getCreditAccount() != null) {
|
||||
taxDetailsData.put("creditAccountId", taxDetails.getTaxComponent().getCreditAccount().getId());
|
||||
}
|
||||
taxData.add(taxDetailsData);
|
||||
}
|
||||
|
||||
+1
-1
@@ -202,7 +202,7 @@ public class TaxComponent extends AbstractAuditableCustom {
|
||||
return this.creditAccountType;
|
||||
}
|
||||
|
||||
public GLAccount getCreditAcount() {
|
||||
public GLAccount getCreditAccount() {
|
||||
return this.creditAccount;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user