Closing Online Sales App
This application allows you to manage online operating hours rules for your accommodations. You can define specific rules to close or open your services based on various criteria.
The main purpose of this app is to give you control over when your accommodations are available, helping you prevent bookings during unavailable periods due to holidays, maintenance, or other specific events.
How to use the app:
Creating Rules: Navigate to the home page. Click on "Add New Rule", this will open a dialog in which you can specify rule details and create the rule.
Editing/Deleting Rules: You can edit or delete existing rules from the main list.
How priority works:
When multiple rules apply to the same date or time, the application uses a priority system to determine which rule takes precedence.
When multiple closing times are found for a specific date, it picks the one with the highest priority. This provides a simple and unambiguous way to resolve conflicts when multiple rules apply to the same date.
An example:
- Rule A:
start_date: '2025-01-01',end_date: '2025-12-31',closing_time: '16:00',priority: 0(General rule) - Rule B:
start_date: '2025-10-25',end_date: '2025-10-25',closing_time: '12:00',priority: 3(Specific exception)
On October 25th, the system will choose Rule B because it has a higher priority. When two rules have the same priority, the most recently created one takes precedence.
Timezones:
All times and dates within the application are handled in your administrations local timezone. When you create or view rules, the system automatically converts times to your local timezone for display and processing. The timezone is based on the set timezone in your administration settings. If no timezone is found, all rules will default to 'Europe/Amsterdam'.