# Changelog

## [2.5.2] - 2025.05.20

### Fixed

- Polylang links with query params
- Select product with multiple prices : Show the offer with % instead of with currency
- Custom delivery and collection address on rent selector

## [2.5.1] - 2025.04.16

### Fixed

- No locations shown

## [2.5.0] - 2025.04.16

### Fixed

- Fixed wizard multi language with lang in query params

### New

- Selector and selector wizard : Filter pickup/return places by sales channel code
- Allow to show candidate turns in the selection product when times do not represent half day. Useful for 
  2 hours o 3 hours reservations

## [2.4.3] - 2025.03.17

### Fixed

- Fixed letters adding error in discount label

## [2.4.2] - 2025.03.15

### Fixed

- Show both offers and promotion code discount on select product and checkout
- Calendar : Manage max days
- Wizard : All destinations button was transparent. No text shown

## [2.4.1] - 2025.01.16

### Fixed

- Custom translations of the plugin priority before GlotPress

## [2.4.0] - 2025.01.11

### New

- Choose product reduced card : Include excess + deposit + daily km + km extra

### Fixed

- Calendar for category/rental location
- Text domain changed to match the plugin slug

## [2.3.8] - 2024.09.23

### New

- Hospedajes y alquileres de vehiculos required fields in my reservation form

## [2.3.7] - 2024.08.14

### New

- Renting Choose product - Filters and progressive loading - Reduced cards

## [2.3.6] - 2024.07.22

### New

- Franchise and deposit management

## [2.3.5] - 2024.07.16

### Fixed

- My reservation - Payment texts

## [2.3.4] - 2024.07.15

### Fixed

- Setup permalink on websites without translation plugin

## [2.3.3] - 2024.07.11

### Fixed

- Rent My reservation : Select2 null fields error on update

## [2.3.2] - 2024.07.03

### Fixed

- Rent My reservation : Select2 error in list structure fixed

## [2.3.1] - 2024.07.02

### Fixed

- Rent My reservation : Show customer phone prefix

## [2.3.0] - 2024.06.26

### Improve

- Rent My reservation : Validation of fields + upload documents and sign contract integration

## [2.2.11] - 2024.06.23

### Fixed

- Rent selector : Modify dates preload durations

### New

- Shift picker component: Set up min units

## [2.2.10] - 2024.06.13

### Fixed

- Rent checkout : Multiple products table with no price option
- Planning : Reservations that start before the first date
- Driver age literal translations

## [2.2.9] - 2024.06.07

### Fixed

- Extras - Duration hours/days based on extra duration

## [2.2.8] - 2024.06.03

### New

- Checkout mediator - Improve behaviour allowing an extra validation on the checkout process or allow to
  offer extras or coverages.

## [2.2.7] - 2024.05.22

### Fixed

- Checkout, Summary, My reservation - Product name, description, optional driver and license were not shown

## [2.2.6] - 2024.04.29

### Fixed

- Selector with rental location and duration - rental_location_code param was not used

## [2.2.5] - 2024.04.25

### Fixed

- Product calendar min days check on select dates

## [2.2.4] - 2024.04.25

### Fixed

- Product calendar min days warning message

## [2.2.3] - 2024.04.07

### New

- Product calendar performance_id shortcode parameter

## [2.2.2] - 2024.04.03

### Fixed

- Product calendar when not performances

## [2.2.1] - 2024.03.27

### New

- Fixed: Progressive loading of search results

## [2.2.0] - 2024.03.27

### New

- Complete form : Validate of radio controls - element placement
- Renting optimization : Improve speed by avoiding one call to settings 
- Shorcode products : Include codes to show a list of products

### Updated

- Selector form : Literal for Estimated time of arrival

### Fixed

- Product list shortcode : Take into account that external_detail_url can be empty if edited in the UI


## [2.1.0] - 2024.02.13

### Fixed

- Product calendar - column widths
- Rent Selector - Date and duration. Duration was not activated on select date

## [2.0.1] - 2024.01.25

### Added

- Extra code on select product

### Fixed

- Fixed simple_location_id in modify reservation
- Fixed error in product gallery buttons
- Fixed duration errors in modify selector
- Fixed detail loader in preset values calendar and cell width error
- Detail page error fixed

## [2.0.0] - 2023.12.30

### Added

- Onboarding process
- Reservation process templates review

## [1.10.5] - 2023.08.16

### Fixed

- Renting : Promotion code 100% allow request reservation


## [1.10.4] - 2023.08.08

### Fixed

- Renting : Extras availability

## [1.10.3] - 2023.07.31

### Added

- Renting: Selector - Country
- Renting: My reservation - Use template
- Checkout and contact: Privacy policy acceptance
- Renting: Selector wizard - Driver age

