Fix hotel city access method as introduced in tax flow changes
This commit is contained in:
@@ -271,9 +271,10 @@ class AdminDashboardControllerCore extends AdminController
|
||||
$hotelOptions = array(array('id_hotel' => false, 'hotel_name' => $this->l('All Hotels')));
|
||||
foreach ($idsHotel as $idHotel) {
|
||||
$objHotelBranchInfo = new HotelBranchInformation($idHotel, $this->context->language->id);
|
||||
$hotelAddressInfo = $objHotelBranchInfo->getAddress($idHotel);
|
||||
$hotelOptions[] = array(
|
||||
'id_hotel' => (int) $idHotel,
|
||||
'hotel_name' => $objHotelBranchInfo->hotel_name.', '.$objHotelBranchInfo->city,
|
||||
'hotel_name' => $objHotelBranchInfo->hotel_name.', '.$hotelAddressInfo['city'],
|
||||
);
|
||||
}
|
||||
$this->tpl_view_vars = array(
|
||||
|
||||
Reference in New Issue
Block a user