Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] fix for #88, tests for consistency #89

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

hbrunn
Copy link
Contributor

@hbrunn hbrunn commented Dec 23, 2023

das konfliktet mit #81, kannst Du also nicht gleichzeitig testen ohne die Konflikte lokal aufzulösen (ich rebase dann wenn eins davon gemerged ist).

Findest Du es auch akzeptabel dass die Überstunden fur die ganze Arbeitszeit am Beginntag anfallen? Ansonsten muss ich die Zeit auf die Tage verteilen, das erhöht die Komplexität (aber möglich natürlich).

Der test case ist ohnehin interessant, es beginnt am Sonntag und geht in den Montag rein. Da finde ich es selbst logisch dass das als Sontagsarbeit gilt (mit entsprechendem Multiplikator falls eingestellt), und nicht die Zeit in der Nacht zum Montag nach 00:00 als frühe Montagsarbeit gezahlt wird. Da hat das Arbeitsrecht doch sicher eine Meinung zu?

@hbrunn hbrunn force-pushed the 15.0-88-fix-multiday-attendance branch from 721cc2a to 1061530 Compare December 23, 2023 07:32
@codecov-commenter
Copy link

codecov-commenter commented Dec 23, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7c70e82) 80.33% compared to head (1061530) 80.53%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             15.0      #89      +/-   ##
==========================================
+ Coverage   80.33%   80.53%   +0.19%     
==========================================
  Files          16       16              
  Lines         295      298       +3     
  Branches       15       15              
==========================================
+ Hits          237      240       +3     
  Misses         57       57              
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@albig albig linked an issue Jan 3, 2024 that may be closed by this pull request
@albig
Copy link
Member

albig commented Jan 3, 2024

Findest Du es auch akzeptabel dass die Überstunden fur die ganze Arbeitszeit am Beginntag anfallen? Ansonsten muss ich die Zeit auf die Tage verteilen, das erhöht die Komplexität (aber möglich natürlich).

Finde ich ok.

Der test case ist ohnehin interessant, es beginnt am Sonntag und geht in den Montag rein. Da finde ich es selbst logisch dass das als Sontagsarbeit gilt (mit entsprechendem Multiplikator falls eingestellt), und nicht die Zeit in der Nacht zum Montag nach 00:00 als frühe Montagsarbeit gezahlt wird. Da hat das Arbeitsrecht doch sicher eine Meinung zu?

Ich bin kein Arbeitsrechtler. Also Du meinst eine Arbeitszeit, die von z.B. Sonntag, 20 Uhr bis Montag 6 Uhr geht? Ich würde hier auch die Höherwertung anwenden. Vermutlich fällt das dann eh unter bestimmte Tarifverträge mit Sonderzuschlägen und was weiß ich.

@albig albig merged commit 16095a3 into verdigado:15.0 Jan 3, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

create_missing_attendances scheitert bei Anwesenheiten über Mitternacht
3 participants