feat: payment modal
This commit is contained in:
parent
702e54b5da
commit
c7d62bb4e3
13 changed files with 79 additions and 33 deletions
20
frontend/src/app/feature/deposit/deposit.component.html
Normal file
20
frontend/src/app/feature/deposit/deposit.component.html
Normal 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>
|
Reference in a new issue