From 1c660ded227fefee833b9f18874a76ed06e2032e Mon Sep 17 00:00:00 2001 From: Smart Date: Wed, 23 Oct 2024 14:33:45 +0530 Subject: [PATCH] CHANGE in sales order module : GWM --- app/Controllers/Sales.php | 4 ++-- app/Views/sales_order_form.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/Controllers/Sales.php b/app/Controllers/Sales.php index a5f7f21..4ae3f5a 100755 --- a/app/Controllers/Sales.php +++ b/app/Controllers/Sales.php @@ -527,7 +527,7 @@ class Sales extends BaseController ->join('manufacturer', 'manufacturer.manufacturer_id = products.manufacturer_id') ->where('JSON_CONTAINS(make_id, \'' . $encodedMakeId . '\')', null, false) ->where('JSON_CONTAINS(models_id, \'' . $encodedModelId . '\')', null, false) - // ->where('qty_stock >',0) + ->where('qty_stock >',0) ->where('products.isactive', 1) ->findAll(); @@ -539,7 +539,7 @@ class Sales extends BaseController ->join('manufacturer', 'manufacturer.manufacturer_id = products.manufacturer_id') ->where('JSON_CONTAINS(make_id, \'' . $encodedMakeId . '\')', null, false) ->where('JSON_CONTAINS(models_id, \'' . $encodedModelId . '\')', null, false) - // ->where('qty_stock >',0) + ->where('qty_stock >',0) ->where('products.isactive', 1) ->findAll(); diff --git a/app/Views/sales_order_form.php b/app/Views/sales_order_form.php index e339e5c..ee5ab01 100755 --- a/app/Views/sales_order_form.php +++ b/app/Views/sales_order_form.php @@ -210,7 +210,7 @@ + value="" onchange="updateThirdColumnValue(this); updateTaxAmount(this)" onkeydown="return false;"> ' + '' + - '' + + '' + '' + '' + '' +