From 8015eea6657376f1decd5b285c1bd0c3268809cf Mon Sep 17 00:00:00 2001 From: Quinten Steenhuis Date: Tue, 30 Jul 2024 22:53:33 -0400 Subject: [PATCH] Assume filled by tenant not attorney --- .../questions/letter_to_request_repairs.yml | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/docassemble/MOHUDEvictionProject/data/questions/letter_to_request_repairs.yml b/docassemble/MOHUDEvictionProject/data/questions/letter_to_request_repairs.yml index 7609f93..bd620c2 100644 --- a/docassemble/MOHUDEvictionProject/data/questions/letter_to_request_repairs.yml +++ b/docassemble/MOHUDEvictionProject/data/questions/letter_to_request_repairs.yml @@ -90,11 +90,13 @@ code: | housing_conditions lease_agreement_mentions_repairs set_progress(20) + nav.set_section("section_about_you") users[0].phone_number + users[0].address.address + nav.set_section("section_landlord") + other_parties.gather() other_parties[0].address.address set_progress(40) - other_parties.gather() - users[0].address.address interview_order_letter_to_request_repairs = True --- ###################### Main order ###################### @@ -112,6 +114,8 @@ code: | persistent=True, data={ "zip": showifdef("users[0].address.zip"), + "conditions": housing_conditions.true_values(), + "letter_kind": letter_kind, "reached_interview_end": True, }, ) @@ -416,6 +420,19 @@ fields: - code: | users[0].address_fields(country_code=AL_DEFAULT_COUNTRY, default_state=AL_DEFAULT_STATE) --- +id: your name +question: | + Your name +fields: + - First: users[0].name.first + - Middle: users[0].name.middle + required: False + - Last: users[0].name.last + - Suffix: users[0].name.suffix + code: | + name_suffix() + required: False +--- # ALDocument objects specify the metadata for each template objects: # - letter_to_request_repairs_Post_interview_instructions: ALDocument.using(title="Instructions", filename="letter_to_request_repairs_next_steps.docx", enabled=True, has_addendum=False)