feat: payment modal

This commit is contained in:
Phan Huy Tran 2025-02-13 11:35:30 +01:00
commit c7d62bb4e3
13 changed files with 79 additions and 33 deletions

View file

@ -0,0 +1,20 @@
<h2 mat-dialog-title>Guthaben aufladen</h2>
<mat-dialog-content>
<form [formGroup]="form">
<div *ngIf="errorMsg">
{{ errorMsg }}
</div>
<div>
<label for="amount">Betrag</label>
<input
type="number"
id="amount"
formControlName="amount"
/>
</div>
</form>
</mat-dialog-content>
<mat-dialog-actions>
<button (click)="closeDialog()">Abbrechen</button>
<button (click)="submit()">Einzahlen</button>
</mat-dialog-actions>