feat: add timecard extraction
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:
Konstantin Fickel 2026-02-01 17:45:56 +01:00
parent 260400fa34
commit 22630773ab
Signed by: kfickel
GPG key ID: A793722F9933C1A5
6 changed files with 547 additions and 53 deletions

View file

@ -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",
)
],
),
},
)