dont show guests on external boats
Some checks failed
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Has been skipped
CI/CD Pipeline / test (push) Failing after 5m15s

This commit is contained in:
philipp 2024-05-12 22:26:02 +02:00
parent b69eded21d
commit a0d53366e0

View File

@ -152,7 +152,7 @@
{% endfor %} {% endfor %}
{% set amount_rowers = log.rowers | length %} {% set amount_rowers = log.rowers | length %}
{% set amount_guests = log.boat.amount_seats - amount_rowers %} {% set amount_guests = log.boat.amount_seats - amount_rowers %}
{% if amount_guests > 0 %} {% if amount_guests > 0 and not log.boat.external %}
Gäste Gäste
<small class="text-gray-600">(ohne Account)</small>: <small class="text-gray-600">(ohne Account)</small>:
{{ amount_guests }} {{ amount_guests }}