From 261a3df48d403c70bac6f3c9d3d5a3f8126fb727 Mon Sep 17 00:00:00 2001 From: akshayitzme Date: Fri, 17 Feb 2023 12:25:47 +0530 Subject: [PATCH] chore: remove code comments --- models/inventory/StockManager.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/models/inventory/StockManager.ts b/models/inventory/StockManager.ts index a9bec91d..19e2e165 100644 --- a/models/inventory/StockManager.ts +++ b/models/inventory/StockManager.ts @@ -128,12 +128,6 @@ export class StockManager { } async #validateBatchWiseStockAvailability(details: SMIDetails) { - /* - * Checks if hasBatchNumber is enabled in the item - * If user has not entered batchNumber raises a ValidationError - * If entered quantity is greater than the available quantity in the batch, raises a ValidationError - */ - if (!details.fromLocation) { return; }