From c98170636b8ef756b6fa20edf9f97b06641ed627 Mon Sep 17 00:00:00 2001 From: philipp Date: Mon, 4 Mar 2024 13:35:13 +0100 Subject: [PATCH] show proper amount of guests --- templates/includes/forms/log.html.tera | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/includes/forms/log.html.tera b/templates/includes/forms/log.html.tera index 25b1274..7206bbc 100644 --- a/templates/includes/forms/log.html.tera +++ b/templates/includes/forms/log.html.tera @@ -145,7 +145,7 @@

{% 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 (ohne Account): {{ amount_guests }}