Hotel id changes revert : GWM
This commit is contained in:
parent
dcf29111c5
commit
ce8bc51103
@ -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();
|
||||
|
||||
|
||||
@ -12,7 +12,6 @@ class AccomodationModel extends Model
|
||||
protected $allowedFields = [
|
||||
'plan_id',
|
||||
'destination_city',
|
||||
'hotel_id',
|
||||
'hotel_name',
|
||||
'class',
|
||||
'checkin_date',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user