diff --git a/LICENSE b/LICENSE index d9e7d1c..951a04b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2022 Matt Newsted +Copyright (c) 2023 Matt Newsted Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/docassemble/AppearanceEfile/__init__.py b/docassemble/AppearanceEfile/__init__.py index bf66ffc..afae388 100644 --- a/docassemble/AppearanceEfile/__init__.py +++ b/docassemble/AppearanceEfile/__init__.py @@ -1 +1 @@ -__version__ = '1.0.13' +__version__ = '1.1.0b12' diff --git a/docassemble/AppearanceEfile/data/questions/appearance.yml b/docassemble/AppearanceEfile/data/questions/appearance.yml index 26347c9..1541969 100644 --- a/docassemble/AppearanceEfile/data/questions/appearance.yml +++ b/docassemble/AppearanceEfile/data/questions/appearance.yml @@ -55,8 +55,8 @@ code: | sections: - start: Start - review_appearance: Appearance - - review_IL_fee_waiver: Fee waiver - - review_efiling: E-filing info + - review_IL_fee_waiver: Fee waiver (optional) + - review_efiling: E-filing info (optional) - download_and_efile: Download and e-file forms --- code: | @@ -93,7 +93,8 @@ code: | how_to_use accept_terms lawsuit_information - if case_is_invalid_type: + if user_wants_efile and case_is_invalid_type: + can_check_efile = False kickout_self_reported_case_type if can_check_efile: tyler_login @@ -115,7 +116,7 @@ code: | # efile_case_type # efile_case_category else: - if will_kickout(case_search.found_case): + if why_kickout(case_search.found_case) is not None: kickout_case_type_screen needs_all_info = False previous_case_id @@ -159,7 +160,7 @@ code: | for person in delivery_parties[:8]: if person.knows_delivery_method == False or person.hand_delivery == True: hand_delivery_info - + users[0].address.address users[0].phone_number if can_check_efile: @@ -177,68 +178,87 @@ code: | if can_check_efile: docket_number - if user_wants_efile: - nav.set_section('review_IL_fee_waiver') - fee_waiver_introduction_screen + nav.set_section('review_IL_fee_waiver') + if user_wants_fee_waiver: interview_order_IL_fee_waiver - - if can_check_efile: - nav.set_section('review_efiling') - illinois_appearance_bundle.has_courtesy_copies = False - illinois_appearance_bundle.completed - illinois_jury_demand_bundle.has_courtesy_copies = False - illinois_jury_demand_bundle.completed - IL_fee_waiver_order.has_courtesy_copies = False - IL_fee_waiver_full_for_court.has_courtesy_copies = False - IL_fee_waiver_supplement.has_courtesy_copies = False - IL_fee_waiver_supplement.completed - IL_fee_waiver_full_for_court.completed - IL_fee_waiver_order.completed - tyler_payment_id = default_jurisdiction_waiver - all_required_screens_shown - ready_to_efile - else: - ready_to_efile = False - - if ready_to_efile: - signature_choice = 'add name' - e_signature = True - # if e-filing, just use the e-signature to keep things simple - inform_of_efile_e_signature - # TODO(brycew): redo HTML emailing - email_confirmation_subject = email_confirmation.subject - email_confirmation_contents = email_confirmation.content - acceptance_subject = acceptance_email.subject - acceptance_contents = acceptance_email.content - rejected_subject = rejection_email.subject - rejected_contents = rejection_email.content - neutral_subject = neutral_email.subject - neutral_contents = neutral_email.content - # Don't show the review screen to the user before efiling - efile_user_reviewed = True - else: - e_signature + setup_esignature set_progress(100) nav.set_section('download_and_efile') get_docs_screen + if can_check_efile: + efile ending_screen --- +if: can_check_efile code: | - def will_kickout(case): - if case.category.upper() == "CONFIDENTIAL": - return True + nav.set_section('review_efiling') + illinois_appearance_bundle.has_courtesy_copies = False + illinois_appearance_bundle.completed + illinois_jury_demand_bundle.has_courtesy_copies = False + illinois_jury_demand_bundle.completed + IL_fee_waiver_order.has_courtesy_copies = False + IL_fee_waiver_full_for_court.has_courtesy_copies = False + IL_fee_waiver_supplement.has_courtesy_copies = False + IL_fee_waiver_supplement.completed + IL_fee_waiver_full_for_court.completed + IL_fee_waiver_order.completed + nav.set_section('download_and_efile') + tyler_payment_id + all_required_screens_shown + ready_to_efile_user_hook = True +--- +if: user_wants_fee_waiver +code: | + tyler_payment_id = default_jurisdiction_waiver +--- +if: can_check_efile +id: setup e-signature +code: | + nav.set_section('review_efiling') + signature_choice = 'add name' + e_signature = True + # if e-filing, just use the e-signature to keep things simple + inform_of_efile_e_signature + # TODO(brycew): redo HTML emailing + email_confirmation_subject = email_confirmation.subject + email_confirmation_contents = email_confirmation.content + acceptance_subject = acceptance_email.subject + acceptance_contents = acceptance_email.content + rejected_subject = rejection_email.subject + rejected_contents = rejection_email.content + neutral_subject = neutral_email.subject + neutral_contents = neutral_email.content + # Don't show the review screen to the user before efiling + # efile_user_reviewed = True + setup_esignature = True +--- +if: not can_check_efile +code: | + e_signature + setup_esignature = True +--- +code: | + def why_kickout(case): + if case.category and case.category.upper() == "CONFIDENTIAL": + return "Confidential case" # Case categories determine a lot of things, I'm not comfortable with contining # if it's not there. if case.category not in case_category_map and case.case_type not in case_type_map: - return True + return "Uncertain case type" case_category_name = (case_category_map.get(case.category) or {}).get('name', '').lower() if case_category_name in ['probate', 'guardianship', 'juvenile abuse', 'criminal misdemeanor', 'quasi-criminal', 'criminal felony']: - return True + return "Restricted case type" # case types change more, so okay with not being there case_type_name = (case_type_map.get(case.case_type) or {}).get('name', '').lower() if 'name change' in case_type_name or 'change of name' in case_type_name: - return True - return False + return "Restricted case type" + + # Also check if any of the participants are redacted at all + for party in case.participants: + if party.is_redacted: + return "Confidential case" + + return None --- id: kickout_case_type_screen event: kickout_case_type_screen @@ -248,6 +268,7 @@ subquestion: | This online form will not work in certain cases. You will need to ask the circuit clerk at ${ trial_court } which form to use and how to file it. You can call them at ${ trial_court.phone }. + % if why_kickout(case_search.found_case) in ["Restricted case type", "Uncertain case type"]: Your case type, ${ case_category_map.disp(case_search.found_case.category, 'name') }, ${ case_type_map.disp(case_search.found_case.case_type, 'name') } is in: * Name change for an adult or child @@ -255,22 +276,30 @@ subquestion: | * Probate, or a case involving a will or an estate * Juvenile abuse and neglect * Criminal (misdemeanor or felony) + % elif why_kickout(case_search.found_case) == "Confidential case type": + Your case is confidential, and this program can't get all of the information it needs to help you. + % endif Contact your local circuit clerk, or you can text or call [**IllinoisCourtHelp**](https://ilcourthelp.gov) at (833) 411-1121 for assistance. --- id: kickout_self_reported_case_type -event: kickout_self_reported_case_type +continue button field: kickout_self_reported_case_type question: | - Sorry + You will not be able to e-file with this program subquestion: | - The Appearance form made by this program does not work with these case types. - + Unfortunately, you cannot e-file an Appearance into these case types through this program. + * Name change for an adult or a child * Guardianship for a minor or an adult * Probate, or a case involving a will or an estate * Juvenile abuse and neglect - * Criminal (misdemeanor or felony) + * a confidential case that is sealed or redacted + + You can still make and download a completed Appearance, and file or e-file the form elsewhere. + Find a list of Electronic Filing Service Providers on the [**Illinois Courts' website**](https://www.illinoiscourts.gov/eservices/efileil/). + This Appearance form is not for use in criminal cases. + Contact your local circuit clerk, or you can text or call [**IllinoisCourtHelp**](https://ilcourthelp.gov) at (833) 411-1121 for assistance. --- id: pre-screen case type @@ -283,6 +312,7 @@ subquestion: | * Probate, or a case involving a will or an estate * Juvenile abuse and neglect * Criminal (misdemeanor or felony) + * A confidential case that is sealed or redacted fields: - no label: case_is_invalid_type @@ -309,13 +339,22 @@ code: | --- id: next-step-fee-waiver question: | - Next Step: Fee Waiver + Are you paying for the Appearance filing with a Fee waiver? subquestion: | - To e-file with this program, you must file a Fee waiver. - The next screens will help you make a Fee waiver. -continue button field: fee_waiver_introduction_screen + If you are paying for this appearance with a fee waiver, + the next screens will help you make a Fee waiver. + + The circuit clerk charges filing fees for an Appearance and Jury demand. There may also be a payment processing fee. + The amount depends on the location and type of case. You can review the fees before e-filing. + + If you cannot afford the fee, you may be eligible for a full or partial waiver. + This depends on your income and if you receive public benefits. + Read ILAO's article about [filing court papers for free](https://www.illinoislegalaid.org/node/32226). +fields: + - Do you want to file a fee waiver?: user_wants_fee_waiver + datatype: yesnoradio --- -if: user_wants_efile +if: user_wants_fee_waiver code: | IL_fee_waiver_Post_interview_instructions.enabled = True IL_fee_waiver_attachment.enabled = True @@ -326,7 +365,7 @@ code: | else: IL_fee_waiver_supplement.enabled = False --- -if: not user_wants_efile +if: not user_wants_fee_waiver code: | IL_fee_waiver_Post_interview_instructions.enabled = False IL_fee_waiver_attachment.enabled = False @@ -405,45 +444,13 @@ question: | subquestion: | % if not can_check_efile: After you download your **{Appearance}**, you must file it with the court. This program does not file your ${ form_name } for you. - % else: - You can e-file your appearance and fee waiver at the end of this program. You will - get email when your forms are received and accepted by the circuit clerk. If they - are rejected, you will have to refile. - - If you run into an unexpected error, you can also file it with the court yourself. + You can e-file your forms at the end of this program. You will + get emails when your forms are received and accepted by the circuit clerk. If they + are rejected, you will have to refile. If you run into an unexpected error, you can also file it with the court yourself. % endif - Read the "How to File an Appearance" instructions you can download at the end of this program. ---- -id: accept terms -question: | - Terms of use -subquestion: | - This program does not provide legal advice. It does not take the place of advice from a lawyer. - - Using this program does not create an attorney-client relationship between you and Illinois Legal Aid Online or its employees. - ${ collapse_template(get_legal_help) } - -fields: - - To continue, you must accept the [**terms of use**](https://www.illinoislegalaid.org/about/terms-of-use).: accept - datatype: checkboxes - none of the above: False - minlength: 1 - choices: - - I accept the terms of use. - validation messages: - minlength: | - You cannot continue unless you agree to the terms of use. -continue button field: accept_terms ---- -template: get_legal_help -subject: | - **What if I need legal advice?** -content: | - If you have questions or concerns about your legal problem and want legal advice you should talk to a lawyer. - - Use [**Get Legal Help**](https://www.illinoislegalaid.org/get-legal-help) to find free or low-cost legal services in your area. + Read the "How to File an Appearance" instructions you can download at the end of this program. --- id: not legal advice event: not_legal_advice @@ -658,27 +665,11 @@ content: | [FILE case_number_example.png, 100%, Summons form showing case number] --- -if: not user_wants_efile -id: trial by jury -question: | - Who do you want to decide your case? -subquestion: | - Note: You do not have a right to a jury trial in every case. There can be an additional fee for a jury trial - if you are not filing a fee waiver. - - To learn more, read ILAO's article about [**jury trials and judge trials**](https://www.illinoislegalaid.org/node/178441). -field: trial_with -choices: - - A judge: judge_only - - A judge and a 6-person jury: judge_and_6_jury - - A judge and a 12-person jury: judge_and_12_jury ---- -if: user_wants_efile id: trial by jury - already fee waiver question: | Who do you want to decide your case? subquestion: | - Note: You do not have a right to a jury trial in every case. + Note: You do not have a right to a jury trial in every case. If you aren't filing with a fee waiver, there can be an additional fee for a jury trial. To learn more, read ILAO's article about [**jury trials and judge trials**](https://www.illinoislegalaid.org/node/178441). field: trial_with @@ -732,10 +723,13 @@ code: | --- id: e-signature question: | - Do you want to add your e-signature to your ${ form_name }? + Do you want to add your e-signature to your forms? subquestion: | If you do not add your e-signature, you can sign your paper form later. + Your signature will appear on your forms as "/s/ ${ users[0].name.full(middle="full") }." + This is as effective as signing by hand. + ${ collapse_template(signature_help) } fields: - "Add e-signature?": e_signature @@ -743,12 +737,12 @@ fields: --- template: signature_help subject: | - **What does it mean to sign the *Appearance*?** + **What does it mean to sign the forms?** content: | - By signing your *Appearance*, you are certifying that: + By signing your forms, you are certifying that: - * Everything on the form is true and correct, and - * You understand that making a false statement on the form is perjury, which can result in criminal penalties. + * Everything on the forms is true and correct, and + * You understand that making a false statement on the forms is perjury, which can result in criminal penalties. See the **[Code of Civil Procedure, 735 ILCS 5/1-109](https://www.ilga.gov/legislation/ilcs/documents/073500050k1-109.htm)**, for more information. --- @@ -757,6 +751,11 @@ question: | Signing your forms subquestion: | Since you are e-filing, your name will be added as an e-signature to your forms. + + Your signature will appear on your forms as "/s/ ${ users[0].name.full(middle="full") }." + This is as effective as signing by hand. + + ${ collapse_template(signature_help) } continue button field: inform_of_efile_e_signature --- reconsider: True @@ -913,6 +912,7 @@ code: | if hasattr(x.lawyer.address, 'zip'): x.address.zip = x.lawyer.address.zip --- +if: not can_check_efile id: knows delivery method generic object: ALIndividual question: | @@ -930,6 +930,11 @@ choices: - Yes: True - No: False --- +generic object: ALIndividual +if: can_check_efile +code: | + x.knows_delivery_method = True +--- template: delivery_method_help subject: | **What are my delivery options?** @@ -956,10 +961,16 @@ question: | How will you send your ${ form_name } to ${ users[i].name.full(middle="full") }? % endif subquestion: | + % if can_check_efile: + If you do not know this now, take your best guess. + + You must use e-mail unless the other party does not have an email address. If they do not, select US mail or a delivery company, or hand delivery. + % else: **Note:** If you do not know this now, be sure to add to to the Proof of Delivery section of your forms later. You may use US mail, a delivery company, or hand delivery if you or the other party **does not** have an email address. - + % endif + ${ collapse_template(efiling_help) } fields: - E-filing system: users[i].efm_delivery @@ -976,17 +987,15 @@ fields: show if: variable: users[i].email_delivery is: True - required: False + required: can_check_efile - US mail or a delivery company (like UPS or FedEx): users[i].mail_delivery datatype: yesnowide - Hand delivery: users[i].hand_delivery datatype: yesnowide ---- -template: efiling_help -subject: | - **What if I need help?** -content: | - If you need help delivering by email or using the e-filing service provider, you can visit a [**Legal Self-Help Center**](https://www.illinoislegalaid.org/get-legal-help/lshc-directory) or you can call or text [Illinois Court Help](https://www.ilcourthelp.gov) at 833-411-1121. +validation code: | + if can_check_efile: + if not (users[i].email_delivery or users[i].mail_delivery or users[i].hand_delivery): + validation_error(f"You need to say how you will deliver your {form_name}") --- id: other party delivery method # generic object: ALIndividual @@ -998,9 +1007,15 @@ question: | How will you send your ${ form_name } to ${ other_parties[i].name.full(middle="full") }? % endif subquestion: | + % if can_check_efile: + If you do not know this now, take your best guess. + + You must use e-mail unless the other party does not have an email address. If they do not, select US mail or a delivery company, or hand delivery. + % else: **Note:** If you do not know this now, be sure to add to to the Proof of Delivery section of your forms later. You may use US mail, a delivery company, or hand delivery if you or the other party **does not** have an email address. + % endif ${ collapse_template(efiling_help) } fields: @@ -1019,12 +1034,23 @@ fields: show if: variable: other_parties[i].email_delivery is: True - required: False + required: can_check_efile - US mail or a delivery company (like UPS or FedEx): other_parties[i].mail_delivery datatype: yesnowide - Hand delivery: other_parties[i].hand_delivery datatype: yesnowide +validation code: | + if can_check_efile: + if not (other_parties[i].email_delivery or other_parties[i].mail_delivery or other_parties[i].hand_delivery): + validation_error(f"You need to say how you will deliver your {form_name}") --- +template: efiling_help +subject: | + **What if I need help?** +content: | + If you need help delivering by email or using the e-filing service provider, you can visit a [**Legal Self-Help Center**](https://www.illinoislegalaid.org/get-legal-help/lshc-directory) or you can call or text [Illinois Court Help](https://www.ilcourthelp.gov) at 833-411-1121. +--- +if: not can_check_efile id: delivery time generic object: ALIndividual question: | @@ -1053,6 +1079,27 @@ validation code: | else: x.knows_delivery_time = True --- +if: can_check_efile +id: delivery time +generic object: ALIndividual +question: | + % if x.is_represented: + When will you send your ${ form_name } to ${ x.lawyer.name.full(middle="full") }? + % else: + When will you send your ${ form_name } to ${ x.name.full(middle="full") }? + % endif +subquestion: | + If you do not know this now, take your best guess. Make sure to give yourself enough time to deliver your forms. +fields: + - Date: x.delivery_date + datatype: date + min: ${ today().format("yyyy-MM-dd") } + - Time: x.delivery_time + datatype: time +validation code: | + x.knows_delivery_time = True + x.knows_delivery_date = True +--- id: hand delivery info continue button field: hand_delivery_info #generic object: ALIndividual @@ -1067,11 +1114,11 @@ subquestion: | * If a party in your case does not have a lawyer, you can hand-deliver the forms to them or to a family member who is 13 or older at their home. * If they do have a lawyer, you can hand-deliver the forms to the lawyer or to the lawyer's office. - --- -if: ready_to_efile +if: can_check_efile id: get docs screen -event: get_docs_screen +continue button field: get_docs_screen +continue button label: ":file-export: E-file your forms" question: | % if not (defined('efile') and efile): Download and e-file @@ -1092,21 +1139,18 @@ subquestion: | ${ al_user_bundle.download_list_html() } % if not (defined('efile') and efile): -   + + ${ al_user_bundle.send_button_html(show_editable_checkbox=False) } ##### E-file - Click **E-file your forms** to e-file your form with the clerk of the ${ trial_court }. + Click **E-file your forms** to e-file your forms with the circuit clerk of the ${ trial_court }. - ${ action_button_html(url_ask([{'recompute': ['efile']}]), label='E-file your forms', icon='file-export', size="md", id_tag="efile")} % endif -   - ${ al_user_bundle.send_button_html(show_editable_checkbox=False) } -   - - Thank you for using ILAO Easy Forms! under: | + Thank you for using ILAO Easy Forms! + % if not user_logged_in(): [${fa_icon("sign-in-alt", color="#0079d0", size="sm")} Sign-in](${url_of('login', next=interview_url())}) or [register](${url_of('register', next=interview_url())}) an ILAO Easy Form account to save your progress (optional). % endif @@ -1114,7 +1158,7 @@ under: |   ${ action_button_html(interview_url(i="docassemble.ILAOEfile:feedback.yml", easy_form_interview=ilao_easy_form_url, easy_form_title=ilao_easy_form_title, easy_form_page=user_info().question_id, easy_form_variable=user_info().variable, local=False,reset=1), label=':comment: Was this program helpful?', color="#181c36", size="md", new_window=True) } --- -if: not ready_to_efile +if: not can_check_efile id: get docs screen event: get_docs_screen question: | @@ -1139,7 +1183,7 @@ subquestion: | under: | % if not user_logged_in(): [${fa_icon("sign-in-alt", color="#0079d0", size="sm")} **Sign-in**](${url_of('login', next=interview_url())}) or [**create**](${url_of('register', next=interview_url())}) an ILAO Easy Form account to save your progress (optional). - % endif + % endif   ${ action_button_html(interview_url(i="docassemble.ILAOEfile:feedback.yml", easy_form_interview=ilao_easy_form_url, easy_form_title=ilao_easy_form_title, easy_form_page=user_info().question_id, easy_form_variable=user_info().variable, local=False,reset=1), label=':comment: Was this program helpful?', color="#181c36", size="md", new_window=True) } @@ -1167,26 +1211,6 @@ under: | # # [Illinois Legal Aid Online](https://www.illinoislegalaid.org) #--- -#id: ending screen -#event: ending_screen -#question: | -# All done -#subquestion: | -# Thank you for using ILAO Easy Forms! -# -# This program does not file your Appearance with the court or deliver it to other parties in your case. You will need to do this yourself. -##buttons: -## - Delete answers and restart: restart -## - Exit: exit -#under: | -# % if not user_logged_in(): -# [${fa_icon("sign-in-alt", color="#0079d0", size="sm")} Sign-in](${url_of('login', next=interview_url())}) or [register](${url_of('register', next=interview_url())}) an ILAO Easy Form account to save your progress (optional). -# % endif -# -#   -# -# ${ action_button_html(interview_url(i="docassemble.ILAOEfile:feedback.yml", easy_form_interview=ilao_easy_form_url, easy_form_title=ilao_easy_form_title, easy_form_page=user_info().question_id, easy_form_variable=user_info().variable, local=False,reset=1), label=':comment: Was this program helpful?', color="#181c36", size="md", new_window=True) } ---- generic object: ALDocumentBundle template: x.send_email_template subject: | @@ -1221,21 +1245,29 @@ code: | id: ending screen event: ending_screen question: | - All done + Download subquestion: | - Thank you for using ILAO Easy Forms! - This program does not file your Appearance with the court or deliver it to other parties in your case. You will need to do this yourself. -#buttons: -# - Delete answers and restart: restart -# - Exit: exit + View and download your forms below. Click **Make changes** to fix any mistakes. + + **You need to deliver your Appearance to the other parties in your case.** + + **Note:** You already e-filed your forms. Any changes you make will not appear in the e-filed forms. + + ${ action_button_html(url_action('review_appearance'), label=':edit: Make changes', color='success', size="md") } + + ${ al_user_bundle.download_list_html() } + + ${ al_user_bundle.send_button_html(show_editable_checkbox=False) } + under: | + Thank you for using ILAO Easy Forms! + % if not user_logged_in(): [${fa_icon("sign-in-alt", color="#0079d0", size="sm")} Sign-in](${url_of('login', next=interview_url())}) or [register](${url_of('register', next=interview_url())}) an ILAO Easy Form account to save your progress (optional). % endif   - ${ action_button_html(interview_url(i="docassemble.ILAOEfile:feedback.yml", easy_form_interview=ilao_easy_form_url, easy_form_title=ilao_easy_form_title, easy_form_page=user_info().question_id, easy_form_variable=user_info().variable, local=False,reset=1), label=':comment: Was this program helpful?', color="#181c36", size="md", new_window=True) } --- objects: @@ -1282,7 +1314,7 @@ code: | illinois_appearance_additional_blank.enabled = True --- objects: - - al_user_bundle: ALDocumentBundle.using(elements=[illinois_appearance_instructions, illinois_appearance_bundle, illinois_appearance_additional_blank, IL_fee_waiver_Post_interview_instructions, IL_fee_waiver_full_for_user, IL_fee_waiver_order], filename="appearance.pdf", title="Download all forms") + - al_user_bundle: ALDocumentBundle.using(elements=[illinois_appearance_instructions, illinois_appearance_bundle, illinois_appearance_additional_blank, IL_fee_waiver_Post_interview_instructions, IL_fee_waiver_full_for_user, IL_fee_waiver_order], filename="appearance.pdf", title="All forms") - al_court_bundle: ALDocumentBundle.using(elements=court_bundle_list, filename="appearance.pdf", title="Appearance") --- objects: @@ -1622,11 +1654,10 @@ review: # ** Court Case:** # ${ case_search.found_case.title } (${ case_search.found_case.date }) # show if: can_check_efile - # TODO(brycew): we need to essentially retrigger the entire interview if they want to - # change this. Not sure how best to do that. - #- Edit: user_wants_efile + # TODO(brycew): we might be able to re-trigger just the affidavit stuff, need to test + #- Edit: user_wants_fee_waiver # button: | - # You said you **${ "did" if user_wants_efile else "did not" }** want to file a fee-waiver + # You said you **${ "did" if user_wants_fee_waiver else "did not" }** want to file a fee-waiver # show if: efile_setup # follow up: # - tyler_login @@ -1668,8 +1699,13 @@ review: ${ word(yesno(e_signature)) } show if: not can_check_efile - note: | - If you want to change the court or case you are filing into, you will have to - restart the interview from the beginning. + If you want to change: + + * The county, + * The case you are filing into, or + * If you are paying with a fee waiver, + + You will have to restart the interview from the beginning. ${ action_button_html(url_of('new_session'), label='Start again', color='warning', size='md') } show if: can_check_efile @@ -1776,7 +1812,11 @@ confirm: True --- template: email_confirmation subject: | + % if user_wants_fee_waiver: Important Appearance and Fee waiver e-filing information + % else: + Important Appearance e-filing information + % endif content: | @@ -1785,33 +1825,56 @@ content: |

