-
Notifications
You must be signed in to change notification settings - Fork 151
/
Copy pathedit-voice.component.html
73 lines (70 loc) · 1.87 KB
/
edit-voice.component.html
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
<div class="container edit-container">
<div class="row">
<form [formGroup]="editInvoiceForm" class="example-form" novalidate>
<div class="col">
<mat-form-field class="example-full-width">
<input
matInput
placeholder="Grand Total"
type="text"
formControlName="grand_total"
[ngModel]="invoiceData.grand_total"
/>
</mat-form-field>
</div>
<div class="col">
<mat-form-field class="example-full-width">
<input
matInput
placeholder="Paid Amount"
type="text"
formControlName="paid_amount"
[ngModel]="invoiceData.paid_amount"
/>
</mat-form-field>
</div>
<div class="col">
<mat-form-field class="example-full-width">
<input
matInput
placeholder="Due"
type="text"
formControlName="due"
[ngModel]="invoiceData.due"
/>
</mat-form-field>
</div>
<div class="col">
<mat-form-field class="example-full-width">
<input
matInput
placeholder="Extra"
type="text"
formControlName="extra"
[ngModel]="invoiceData.extra"
/>
</mat-form-field>
</div>
<div class="col">
<mat-form-field class="example-full-width">
<input
matInput
placeholder="Comments"
type="text"
formControlName="comments"
[ngModel]="invoiceData.comments"
/>
</mat-form-field>
</div>
<div class="col">
<button
mat-raised-button
[disabled]="editInvoiceForm.invalid"
(click)="updateInvoice()"
>
Update
</button>
</div>
</form>
</div>
</div>