Laravel Mapbox query prices
Budget: €8 – €30 EUR
I have a booking website where users can search for homes and get a list of available homes based on checkin and checkout dates.
Actually the prices are rendered on the base price of the homes.
I nees the price rendered by baseprice or if available :
Long term price
Weekend price
7 Days price
14 Days price
30 Days price
seasonal prices (from date to date)
The database table already have the columns insiede and the controller and model have the functions.
I need these values shown on blade and on mapbox popup.
For example: home 1 have base price of $30 and seasonal price from 01.05.2023 to 25.05.2023 is $45 if a user searches for that time interval the result have to query the seasonal price.
If a home dont have any seasonal price or other prices than base price calculate the baseprice.
Actually the prices are rendered on the base price of the homes.
I nees the price rendered by baseprice or if available :
Long term price
Weekend price
7 Days price
14 Days price
30 Days price
seasonal prices (from date to date)
The database table already have the columns insiede and the controller and model have the functions.
I need these values shown on blade and on mapbox popup.
For example: home 1 have base price of $30 and seasonal price from 01.05.2023 to 25.05.2023 is $45 if a user searches for that time interval the result have to query the seasonal price.
If a home dont have any seasonal price or other prices than base price calculate the baseprice.