## [1.10.2] - 2023.06.15

### Added

- Renting: Selector - Driver age
- Renting: My reservation - Expiration dates

### Fixed

- Renting - Calendar - Preselection when collection different month

## [1.10.1] - 2023.05.25

### Fixed

- Renting - Calendar - Preselection when collection different month

## [1.10.1] - 2023.05.25

### Added

- Renting - Boat skipper and license management
- Renting - Shift picker component

## [1.10.0] - 2023.05.22

### Added

- Renting - Simple Location

### Fixed

- Renting - Passengers validation
- Renting - My reservation update with resources
- Activities - My reservation update with resources
- Variants - Selection of variants shows unit price instead of price
- Renting - Summary and My reservation : Do not show offer is price is higher

## [1.9.0] - 2023.04.06

### Added

- Renting - My reservation passengers

### Fixed

- Login : Encode URI component for special characters
- Password forgotten modal load was not working
- Renting - Planning fixed time_range multiple dates
- Renting - Selector rent
- Renting - Variants translation
- Activities multiple dates and one time selector

### Added

- Renting - Choose product category filter parameters
- Renting - Products shortcode added family_id and key_characteristics filters

## [1.8.5] - 2023.02.13

### Fixed

- Renting - Selector with pickup places and not pickup time

## [1.8.4] - 2023.02.11

### Fixed

- Renting - Duration selector without pickup time

## [1.8.3] - 2023.02.10

### Fixed

- Activities - Components were not working after JS update

## [1.8.2] - 2023.02.08

### Fixed

- Renting - Planning and Weekly planning 

## [1.8.1] - 2023.02.06

### Fixed
- Renting - Product calendar not working after Babel

## [1.8.0] - 2023.02.03

### Added
- Renting - Product variants
- Planning

### Fixed
- Modify reservation dates - When duration time_from was not showing

## [1.7.1] - 2022.10.26

### Added

- Renting choose product - Hide price if not available control

### Fixed
- Renting duration hours and minutes management on selector

## [1.7.0] - 2022.07.30

### Added

- Title for product calendars
- More space on calendar steps
- Carousel arrows position and color
- Default border radius on 3px
- Renting select product : Go to detail page instead of complete directly
- Renting complete : Select slot and skipper if apply
- Renting my reservation : Sign contract
- Renting my reservation : Additional drivers
- Added missing paid and pending amount in Summary page
- Renting calendar : Turns and turn names

### Fixed

- CSS Fixes
- Complete reservation payment on delivery
- Update renting reservation form on update
- Telephone prefix : Use company country code
- Fixes row overflow in certain themes like Bridges
- Sign contract
- Error messages on product calendars
- Double line in calendar tables
- Text overflow on activity catalog cards
- Title size on activity catalog cards
- Image displacement on activity catalog cards
- Carousel images size on activity pages
- Minor fixes on select2 selector transfer fields
- Desgin adjustements on list view cards
- Renting Product Calendar: Configured rental location do not use selector
- Renting Product Calendar: Filter pickup places and rental locations based on product

## [1.6.0] - 2022.05.26

### Added

- Control on border radius for selector container, buttons and cards
- Renting Product Calendar: Rental Location selector
- Renting Product Calendar: Show selected period
- Renting Product Calendar: Show only 1 month

### Fixed

- Selector fieds height on Twenty Twenty Two
- Choose Vehicle cards contents overflow on Twenty Twenty Two
- Renting calendar widget : Availability
- Activity summary and order : Do not reload the page based on the customer language

## [1.5.2] - 2022.05.16

### Fixed

- Duplicate Tab on iOs (iphone and ipad) => pagehide

## [1.5.1] - 2022.05.15

### Added

- AgentId extraction outside renting selector

### Fixed

- Manage duplicate Tabs during the renting reservation process
- Renting: Manage stock not available when creating renting reservation
- Avoid double click on create reservation form
- Apply promotion code in renting complete step

## [1.5.0] - 2022.05.07

### Fixed

- Fixed renting calendar widget: Use rental location when loading turns
- Fixed renting calendar widget: Show not available turns in red
- Fixed renting calendar widget : Holiday days + delivery/collection applicable hours
- Fixed renting/activities my reservation : Select between two payment methods
- Activities templates (shopping cart and my reservation) : Payment method

## [1.4.1]

### Fixed

- Product calendar : Multiple dates

## [1.4.0]

### Added

- Product duration : selector, choose product, complete, summary, my reservation
- Product calendar turns
- Product calendar duration scope : In One Day vs Days

## [1.3.2]

### Added

- Product calendar check hourly occupation

### Fixed

- Product Slider CPT metaboxes on PHP < 7.3

## [1.3.1]

### Fixed

- Renting Complete: Show deposit when no supplements
- Renting Calendar Widget: Container style

