Fix: Deleting voucher fucked up due to cascading changes was not
This commit is contained in:
@ -3,8 +3,6 @@ export class ProductSku {
|
||||
name: string;
|
||||
costPrice: number;
|
||||
salePrice: number;
|
||||
fraction: number;
|
||||
productYield: number;
|
||||
fractionUnits: string;
|
||||
|
||||
isRateContracted: boolean;
|
||||
@ -14,8 +12,6 @@ export class ProductSku {
|
||||
this.name = '';
|
||||
this.costPrice = 0;
|
||||
this.salePrice = 0;
|
||||
this.fraction = 0;
|
||||
this.productYield = 0;
|
||||
this.fractionUnits = '';
|
||||
this.isRateContracted = false;
|
||||
|
||||
|
||||
@ -94,7 +94,7 @@
|
||||
<mat-label>Sale Price</mat-label>
|
||||
<input matInput type="number" placeholder="Sale Price" formControlName="salePrice" />
|
||||
</mat-form-field>
|
||||
<button mat-raised-button color="primary" (click)="addRow()" fxFlex="15">Add</button>
|
||||
<button mat-raised-button color="primary" (click)="addRow()" fxFlex>Add</button>
|
||||
</div>
|
||||
</form>
|
||||
<mat-table [dataSource]="dataSource" aria-label="Elements">
|
||||
|
||||
Reference in New Issue
Block a user