Hello ${ users[0].name },

+ % if user_wants_fee_waiver:

Your Appearance and Fee Waiver forms were sent to the Circuit Clerk of ${ trial_court.address.county } County. They will accept or reject your filing.

+ % else: +

Your Appearance form was sent to the Circuit Clerk of ${ trial_court.address.county } County. They will accept or reject your filing.

+ % endif

A person in the clerk's office has to accept the forms before they are officially filed.

What's next?

-

You should receive an email from Odyssey eFileIL (no-reply@efilingmail.tylertech.cloud). Your forms were given an Envelope Number, which will be used to track your filing.

+

You should receive an email from Odyssey eFileIL (no-reply@efilingmail.tylertech.cloud). Your forms were given an Envelope Number, {{ envelope_id }}, which will be used to track your filing.

The clerk will review what you filed.

-

After your filing is accepted, it is your responsibility to deliver the Appearance to the other parties in your case.

-

Make sure you record how you delivered the Appearance to the other parties in the Proof of Delivery forms.

+

After your filing is accepted, it is your responsibility to deliver the Appearance to the other parties in your case. Make sure you deliver the Appearance by the method, date, and time you listed in your Proof of Delivery.

Where to go for help

+ % if not user_wants_fee_waiver: +

You may see a temporary charge on your account while the clerk reviews your filing. The account will be changed only if your filing is accepted. If the filing is not accepted it can take up to 10 business days for the temporary charge to be removed.

