From f5a01c485dc5ffb2ecba742f06fe462556f776d5 Mon Sep 17 00:00:00 2001 From: Jared Kipe Date: Sun, 9 Dec 2018 11:51:01 -0800 Subject: [PATCH] Refactor to mitigate the fact that eligible 401(k) contributions reduce taxable wage (gross) but not FICA/FUTA etc. This refactor bases all/most 'wage' categories off of BASIC instead of GROSS to allow all 'Income Tax' rules to continue to be based on GROSS. --- l10n_us_hr_payroll/data/rules_2018.xml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/l10n_us_hr_payroll/data/rules_2018.xml b/l10n_us_hr_payroll/data/rules_2018.xml index 8eb537ac..def495ee 100755 --- a/l10n_us_hr_payroll/data/rules_2018.xml +++ b/l10n_us_hr_payroll/data/rules_2018.xml @@ -19,10 +19,10 @@ ytd += contract.external_wages remaining = 128400.0 - ytd if remaining <= 0.0: result = 0 -elif remaining < categories.GROSS: +elif remaining < categories.BASIC: result = remaining else: - result = categories.GROSS + result = categories.BASIC @@ -34,7 +34,7 @@ else: python result = (payslip.date_to[:4] == '2018') and not contract.fica_exempt code - result = categories.GROSS + result = categories.BASIC @@ -577,10 +577,10 @@ ytd += contract.external_wages remaining = 7000.0 - ytd if remaining <= 0.0: result = 0 -elif remaining < categories.GROSS: +elif remaining < categories.BASIC: result = remaining else: - result = categories.GROSS + result = categories.BASIC