Skip to content
Snippets Groups Projects
prices.md 592 B

Prices

This section manages the prices for each fluid in the ecolyo application.

Rules

  • The next price to create is automatically pre-selected by default
  • Only the 2 last prices plus the one to create are editable, the others are just searchable
  • Each fluid has its own date frequency :
    • Electricity : one new price every 6 month (February and August)
    • Water : one new price every year
    • Gas : one new price every month
  • When user creates a new price, the previous price's endDate is set to the new startDate minus 1 minute, so every prices keeps following in time.