balance-adjustment-dialog.component.html
5.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<mat-toolbar color="primary">Balance Adjustment</mat-toolbar>
<div fxLayout="row wrap" fxLayoutAlign="center start">
<div fxFlex.gt-sm="55" fxFlex="100">
<mat-card class="mat-card-top">
<mat-tab-group>
<mat-tab>
<ng-template matTabLabel>Main Wallet Adjustment</ng-template>
<mat-card-content>
<form fxLayout="column">
<div fxFlex="100" fxFlex.gt-xs="50" fxFlex.gt-sm="50" class="pr-1">
<div class="pb-1">
<mat-form-field class="">
<input matInput placeholder="User Name">
</mat-form-field>
<mat-form-field class="">
<input matInput placeholder="Current Balance">
</mat-form-field>
<mat-form-field class="mb-1">
<mat-select placeholder="Adjustment Type">
<mat-option>--</mat-option>
<mat-option value="add">Add</mat-option>
<mat-option value="deduct">Deduct</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field class="">
<input matInput placeholder="Amount">
</mat-form-field>
<mat-form-field class="">
<input matInput placeholder="Remark">
</mat-form-field>
</div>
</div>
<hr>
<mat-card-actions>
<button mat-raised-button color="primary">Save</button>
<button mat-raised-button color="accent" (click)="dialogRef.close(false)">Close</button>
</mat-card-actions>
</form>
</mat-card-content>
</mat-tab>
<mat-tab>
<ng-template matTabLabel>Provider's Wallet Adjustment</ng-template>
<mat-card-content>
<form fxLayout="column">
<div fxFlex="100" fxFlex.gt-xs="50" fxFlex.gt-sm="50" class="pr-1">
<div class="pb-1">
<mat-form-field class="">
<input matInput placeholder="User Name">
</mat-form-field>
<mat-form-field class="">
<input matInput placeholder="Current Balance">
</mat-form-field>
<mat-form-field class="mb-1">
<mat-select placeholder="From Wallet">
<mat-option>--</mat-option>
<mat-option value="ag">AG</mat-option>
<mat-option value="pt">PT</mat-option>
<mat-option value="png">PNG</mat-option>
<mat-option value="dt">DT</mat-option>
<mat-option value="gd">GD</mat-option>
<mat-option value="im">IM</mat-option>
<mat-option value="n2live">N2LIVE</mat-option>
<mat-option value="ibc">IBC</mat-option>
<mat-option value="mg">MG</mat-option>
<mat-option value="iml">IML</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field class="mb-1">
<mat-select placeholder="To Wallet">
<mat-option>--</mat-option>
<mat-option value="ag">AG</mat-option>
<mat-option value="pt">PT</mat-option>
<mat-option value="png">PNG</mat-option>
<mat-option value="dt">DT</mat-option>
<mat-option value="gd">GD</mat-option>
<mat-option value="im">IM</mat-option>
<mat-option value="n2live">N2LIVE</mat-option>
<mat-option value="ibc">IBC</mat-option>
<mat-option value="mg">MG</mat-option>
<mat-option value="iml">IML</mat-option>
</mat-select>
</mat-form-field>
<mat-form-field class="mb-1">
<mat-select placeholder="Adjustment Type">
<mat-option>--</mat-option>
<mat-option value="add">Add</mat-option>
<mat-option value="deduct">Deduct</mat-option>
</mat-select>
</mat-form-field>
</div>
</div>
<div fxFlex="100" fxFlex.gt-xs="50" fxFlex.gt-sm="50" class="pr-1">
<div class="pb-1">
<mat-form-field class="">
<input matInput placeholder="Amount">
</mat-form-field>
<mat-form-field class="">
<input matInput placeholder="Remark">
</mat-form-field>
</div>
</div>
<hr>
<mat-card-actions>
<button mat-raised-button color="primary">Save</button>
<button mat-raised-button color="accent" (click)="dialogRef.close(false)">Close</button>
</mat-card-actions>
</form>
</mat-card-content>
</mat-tab>
</mat-tab-group>
</mat-card>
</div>
</div>