+ % endif + % if user_wants_fee_waiver:

Contact the clerk at ${ trial_court.phone } to learn:

+ % else: +

Contact the clerk at ${ trial_court.phone } to:

+ + % endif + % if user_wants_fee_waiver:

Use Odyssey eFileIL if you need to e-file other forms into your case or correct filings that the clerk rejected. You can use the same e-filing account you used to e-file your Appearance and Fee waiver.

-

Visit Illinois Court Help or call or text (833) 411-1121 to ask a trained court guide questions about e-filing and other court processes, court forms, and going to court.

+ % else: +

Use Odyssey eFileIL if you need to e-file other forms into your case or correct filings that the clerk rejected. You can use the same e-filing account you used to e-file your Appearance.

+ % endif +

Visit Illinois Court Help or call or text (833) 411-1121 to ask a trained court guide questions about e-filing, court forms, going to court, and other court processes.

Thank you for using ILAO Easy Forms.
Illinois Legal Aid Online

--- template: neutral_email subject: | + % if user_wants_fee_waiver: Clerk response to your e-filed Appearance and Fee waiver + % else: + Clerk response to your e-filed Appearance + % endif content: | @@ -1820,29 +1883,51 @@ content: |

Hello ${ users[0].name },

-

The Circuit Clerk of ${ trial_court } County has sent a response to your filing in {{ case_title }}.

