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; }