From a63c86f031f7ae5dff30f39ef1d4f276cd79d070 Mon Sep 17 00:00:00 2001 From: Gowtham M Date: Tue, 12 Nov 2024 12:10:48 +0530 Subject: [PATCH] CHANGE_ tracker issue : GWM --- app/Controllers/Sales.php | 2 +- app/Views/layout/footer.php | 63 ++-------------------------------- app/Views/product_form.php | 40 ++++++++++----------- app/Views/product_list.php | 2 +- app/Views/sales_order_form.php | 28 ++++++++------- app/Views/vehicle_form.php | 11 ++++-- 6 files changed, 48 insertions(+), 98 deletions(-) diff --git a/app/Controllers/Sales.php b/app/Controllers/Sales.php index 4ae3f5a..1cce0dd 100755 --- a/app/Controllers/Sales.php +++ b/app/Controllers/Sales.php @@ -223,7 +223,7 @@ class Sales extends BaseController if ($status == 'Approved') { $this->subractProductQuantity($ProductModel, $product_id, $qty); }elseif ($status == 'Cancelled'){ - $this->addBackProductQuantity($ProductModel, $product_id, $qty); + // $this->addBackProductQuantity($ProductModel, $product_id, $qty); } $discount = isset($discounts[$key]) ? $discounts[$key] : 0; $discount_type = isset($discount_types[$key]) ? $discount_types[$key] : ''; diff --git a/app/Views/layout/footer.php b/app/Views/layout/footer.php index 714ab93..46ebf1a 100755 --- a/app/Views/layout/footer.php +++ b/app/Views/layout/footer.php @@ -1,31 +1,5 @@ - - - - - + @@ -132,8 +74,7 @@ - - + diff --git a/app/Views/product_form.php b/app/Views/product_form.php index 596c75e..e5672a5 100755 --- a/app/Views/product_form.php +++ b/app/Views/product_form.php @@ -145,12 +145,12 @@

Pricing Information :


- +
- +
- +

Stock Information :


- +
> - + > + + >
> - - > + + >
> - - > + + >
> - - > + + >
- - + +
- - + +
- - + +

Description Details :


diff --git a/app/Views/product_list.php b/app/Views/product_list.php index e4d223a..2d4433a 100755 --- a/app/Views/product_list.php +++ b/app/Views/product_list.php @@ -103,7 +103,7 @@