Skip to content

Commit

Permalink
added motion to dismiss
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyfey committed Jul 2, 2024
1 parent ae84b77 commit 9eb6e31
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,10 @@ code: |
code: |
motion_to_shorten_time_attachment.enabled = wants_discovery and not original_hearing_date_past
---
id: add motion to dismiss if no lease
code: |
motion_to_dismiss_attachment.enabled = defense_lease_not_attached
---
id: add notice of hearing if any motions enabled
code: |
notice_of_hearing_attachment.enabled = motion_to_shorten_time_attachment.enabled or eviction_motion_for_leave_attachment.enabled or eviction_motion_to_continue_attachment.enabled
Expand Down
12 changes: 11 additions & 1 deletion docassemble/MOHUDEvictionProject/data/questions/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,13 @@ attachment:
skip undefined: True
docx template file: notice_of_hearing.docx
---
attachment:
- name: motion to dismiss
filename: motion_to_dismiss
variable name: motion_to_dismiss_attachment[i]
skip undefined: True
docx template file: motion_to_dismiss.docx
---
id: preview eviction_defender
question: |
% if person_answering == "tenant":
Expand Down Expand Up @@ -1049,11 +1056,14 @@ objects:
objects:
- motion_to_shorten_time_attachment: ALDocument.using(title="File a Motion to Shorten Time", filename="motion_to_shorten_time.docx", has_addendum=False, default_overflow_message=AL_DEFAULT_OVERFLOW_MESSAGE)
---
objects:
- motion_to_dismiss_attachment: ALDocument.using(title="File a Motion to Dismiss", filename="motion_to_dismiss.docx", has_addendum=False, default_overflow_message=AL_DEFAULT_OVERFLOW_MESSAGE)
---
objects:
- notice_of_hearing_attachment: ALDocument.using(title="File a Notice of Hearing", filename="notice_of_hearing.docx", has_addendum=False, default_overflow_message=AL_DEFAULT_OVERFLOW_MESSAGE)
---
objects:
- al_user_bundle: ALDocumentBundle.using(elements=[eviction_defender_post_interview_instructions,eviction_motion_to_continue_attachment,eviction_answer_attachment,eviction_motion_for_leave_attachment,motion_to_shorten_time_attachment,eviction_discovery_attachment,notice_of_hearing_attachment], filename="eviction_helper.docx_package.pdf", title="All forms to download for your records", enabled=True)
- al_user_bundle: ALDocumentBundle.using(elements=[eviction_defender_post_interview_instructions,eviction_motion_to_continue_attachment,eviction_answer_attachment,eviction_motion_for_leave_attachment,motion_to_shorten_time_attachment,eviction_discovery_attachment,motion_to_dismiss_attachment,notice_of_hearing_attachment], filename="eviction_helper.docx_package.pdf", title="All forms to download for your records", enabled=True)
- al_court_bundle: ALDocumentBundle.using(elements=attachment_list_court, filename="eviction_helper.docx_package.pdf", title="All forms to download for your records", enabled=True)
---
template: about_page_contents
Expand Down

0 comments on commit 9eb6e31

Please sign in to comment.