Add in bare bones yet functional HR goal: goal_hr_schedule_pto

This commit is contained in:
Laine
2025-03-12 16:54:13 -04:00
parent 291bace53d
commit ea1ad383bb
9 changed files with 290 additions and 25 deletions

14
tools/current_pto.py Normal file
View File

@@ -0,0 +1,14 @@
def current_pto(args: dict) -> dict:
email = args.get("email")
if email == "bob.johnson@emailzzz.com":
num_hours = 40
else:
num_hours = 20
num_days = float(num_hours/8)
return {
"num_hours": num_hours,
"num_days": num_days,
}