From 828e3480ad5f7f0c1d9df75d5fe3fcbe353a6b6a Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 7 Jul 2023 11:06:40 +0200 Subject: [PATCH] changed worksheet pdf --- .../snippets/worksheet-result.html.twig | 95 ++++++++----------- 1 file changed, 41 insertions(+), 54 deletions(-) diff --git a/httpdocs/templates/snippets/worksheet-result.html.twig b/httpdocs/templates/snippets/worksheet-result.html.twig index 68d6b97..112d37c 100644 --- a/httpdocs/templates/snippets/worksheet-result.html.twig +++ b/httpdocs/templates/snippets/worksheet-result.html.twig @@ -140,66 +140,53 @@ Abgrenzung {% if task.delimitation is not null %}{{ task.delimitation }}{% else %}-{% endif %} - - Inspektion - - {% if task.inspection == 1 %} + {% if task.inspection == 1 %} + + Inspektion (Zyklus: {{ worksheet.recInspectionCycleMonths }} Monate) + - {% else %} - - {% endif %} - - - - Wartung - - {% if task.maintenance == 1 %} + + + {% endif %} + {% if task.maintenance == 1 %} + + Wartung (Zyklus: {{ worksheet.recMaintenanceCycleMonths }} Monate) + - {% else %} - - {% endif %} - - - - Instandsetzung - - {% if task.service == 1 %} + + + {% endif %} + {% if task.service == 1 %} + + Instandsetzung + - {% else %} - - {% endif %} - - - - Sachverständiger - - {% if task.expert == 1 %} + + + {% endif %} + {% if task.expert == 1 %} + + Sachverständiger + - {% else %} - - {% endif %} - - - - Sachkundige - - {% if task.specialist == 1 %} + + + {% endif %} + {% if task.specialist == 1 %} + + Sachkundige + - {% else %} - - {% endif %} - - - - Fachkraft - - {% if task.skilledPersonnel == 1 %} + + + {% endif %} + {% if task.skilledPersonnel == 1 %} + + Fachkraft - {% else %} - - {% endif %} - - + + + {% endif %} Normative Grundlage {{ task.norm }}