Merge pull request #640 from abhishek-webkul/gli-1313

Fix order room dates edit issue at back office
This commit is contained in:
Rohit Jain
2023-03-20 15:45:01 +05:30
committed by GitHub

View File

@@ -4213,6 +4213,8 @@ class AdminOrdersControllerCore extends AdminController
}
$product_informations = Tools::getValue('edit_product');
$old_date_from = date('Y-m-d', strtotime(trim(Tools::getValue('date_from'))));
$old_date_to = date('Y-m-d', strtotime(trim(Tools::getValue('date_to'))));
$new_date_from = trim(date('Y-m-d', strtotime($product_informations['date_from'])));
$new_date_to = trim(date('Y-m-d', strtotime($product_informations['date_to'])));
$obj_booking_detail = new HotelBookingDetail();