Loan Repayment Schedule with Export to PDF option

This commit is contained in:
Jose Alberto Hernandez
2024-07-21 17:32:40 -06:00
committed by Jose Alberto Hernandez
parent 44aa8cdc77
commit e810ce1e5e
24 changed files with 455 additions and 88 deletions
@@ -48,6 +48,12 @@ export class FixedDepositProductSettingsStepComponent implements OnInit {
'withHoldTax': this.fixedDepositProductsTemplate.withHoldTax
});
}
if (this.fixedDepositProductsTemplate.withHoldTax) {
this.fixedDepositProductSettingsForm.patchValue({
'taxGroupId': this.fixedDepositProductsTemplate.taxGroup ? this.fixedDepositProductsTemplate.taxGroup.id : ''
});
}
}
createFixedDepositProductSettingsForm() {
@@ -47,6 +47,12 @@ export class RecurringDepositProductSettingsStepComponent implements OnInit {
'withHoldTax': this.recurringDepositProductsTemplate.withHoldTax
});
}
if (this.recurringDepositProductsTemplate.withHoldTax) {
this.recurringDepositProductSettingsForm.patchValue({
'taxGroupId': this.recurringDepositProductsTemplate.taxGroup ? this.recurringDepositProductsTemplate.taxGroup.id : ''
});
}
}
createrecurringDepositProductSettingsForm() {