From 41c88e9e3abc8ce944a4064c68c7c2af8b6047d2 Mon Sep 17 00:00:00 2001 From: Sumit Panwar Date: Wed, 25 Sep 2024 20:03:44 +0530 Subject: [PATCH] Fixed: Not receiving a success deletion message after removing a non-auto-added service product from the order detail page --- controllers/admin/AdminOrdersController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/admin/AdminOrdersController.php b/controllers/admin/AdminOrdersController.php index 0eaee3512..15c8d1eea 100644 --- a/controllers/admin/AdminOrdersController.php +++ b/controllers/admin/AdminOrdersController.php @@ -6504,7 +6504,7 @@ class AdminOrdersControllerCore extends AdminController $totalPriceChangeTaxIncl = 0; $unitPriceTaxIncl = 0; $unitPriceTaxExcl = 0; - foreach ($productList as $product) { + foreach ($productList as &$product) { // This is used to get the actual quanity of the service as it is calculated incorrectly if the service is per night if ($id_room_type_service_product_cart_detail = $objRoomTypeServiceProductCartDetail->alreadyExists( $service['id'],