How the system recognizes when should be used a weekly price?
The system uses weekly price if booked 7 nights in-a-row.
How the system will calculate a price if booked 8 nights?
The system will use a weekly price for the first 7 nights and will add a daily price for the 8th night.
How the system recognizes when should be used a monthly price?
The system uses monthly price if booked 30 nights in-a-row.
How the system will calculate price if booked 38 nights (1 month + 1 week + 1 night) ?
The system will use a monthly price for the first 30 nights, then will add a weekly price for the next 7 nights and then will add a daily price for the 38th night.