1+ ---
2+ include :
3+ - docassemble.EFSPIntegration:efiling_integration.yml
4+ - docassemble.EFSPIntegration:toga_payments.yml
5+ ---
6+ if : al_person_answering == "user"
7+ code : |
8+ # The default needs the court to file in first, not doing that.
9+ efile_setup = len(available_efile_courts) > 0
10+ ---
11+ code : |
12+ available_initial_efile_courts = proxy_conn.get_courts(fileable_type="INITIAL", with_names=False).data or []
13+ ---
14+ if : al_person_answering != "user"
15+ code : |
16+ # For now, the attorney stuff doesn't work still
17+ efile_setup = False
18+ ---
19+
20+ # Starts a new case, so need:
21+ # * tyler_payment_id / payment stuff
22+
23+ ---
24+ code : |
25+ efile_case_category_filters = [CodeType('5990'), 'Small Claims']
26+ ---
27+ code : |
28+ if claim_amount <= 500:
29+ efile_case_type_filters = [CodeType('5994'), 'Small Claims $500 or less', ['Small Claims', '500']]
30+ elif claim_amount > 500 and claim_amount <= 2000:
31+ efile_case_type_filters = [CodeType('5993'), 'Small Claims $501 - $2000', ['Small Claims', '501', '2000']]
32+ elif claim_amount > 2000 and claim_amount <= 5000:
33+ efile_case_type_filters = [CodeType('5991'), 'Small Claims $2001 - $5000', ['Small Claims', '2001', '5000']]
34+ elif claim_amount > 5000:
35+ efile_case_type_filters = [CodeType('5992'), 'Small Claims over $5000', ['Small Claims', 'over', '5000']]
36+ else:
37+ efile_case_type_filters = []
38+
39+ efile_case_type_filters.append('Small Claims')
40+ ---
41+ code : |
42+ small_claims_bundle.filing_type_filters = [CodeType('6143'), 'Statement of Small Claims entered through e-file process', 'Statement of Small Claim', 'Small Claim']
43+ ---
44+ code : |
45+ exhibit_attachment.filing_type_filters = ['Exhibit or document for inclusion in Small Claims Case filed', ['Exhibit', 'Small claim'], 'Exhibit']
46+ ---
47+ generic object : ALDocumentBundle
48+ code : |
49+ x.optional_services.there_are_any = False
50+ ---
51+ generic object : ALDocument
52+ code : |
53+ x.optional_services.there_are_any = False
54+ ---
55+ code : |
56+ users[i].party_type_filters = ['Plaintiff']
57+ ---
58+ code : |
59+ other_parties[i].party_type_filters = ['Defendant']
60+ ---
61+ generic object : DAObject
62+ code : |
63+ x.filing_description = ''
64+ x.reference_number = None
65+ x.filing_parties = ['users[0]']
66+ x.filing_action = 'efile'
67+ ---
68+ code : |
69+ small_claims_bundle.description = comments_to_clerk
70+ small_claims_bundle.reference_number = None
71+ small_claims_bundle.filing_parties = ['users[0]']
72+ small_claims_bundle.filing_action = 'efile'
73+ ---
74+ code : |
75+ is_initial_filing = True
76+ ---
77+ if : can_check_efile
78+ code : |
79+ efile_case_category
80+ efile_case_type
81+ small_claims_bundle.completed
82+ # exhibit_attachment.completed
83+
84+ if wants_fee_waiver:
85+ affidavitofindigency_attachment.completed
86+ tyler_payment_id = default_jurisdiction_waiver
87+ else:
88+ tyler_payment_id
89+
90+ all_required_screens_shown
91+ set_efile_variables = True
92+ ---
93+ if : not can_check_efile
94+ code : |
95+ set_efile_variables = True
96+ ---
97+ code : |
98+ small_claims_bundle.description = comments_to_clerk
99+ efile
100+ sent_email_to_court
101+ efile_and_email = True
102+ ---
103+ code : |
104+ should_cc_user = False
105+ ---
106+ code : |
107+ users[0].is_form_filler = al_person_answering == "user"
108+ ---
109+ id : user-wants-efile-no-specific-court
110+ question : |
111+ Do you want to e-file this document directly with the court?
112+ subquestion : |
113+ You may be able to electronically-file (e-file) this document with the court, if the court allows it.
114+
115+ This means you don't have to print out the document. The court
116+ will communicate with you through your email or phone.
117+
118+ You will have to provide your email to e-file this document. If you don't wish to provide that,
119+ you can choose not to efile.
120+ fields :
121+ - Do you want to e-file? : user_wants_efile
122+ datatype : yesnoradio
123+ ---
124+ id : you-will-not-be-able-to-efile
125+ question : |
126+ You will *not* be able to e-file this document
127+ subquestion : |
128+ % if al_person_answering == "attorney":
129+ Unfortunately, e-filing as an attorney is not yet supported.
130+ % else:
131+ Unfortunately, you cannot e-file this document at the court through this program.
132+ % endif
133+
134+ However, you can still continue and download a completed form at the end.
135+ continue button field : show_no_efile
136+ ---
0 commit comments