Refactored customer discount and choose discount. They were using the same schema unnecessarily which was leading to confusion.
This commit is contained in:
1 parent
c5eaeb1497
commit
516b22ed1c
15 files changed
+66
-42
No files matched your search
@@ -22,8 +22,8 @@
|
||||
<mat-form-field class="flex-auto">
|
||||
<input matInput type="number" formControlName="discount" autocomplete="off" />
|
||||
<span matSuffix>%</span>
|
||||
<mat-hint>Cust: {{ row.customerDiscount | percent : '1.2-2' }}</mat-hint>
|
||||
<mat-hint align="end">Max: {{ row.discountLimit | percent : '1.2-2' }}</mat-hint>
|
||||
<mat-hint>Cust: {{ row.customer | percent : '1.2-2' }}</mat-hint>
|
||||
<mat-hint align="end">Max: {{ row.limit | percent : '1.2-2' }}</mat-hint>
|
||||
</mat-form-field>
|
||||
</mat-cell>
|
||||
</ng-container>
|
||||
|
||||
Reference in new issue
Block a user