+

The Circuit Clerk of ${ trial_court } County has sent a response to your filing in {{ case_title }}, envelope {{ envelope_id }}.

-

{{ status }}

+
-

{{ message_text }}

+

Status: {{ status }}

+ +

Message through efileIL: {{ message_text }}

+ +

Contact the clerk at ${ trial_court.phone } if you have questions.

Where to go for help

+ % if user_wants_fee_waiver:

Contact the clerk at ${ trial_court.phone } to learn:

+ % else: +

Contact the clerk at ${ trial_court.phone } to:

+ + % endif + % if user_wants_fee_waiver:

Use Odyssey eFileIL if you need to e-file other forms into your case or correct filings that the clerk rejected. You can use the same e-filing account you used to e-file your Appearance and Fee waiver.

-

Visit Illinois Court Help or call or text (833) 411-1121 to ask a trained court guide questions about e-filing and other court processes, court forms, and going to court.

+ % else: +

Use Odyssey eFileIL if you need to e-file other forms into your case or correct filings that the clerk rejected. You can use the same e-filing account you used to e-file your Appearance.

+ % endif +

Visit Illinois Court Help or call or text (833) 411-1121 to ask a trained court guide questions about e-filing, court forms, going to court, and other court processes.

Thank you for using ILAO Easy Forms.
Illinois Legal Aid Online

