konradbartecki / Podatki.wtf.OpenSource

Podatki.wtf - Tax calculator for self-employed in Poland
https://podatki.wtf
31 stars 3 forks source link

Application hangs, when PLN/m is set to 25000 #16

Closed kudlatykaskader closed 2 years ago

kudlatykaskader commented 2 years ago

Screenshot_11 Screenshot_12

konradbartecki commented 2 years ago

Thanks! Fixed!

kudlatykaskader commented 2 years ago

What was special about that number?

konradbartecki commented 2 years ago

for 60k/y <-> 300k/y (which is 25k/mo) a 509,27 PLN NFZ rate is applied for values >300k/y a 916 PLN NFZ rate should apply. there was an error when my code tried to apply both NFZ rates at the same time