FINERACT-2429: Fix typo getCreditAcount to getCreditAccount in TaxComponent and SavingsAccountTransaction

This commit is contained in:
Monica
2026-01-08 22:46:28 +01:00
committed by Adam Saghy
parent 0399007be0
commit 591395f39c
2 changed files with 3 additions and 3 deletions
@@ -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);
}
@@ -202,7 +202,7 @@ public class TaxComponent extends AbstractAuditableCustom {
return this.creditAccountType;
}
public GLAccount getCreditAcount() {
public GLAccount getCreditAccount() {
return this.creditAccount;
}
}