def get_increase_retirement_age_to_67(advice): # TODO: Need to insert social security benefit in data try: return "I see you have increased your retirement age to 67. \ This will increase your monthly benefit by 8% to ${:,.2f} per \ month instead of ${:,.2f} if you chose to retire at 66. Increasing \ your retirement age will adjust the amount of social security \ benefits that you are able to obtain. Social security benefits \ increase by up to 32% the longer you work.".format(helpers.get_ss_benefit_future_dollars(advice.plan.client.ss_fra_todays, advice.plan.client.date_of_birth, 67), helpers.get_ss_benefit_future_dollars(advice.plan.client.ss_fra_todays, advice.plan.client.date_of_birth, 66)) except ValidationError: # to handle ValidationError("age_now > future_age") return ""
def get_decrease_retirement_age_to_65(advice): # TODO: Need to insert social security benefit in data # By increasing your retirement age to 70 \ # your social security benefit would be estimated # to be <estimated SS benefit multiplied by inflator> try: return "I see you have decreased your retirement age to 65. \ This will reduce your monthly benefit by 7% compared to if \ you retired at 66 giving you an estimated social security \ benefit of ${:,.2f} per month instead of ${:,.2f} if you chose to \ retire at 66. Social security benefits increase by up to 32% \ the longer you work.".format(helpers.get_ss_benefit_future_dollars(advice.plan.client.ss_fra_todays, advice.plan.client.date_of_birth, 65), helpers.get_ss_benefit_future_dollars(advice.plan.client.ss_fra_todays, advice.plan.client.date_of_birth, 66)) except ValidationError: # to handle ValidationError("age_now > future_age") return ""
def handle_noargs(self, **options): from main import tax_sheet as tax from main import test_tax_sheet as tst_tx tst_cls = tax.TaxUser(tst_tx.plan, tst_tx.life_exp, tst_tx.is_partner, tst_tx.plans) tst_cls.create_maindf() test_ss_fra_retirement = helpers.get_ss_benefit_future_dollars(tst_tx.plan.client.ss_fra_todays, tst_tx.plan.client.date_of_birth, tst_tx.plan.retirement_age)