feat: add timecard extraction
All checks were successful
Continuous Integration / Lint, Check & Test (push) Successful in 45s
All checks were successful
Continuous Integration / Lint, Check & Test (push) Successful in 45s
Signed-off-by: Konstantin Fickel <mail@konstantinfickel.de>
This commit is contained in:
parent
260400fa34
commit
22630773ab
6 changed files with 547 additions and 53 deletions
|
|
@ -41,55 +41,3 @@ TaskConfiguration = RepositoryConfiguration(
|
|||
),
|
||||
},
|
||||
)
|
||||
|
||||
BasicTimesheetConfiguration = RepositoryConfiguration(
|
||||
dimensions={
|
||||
"timesheet": Dimension(
|
||||
display_name="Timesheet",
|
||||
comment="Used by Timesheet-Subcommand to create Timecards",
|
||||
propagate=False,
|
||||
)
|
||||
},
|
||||
markers={
|
||||
"VacationDay": Marker(
|
||||
display_name="Vacation Day",
|
||||
placements=[
|
||||
MarkerPlacement(
|
||||
if_with={"Timesheet"},
|
||||
dimension="timesheet",
|
||||
value="day_off_sick_leave",
|
||||
)
|
||||
],
|
||||
),
|
||||
"Holiday": Marker(
|
||||
display_name="Offical Holiday",
|
||||
placements=[
|
||||
MarkerPlacement(
|
||||
if_with={"Timesheet"},
|
||||
dimension="timesheet",
|
||||
value="day_off_holiday",
|
||||
)
|
||||
],
|
||||
),
|
||||
"SickLeave": Marker(
|
||||
display_name="Sick Leave",
|
||||
placements=[
|
||||
MarkerPlacement(
|
||||
if_with={"Timesheet"},
|
||||
dimension="timesheet",
|
||||
value="day_off_sick_leave",
|
||||
)
|
||||
],
|
||||
),
|
||||
"UndertimeDay": Marker(
|
||||
display_name="Undertime Leave",
|
||||
placements=[
|
||||
MarkerPlacement(
|
||||
if_with={"Timesheet"},
|
||||
dimension="timesheet",
|
||||
value="day_off_undertime",
|
||||
)
|
||||
],
|
||||
),
|
||||
},
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue