Fixed: Not receiving a success deletion message after removing a non-auto-added service product from the order detail page

This commit is contained in:
Sumit Panwar
2024-09-25 20:03:44 +05:30
parent 2058dd2701
commit 41c88e9e3a

View File

@@ -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'],