--- template: acceptance_email subject: | + % if user_wants_fee_waiver: Clerk response to your e-filed Appearance and Fee waiver + % else: + Clerk response to your e-filed Appearance + % endif content: | @@ -1851,11 +1936,15 @@ content: |

Hello ${ users[0].name },

-

The Circuit Clerk of ${ trial_court } County has sent a response to your filing in {{ case_title }}.

+

The Circuit Clerk of ${ trial_court } County has sent a response to your filing in {{ case_title }}, envelope {{ envelope_id }}.

-

{{ status }}

+
-

{{ message_text }}

+

Status: {{ status }}

+ +

Message through efileIL: {{ message_text }}

+ +

Contact the clerk at ${ trial_court.phone } if you have questions.

@@ -1865,15 +1954,23 @@ content: |
  • If you have a court date for your fee waiver, and
  • What's next in your case.
  • + % if user_wants_fee_waiver:

    Use Odyssey eFileIL if you need to e-file other forms into your case or correct filings that the clerk rejected. You can use the same e-filing account you used to e-file your Appearance and Fee waiver.

    -

    Visit Illinois Court Help or call or text (833) 411-1121 to ask a trained court guide questions about e-filing and other court processes, court forms, and going to court.

    + % else: +

    Use Odyssey eFileIL if you need to e-file other forms into your case or correct filings that the clerk rejected. You can use the same e-filing account you used to e-file your Appearance.

    + % endif +

    Visit Illinois Court Help or call or text (833) 411-1121 to ask a trained court guide questions about e-filing, court forms, going to court, and other court processes.

    Thank you for using ILAO Easy Forms.
    Illinois Legal Aid Online

    --- template: rejection_email subject: | - Clerk response to your e-filed Appearance and Fee waiver + % if user_wants_fee_waiver: + Clerk response to your e-filed Appearance and Fee Waiver + % else: + Clerk response to your e-filed Appearance + % endif content: | @@ -1882,11 +1979,15 @@ content: |

    Hello ${ users[0].name },

    -

    The Circuit Clerk of ${ trial_court } County has sent a response to your filing in {{ case_title }}.

    +

    The Circuit Clerk of ${ trial_court } County has sent a response to your filing in {{ case_title }}, envelope {{ envelope_id }}.

    + +
    + +

    Status: {{ status }}

    -

    {{ status }}

    +

    Message through efileIL: {{ message_text }}

    -

    {{ message_text }}

    +

    Contact the clerk at ${ trial_court.phone } if you have questions.

    @@ -1897,8 +1998,12 @@ content: |
  • If you have a court date for your fee waiver, and
  • What's next in your case.
  • + % if user_wants_fee_waiver:

    Use Odyssey eFileIL if you need to e-file other forms into your case or correct filings that the clerk rejected. You can use the same e-filing account you used to e-file your Appearance and Fee waiver.

    -

    Visit Illinois Court Help or call or text (833) 411-1121 to ask a trained court guide questions about e-filing and other court processes, court forms, and going to court.

    + % else: +

    Use Odyssey eFileIL if you need to e-file other forms into your case or correct filings that the clerk rejected. You can use the same e-filing account you used to e-file your Appearance.

    + % endif +

    Visit Illinois Court Help or call or text (833) 411-1121 to ask a trained court guide questions about e-filing, court forms, going to court, and other court processes.

    Thank you for using ILAO Easy Forms.
    Illinois Legal Aid Online

    diff --git a/docassemble/AppearanceEfile/data/questions/efile_ports.yml b/docassemble/AppearanceEfile/data/questions/efile_ports.yml index 9444dc2..027d3c2 100644 --- a/docassemble/AppearanceEfile/data/questions/efile_ports.yml +++ b/docassemble/AppearanceEfile/data/questions/efile_ports.yml @@ -13,8 +13,30 @@ code: | illinois_appearance_bundle.filing_action = 'efile' illinois_appearance_bundle.has_courtesy_copies = False --- +id: filing description +question: | + Is there anything you would like to tell the Clerk about your forms? +subquestion: | + These comments will not appear on your court forms. + + % if not filing_comment_datafield.get('isrequired'): + This is optional. You can click **Next** to skip. + % endif +fields: + - label: | + Note to clerk + % if not filing_comment_datafield.get('isrequired'): + (optional) + % endif + field: illinois_appearance_bundle.filing_comment + datatype: text + maxlength: 50 + required: | + filing_comment_datafield.get('isrequired', False) +--- +if: user_wants_fee_waiver code: | - # TODO(brycew): If there is a jury optional service, use It + # TODO(brycew): If there is a jury optional service, use it # otherwise, select the jury service illinois_appearance_bundle.filing_type_filters = [ CodeType('142566'), @@ -23,6 +45,16 @@ code: | ['Appearance', 'No Fee'], 'Appearance' ] + illinois_appearance_bundle.filing_type_exclude = ContainAny(["Limited Scope", "Limited Entry-Local Counsel", "Entry of Appearance"]) +--- +if: not user_wants_fee_waiver +code: | + illinois_appearance_bundle.filing_type_filters = [ + 'Appearance' + ] + illinois_appearance_bundle.filing_type_exclude = ContainAny(["Limited Scope", "Limited Entry-Local Counsel", "No Fee", "Entry of Appearance"]) +--- +code: | illinois_appearance_bundle.filing_type_default = 'none available' --- generic object: DAObject @@ -34,7 +66,7 @@ only sets: - x.filtered_filing_type_options code: | x.filtered_filing_type_options, x.filing_type = \ - filter_codes(filing_type_options, x.filing_type_filters, x.filing_type_default) + filter_codes(filing_type_options, x.filing_type_filters, x.filing_type_default, x.filing_type_exclude) if x.filing_type is None and check_duplicate_codes(x.filtered_filing_type_options): # choices are the same from the user's view x.filing_type = x.filtered_filing_type_options[0][0] @@ -53,7 +85,7 @@ only sets: - IL_fee_waiver_order.filtered_filing_type_options code: | IL_fee_waiver_order.filtered_filing_type_options, IL_fee_waiver_order.filing_type = \ - filter_codes(filing_type_options, IL_fee_waiver_order.filing_type_filters, IL_fee_waiver_order.filing_type_default) + filter_codes(filing_type_options, IL_fee_waiver_order.filing_type_filters, IL_fee_waiver_order.filing_type_default, IL_fee_waiver_order.filing_type_exclude) if IL_fee_waiver_order.filing_type is None and check_duplicate_codes(IL_fee_waiver_order.filtered_filing_type_options): # choices are the same from the user's view IL_fee_waiver_order.filing_type = IL_fee_waiver_order.filtered_filing_type_options[0][0] @@ -68,14 +100,19 @@ subquestion: | You will need to ask the circuit clerk at ${ trial_court } which form to use and how to file it. - You can continue to download your forms and you can call the clerk at ${ trial_court.phone }. + You can continue to download your forms and you can call the circuit clerk at ${ trial_court.phone }. continue button field: warning_no_appearance_type --- code: | - if court_id == 'tazewell' or court_id == 'kane' or court_id == 'stephenson': + # courts that want jury demands to be done through optional service + courts_wanting_optserv = ['dekalb', 'mchenry', 'mclean', 'stclair', 'tazewell', 'will', 'stephenson', 'madison', + 'champaign', 'dupage', 'kane', 'kankakee', 'lake', 'lasalle', 'lee', 'peoria', 'sangamon', 'vermillion', 'winnebago'] +--- +code: | + if court_id in courts_wanting_optserv: efile_case_category_name = case_category_map.get(efile_case_category, {}).get('name', '').lower().strip() if trial_with == "judge_and_6_jury": - if efile_case_category_name == "small claims" or efile_case_category == "117503": + if efile_case_category_name.startswith("small claims") or efile_case_category == "117503": default_list = [None] filter_list = [[ CodeType("20774"), @@ -99,7 +136,7 @@ code: | default_list = [] filter_list = [] elif trial_with == "judge_and_12_jury": - if efile_case_category_name == "small claims" or efile_case_category_name == "117503": + if efile_case_category_name.startswith("small claims") or efile_case_category_name == "117503": default_list = [None] filter_list = [[ CodeType("20773"), @@ -139,7 +176,7 @@ code: | --- code: | if trial_with == "judge_and_6_jury" or trial_with == "judge_and_12_jury": - if court_id != "tazewell" and court_id != "kane" and court_id != "stephenson": + if court_id not in courts_wanting_optserv: illinois_jury_demand_bundle.enabled = True else: illinois_jury_demand_bundle.enabled = False @@ -148,7 +185,7 @@ code: | --- if: illinois_jury_demand_bundle.enabled code: | - illinois_jury_demand_bundle.filing_description = '' + illinois_jury_demand_bundle.filing_description = 'Jury Demand: the jury demand is included in the Appearance form, which is why this same form is used in the Appearance filing- Note from Suffolk LIT Lab EFSP' illinois_jury_demand_bundle.reference_number = None illinois_jury_demand_bundle.filing_parties = ['users[0]'] illinois_jury_demand_bundle.filing_action = 'efile' @@ -215,7 +252,7 @@ code: | generic object: DAObject id: eserve question: | - Would you like to e-file this document, or serve to the desginated party? + Would you like to e-file this document, or serve to the designated party? fields: - Efile or serve?: x.filing_action choices: @@ -234,6 +271,7 @@ subquestion: | continue button field: show_no_efile --- ## User already knows there are no fees, so as long as there are, show no fees +if: user_wants_fee_waiver code: | review_fees_screen = True --- @@ -260,7 +298,7 @@ subquestion: | % if ready_to_efile: Below is your ${comma_and_list(al_court_bundle.get_titles())} ${ noun_plural('form', al_court_bundle.get_titles()) } - that we will deliver to the clerk of the ${trial_court}. + that we will deliver to the circuit clerk of the ${trial_court}. We will deliver it securely. Please allow up to 15 minutes for the filing to arrive. We will email you a confirmation that it was delivered and additional @@ -272,10 +310,10 @@ subquestion: | Click **Send to court** to deliver it. - Here is what the clerk of the ${trial_court} will get: + Here is what the circuit clerk of the ${trial_court} will get: % else: - We ran into some technical problems and there was a problem delivering this to the ${trial_court} clerk. + We ran into some technical problems and there was a problem delivering this to the circuit clerk of the ${trial_court}. You can download the form below to print and submit. % endif @@ -301,7 +339,7 @@ subquestion: | about your next steps. [**Mass Access at Suffolk University**](https://courtformsonline.org/) is our technology partner with this e-filing program. Within 15 minutes, you should receive confirmation emails from Odyssey eFileIL. - In the next 48 hours, you should receive an update from the clerk of the ${ trial_court } on your filing. + In the next 48 hours, you should receive an update from the circuit clerk of the ${ trial_court } on your filing. We recommend you download the forms for your own records. Click **Back to download screen** to get a copy of your forms and instructions. @@ -361,16 +399,18 @@ fields: code: | all_case_parties --- -id: are-you-using-fee-waiver +id: do-you-want-efile question: | - Are you paying for the Appearance filing with a Fee waiver? + Do you want to e-file your forms directly with the court? subquestion: | - If you are paying for this appearance with a fee waiver, you can fill out and - electronically file (e-file) both forms at the same time in this program. - This means you don’t have to print out the forms. The court will communicate - with you by email. You will have to provide your email to e-file your Appearance and Fee waiver. + You can fill out your forms and electronically file (e-file) them at the same time with this program. + This means you don’t have to print out the forms. + + You will need an email address and an eFileIL account to e-file. This program can help you make an eFileIL account if needed. + + If you do not want to e-file your forms now, you can still use this program to make your forms. fields: - - Do you want to file a fee waiver?: user_wants_efile + - Do you want to e-file?: user_wants_efile datatype: yesnoradio --- id: eFile Login @@ -492,8 +532,10 @@ code: | # DuPage's Attorney/Firm Number / SRL Number. The SRL number is 99500. if len(cross_ref_type_map) == 1: cross_references.new_item_name = next(iter(cross_ref_type_map)) - if cross_references.new_item_name == "136524": + if cross_references.new_item_name == "136524" or cross_references.new_item_name == "134531": cross_references.new_item_value = "99500" + else: + del cross_references.new_item_name --- code: | if len(cross_ref_type_map) == 1: @@ -505,6 +547,7 @@ question: | What type of filing will you be making? subquestion: | We found a few filing codes that could be used to file your **${ x.title }**. Choose the one that you think best fits your case. + You might find more information on your other court papers. If you need help, contact the ${ trial_court } circuit clerk${ " at " + trial_court.phone if hasattr(trial_court, 'phone') else ""}. You can also visit **[Illinois Court Help](https://www.ilcourthelp.gov/)**, or you can call or text (833) 411-1121 for assistance. fields: @@ -512,4 +555,55 @@ fields: datatype: dropdown code: | sorted(x.filtered_filing_type_options, key=lambda y: y[1]) +--- +####################### Payments stuff +id: new payment method +question: | + What type of payment method do you want to make? +subquestion: | +fields: + - Name of payment method: new_account_name + help: | + You can name it anything. For example: "My Visa card", or "My bank". This name can help you identify the payment method on other screens. + - Type: new_account_type_code + datatype: radio + choices: + - Bank account: BankAccount + help: | + The bank account can be a checking or savings account. This is also known as an eCheck or an ACH transfer. + - Credit or debit card: CC + - note: | + On the next screen, you'll be sent to a secure payments site to enter your information. + - note: | + Note: ${ fees_explain.content } +--- +template: convenience_fees_help +subject: | + What are these fees for? +content: | + The circuit clerk changes a filing fee for some documents such as a Complaint, Summons, Jury Demand, or Appearance. + + There is usually a fee for a Jury Demand. Some counties charge this as an Optional or Additional Service Fee. + + ${ fees_explain.content } +--- +id: review fees info +question: | + Temporary charge on payment method +subquestion: | + You may see a temporary charge on your method of payment while the court clerk reviews your filing. + + The account will be charged only if your filing is accepted. + + If the filing is not accepted it can take up to 10 business days for the temporary charges to be removed. +continue button field: review_fees_info +--- +code: | + if fees_resp.is_ok(): + review_fees_screen + if not user_wants_fee_waiver: + review_fees_info + else: + bad_fees + review_fees = True --- \ No newline at end of file diff --git a/docassemble/AppearanceEfile/data/sources/interviews_run.feature b/docassemble/AppearanceEfile/data/sources/interviews_run.feature index a665616..a5fc10d 100644 --- a/docassemble/AppearanceEfile/data/sources/interviews_run.feature +++ b/docassemble/AppearanceEfile/data/sources/interviews_run.feature @@ -2,10 +2,12 @@ Feature: The interviews run through the main e-filing scenarios Those scenarios are: -1. Don't want to efile -2. Want to efile, but can't find case and court doesn't allow non-indexed, so fallback to no-efile -3. Efile normally through -4. Efile with non-indexed case +1. Don't want to efile, yes to fee waiver +2. Don't want to efile, no to fee waiver +3. Want to efile, but can't find case and court doesn't allow non-indexed, so fallback to no-efile +4. Efile with fee waiver +5. Efile without fee waiver +6. Efile with non-indexed case (not in yet) These tests are made to work with the ALKiln testing framework, an automated testing framework made under the Document Assembly Line Project. @@ -28,14 +30,14 @@ Some good stage cases to test with: Scenario: appearance.yml just starts Given I start the interview at "appearance.yml" -@appearance @no-efile @a1 +@appearance @no-efile @a1 @no-waiver Scenario: appearance.yml without e-filing Given I start the interview at "appearance.yml" And the maximum seconds for each Step in this Scenario is 40 And I check all pages for accessibility issues And I get to the question id "get-docs-screen" with this data: | var | value | trigger | - | accept["I accept the terms of use."] | True | | + | accept["I accept the terms of use and privacy policy."] | True | | | case_is_invalid_type | False | | | trial_court_index | 0 | | | user_wants_efile | False | | @@ -62,17 +64,58 @@ Scenario: appearance.yml without e-filing | users[0].address.state | IL | users[0].address.address | | users[0].address.zip | 02122 | users[0].address.address | | users[0].email_notice | True | | + | user_wants_fee_waiver | False | | | e_signature | True | | Then I should not see the phrase "Fee Waiver Application" +@appearance @no-efile @a2 @fee-waiver +Scenario: appearance.yml without e-filing with fee waiver + Given I start the interview at "appearance.yml" + And the maximum seconds for each Step in this Scenario is 40 + And I check all pages for accessibility issues + And I get to the question id "get-docs-screen" with this data: + | var | value | trigger | + | accept["I accept the terms of use and privacy policy."] | True | | + | case_is_invalid_type | False | | + | trial_court_index | 0 | | + | user_wants_efile | False | | + | user_ask_role | defendant | | + | users.target_number | 1 | | + | users[0].name.first | Bob | | + | users[0].name.last | Ma | | + | other_parties.target_number | 1 | | + | trial_with | judge_only | | + | case_number | 2022AC123 | | + | users[0].phone_number | 4094567890 | | + | users[0].email | example@example.com | | + | other_parties[0].person_type | ALIndividual | | + | other_parties[0].name.first | Tame | | + | other_parties[0].name.last | Impala | | + | x.is_represented | False | other_parties[0].is_represented | + | x.address.address | 123 Fake St | other_parties[0].address.address | + | x.address.city | Boston | other_parties[0].address.address | + | x.address.state | IL | other_parties[0].address.address | + | x.address.zip | 02122 | other_parties[0].address.address | + | x.knows_delivery_method | False | other_parties[0].knows_delivery_method | + | users[0].address.address | 234 Fake St | users[0].address.address | + | users[0].address.city | RADOM | users[0].address.address | + | users[0].address.state | IL | users[0].address.address | + | users[0].address.zip | 02122 | users[0].address.address | + | user_wants_fee_waiver | True | | + | user_benefits['TA'] | True | | + | users[0].birth_year | 2000 | | + | users[0].email_notice | True | | + | e_signature | True | | + Then I should see the phrase "Fee Waiver Application" + -@appearance @no-efile @a2 +@appearance @no-efile @a3 Scenario: appearance.yml attempting but failing e-filing Given I start the interview at "appearance.yml" And the maximum seconds for each Step in this Scenario is 50 And I get to the question id "eFile Login" with this data: | var | value | trigger | - | accept["I accept the terms of use."] | True | | + | accept["I accept the terms of use and privacy policy."] | True | | | case_is_invalid_type | False | | | trial_court_index | 81 | | | user_wants_efile | True | | @@ -110,19 +153,20 @@ Scenario: appearance.yml attempting but failing e-filing | users[0].address.state | IL | users[0].address.address | | users[0].address.zip | 02122 | users[0].address.address | | user_benefits['TA'] | True | | + | user_wants_fee_waiver | True | | | users[0].birth_year | 2000 | | | users[0].email_notice | True | | | e_signature | True | | Then I should see the phrase "Fee Waiver" -@appearance @efile @a3 -Scenario: appearance.yml with e-filing, search by party name +@appearance @efile @a4 @fee-waiver +Scenario: appearance.yml with party name e-filing Given I start the interview at "appearance.yml" And the maximum seconds for each Step in this Scenario is 60 And I check all pages for accessibility issues And I get to the question id "eFile Login" with this data: | var | value | trigger | - | accept["I accept the terms of use."] | True | | + | accept["I accept the terms of use and privacy policy."] | True | | | case_is_invalid_type | False | | | trial_court_index | 0 | | | user_wants_efile | True | | @@ -146,20 +190,74 @@ Scenario: appearance.yml with e-filing, search by party name | x.address.city | Boston | other_parties[0].address.address | | x.address.state | IL | other_parties[0].address.address | | x.address.zip | 02122 | other_parties[0].address.address | - | x.knows_delivery_method | False | other_parties[0].knows_delivery_method | + | other_parties[i].mail_delivery | True | other_parties[0].mail_delivery | + | x.delivery_date | today + 10 | other_parties[0].delivery_date | + | x.delivery_time | 12:34 PM | other_parties[0].delivery_date | | users[0].address.address | 234 Fake St | users[0].address.address | | users[0].address.city | RADOM | users[0].address.address | | users[0].address.state | IL | users[0].address.address | | users[0].address.zip | 02122 | users[0].address.address | | users[0].phone_number | 4094567890 | | | users[0].email | example@example.com | | + | user_wants_fee_waiver | True | | | user_benefits['TA'] | True | | | users[0].birth_year | 2000 | | | x.document_type | 5766 | illinois_appearance_bundle.document_type | - And I tap the "#efile" element - #And I tap to continue + And I tap to continue + # TODO: see something? + #Then I should see the phrase "form was submitted" + +@appearance @efile @a5 @no-waiver +Scenario: appearance.yml with party name e-filing without fee waiver + Given I start the interview at "appearance.yml" + And the maximum seconds for each Step in this Scenario is 60 + And I check all pages for accessibility issues + And I get to the question id "eFile Login" with this data: + | var | value | trigger | + | accept["I accept the terms of use and privacy policy."] | True | | + | case_is_invalid_type | False | | + | trial_court_index | 0 | | + | user_wants_efile | True | | + And I set the variable "my_username" to secret "TYLER_EMAIL" + And I set the variable "my_password" to secret "TYLER_PASSWORD" + And I get to the question id "party name" with this data: + | var | value | trigger | + | x.do_what_choice | party_search | case_search.do_what_choice | + And I set the variable "case_search.somebody.person_type" to "ALIndividual" + And I set the variable "case_search.somebody.name.first" to "John" + And I set the variable "case_search.somebody.name.last" to "Brown" + And I tap to continue + And I wait 50 seconds + And I set the variable "x.case_choice" to "case_search.found_cases[0]" + And I tap to continue + And I get to the question id "get-docs-screen" with this data: + | var | value | trigger | + | user_ask_role | defendant | | + | x.self_in_case | is_filing | | + | users.target_number | 1 | | + | other_parties.target_number | 1 | | + | trial_with | judge_only | | + | x.is_represented | False | other_parties[0].is_represented | + | x.address.address | 123 Fake St | other_parties[0].address.address | + | x.address.city | Boston | other_parties[0].address.address | + | x.address.state | IL | other_parties[0].address.address | + | x.address.zip | 02122 | other_parties[0].address.address | + | other_parties[i].mail_delivery | True | other_parties[0].mail_delivery | + | x.delivery_date | today + 10 | other_parties[0].delivery_date | + | x.delivery_time | 12:34 PM | other_parties[0].delivery_date | + | users[0].address.address | 234 Fake St | users[0].address.address | + | users[0].address.city | RADOM | users[0].address.address | + | users[0].address.state | IL | users[0].address.address | + | users[0].address.zip | 02122 | users[0].address.address | + | users[0].phone_number | 4094567890 | | + | users[0].email | example@example.com | | + | user_wants_fee_waiver | False | | + | x.document_type | 5766 | illinois_appearance_bundle.document_type | + And I tap to continue + # TODO: see something? #Then I should see the phrase "form was submitted" + # Non-indexed case isn't used #@appearance @efile @a4 @non-indexed #Scenario: appearance.yml with e-filing a non-indexed case @@ -170,7 +268,7 @@ Scenario: appearance.yml with e-filing, search by party name # | var | value | trigger | # | trial_court_index | 81 | | # | case_is_invalid_type | False | | -# | accept["I accept the terms of use."] | True | | +# | accept["I accept the terms of use and privacy policy."] | True | | # | user_wants_efile | True | | # And I set the variable "my_username" to secret "TYLER_EMAIL" # And I set the variable "my_password" to secret "TYLER_PASSWORD" diff --git a/docassemble/__init__.py b/docassemble/__init__.py index ce5ab0d..8d17c21 100644 --- a/docassemble/__init__.py +++ b/docassemble/__init__.py @@ -1,5 +1,2 @@ -try: - __import__('pkg_resources').declare_namespace(__name__) -except ImportError: - __path__ = __import__('pkgutil').extend_path(__path__, __name__) +__import__('pkg_resources').declare_namespace(__name__) diff --git a/setup.cfg b/setup.cfg index b88034e..08aedd7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ [metadata] -description-file = README.md +description_file = README.md diff --git a/setup.py b/setup.py index 3896181..654eb44 100644 --- a/setup.py +++ b/setup.py @@ -44,7 +44,7 @@ def find_package_data(where='.', package='', exclude=standard_exclude, exclude_d return out setup(name='docassemble.AppearanceEfile', - version='1.0.13', + version='1.1.0b12', description=('Appearance'), long_description='# docassemble.AppearanceEfile\r\n\r\nAppearance, with E-filing.\r\n\r\nA complete duplicate of https://github.com/IllinoisLegalAidOnline/docassemble-Appearance,\r\nbut with e-filing added. This is a pilot project, and separated so the original Appearance\r\ncan stay stable as experimental features are added to this e-filing version.\r\n\r\n## Author\r\n\r\nMatt Newsted, mnewsted@illinoislegalaid.org\r\nBryce Willey, bwilley@suffolk.edu\r\n', long_description_content_type='text/markdown', @@ -54,7 +54,7 @@ def find_package_data(where='.', package='', exclude=standard_exclude, exclude_d url='https://www.illinoislegalaid.org', packages=find_packages(), namespace_packages=['docassemble'], - install_requires=['docassemble.AssemblyLine>=2.19.0', 'docassemble.EFSPIntegration>=1.1.0', 'docassemble.ILAOEfile>=1.0.0'], + install_requires=['docassemble.AssemblyLine>=2.26.0', 'docassemble.EFSPIntegration>=1.4.3', 'docassemble.ILAOEfile>=1.0.4'], zip_safe=False, package_data=find_package_data(where='docassemble/AppearanceEfile/', package='docassemble.AppearanceEfile'), )