From ae867d8fac0f0a4e291dcc22e5d3a6adfbf16a97 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Thu, 30 Jan 2025 17:24:20 +1100 Subject: [PATCH] dont double tax my leave, salary is already taxed, so this is probably closer to real - albeit, the after tax average amount vs extra at full 37% tax, its probably a little generous now). --- calc.py | 3 ++- finance.db | Bin 12288 -> 12288 bytes 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/calc.py b/calc.py index a53b581..2469a5a 100644 --- a/calc.py +++ b/calc.py @@ -26,7 +26,8 @@ def calculate_savings_depletion(finance): # leave in days, 10 business days to a fortnight, salary is per fortnight, and we lose 37% to tax # (assuming we don't earn over $180k) - D_leave_after_tax = (D_leave_owed_in_days/10) * D_Salary * 0.63; + # if we could stretch this to July 2026, then would be more (due to less tax) + D_leave_after_tax = (D_leave_owed_in_days/10) * D_Salary; # Constants for interest calculations annual_interest_rate = Interest_Rate / 100.0 diff --git a/finance.db b/finance.db index 66a0ca2ef743f73f724ec83c9197335bcee456ca..63d77f7e434e7c17bda0a34415646d9282df7226 100644 GIT binary patch delta 17 YcmZojXh@hK%_ufe#+gxUW5NP`05V|(Y5)KL delta 17 YcmZojXh@hK&B!%T#+i|8W5NP`05PovQUCw|