show proper amount of guests
This commit is contained in:
parent
442257df01
commit
c98170636b
@ -145,7 +145,7 @@
|
||||
</p>
|
||||
{% endfor %}
|
||||
{% 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 amount_guests > 0 %}
|
||||
Gäste <small class="text-gray-600">(ohne Account)</small>:
|
||||
{{ amount_guests }}
|
||||
|
Loading…
Reference in New Issue
Block a user