Fix: Product sale report would mix different product versions as it was checking the product id and not version id

Feature: Cannot add na product to bill
This commit is contained in:
tanshu committed 2021-12-29 07:49:23 +05:30
1 parent 1a4e51051c
commit a174f6b847
4 files changed
+11 -6

No files matched your search

@@ -22,6 +22,9 @@ export class ProductsComponent implements OnInit {
}
addProduct(product: Product): void {
if (product.isNotAvailable) {
return;
}
this.bs.addProduct(product, 1, 0);
}
}