show proper amount of guests (changed bc cox is now included in rowers)

This commit is contained in:
philipp 2023-11-04 15:07:16 +01:00
parent 555882b4c7
commit c2034ed690

View File

@ -181,7 +181,7 @@
{% endif %} {% endif %}
</small> </small>
{% set amount_rowers = log.rowers | length %} {% set amount_rowers = log.rowers | length %}
{% set amount_guests = log.boat.amount_seats - amount_rowers -1 %} {% set amount_guests = log.boat.amount_seats - amount_rowers %}
{% if allowed_to_close and state == "on_water" %} {% if allowed_to_close and state == "on_water" %}
{{ log::home(log=log, only_ones=only_ones) }} {{ log::home(log=log, only_ones=only_ones) }}
{% else %} {% else %}