From 57254bf175c33323a2da3dc1d91b97adace1c0ae Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Wed, 15 Apr 2020 11:48:18 +0200 Subject: [PATCH] fix duration calculation in admin timesheet view (#1639) --- templates/timesheet/layout-edit.html.twig | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/templates/timesheet/layout-edit.html.twig b/templates/timesheet/layout-edit.html.twig index c0ae2c6c..2b92daa9 100644 --- a/templates/timesheet/layout-edit.html.twig +++ b/templates/timesheet/layout-edit.html.twig @@ -71,16 +71,17 @@ {% endblock %} {% block form_after %} {% if form.begin is defined and form.end is defined and form.duration is defined %} + {% set blockPrefix = form.vars.id %}