Hotel id changes revert : GWM

This commit is contained in:
Gowtham M 2025-08-06 09:27:30 +05:30
parent dcf29111c5
commit ce8bc51103
2 changed files with 1 additions and 3 deletions

View File

@ -1218,9 +1218,8 @@ class PlanController extends ResourceController
$plan['flight'] = $flights;
//get accomodation details
$plan['accomodation'] = $this->accomodationModel->select('c_accomodation.*, C.dropdown_value as hotel_class, H.hotel_name')
$plan['accomodation'] = $this->accomodationModel->select('c_accomodation.*, C.dropdown_value as hotel_class')
->join('m_dropdown C', 'C.dropdown_key = c_accomodation.class AND C.dropdown = "hotel_class"', 'left')
->join('m_hotels H', 'H.hotel_id = c_accomodation.hotel_id', 'left')
->where('c_accomodation.plan_id', $planId)
->where('c_accomodation.is_active', 1)->findAll();

View File

@ -12,7 +12,6 @@ class AccomodationModel extends Model
protected $allowedFields = [
'plan_id',
'destination_city',
'hotel_id',
'hotel_name',
'class',
'checkin_date',