diff --git a/docassemble/ALToolbox/data/questions/al_income.yml b/docassemble/ALToolbox/data/questions/al_income.yml index 60d5e76..f852143 100644 --- a/docassemble/ALToolbox/data/questions/al_income.yml +++ b/docassemble/ALToolbox/data/questions/al_income.yml @@ -151,7 +151,7 @@ table: x.table rows: x columns: - Type: | - row_index + str(row_index).replace("_", " ").lower().capitalize() - Amount: | '$0' if hasattr(row_item, 'exists') and not row_item.exists else currency(row_item.value) edit: diff --git a/docassemble/ALToolbox/data/questions/al_income_demo.yml b/docassemble/ALToolbox/data/questions/al_income_demo.yml index 2a98baa..c48bab9 100644 --- a/docassemble/ALToolbox/data/questions/al_income_demo.yml +++ b/docassemble/ALToolbox/data/questions/al_income_demo.yml @@ -164,6 +164,7 @@ question: | buttons: - Restart: restart subquestion: | + [Edit your answers](${ url_action('review_interview') }) % if to_run['ALItemizedJob']: ## Single ALItemizedJob: ${ itemized_job.source } @@ -388,6 +389,32 @@ subquestion: | % endif --- +id: review screen +event: review_interview +question: Review +review: + - Edit: itemized_job_list.revisit + button: | + ${ itemized_job_list } + - Edit: al_income_list.revisit + button: | + ${ al_income_list } + - Edit: al_job_list.revisit + button: | + ${ al_job_list } + - Edit: al_asset_list.revisit + button: | + ${ al_asset_list } + - Edit: al_vehicle_list.revisit + button: | + ${ al_vehicle_list } + - Edit: al_value_list.revisit + button: | + ${ al_value_list } + - Edit: al_expense_list.revisit + button: | + ${ al_expense_list } +--- # OUTPUT TEMPLATES --- generic object: ALItemizedJob @@ -503,4 +530,4 @@ content: | % for exp in x: ${ exp.source } | As string | ${ exp } ${ exp.source } | Total cost | ${ currency(exp.total()) } - % endfor \ No newline at end of file + % endfor