{% assign cost_block = 0.00 %} {% assign cost_seat_base = include.base_cost %} {% for n in (0...11) %} {% assign from = n | times:25 | plus:1 %} {% assign to = from | plus:24 %} {% assign discount = n | times:0.075 %} {% assign reduction = 1 | minus:discount %} {% assign cost_seat = cost_seat_base | times:reduction %} {% assign cost_block = cost_seat | times:25 | plus:cost_block %} {% assign avg_cost = cost_block|divided_by:to %} {% assign len = ''|append:avg_cost|size %} {% endfor %}
{{ include.caption }}
Seats Seat/Month
{{from}}-{{to}}{% if forloop.last %}+{% endif %}${{avg_cost|money}}{% if len < 5 %}0{% endif %}