Skip to content

Commit 591395f

Browse files
Monica-CodingWorldadamsaghy
authored andcommitted
FINERACT-2429: Fix typo getCreditAcount to getCreditAccount in TaxComponent and SavingsAccountTransaction
1 parent 0399007 commit 591395f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fineract-savings/src/main/java/org/apache/fineract/portfolio/savings/domain/SavingsAccountTransaction.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,8 +643,8 @@ public Map<String, Object> toMapData(final String currencyCode) {
643643
for (final SavingsAccountTransactionTaxDetails taxDetails : this.taxDetails) {
644644
final Map<String, Object> taxDetailsData = new HashMap<>();
645645
taxDetailsData.put("amount", taxDetails.getAmount());
646-
if (taxDetails.getTaxComponent().getCreditAcount() != null) {
647-
taxDetailsData.put("creditAccountId", taxDetails.getTaxComponent().getCreditAcount().getId());
646+
if (taxDetails.getTaxComponent().getCreditAccount() != null) {
647+
taxDetailsData.put("creditAccountId", taxDetails.getTaxComponent().getCreditAccount().getId());
648648
}
649649
taxData.add(taxDetailsData);
650650
}

fineract-tax/src/main/java/org/apache/fineract/portfolio/tax/domain/TaxComponent.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public Integer getCreditAccountType() {
202202
return this.creditAccountType;
203203
}
204204

205-
public GLAccount getCreditAcount() {
205+
public GLAccount getCreditAccount() {
206206
return this.creditAccount;
207207
}
208208
}

0 commit comments

Comments
 (0)