Florida Unemployment - Wages (2017) FL_UNEMP_WAGES_2017 python result = (payslip.date_to[:4] == '2017') code ### ytd = payslip.sum('FL_UNEMP_WAGES_2017', '2017-01-01', '2018-01-01') ytd += contract.external_wages remaining = 7000.0 - ytd if remaining <= 0.0: result = 0 elif remaining < categories.GROSS: result = remaining else: result = categories.GROSS Florida Unemployment (2017) FL_UNEMP_2017 python result = (payslip.date_to[:4] == '2017') code result_rate = -contract.fl_unemp_rate(2017) result = categories.FL_UNEMP_WAGES # result_rate of 0 implies 100% due to bug if result_rate == 0.0: result = 0.0