From 91986ceb76b4a60b3a2b910e7aa3e692d3740cc7 Mon Sep 17 00:00:00 2001 From: Kim Wittenburg Date: Thu, 28 May 2020 11:58:37 +0200 Subject: [PATCH] Fix reference --- docassemble/ljohh/data/questions/tasks.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docassemble/ljohh/data/questions/tasks.yml b/docassemble/ljohh/data/questions/tasks.yml index 1801a50..fd20602 100644 --- a/docassemble/ljohh/data/questions/tasks.yml +++ b/docassemble/ljohh/data/questions/tasks.yml @@ -24,8 +24,6 @@ code: | "Probentermine": ', '.join(probentermine.true_values()), "Konzerttermine": ', '.join(konzerttermine.true_values()), "Anmerkungen": anmerkungen.strip(), - "Nächste Phase": ja_nein_vielleicht(nachste_phase), - "Übernächste Phase": ja_nein_vielleicht(ubernachste_phase), "Versorgung (PWE)": ', '.join(pwe_versorgung.true_values()), "Sonstiges (PWE)": pwe_sonstiges.strip() } @@ -34,6 +32,9 @@ code: | member_data["Eltern Nachname"] = eltern.name.last member_data["Eltern E-Mail"] = eltern.email member_data["Eltern Telefon"] = eltern.phone_number + if status != "aushilfe": + member_data["Nächste Phase"] = ja_nein_vielleicht(nachste_phase) + member_data["Übernächste Phase"] = ja_nein_vielleicht(ubernachste_phase) --- # A task that adds a row to the Anmeldungen. code: |