From c03f517080eb8c6c6528e08a90deab8b95cb46aa Mon Sep 17 00:00:00 2001 From: vadivelJ96 Date: Wed, 12 Mar 2025 11:44:56 +0530 Subject: [PATCH] changes in stock module 12-03-2025 --- app/Views/stock/dustAndRoughStockDetails.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Views/stock/dustAndRoughStockDetails.php b/app/Views/stock/dustAndRoughStockDetails.php index 405c77ff..7c490cae 100644 --- a/app/Views/stock/dustAndRoughStockDetails.php +++ b/app/Views/stock/dustAndRoughStockDetails.php @@ -598,6 +598,7 @@ return 0; } + //one of the type in empty space character list is 10 if (typeof input === 'string' && input.split('').map(char => char.charCodeAt(0))[0] == 10) { return 0; }