Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variable names appear in table review screen #191

Open
miabonardi opened this issue Sep 9, 2023 · 1 comment
Open

Variable names appear in table review screen #191

miabonardi opened this issue Sep 9, 2023 · 1 comment

Comments

@miabonardi
Copy link

Screen Shot 2023-09-09 at 4 06 59 PM

generic object: ALItemizedJob
continue button field: x.to_subtract.revisit
question: |
Edit deductions from ${ x.source }
subquestion: |
These are amounts that are taken out of your pay.
${ x.to_subtract.table }
${ x.to_subtract.add_action() }

@BryceStevenWilley
Copy link
Contributor

This is intentional; the table code is

generic object: ALItemizedValueDict
table: x.table
rows: x
columns:
- Type: |
row_index
- Amount: |
'$0' if hasattr(row_item, 'exists') and not row_item.exists else currency(row_item.value)
edit:
- exists
- value

In the ALItemizedValueDict, we don't know if this is for a job, or an income, etc. You should overwrite the table to use your specific object's terms. Take a look at how it's done in the Affidavit.

We do remove the underscores elsewhere, I can do that easily. But it'll still be lower case and not using the same terms that you are likely using in your interview

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants