Feature: Added product Stock Keeping Units to prevent duplicate products. A lot of refactoring because of this.
Removed: Reset Stock as it was never used and don't think it is even needed with this new batch system. Fix: Incentive update was not working
This commit is contained in:
@@ -60,7 +60,6 @@ export class IssueDialogComponent implements OnInit {
|
||||
const formValue = this.form.value;
|
||||
const quantity = this.math.parseAmount(formValue.quantity, 2);
|
||||
this.data.inventory.batch = this.batch;
|
||||
this.data.inventory.product = this.batch.product;
|
||||
this.data.inventory.quantity = quantity;
|
||||
this.data.inventory.rate = this.batch.rate;
|
||||
this.data.inventory.tax = this.batch.tax;
|
||||
|
||||
Reference in New Issue
Block a user