-
-
Notifications
You must be signed in to change notification settings - Fork 4
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 federal state (public holidays) configuration for a person #500
Conversation
df75e9f
to
791dbd4
Compare
1117d31
to
08ef880
Compare
08ef880
to
db58a00
Compare
src/main/java/de/focusshift/zeiterfassung/publicholiday/PublicHolidayConfiguration.java
Show resolved
Hide resolved
src/main/java/de/focusshift/zeiterfassung/publicholiday/PublicHolidaysServiceImpl.java
Outdated
Show resolved
Hide resolved
/** | ||
* Describes a public holiday for the given date. | ||
*/ | ||
public record PublicHoliday(LocalDate date, Function<Locale, String> description) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Es gibt die Möglichkeit, dass zwei Feiertage an einem Tag sind. Wurde das hier bedacht? In der UV haben wir ein Ticket dafür. Das passiert zum Beispiel in Kroatien, wenn ein Feiertag wie Ostern/Pfingsten auf einen fixen Feiertag fällt.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
das ist im PublicHolidayCalendar
. Da gibt es für ein Datum eine Menge an Feiertagen.
ist die frage wie das mit der aktuellen PublicHoliday#equals
Funktion passt. Vielleicht muss da noch ein aufgelöstes description
mit dazu 🤔
src/main/java/de/focusshift/zeiterfassung/usermanagement/WorkingTimeController.java
Show resolved
Hide resolved
35c350f
to
a2af489
Compare
c843fb4
to
50aedc3
Compare
56297de
to
cd4066a
Compare
Quality Gate passedThe SonarCloud Quality Gate passed, but some issues were introduced. 5 New issues |
add option to configure federal state (public holidays) for a person and whether he/she works on public holidays or not.
closes #259
Here are some things you should have thought about:
Multi-Tenancy
AbstractTenantAwareEntity
?TenantAwareDatabaseConfiguration
?dev-multitenant
profile?