Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clearly describe price categories #9

Closed
developeregrem opened this issue Nov 1, 2019 · 0 comments
Closed

Clearly describe price categories #9

developeregrem opened this issue Nov 1, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request Prices all issues concerning the prices settings
Milestone

Comments

@developeregrem
Copy link
Owner

The price classes must be described more clearly so that the calculation of the invoice amount can be made easier.
Just like the "always" option for days, an "always" option should also apply to the period (it is best to create a new attribute).
Depending on the origin, it must be checked whether there is already an active category that collides with the new one.
Concretely:

  • For an origin, there can only be one active price category for identical appartment-specific values, period, valid days (check overlapping periods).
  • Price categories with a time period have a higher value than categories that always apply (important for the later query which categories apply to a reservation).

If a collision has been detected, the user is shown a short list with the categories that collide.
Applies to creating and editing a price class.

@developeregrem developeregrem added enhancement New feature or request Prices all issues concerning the prices settings labels Nov 1, 2019
@developeregrem developeregrem added this to the 1.3 milestone Nov 6, 2019
@developeregrem developeregrem self-assigned this Nov 21, 2019
developeregrem pushed a commit that referenced this issue Feb 11, 2020
developeregrem pushed a commit that referenced this issue Feb 26, 2020
developeregrem pushed a commit that referenced this issue Feb 29, 2020
developeregrem pushed a commit that referenced this issue Feb 29, 2020
developeregrem pushed a commit that referenced this issue Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Prices all issues concerning the prices settings
Projects
None yet
Development

No branches or pull requests

1 participant