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

Service for price categories #10

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

Service for price categories #10

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

To calculate an invoice in advance and to automatically create invoice items, we must write a service for price classes.

  • Input: Reservation object, type (room price|other)
  • Output: List of price categories sorted by date and the date for which it applies.

conditions:

  • Display active categories only
  • Price categories with a time period have a higher value than categories that always apply.
  • Respect origin (ReservationOrigin)

Assumes ticket #9 is done.

@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 pushed a commit that referenced this issue Jan 10, 2020
developeregrem pushed a commit that referenced this issue Jan 16, 2020
@developeregrem developeregrem self-assigned this Jan 16, 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