------------------------------
# V1.4.3 to V1.5.0
------------------------------

## Improved/Changed Features:

* [CO] : [#650] Added: Feature per day price in extra services
* [FO] : [#651] Fix: imgaes index not defined for services on room type page in front office
* [BO] : [#607] Updated: Service products pop-up modal in admin order view page
* [FO] : [#649] Fix: Occupancy panel does not close when clicking on add to cart button
* [CO] : [#622] Added: Primary hotel in QloApps for tax calculation of service products
* [BO] : [#542] Resolved: advance price rules validation issue
* [BO] : [#644] Change refund rule text from 'Days before cancellation' to 'Days before check-in' at back office
* [CO] : [#612] Resolved: hotel tagline and short description wrong format
* [BO] : [#554] Resolved: room status update issue from active to inactive.
* [CO] : [#621] Resolved: Catalog discount is not visible when auto add service is attached to room type
* [BO] : [#611] Updated: added complete booking info in admin booking carts tab
* [BO] : [#518] Fixed: User input in location field in search panel get replaced by hotel location
* [BO] : [#589] Add cancellation policy section on admin order view page
* [BO] : [#632] Update disable dates selection for a room at back office
* [BO] : [#639] Update refund request view page at back office
* [FO] : [#605] Resolved: Service producs all images not visible in front office
* [CO] : [#584] Resolve: Inactive auto add service price still gets added to room price
* [CO] : [#583] Resolved: Unable to add room in cart from front and backoffice
* [BO] : [#582] Removed selected extra services list from current cart in backoffice book now summary
* [BO] : [#579] Resolved: Exception on admin book now page after cleaning cart data
* [CO] : [#574] Fix:  Services price not including in cancelation charges.
* [BO] : [#544] Resolved: bad sql query issue when assigning features to the hotel
* [BO] : [#625] Fixed: book now page calender does not show searched date month
* [FO] : [#608] Fix: Unable to remove disabled services from cart
* [FO] : [#615] Resolved: Order restrict error is displayed multiple time on checkout page
* [CO] : [#616] Resolved: Mulitple hotel cover image created when uploading multiple images
* [BO] : [#599] Fix js errors on admin book now page
* [BO] : [#597] Fix filter issues on Assign Hotel Features page at back office
* [CO] : [#595] Text changes
* [BO] : [#571] Remove Order Restrict link from Hotel Reservation System > Settings page
* [CO] : [#559] Change link in credit slip email
* [CO] : [#549] Resolved: issue on free order and room reallocation
* [CO] : [#546] Replaced: child with children in occupancy text
* [CO] : [#538] Added: Feature service products
* [CO] : [#526] Update refund option and orders state mangement
* [CO] : [#527] Fix CLI install issues
* [BO] : [#531] Allow admin to upload check-in documents
* [CO] : [#528] licenses updated
* [CO] : [#521] Updated occupancy dropdown
* [BO] : [#522] Updated: Book now page calender view
* [CO] : [#514] Resolve: Occupancy wise search feature issues
* [CO] : [#475] Added Feature: Occupancy wise search and booking
* [CO] : [#500] Improve order refund flow
* [BO] : [#473] Fix database exception issue on Book Now page at back office when multiple QloApps installations are present on the same domain
* [BO] : [#495] Added: missing re-allocation pop-up and improved design in book now page
* [BO] : [#456] Allow admin to add new links on Hotel Reservation System > Settings page and removed shortcut links of "Our Rooms" and "Testimonial" modules
* [BO] : [#464] Implement Additional Facilities tab in AdminProductsController instead of using hotelreservationsystem module hook
* [CO] : [#476] Use object methods save() and delete() for classes HotelCartBookingData and HotelBookingDetail
* [BO] : [#478] Update admin book now page design | added fullcalender
* [CO] : [#468] Update image generation method for hotel and default modules
* [CO] : [#479] New Feature: Preparation time for bookings
* [CO] : [#458] Replace module 'productcomments' with 'qlohotelreview'
* [BO] : [#451] Improve statistics at back office
* [BO] : [#460] Remove characters limit of 128 for hotel fields 'map_formated_address' and 'map_input_text'
* [BO] : [#455] Fix Book Now page at back office
* [CO] : [#436] Text changes
* [FO] : [#403] Add maps to search results and room type detail pages
* [BO] : [#413] Fix date formats at back office
* [CO] : [#435] Added feature: minimum and maximum length of stay restriction for room types
* [BO] : [#429] Add price modification for new orders at back office
* [CO] : [#420] Remove unused code and data from module hotelreservationsystem
* [FO] : [#419] Fix hero image cache issue
* [CO] : [#418] Add hooks 'displayAdminAddHotelFormTab' and 'displayAdminAddHotelFormTabContent' in Manage Hotel tab of Back-office
* [FO] : [#417] Resolved address issue on contact page for list and map
* [CO] : [#415] Removed qlo_mod_list.xml
* [BO] : [#412] Resolve dashboard design issues
* [CO] : [#402] Change module category for graphnvd3 and hotelreservationsystem modules
* [CO] : [#401] Remove unused modules
* [FO] : [#410] Add hotel images under room information on room type detail page
* [BO] : [#409] Change Feature Price name to Advanced Price Rule
* [CO] : [#416] Resolved wrong address while creating new booking
* [CO] : [#394] Fix hotel city access method as introduced in tax flow changes
* [BO] : [#391] Updated dashboard structure | Fixed dashboard widget
* [CO] : [#371] Updated tax flow, Taxes are now calculated based on hotel address
* [BO] : [#382] Resolve undefined index issue on Order Restrict update form
* [CO] : [#381] Change demo city name from DefCity to Demo City
* [BO] : [#376] Remove global price option when not needed from additional facilities…
* [CO] : [#363] Text changes
* [CO] : [#356] Moved hotelreservationsystem "actionvalidateorder" to core function "validateorder"
* [CO] : [#366] Updated core upgrade files and modules upgrade files
* [BO] : [#357] Remove module config links from Hotel Reservation System > Settings page
* [BO] : [#351] Improve hotel address selection on map using marker at back office
* [BO] : [#345] Improve room type duplication feature
* [CO] : [#338] Replace booking type integer values with class constants
* [CO] : [#334] Remove install.sql files from modules
* [FO] : [#619] Show service cost separately from room cost on checkout page
* [CO] : [#636] Resolved: refund request payment calculation
* [BO] : [#653] Updated: Additional facilities panel in admin room type page
* [CO] : [#490] Added "Hotel Availability and Rates search API"  to QloApps
* [CO] : [#650] Added: Feature per day price in extra services
* [FO] : [#651] Fix: imgaes index not defined for services on room type page in front office
* [FO] : [#658] Replaced: child with children in occupancy text front-office
* [FO] : [#668] Fixed: Error on search result page when updating invalid occupancy in URL
* [CO] : [#669] Updated: text translations call variable assigned to javascript
* [BO] : [#670] Updated: Admin room type services and facilities panel text issues and undefined index issue
* [CO] : [#684] Fix PHP warning issue in catalog mode
* [CO] : [#693] Fix: hotel not getting added in hotel profile access table
* [BO] : [#694] Resolve: errors while adding new hotel
* [BO] : [#695] Fixed: dashboard  graphs errors when data set is empty
* [BO] : [#696] Updated: Manage room type default configuration and advance payment form options
* [FO] : [#699] Fix: service product quantity getting updated incorrectly from order OPC page
* [FO] : [#700] Fix: quantity does not change on room type page booking form
* [CO] : [#704] Updated: Data in admin refund request, corrected data in rooms refund detail table.


-------------------------
# V1.4.2 to V1.4.3
-------------------------

## Improved/changed features:

[*] BO : [#253] Using room status as constants instead in values, removed HotelOrderStatus class
[*] BO : [#270] Using room availability status as constants instead in values, removed HotelRoomStatus class
[*] CO : [#244] Changed Tools::jsonEncode to json_encode
[*] CO : [#283] Invalid value inserted in 'special_days' field in htl_room_type_feature_pricing table through API
[*] CO : [#284] Resolved: No validation for the fields in 'hotel_refund_rules' API for add and update. 
[*] CO : [#289] Validations added to the fields of "bookings" API for POST / PUT API requests
[*] CO : [#274, #274] Text changes
[*] CO : [#290] Using $this->_path for including css and js | Moved plugins to core js folder 


## Bug/Issues Resolved:

[-] BO : [#259] fixed room reallocation availability list for temporary unavailable rooms 
[-] BO : [#256] Fixed Swap rooms leads to reservations duplications 
[-] CO : [#252] Fixed getRoomBookingData function always return the first room for same room in order with different dates
[-] CO : [#291] Resolved: Wrong price return by advance payment functions in HotelAdvancedPayment class
[-] CO : [#294] Resolve order edit issues, Added hooks in order edit process
[-] CO : [#303] In ' Manage Hotel' Controller, validation added for 'check-out time must be before check in'





-------------------------
# V1.4.1 to V1.4.2
-------------------------

## Added Features:

[+] CO : [#198] Multiple hooks are added in the different QloApps core files

## Improved/changed features:

[*] BO : [110, #111] Code Optimization
[*] BO : [#179] Added hotel column in room type feature pricing list
[*] BO : [#204, #196, #182] Text Changes
[*] BO : [#193] Removed Payment Modules setting from admin Hotel Reservation System -> Settings
[*] BO : [#206] Removed Other Modules setting from admin Hotel Reservation System -> Settings

[*] CO : [#215] "hotelreservationsystem.php" code optimization in hook "actionValidateOrder"
[*] CO : [#221] dataforfrontsearch() function now calculate and provide "feature_price_diff" value in response
[*] CO : [#223] getHotelCartBookingData() : function multiplication optimized
[*] CO : [#225] HotelRoomTypeFeaturePricing.php optimized (Removed unused variables, removed static values assigned)

## Bug/Issues Resolved:

[-] FO : Fixed : [#169] Wrong price displayed when booking from 1 march to 30 march
[*] FO : [#215] "ajax-cart.js" add validation

[-] BO : Fixed : [#162] Additional facility price changes for room type after saving
[-] BO : Fixed : [#168] Room number not updating after room reallocation and swap
[-] BO : Fixed : [#173] Undefined varaible issue Manage Order Refund Request Controller
[-] BO : Fixed : [#211] Errors on cart rule page when add room type, which is not assigned to hotel, selected in room type condition
[-] BO : Fixed : [#229] Resolved undefined variable error in Manage Order Refund Request Controller



-------------------------
# V1.4.0 to V1.4.1
-------------------------

## Added Features:

[+] CO : Columns `active_refund` are added in 'htl_branch_info' table.
[+] CO : Columns `total_paid_amount`, `available_for_order`, `hotel_name`, `room_type_name`, `city`, `state`, `country`, `zipcode`, `phone`, `email`, `check_in_time`, `check_out_time`, `room_num`, `adult`, `children` in 'htl_booking_detail' table.
[+] CO : tables 'htl_room_type_feature_pricing_group', 'htl_branch_refund_rules', 'htl_order_refund_rules' added.
[+] CO : Class 'HotelBranchRefundRules' is added.
[+] CO : datatable library is addded to the module.
[+] CO : wk_refund_request.js, wk_refund_rule.js addded to the module.

[+] BO : Occupancy setting added in the Hotel General Setting Tab.
[+] BO : Feature Price Rule: Groups wise Condition in feature price rules is added.
[+] BO : Admin can enable/disable refund for the hotel.
[+] BO : Refund rules can be selected hotel wise.

## Improved/changed features:

[*] CO : All files license year is updated to 2020.
[*] CO : tables 'htl_customer_adv_payment', 'htl_customer_adv_product_payment', 'htl_order_refund_info', 'htl_order_refund_stages' are removed.
[*] CO : Classes 'HotelCustomerAdvancedPayment', 'HotelCustomerAdvancedProductPayment', 'HotelOrderRefundInfo', 'HotelOrderRefundStages' are removed.
[*] CO : All search block css and js are moved to "wkroomsearchblock" module.
[*] CO : Images link are now generated dynamically

[*] BO : In Admin Refund Rules controller name and description fields are added.
[*] BO : Admin Refund Request controller is improved and now will work as per new flow of refund process.
[*] BO : Create demo zipcode if zipcode is required and pattern not provided.

## Bug/Issues Resolved:
[-] CO : Resolved:: Feature price wrong calculation in currencies other than default currency in case of impact way percentage.


## Update Policy

- Database changed, Module need upload new file then UNINSTALL and re-installation.


-------------------------
# V1.3.0 to V1.4.0
-------------------------

## Added Features:

[+] CO : Table `htl_booking_demands_tax` added to the module for additional facility tax.
[+] CO : Table `htl_access` added to the module to manage hotel wise permission management.
[+] BO : Additional facility : Tax can be applied on additional facilities.
[+] BO : Additional facility : Per day price calculation option is added.[Price will be calculated on per day basis of the booking or for entire date range of the booking]
[+] BO : All controllers accesses are now manages according to the hotel wise permission management.

[+] CO : hookActionObjectProfileAddAfter, hookActionObjectProfileDeleteBefore are added to add and delete hotel accessed while adding or deleting any profile.


## Improved/changed features:

[+] CO : Table `htl_booking_demands` altered to the manage to additional facility tax.
[*] CO : getCartFormatedBookinInfoByIdCart(), getCartExtraDemands() functions improved for extra demands in HotelCartBookingData class.
[*] CO : add(), initAccess(), addHotelsAccessToProfile(), deleteProfileHotelsAccess(), getProfileAccessedHotels(), filterDataByHotelAccess() added in class HotelBranchInformation for managing hotel wise permission management.
[*] CO : delete() updated in class HotelBranchInformation to delete from htl_access for managing hotel wise permission management while deleting a hotel.
[*] CO : updateBookingOrderStatusByOrderId() updated in class HotelBookingDetail.

[*] BO : Only imported countries will be shown in the country dropdown while saving a hotel.

## Bug/Issues Resolved:

[-] CO : Resolved: Room type's Advance payment information is now saved while adding room types on the installation of the module. [As room type is unavailable for the advance payment]
getProductFeaturePricePlanByDateByPriority
[-] BO : Resolved: Hotel image file does not delete from the folder after hotel image deletion.


## Update Policy

- Database changed, Module need upload new file then UNINSTALL and re-installation.


-------------------------
# V1.2.2 to V1.3.0
-------------------------

## Added Features:

[+] CO : Additional Facility functionality is added.
[+] CO : `extra_demands` columnn added to the table `htl_cart_booking_data`.
[+] CO : Tables `htl_booking_demands`, `htl_room_type_global_demand`, `htl_room_type_global_demand_lang`, `htl_room_type_global_demand_advance_option`, `htl_room_type_global_demand_advance_option_lang`, `htl_room_type_demand_price`, `htl_room_type_demand` are added to the module to manage extra demand feature.

[+] BO : AdminRoomTypeGlobalDemand controller added to create and update extra demands.
[Hotel reservation system -> Settings -> Additional Demands]

[+] BO : "EXTRA DEMANDS" tab added while updating a room type.


## Improved/changed features:

[*] CO : mp-form-fields-flag.tpl name changed to htl-form-fields-flag.tpl
[*] BO : Tiny mce fields validations improved.
[*] BO : Feature price settings filters are improved.
[*] BO : Order Refund rules page filters are improved.
[*] BO : Order Refund Requests page filters are improved.
[*] BO : Book Now page search process is improved.
[*] BO : Google map key is now at General Settings -> GOOGLE MAP SETTING only removed from Preferences->General tab.

## Bug/Issues Resolved:

[-] BO : Zipcode in demo data is now dynamic for selected country while QloApps installation.


## Update Policy

- Database changed, Module need upload new file then UNINSTALL and re-installation.


-------------------------
# V1.2.1 to V1.2.2
-------------------------

## Improved/changed features:

[+] CO : Demo data insertion improved.
[+] CO : getHotelCartBookingData() improved as used many places in QloApps.

[+] CO : Call to HotelImage::validateImage() is deprecated.
[+] CO : Call to Hotelhelper::validImageExt() is deprecated.


[+] BO : Unused category deletion process added on hotel deletion. function deleteUnusedHotelCategories() added.
[+] BO : Hotel creation code improved.
[+] BO : Images validation improved.
[+] BO : Zipcode validation is improved as per selected country.


## Bug/Issues Resolved:

[-] CO : Zipcode in demo data is now dynamic for selected country while QloApps installation.



## Update Policy

- Mobule need only file update, can be updated only by UPLOADING new version on module


-------------------------
# V1.2.0 to V1.2.1
-------------------------

## Added Features:

[+] CO : Demo data will be now populated as per choice while Qloapps installation (populate data or not option).


## Improved/changed features:

[-] BO : Resolved :: view page of AdminHotelFeatures improved when no features exists.


## Bug/Issues Resolved:

[-] BO : Resolved :: "HTTP ERROR 500"  when clicking "Book Now" tab.



## Update Policy

- Mobule need only file update, can be updated only by UPLOADING new version on module


-------------------------
# V1.1.1 to V1.2.0
-------------------------

## Added Features:

[+] CO : index.php added/Updated in all folders
[+] CO : License.txt added.
[+] CO : License added in every file.
[+] CO : logo.gif file added.

[+] CO : Module is made multilang now.
[+] CO : 'htl_room_type_feature_pricing_lang' table added to make Feature Price rules controller multilang.
[+] CO : 'htl_features_lang' table added to make Manage Hotel Features controller multilang.
[+] CO : 'htl_branch_info_lang' table added to make 'Manage Hotels' controller multilang.

[+] CO : HotelHelper::getQloNativeModules() added for module list of Qloapps
[+] CO : HotelHelper::updateConfigurationLangKeys(), HotelHelper::updateLangTables() added for lang tables management when importing new language from localization

[+] BO : AdminAssignHotelFeatures controller added to Manage Hotel Features.
[+] BO : On contact us page contact header, contact content, global address are now dynamic. Enter values from AdminGeneralSettingsController.
[+] BO : Configuration to show/hide only one active hotel is added in location search panel in Hotel General Settings.

## Improved/changed features:

[+] CO : PREFIX_htl_image table changed for hotel cover image feature.
[+] CO : `id` is changed to `id_feature_price` in 'htl_room_type_feature_pricing_lang' table.
[+] CO : MultiLang fields removed from tables 'htl_room_type_feature_pricing_lang', 'htl_features_lang', 'htl_branch_info_lang' tables.

[+] BO : Seperate configuration panel is made for location search panel in Hotel General Settings.


## Bug/Issues Resolved:

[-] CO : Resolved :: hotelreservationsystem:: Hotel images not saved while saving hotel details.

[-] BO : Resolved :: hotelreservationsystem - $max_phone_digit is undefined issue resolved on hotel creation form.

[-] CO : Resolved :: hotelreservationsystem - Parent:: replaced with parent:: in classes/hotelHotelBranchInformation.php which was creating problems in installation.

[-] CO : Resolved :: hotelreservationsystem:: HotelBookingDetail.php : phone number sent as string '0987654321'from 0987654321. Giving error while installing Qloapps with php7.0.0 .

[-] BO : Resolved :: If current date is the last date then data to is change to the next date while Book now from admin.

## Update Policy

- Database changed, Module need upload new file then UNINSTALL and re-installation.