Skip to content

Commit

Permalink
Merge pull request #24 from Tedyyy-Albur/fix_ad61
Browse files Browse the repository at this point in the history
AD61
  • Loading branch information
IOhacker authored Oct 16, 2024
2 parents ca18c90 + b4ef261 commit 468b5f6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ private static final class SavingAccountMapperForInterestPosting implements Resu
sqlBuilder.append(
"msac.id as chargeId, msac.amount as chargeAmount, msac.charge_time_enum as chargeTimeType, msac.is_penalty as isPenaltyCharge, ");
sqlBuilder.append("txd.id as taxDetailsId, txd.amount as taxAmount, ");
sqlBuilder.append("apm.gl_account_id as glAccountIdForInterestOnSavings, apm1.gl_account_id as glAccountIdForSavingsControl, ");
sqlBuilder.append("apm1.gl_account_id as glAccountIdForInterestOnSavings, apm1.gl_account_id as glAccountIdForSavingsControl, ");
sqlBuilder.append(
"mtc.id as taxComponentId, mtc.debit_account_id as debitAccountId, mtc.credit_account_id as creditAccountId, mtc.percentage as taxPercentage ");
sqlBuilder.append("from m_savings_account sa ");
Expand All @@ -395,7 +395,7 @@ private static final class SavingAccountMapperForInterestPosting implements Resu
sqlBuilder.append("left join m_savings_account_transaction_tax_details txd on txd.savings_transaction_id = tr.id ");
sqlBuilder.append("left join m_tax_component mtc on mtc.id = txd.tax_component_id ");
sqlBuilder.append("left join acc_product_mapping apm on apm.product_id = sp.id and apm.financial_account_type=3 ");
sqlBuilder.append("left join acc_product_mapping apm1 on apm1.product_id = sp.id and apm1.financial_account_type=2 ");
sqlBuilder.append("left join acc_product_mapping apm1 on apm1.product_id = sp.id and apm1.financial_account_type=17 ");

this.schemaSql = sqlBuilder.toString();
}
Expand Down

0 comments on commit 468b5f6

Please sign in to comment.