From 913eb5f229add954d0cacf3fd126519cfe6f00bf Mon Sep 17 00:00:00 2001 From: nobohan Date: Fri, 22 Oct 2021 14:13:54 +0200 Subject: [PATCH] admin location: filter items in twig --- .../ChillMainBundle/Resources/views/Location/index.html.twig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Bundle/ChillMainBundle/Resources/views/Location/index.html.twig b/src/Bundle/ChillMainBundle/Resources/views/Location/index.html.twig index 22ed42f55..693d1c3e4 100644 --- a/src/Bundle/ChillMainBundle/Resources/views/Location/index.html.twig +++ b/src/Bundle/ChillMainBundle/Resources/views/Location/index.html.twig @@ -16,6 +16,7 @@ {% for entity in entities %} + {% if entity.availableForUsers %} {{ entity.name }} {{ entity.phonenumber1 }} @@ -41,6 +42,7 @@ + {% endif %} {% endfor %}