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

Fix table label order #755

Merged
merged 1 commit into from
Nov 22, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 8 additions & 10 deletions webapp/apps/taxbrain/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,16 +195,14 @@ def default_taxcalc_data(cls, start_year, metadata=False):

]
TAXCALC_RESULTS_DFTABLE_COL_FORMATS = [
[ 1000, None, 0], # "Inds. w/ Tax Cut",
[ 1000, None, 0], # "Inds. w/ Tax Increase",
[ 1000, None, 0], # "Count",
[ 1, 'Dollars', 0], # "Mean Tax Difference",
[1000000000, 'Dollars', 1], # "Total Tax Difference",
[ 1, '%', 1], # "%age Tax Increase",
[ 1, '%', 1], # "%age Tax Decrease",
[ 1, '%', 1], # "Share of Overall Change"
[ 1, '%', 1], # Change as % of After-Tax Income
[ 1, '%', 1], # Share of Overall Change
[ 1000, None, 0], # "Count", --> All Tax Units
[ 1000, None, 0], # "Tax Units with Tax Cut",
[ 1, '%',1], # "Percent Tax Decrease" --> "Percent with Tax Cut"
[ 1000, None, 0], # "Tax Units with Tax Cut",
[ 1, '%', 1], # "Percent Tax Increase" --> "Percent with Tax Increase"
[ 1, 'Dollars', 0], # "Average Tax Change"
[1000000000, 'Dollars', 1], # "Total Tax Difference",
[ 1, '%', 1], # "Share of Overall Change"
]
TAXCALC_RESULTS_BIN_ROW_KEYS = taxcalc.WEBBIN_ROW_NAMES
TAXCALC_RESULTS_BIN_ROW_KEY_LABELS = {
Expand Down