## [1.3.0]

### Fixed

- Phone Prefix default Country was not working in some scenarios

### Added

- Renting Selector : Fixed Category Code
- New CPT : Product Slider + Content Slider
- Product Calendar: Show prices and min days + Start calendar on first date
- Activity performances: Start calendar on first date

## [1.2.0]

### Added

- Test on 5.9

### Fixed

- Ms Edge get current page language

## [1.1.1]

### Added

- Renting Checkout Form : Phone dial code
- Activities Checkout Form : Phone dial code
- Transfer Checkout Form : Phone dial code
- Transfer Selector : Autocomplete destination points

## [1.1.0]

### Added

- Transfer supplements
- Transfer billing address => Payment integration

### Fixed

- Product detail: Show gallery + info
- Extra detail: Show gallery + info

## [1.0.2]

### Fixed

- Removed Font awesome
- Calendar styles
- Customize product cards

## [1.0.1]

### Added

- Vertical layout to Selector widgets and shortcodes

### Fixed

- Renting my reservation when no reservation form

## [1.0.0]

### Added

- Transfer process

### Updated

- Theme compatibility : Removed Bootstrap and fontawesome libraries

## [0.12.0]

### Fixed

- Renting: Product Calendar - Multiple Rental locations occupation
- Renting: Summary and MyReservation - Use customer full name

### Added

- Renting: Complete step - Manage customer type individual/company
- Renting: Manage renting setup without prices: For internal reservations
- Renting: Customer classifier

## [0.11.1]

### Fixed

- Activities: Cyclic calendar dates - prior dates style

## [0.11.0]

### Added

- Product Search (Price range)

### Fixed

- Renting complete reservation: redirect to summary page with query string
- Renting Complete Form: Extra country fields selector
- Activities: Shopping cart multiple payment methods redirect to payment gateway

## [0.10.0]

### Added

- Product Search (for product catalog navigation)
- Profile / Customer
  - Shortcodes for password forgotten and change password
- Multiple branch offices  

### Fixed

- Input custom delivery/collection address
- Mybooking Library Init with JS dependencies

## [0.9.0]

### Added

- Renting
  - Added Login/Signup user on complete reservation data
- Reservation Engine : Russian translation

### Fixed

- Renting
  - Products navigation URL with multi-language
- Activities
  - Activities navigation URL with multi-language

## [0.8.2]

### Fixed

- Renting
  - Fixed payment method validation when multiple methods are available

## [0.8.1]

### Fixed

- Renting
  - French translation
  - Pay on delivery / Pay now literals
  - Avoid editing booking data when renting in progress
  - Not available context: Not available vs Contact by phone

## [0.8.0]

### Added

- Renting
  - Key characteristics and characteristics translations
  - Product navigation by slug instead of code
- Reservation Engine Library : Allow engine extension
- New custom post types to manage catalog of products and activities

## [0.7.12]

### Fixed

- Fixed Reservation Engine Library : Edit selector dates

## [0.7.11]

### Fixed

- Fixed Terms and conditions translated page

### Added

- Renting
  - Selector Form custom control to manage offers

## [0.7.10]

### Fixed

- Renting
  - Myreservation Form: Fixed maxlength issues

## [0.7.9]

### Fixed

- Selector
  - Datepicker expand clickable area

### Added

- Contact Form
  - recaptcha integration
  - added subject, source, rental location and sales channel attributes

## [0.7.8]

### Fixed

- Renting calendar
  - Fixed error on dates when Google Translate in active on page
  - Range selector

## [0.7.7]

### Added

- Catala translation

### Fixed

- Renting
  - Form selector date to disabled when changed return place
- Renting Calendar
  - Next and Previous arrows in a button
- Date selector with Google Translation

## [0.7.6]

### Added

- Renting: Avoid creating a reservation that exceeds the max/min duration both in reservation wizard
  and in calendar widget

## [0.7.5]

### Updated

- Renting : Business context translations

## [0.7.4]

### Fixed

- Renting search specifically delivery/collection date/times
- Renting wizard select form include sales channel code

## [0.7.3]

### Added

- Renting select product: Show info icon
- Caravaning key characteristic icons

### Fixed

- Modify reservation modal : Removed fade for theme compatibility

## [0.7.2]

### Added

- Custom form possibility in renting checkout

## [0.7.1]

### Updated

- MyBooking Templates Review

### Fixed

- Wizard container and modify reservation select dates render is reponsability of the plugin.
  It allows a better integration with themes

## [0.7.0]

### Updated

- Settings
  - Plugin settings now are in a top level menu
  - CSS tab renamed to Advanced

### Added

- Settings
  - New tab Complements for testimonials, popup ads and cookies warning control

## [0.6.1]

