Skip to content

Commit 6d11773

Browse files
committed
Updated Family Care Info
Just added a family care information to the family_obj_extra_syntax method for simplicity.
1 parent 291d744 commit 6d11773

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

core/reportgen.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,8 @@ def handle_third_page(self, canvas: object, select_app: int, last_idx: int) -> N
416416
'APPLICATION SHARING': s.app_share_syntax(target),
417417
'PHI THETA KAPPA': s.phi_theta_kappa_syntax(target),
418418
'INT CURR RESIDE IN US': s.currently_reside_syntax(target),
419-
'FAMILY OBLIGATION OTHER': s.family_obj_other_syntax(target)
419+
'FAMILY OBLIGATION OTHER': s.family_obj_extra_syntax(target),
420+
'FAMILY OBLIGATION CARE': s.family_obj_extra_syntax(target)
420421
}
421422

422423
for key, value in req_syntax.items():

core/syntax.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,9 +374,9 @@ def family_care_syntax(self, _list: list) -> list:
374374
'(include brothers and sisiters attending college):',
375375
f'{target}']
376376

377-
def family_obj_other_syntax(self, _list: list) -> list:
377+
def family_obj_extra_syntax(self, _list: list) -> list:
378378

379-
if _list[3] != 'FAMILY OBLIGATION OTHER':
379+
if _list[3] != 'FAMILY OBLIGATION OTHER' and _list[3] != 'FAMILY OBLIGATION CARE':
380380
return
381381

382382
syntax = {

core/values.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def long_med_req_value(self, _list: list) -> str:
8787
'MENINGITIS CERT SWITCH' : f'MENINGITIS Certification box checked on: {output[:4]}-{output[4:6]}-{output[6:]}',
8888
'TRUTH CERT SWITCH' : f'TRUTH Certification box checked on: {output[:4]}-{output[4:6]}-{output[6:]}',
8989
'CONSERVATORSHIP SWITCHES' : None,
90-
'TEACHING CERTIFICATE TYPE' : f'Will you seek Teacher Certification? Yes--{output}',
90+
'TEACHING CERTIFICATE TYPE' : f'Will you seek Teacher Certification? Yes--{_list[-1]}',
9191
'HS GED TYPE': None,
9292
'PARENT 1 ED LEVEL RELATIONSHIP': None,
9393
'PARENT 2 ED LEVEL RELATIONSHIP': None,
@@ -119,6 +119,7 @@ def long_med_req_value(self, _list: list) -> str:
119119
'OTHER SUFFIX NAME1': f"Other suffix: {output}",
120120
'FAMILY OBLIGATION INCOME': None,
121121
'FAMILY OBLIGATION OTHER': None,
122+
'FAMILY OBLIGATION CARE': None,
122123
'ALIEN APP/INT': None,
123124
'VET STATUS': None,
124125
}

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def run(file: str, fileName: str) -> None:
160160
run(file, fileName)
161161

162162
# file, fileName = find_spe_file()
163-
# run_target(file, fileName, 'foreign', 2)
163+
# run_target(file, fileName, 'domestic', 28)
164164

165165
# filePath_list, fileName_list = find_spe_folder_files()
166166
# for idx in range(len(filePath_list)):

0 commit comments

Comments
 (0)