Florida Unemployment - Wages (2018) FL_UNEMP_WAGES_2018 python result = (payslip.date_to[:4] == '2018') code ### ytd = payslip.sum('FL_UNEMP_WAGES_2018', '2018-01-01', '2019-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 (2018) FL_UNEMP_2018 python result = (payslip.date_to[:4] == '2018') code result_rate = -contract.fl_unemp_rate(2018) result = categories.FL_UNEMP_WAGES # result_rate of 0 implies 100% due to bug if result_rate == 0.0: result = 0.0