### Fixed

- Renting module
  - Select Form family selector

## [0.6.0]

- Review for WordPress 5.5.1

### Added
- Renting module
  - Select Product with only one product

- Translations
  - French translation added
  - German translation added
  - Italian translation added

### Fixed

- Styles:
  - Changed .btn-success to .btn-primary for color coherence
  - Buttons are bigger like theme ones
  - Little tweaks on card elements
  - Realigned lists inside cards

## [0.5.25]

### Fixed

- Activities module
  - Payment setup with only one payment method
- Neve Theme integration on product browser


## [0.5.24]

### Fixed

- Activities module
  - Buy Tickets Fixed

## [0.5.23]

### Added

- Renting module
  - Choose product:
    - Show promotion code discount
  - Complete:
    - Apply promotion code
  - Summary :
    - Show promotion code / offer discount
  - My Reservation
    - Show promotion code / offer discount

- Activities module
  - Buy full activity

## [0.5.22]

### Added

- Renting module:
  - My reservation: Fill driver, additional driver and flight data

- Activities/Appointment module:
  - Pay pending amount.

## [0.5.21]

### Added

- Renting:
  - Affiliates integration.
  - Default start time and end time depending on business configuration
  - My reservation: Fill data
  - Choose products: Multiple products literals and units
  - Boats integration

- Activities/Appointments modules:
  - Search by destination and category (two classifiers)
  - My reservation: Fill data

### Fixed

- Renting:
  - Show promotion code on inline form without pickup place / time

## [0.5.20]

### Added

- Activities/Appointments module:
  - Terms and conditions link
  - One or multiple items reservation
  - Adjust product cards css/style
  - Access activity/appointment calendar page by slug
  - Cancel reservation
  - Activities search
- Renting
  - Selected coverage / extras

### Fixed

- Activities/Appointments module:
  - Activities Api: Error management when then activity is not found by id or slug
  - Shopping cart/Summary/Reservation. Show empty photo if it does not exist
- Renting module
  - Products Api: Error management when then activity is not found by id or slug
- Bootstrap Modal
  - Backdrop compatibility for some themes -> Use backdrop false when showing a modal

## [0.5.19]

### Added

- Renting module
  - Wizard steps title translations
  - Wizard collection point
  - Terms and conditions link
- Activities module (now Activities and Appointments module)
  - Activities module is now Activities and Appointments module.
    Implemented appointments characteristics on Activity module with use_rates and allow_select_places_for_reservation
	- Translations to the activities/appointment module.

## [0.5.18]

### Updated

- Translations
	- Contact form translations
  - Selector wizard

### Fixed

- Better themes integration.
  - Compatibility with themes that overrides bootstrap $.modal (fixed conflict with jquery-modal)
  - Common use of buttons instead of a mix of buttons/input.
  - Review of CSS
- Fontawesome fonts added
- Bootstrap 4.4.1

## [0.5.17]

### Fixed

- Renting module. Complete step. Just pay now (without request reservation) not connecting to payment gateway

### Updated

- Product calendar. JS Library. Single date => Just one month

## [0.5.16]

### Updated

- JS integration. Use of jquery and jquery-ui built in libraries

## [0.5.15]

### Fixed

- Engine support coverage in choose product. Allow uncheck a coverage

## [0.5.14]

### Updated

- Engine to support coverage in choose product

## [0.5.13]

### Updated

- Product calendar : Updated engine library + translations

## [0.5.12]

### Added

- Selector form micro-templates integration. Selector form adapts fields
depending on the instance configuration.

## [0.5.11]

### Fixed

- Use get_queried_object() in order to get the current page in order
  to prepare it for mybooking-js-engine library. (check shortcodes)

## [0.5.10]

### Fixed

- Custom JS and CSS enqueue version adjust : Use get_file_data

## [0.5.9]

### Added

- Custom JS and CSS enqueue version

## [0.5.8]

### Added

- Integration WMPL slugs

## [0.5.7]

### Added

- Renting translations

## [0.5.6]

### Added

- Wizard integration

### Fixed

- Multiple quantities

## [0.5.5]

### Added

- Bootstrap Javascript integration

## [0.5.4]

### Added

- Activities module: Activities Api client
- Activities module: Activities list and pagination shortcode
- Activities module: Activity detail page route

## [0.5.3] 2020-02-10

### Added

- Activities module: Shopping cart new templates
- Activities module: Summary page new templates
- Activities module: Order page shortcode and templates

### Updated

- Reservation Engine JS

## [0.5.2] 2020-02-07

### Fixed

- Storing activities workflow pages in settings. Incorrect name in mybooking_plugin_settings_activities

## [0.5.1] 2020-02-03

### Fixed

- Updated reservation engine. Extract two characters language code from five characters one.
