Created
November 30, 2017 18:18
-
-
Save jaredkipe/7d520a2dbcf577ea9677aba50dd6f43e to your computer and use it in GitHub Desktop.
Basic Rule for hourly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if contract.paid_hourly: | |
result = contract.wage * worked_days.ATTN.number_of_hours | |
else: | |
result = contract.wage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tnx for help! GL!