From 63b73224bd7895f7a5782117daa7b2879c350b2f Mon Sep 17 00:00:00 2001 From: azhar bhat Date: Wed, 28 Oct 2026 18:04:45 +0530 Subject: [PATCH] Fixed : google hotel connector text and issue on room update --- .../admin/AdminGoogleHotelLogsController.php | 12 ++++++------ .../qlogooglehotelconnector.php | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/modules/qlogooglehotelconnector/controllers/admin/AdminGoogleHotelLogsController.php b/modules/qlogooglehotelconnector/controllers/admin/AdminGoogleHotelLogsController.php index f2e44715e..7015a13b5 100644 --- a/modules/qlogooglehotelconnector/controllers/admin/AdminGoogleHotelLogsController.php +++ b/modules/qlogooglehotelconnector/controllers/admin/AdminGoogleHotelLogsController.php @@ -36,12 +36,12 @@ class AdminGoogleHotelLogsController extends ModuleAdminController // Every QghcApiLog::TYPE_* must have an entry here, or it shows as its raw // value in the filter dropdown, the list column, and the detail view. $this->typeLabels = array( - QghcApiLog::TYPE_ARI_FULL => 'Full Availability & Rates Update', - QghcApiLog::TYPE_ARI_CHANGE => 'Availability & Rates Change Update', - QghcApiLog::TYPE_GOOGLE_STATUS => 'Google Status', - QghcApiLog::TYPE_CONNECTION => 'Connection', - QghcApiLog::TYPE_DELETE_CONNECTION => 'Delete Connection', - QghcApiLog::TYPE_HOTEL_LIST_FEED => 'Property Detail', + QghcApiLog::TYPE_ARI_FULL => $this->l('Full Availability & Rates Update'), + QghcApiLog::TYPE_ARI_CHANGE => $this->l('Availability & Rates Change Update'), + QghcApiLog::TYPE_GOOGLE_STATUS => $this->l('Google Status'), + QghcApiLog::TYPE_CONNECTION => $this->l('Connection'), + QghcApiLog::TYPE_DELETE_CONNECTION => $this->l('Delete Connection'), + QghcApiLog::TYPE_HOTEL_LIST_FEED => $this->l('Properties Details'), ); $this->bootstrap = true; diff --git a/modules/qlogooglehotelconnector/qlogooglehotelconnector.php b/modules/qlogooglehotelconnector/qlogooglehotelconnector.php index 47296fe35..10f66c56f 100644 --- a/modules/qlogooglehotelconnector/qlogooglehotelconnector.php +++ b/modules/qlogooglehotelconnector/qlogooglehotelconnector.php @@ -903,7 +903,7 @@ class QloGoogleHotelConnector extends Module $oldStatus = (int)$oldRoom->id_status; $newStatus = isset($newRoomInfo['id_status']) ? (int)$newRoomInfo['id_status'] : $oldStatus; - if (($newStatus !== HotelRoomInformation::STATUS_TEMPORARY_INACTIVE) && ($oldStatus !== $newStatus)) { + if ($oldStatus !== $newStatus) { $objHotelRoomInfo = new HotelRoomInformation(); $roomInfoArray = $objHotelRoomInfo->getHotelRoomInfoByProductId((int)$oldRoom->id_product); if (empty($roomInfoArray)) {