Update the id to id_hotel in the information tpl
This commit is contained in:
committed by
azhar bhat
parent
e567b0d46a
commit
4cb07af0c5
@@ -139,7 +139,7 @@
|
||||
<div class="col-sm-5">
|
||||
<select name="id_hotel" id="hotel_place" class="form-control chosen">
|
||||
{foreach from=$htl_info item=htl_dtl}
|
||||
<option value="{$htl_dtl['id']}" >{$htl_dtl['hotel_name']}</option>
|
||||
<option value="{$htl_dtl['id_hotel']}" >{$htl_dtl['hotel_name']}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
<p class="help-block">{l s='Hotel once assigned cannot be reassigned'}</p>
|
||||
|
||||
@@ -3064,7 +3064,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
if ($obj->id) {
|
||||
if ($this->product_exists_in_shop) {
|
||||
$objHotelInfo = new HotelBranchInformation();
|
||||
$hotelInfo = $objHotelInfo->hotelsNameAndId();
|
||||
$hotelInfo = HotelBranchInformation::getProfileAccessedHotels($this->context->employee->id_profile, 1);
|
||||
if ($hotelInfo) {
|
||||
$objRoomInfo = new HotelRoomInformation();
|
||||
$roomStatus = $objRoomInfo->getAllRoomStatus();
|
||||
|
||||
Reference in New Issue
Block a user