112 lines
4.1 KiB
HTML
112 lines
4.1 KiB
HTML
<!--
|
|
Copyright since 2025 Mifos Initiative
|
|
|
|
This Source Code Form is subject to the terms of the Mozilla Public
|
|
License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
-->
|
|
|
|
<div class="container">
|
|
<mat-stepper
|
|
orientation="vertical"
|
|
[linear]="false"
|
|
class="mat-elevation-z8"
|
|
labelPosition="bottom"
|
|
#recurringDepositAccountStepper
|
|
>
|
|
<ng-template matStepperIcon="number">
|
|
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
|
|
</ng-template>
|
|
|
|
<ng-template matStepperIcon="edit">
|
|
<fa-icon icon="pencil-alt" size="sm"></fa-icon>
|
|
</ng-template>
|
|
|
|
<ng-template matStepperIcon="done">
|
|
<fa-icon icon="check" size="sm"></fa-icon>
|
|
</ng-template>
|
|
|
|
<ng-template matStepperIcon="error">
|
|
<fa-icon icon="exclamation-triangle" size="lg"></fa-icon>
|
|
</ng-template>
|
|
|
|
<ng-template matStepperIcon="preview">
|
|
<fa-icon icon="eye" size="sm"></fa-icon>
|
|
</ng-template>
|
|
|
|
<!-- Step 1: Details -->
|
|
<mat-step>
|
|
<ng-template matStepLabel>{{ 'labels.inputs.DETAILS' | translate }}</ng-template>
|
|
|
|
<mifosx-recurring-deposits-account-details-step
|
|
[recurringDepositsAccountTemplate]="recurringDepositsAccountTemplate"
|
|
(recurringDepositsAccountProductTemplate)="setTemplate($event)"
|
|
>
|
|
</mifosx-recurring-deposits-account-details-step>
|
|
</mat-step>
|
|
|
|
<!-- Step 2: Currency -->
|
|
@if (recurringDepositsAccountProductTemplate) {
|
|
<mat-step>
|
|
<ng-template matStepLabel>Currency</ng-template>
|
|
|
|
<mifosx-recurring-deposits-account-currency-step
|
|
[recurringDepositsAccountProductTemplate]="recurringDepositsAccountProductTemplate"
|
|
>
|
|
</mifosx-recurring-deposits-account-currency-step>
|
|
|
|
<div class="layout-row align-center gap-2percent margin-t responsive-column">
|
|
<button mat-raised-button matStepperPrevious>
|
|
<fa-icon icon="arrow-left" class="m-r-10"></fa-icon>
|
|
{{ 'labels.buttons.Previous' | translate }}
|
|
</button>
|
|
<button mat-raised-button matStepperNext>
|
|
{{ 'labels.buttons.Next' | translate }}
|
|
<fa-icon icon="arrow-right" class="m-l-10"></fa-icon>
|
|
</button>
|
|
</div>
|
|
</mat-step>
|
|
|
|
<!-- Step 3: Interest Rate Chart -->
|
|
<mat-step>
|
|
<ng-template matStepLabel>{{ 'labels.inputs.INTEREST RATE CHART' | translate }}</ng-template>
|
|
|
|
<mifosx-recurring-deposits-account-interest-rate-chart-step
|
|
[recurringDepositsAccountTemplate]="recurringDepositsAccountTemplate"
|
|
[recurringDepositsAccountProductTemplate]="recurringDepositsAccountProductTemplate"
|
|
[rdInterestRates]="rdInterestRates"
|
|
>
|
|
</mifosx-recurring-deposits-account-interest-rate-chart-step>
|
|
|
|
<div class="layout-row align-center gap-2percent margin-t responsive-column">
|
|
<button mat-raised-button matStepperPrevious>
|
|
<fa-icon icon="arrow-left" class="m-r-10"></fa-icon>
|
|
{{ 'labels.buttons.Previous' | translate }}
|
|
</button>
|
|
<button mat-raised-button matStepperNext>
|
|
{{ 'labels.buttons.Next' | translate }}
|
|
<fa-icon icon="arrow-right" class="m-l-10"></fa-icon>
|
|
</button>
|
|
</div>
|
|
</mat-step>
|
|
|
|
<!-- Step 4: Preview -->
|
|
<mat-step state="preview" completed>
|
|
<ng-template matStepLabel>{{ 'labels.inputs.PREVIEW' | translate }}</ng-template>
|
|
<mifosx-recurring-deposits-account-preview-step
|
|
[recurringDepositsAccountTemplate]="recurringDepositsAccountTemplate"
|
|
[recurringDepositsAccountProductTemplate]="recurringDepositsAccountProductTemplate"
|
|
[recurringDepositAccountData]="recurringDepositAccountData"
|
|
[rdInterestRates]="rdInterestRates"
|
|
[rdNominee]="rdNominee"
|
|
[rdCurrencyFlags]="rdCurrencyFlags"
|
|
[rdTenureDays]="rdTenureDays"
|
|
[rdApplicableSlab]="rdApplicableSlab"
|
|
(submitEvent)="submit()"
|
|
>
|
|
</mifosx-recurring-deposits-account-preview-step>
|
|
</mat-step>
|
|
}
|
|
</mat-stepper>
|
|
</div>
|