{{ 'labels.text.Create Charge' | translate }}

{{ 'labels.inputs.Charge Applies To' | translate }}

{{ 'labels.inputs.Charge Applies To' | translate }} @for (chargeAppliesTo of chargesTemplateData.chargeAppliesToOptions; track chargeAppliesTo) { {{ chargeAppliesTo.value | translateKey: 'catalogs' }} } @if (chargeForm.controls.chargeAppliesTo.hasError('required')) { {{ 'labels.inputs.Charge Applies To' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} }
@if (chargeForm.controls.chargeAppliesTo.value) {

{{ 'labels.heading.Charge Details' | translate }}

{{ 'labels.inputs.Charge Name' | translate }} @if (chargeForm.controls.name.hasError('required')) { {{ 'labels.inputs.Charge Name' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } {{ 'labels.inputs.Currency' | translate }} @for (currency of chargesTemplateData.currencyOptions; track currency) { {{ currency.name }} } @if (chargeForm.controls.currencyCode.hasError('required')) { {{ 'labels.inputs.Currency' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } {{ 'labels.inputs.Charge Time Type' | translate }} @for (chargeTimeType of chargeTimeTypeData; track chargeTimeType) { {{ chargeTimeType.value | translateKey: 'catalogs' }} } @if (chargeForm.controls.chargeTimeType.hasError('required')) { {{ 'labels.inputs.Charge Time Type' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } {{ 'labels.inputs.Charge Calculation Type' | translate }} @for (chargeCalculationType of filteredChargeCalculationType(); track chargeCalculationType) { {{ chargeCalculationType.value | translateKey: 'catalogs' }} } @if (chargeForm.controls.chargeCalculationType.hasError('required')) { {{ 'labels.inputs.Charge Calculation Type' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } @if (chargeForm.controls.chargeAppliesTo.value === 1) { {{ 'labels.inputs.Charge Payment Mode' | translate }} @for (chargePaymentMode of chargesTemplateData.chargePaymetModeOptions; track chargePaymentMode) { {{ chargePaymentMode.value | translateKey: 'catalogs' }} } @if (chargeForm.controls.chargePaymentMode.hasError('required')) { {{ 'labels.inputs.Charge Payment Mode' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } } @if (chargeForm.controls.chargeTimeType.value === 9) {
{{ 'labels.inputs.Add Fee Frequency' | translate }}
} @if (chargeForm.controls.chargeTimeType.value === 9 && chargeForm.controls.addFeeFrequency.value) { {{ 'labels.inputs.Frequency Interval' | translate }} @if (chargeForm.controls.feeInterval.hasError('required')) { {{ 'labels.inputs.Frequency Interval' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } @if (chargeForm.controls.feeInterval.hasError('pattern')) { {{ 'labels.inputs.Frequency Interval' | translate }} {{ 'labels.commons.must be a positive integer' | translate }} } } @if (chargeForm.controls.chargeTimeType.value === 9 && chargeForm.controls.addFeeFrequency.value) { {{ 'labels.inputs.Charge Frequency' | translate }} @for (feeFrequency of chargesTemplateData.feeFrequencyOptions; track feeFrequency) { {{ feeFrequency.value | translateKey: 'catalogs' }} } @if (chargeForm.controls.feeFrequency.hasError('required')) { {{ 'labels.inputs.Charge Frequency' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } } @if (chargeForm.controls.chargeTimeType.value === 6 || chargeForm.controls.chargeTimeType.value === 7) { {{ 'labels.inputs.Due Date' | translate }} @if (chargeForm.controls.feeOnMonthDay.hasError('required')) { {{ 'labels.inputs.Due Date' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } } @if (chargeForm.controls.chargeTimeType.value === 7 || chargeForm.controls.chargeTimeType.value === 11) { {{ 'labels.inputs.Repeat Every' | translate }} ({{ repeatEveryLabel }}) @if (chargeForm.controls.feeInterval.hasError('required')) { {{ 'labels.inputs.Repeat Every' | translate }} ({{ repeatEveryLabel }}) {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } @if ( (chargeForm.controls.feeInterval.hasError('min') || chargeForm.controls.feeInterval.hasError('max')) && !chargeForm.controls.feeInterval.hasError('pattern') ) { {{ 'labels.inputs.Repeat Every' | translate }} ({{ repeatEveryLabel }}) {{ 'labels.commons.must be between 1 and 12' | translate }} } @if (chargeForm.controls.feeInterval.hasError('pattern')) { {{ 'labels.inputs.Repeat Every' | translate }} ({{ repeatEveryLabel }}) {{ 'labels.commons.must be a positive integer' | translate }} } } {{ 'labels.inputs.Amount' | translate }} @if (chargeForm.controls.amount.hasError('required')) { {{ 'labels.inputs.Amount' | translate }} {{ 'labels.commons.is' | translate }} {{ 'labels.commons.required' | translate }} } @if (showMinMaxCap()) { {{ 'labels.inputs.Minimum Charge Cap' | translate }} @if (chargeForm.controls.minCap.hasError('maxValue')) { {{ 'errors.validation.msg.loanproduct.minimumGap.not.greater.than.specified.number' | translate }} ({{ chargeForm.controls.maxCap.value }}) } } @if (showMinMaxCap()) { {{ 'labels.inputs.Maximum Charge Cap' | translate }} @if (chargeForm.controls.maxCap.hasError('minValue')) { {{ 'errors.validation.msg.loanproduct.maximumGap.not.greater.than.specified.number' | translate }} ({{ chargeForm.controls.minCap.value }}) } } @if (chargeForm.controls.chargeAppliesTo.value === 3) { } {{ 'labels.inputs.Tax Group' | translate }} @for (taxGroup of chargesTemplateData.taxGroupOptions; track taxGroup) { {{ taxGroup.name }} }
{{ 'labels.status.Active' | translate }} {{ 'labels.commons.Is' | translate }} {{ 'labels.inputs.Penalty' | translate }}
}