Posted 11 Hours Ago Job ID: 2100318 17 quotes received

python code for erpnext - condition

Hourly$5 - $101-10 hrs/wk1-5 days
Quotes (17)  ·  Premium Quotes (0)  ·  Invited (1)  ·  Hired (1)

  Send before: February 19, 2025

Send a Quote

Programming & Development ERP / CRM / SCM

Please let me know how much it cost to write this code below for erpnext - is for PAYE tax deduction.


def calculate_tiered_tax(SSF):result = 0

if SSF > 490:    result += min(SSF - 490, 110) * 0.05if SSF > 600:    result += min(SSF - 600, 130) * 0.1if SSF > 730:    result += min(SSF - 730, 3166.67) * 0.175if SSF > 3896.67:    result += min(SSF - 3896.67, 16000) * 0.25if SSF > 19896.67:    result += min(SSF - 19896.67, 30520 - 19896.67) * 0.3if SSF > 30520:    result += (SSF - 30520) * 0.35return result

... Show more
Kwabena O Ghana