Block-based reservation rates
How can I create reservation rates where the hourly rates get cheaper the longer the reservation lasts?
Written By Zemtu
Last updated 3 days ago
In addition to the standard reservation rates (Overview - reservation rates), there are also block-based reservation rates. Depending on the duration of the reservation, different blocks are applied.
You can find it here:
/admin/billing/blockbasedtariff/
Two algorithms are available.
Select the cheapest combination
The algorithm combines the available blocks in such a way as to minimize the total amount.

Pay for a started block
“Always use the same block”
The algorithm selects the longest possible block within the reservation and multiplies it as necessary.

Compare neighboring block sizes and bill the cheaper one by step size
TODO