Skip to content

Instantly share code, notes, and snippets.

@jgibbard
Last active January 23, 2023 21:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgibbard/1c56248590008d91044d1aa65659c1d3 to your computer and use it in GitHub Desktop.
Save jgibbard/1c56248590008d91044d1aa65659c1d3 to your computer and use it in GitHub Desktop.
Timesheet calculator
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"timesheet":[
{"week":1, "flexi_inc":"0:00", "data":[
{"day":"MON", "time":"08:30-16:00", "projects":[{"name":"AK","time":"0:00*"},{"name":"JB","time":"REST"}]},
{"day":"TUE", "time":"08:30-17:15", "projects":[{"name":"AK","time":"REST*"},{"name":"JB","time":"0:00"}]},
{"day":"WED", "time":"08:30-17:15", "projects":[{"name":"AK","time":"1:00*"},{"name":"JB","time":"REST"}]},
{"day":"THU", "time":"08:30-17:15", "projects":[{"name":"AK","time":"1:00"},{"name":"JB","time":"REST"}]},
{"day":"FRI", "time":"08:30-18:15", "projects":[{"name":"AK","time":"1:00"},{"name":"JB","time":"REST"}]}]
},
{"week":0, "flexi_inc":"0:00", "data":[
{"day":"MON", "time":"08:30-17:15", "projects":[{"name":"AK","time":"1:00"},{"name":"JB","time":"REST"}]},
{"day":"TUE", "time":"08:30-17:15", "projects":[{"name":"AK","time":"1:00"},{"name":"JB","time":"REST"}]},
{"day":"WED", "time":"08:30-17:15", "projects":[{"name":"AK","time":"1:00"},{"name":"JB","time":"REST"}]},
{"day":"THU", "time":"08:30-17:15", "projects":[{"name":"AK","time":"1:00"},{"name":"JB","time":"REST"}]},
{"day":"FRI", "time":"08:30-17:15", "projects":[{"name":"AK","time":"1:00"},{"name":"JB","time":"REST"}]}]
}
],
"projects": [
{"name": "JB", "code": "70000:GHJ"},
{"name": "AK", "code": "48957:9358"},
{"name": "AL", "code": "LEAVE"}
],
"contracted_hours": 37.0,
"lunch": 0.5,
"start_flex": 0.0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment