Merge Anmeldeformular into main #21

Merged
it-as merged 23 commits from Anmeldeformular into main 2024-04-26 14:40:21 +02:00
2 changed files with 4 additions and 11 deletions
Showing only changes of commit 84d162995e - Show all commits

View File

@ -86,11 +86,11 @@
</mat-step>
<!-- Step 2-->
<mat-step [stepControl]="secondFormGroup" [editable]="isEditable">
<mat-step [stepControl]="secondFormGroup">
<form [formGroup]="secondFormGroup" class="flexContainerColumn width30">
<ng-template matStepLabel>Banking Information</ng-template>
<ng-template matStepLabel>Bank Informationen</ng-template>
<mat-form-field appearance="fill">
<mat-label>Account Holder</mat-label>
<mat-label>Kontoinhaber</mat-label>
<input matInput formControlName="accountHolder" required />
</mat-form-field>
@ -105,14 +105,10 @@
</mat-form-field>
<mat-form-field appearance="fill">
<mat-label>Name of Financial Institute</mat-label>
<mat-label>Name der Bank</mat-label>
<input matInput formControlName="nameOfFinancialInstitute" required />
</mat-form-field>
<mat-form-field appearance="fill">
<mat-label>Amount in €/Month</mat-label>
<input matInput formControlName="amount" required />
</mat-form-field>
<div class="flexContainerRow width20">
<mat-checkbox formControlName="einzugsermaechtigung" required

View File

@ -18,11 +18,9 @@ export const MY_DATE_FORMAT= {
})
export class StudentRegisterComponent implements OnInit {
masterFormGroup!: FormGroup;
zeroFormGroup!: FormGroup;
firstFormGroup!: FormGroup;
secondFormGroup!: FormGroup;
thirdFormGroup!: FormGroup;
isEditable = false;
infoText =
'Hiermit ermächtige ich die Tanz- und Sportschule Li-Dance, Inh. Lydia Kolepp (nachfolgend Li-\n' +
'Dance) die Monatsbeiträge i.H.v. oben genannten Betrag, diverse Einmalzahlungen und sonstige\n' +
@ -111,7 +109,6 @@ export class StudentRegisterComponent implements OnInit {
iban: ['', [Validators.required, Validators.pattern(/^\d+$/)]],
bic: ['', Validators.required],
nameOfFinancialInstitute: ['', Validators.required],
amount: ['', [Validators.required, Validators.pattern(/^\d+$/)]],
einzugsermaechtigung: ['', Validators.required],
});