From f84f69abdf043f4b41eef74563384ad17ae20cda Mon Sep 17 00:00:00 2001 From: Toby Fey Date: Wed, 31 Jul 2024 23:54:30 -0400 Subject: [PATCH] deleted explanation_answer and added service info to review blocks --- .../data/questions/MOHUDEvictionProject.yml | 1 - .../data/questions/file_a_motion.yml | 27 +++++++++++++++++++ .../data/questions/review.yml | 27 +++++++++++++++++++ 3 files changed, 54 insertions(+), 1 deletion(-) diff --git a/docassemble/MOHUDEvictionProject/data/questions/MOHUDEvictionProject.yml b/docassemble/MOHUDEvictionProject/data/questions/MOHUDEvictionProject.yml index 59772e7..f50ee56 100644 --- a/docassemble/MOHUDEvictionProject/data/questions/MOHUDEvictionProject.yml +++ b/docassemble/MOHUDEvictionProject/data/questions/MOHUDEvictionProject.yml @@ -462,7 +462,6 @@ code: | information_collected nav.set_section("review_eviction_answer") - explanation_answer document_order = True --- diff --git a/docassemble/MOHUDEvictionProject/data/questions/file_a_motion.yml b/docassemble/MOHUDEvictionProject/data/questions/file_a_motion.yml index 39060b9..e6233e0 100644 --- a/docassemble/MOHUDEvictionProject/data/questions/file_a_motion.yml +++ b/docassemble/MOHUDEvictionProject/data/questions/file_a_motion.yml @@ -809,6 +809,33 @@ review: % else: **None** % endif + - Edit: + - other_parties[0].service_method + button: | + % if other_parties[0].attorney.there_are_any: + Attorney ${ other_parties[0].attorney[0] } will be served by + % else: + ${ other_parties[0] } will be served by + % endif + **${ other_parties[0].service_method }** + - Edit: + - other_parties[0].email + - recompute: + - other_parties[0].service_email + button: | + Email for ${ other_parties[0].name }: **${ other_parties[0].email }** + - Edit: + - other_parties[0].attorney[0].email + - recompute: + - other_parties[0].service_email + button: | + Email for ${ other_parties[0].attorney[0].name }: ${ other_parties[0].attorney[0].email } + - Edit: + - other_parties[0].service_address.address + button: | + Service address: + + **${ other_parties[0].service_address }** - note: | ##About your court case## - Edit: diff --git a/docassemble/MOHUDEvictionProject/data/questions/review.yml b/docassemble/MOHUDEvictionProject/data/questions/review.yml index b2ed680..a96f29e 100644 --- a/docassemble/MOHUDEvictionProject/data/questions/review.yml +++ b/docassemble/MOHUDEvictionProject/data/questions/review.yml @@ -437,6 +437,33 @@ review: - **${ other_parties[0].attorney[0].name }** show if: other_parties[0].attorney.there_are_any + - Edit: + - other_parties[0].service_method + button: | + % if other_parties[0].attorney.there_are_any: + Attorney ${ other_parties[0].attorney[0] } will be served by + % else: + ${ other_parties[0] } will be served by + % endif + **${ other_parties[0].service_method }** + - Edit: + - other_parties[0].email + - recompute: + - other_parties[0].service_email + button: | + Email for ${ other_parties[0].name }: **${ other_parties[0].email }** + - Edit: + - other_parties[0].attorney[0].email + - recompute: + - other_parties[0].service_email + button: | + Email for ${ other_parties[0].attorney[0].name }: ${ other_parties[0].attorney[0].email } + - Edit: + - other_parties[0].service_address.address + button: | + Service address: + + **${ other_parties[0].service_address }** - raw html: | ${ next_accordion("About your rental agreement", showing=False) } - Edit: