Choose / Edit / Create customers during billing.
This commit is contained in:
@ -1,3 +1,23 @@
|
||||
.example-card {
|
||||
max-width: 400px;
|
||||
}
|
||||
/*.discounts > div:nth-child(even) .mat-form-field {*/
|
||||
/* margin-left: 8px;*/
|
||||
/*}*/
|
||||
|
||||
/*.discounts > div:nth-child(odd) .mat-form-field {*/
|
||||
/* margin-right: 8px;*/
|
||||
/*}*/
|
||||
|
||||
.discounts > div:nth-child(3n + 1) .mat-form-field {
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.discounts > div:nth-child(3n + 2) .mat-form-field {
|
||||
margin-left: 4px;
|
||||
margin-right: 4px;
|
||||
}
|
||||
|
||||
.discounts > div:nth-child(3n) .mat-form-field {
|
||||
margin-left: 4px;
|
||||
}
|
||||
|
||||
@ -50,18 +50,16 @@
|
||||
>
|
||||
<mat-checkbox formControlName="printInBill">Print in Bill?</mat-checkbox>
|
||||
</div>
|
||||
|
||||
<mat-divider></mat-divider>
|
||||
<div formArrayName="discounts">
|
||||
<p></p>
|
||||
<div formArrayName="discounts" fxLayout="row wrap" class="discounts">
|
||||
<div
|
||||
fxLayout="row"
|
||||
*ngFor="let r of item.discounts; index as i"
|
||||
[formGroupName]="i"
|
||||
fxLayout="row"
|
||||
fxLayoutAlign="space-around start"
|
||||
fxLayout.lt-md="column"
|
||||
fxLayoutGap="20px"
|
||||
fxLayoutGap.lt-md="0px"
|
||||
fxFlex="33%"
|
||||
>
|
||||
<mat-form-field fxFlex>
|
||||
<mat-label>Discount on {{ r.name }}</mat-label>
|
||||
|
||||
Reference in New Issue
Block a user