you are viewing a single comment's thread
view the rest of the comments
[–] 15 points 1 year ago

This is software engineering and apply basic of statement logic, the hourly rate is the last if statement that was true.

Personally, I make it acccumlate the rate for a max rate of $520 when all if statements match.

  • source
  • parent