Skip to content

Instantly share code, notes, and snippets.

@jaredkipe
Created November 30, 2017 18:18
Show Gist options
  • Save jaredkipe/7d520a2dbcf577ea9677aba50dd6f43e to your computer and use it in GitHub Desktop.
Save jaredkipe/7d520a2dbcf577ea9677aba50dd6f43e to your computer and use it in GitHub Desktop.
Basic Rule for hourly
if contract.paid_hourly:
result = contract.wage * worked_days.ATTN.number_of_hours
else:
result = contract.wage
@aspcsharp9
Copy link

Tnx for help! GL!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment