Skip to content

Commit

Permalink
Aggiunti codici 25S e 252S.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dario Tagliaferri committed Jan 29, 2025
1 parent 8aa43d6 commit 94e60c7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [2.22.2] - Unreleased
### Added
- Aggiunto parametro di configurazione personale che consente di bypassare il limite delle 200 ore annue di straordinario.
- Aggiunti codici 25S e 252S relativi ai congedi parentali per primo e secondo figlio per genitore unico.

### Changed
- Modificato l'algoritmo che assegna le ore di straordinario in funzione del parametro di cui alla sezione Added.
Expand Down
8 changes: 8 additions & 0 deletions app/models/absences/definitions/DefaultComplation.java
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,9 @@ public enum DefaultComplation {
C_25A(AmountType.units,
ImmutableSet.of(DefaultAbsenceType.A_25AM),
ImmutableSet.of(DefaultAbsenceType.A_25AH7)),
C_25S(AmountType.units,
ImmutableSet.of(DefaultAbsenceType.A_25SM),
ImmutableSet.of(DefaultAbsenceType.A_25SH7)),
C_24(AmountType.units,
ImmutableSet.of(DefaultAbsenceType.A_24O),
ImmutableSet.of(DefaultAbsenceType.A_24OH7)),
Expand All @@ -232,6 +235,11 @@ public enum DefaultComplation {
C_252(AmountType.units,
ImmutableSet.of(DefaultAbsenceType.A_252M),
ImmutableSet.of(DefaultAbsenceType.A_252H7)),

C_252S(AmountType.units,
ImmutableSet.of(DefaultAbsenceType.A_252SM),
ImmutableSet.of(DefaultAbsenceType.A_252SH7)),

C_252A(AmountType.units,
ImmutableSet.of(DefaultAbsenceType.A_252AM),
ImmutableSet.of(DefaultAbsenceType.A_252AH7)),
Expand Down
9 changes: 9 additions & 0 deletions app/models/absences/definitions/DefaultGroup.java
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@ public enum DefaultGroup {
"", DefaultCategoryType.ASTENSIONE_POSTPARTUM, 0, GroupAbsenceTypePattern.programmed,
PeriodType.child1_0_12, DefaultTakable.T_25, DefaultComplation.C_25, DefaultGroup.G_25A,
false, true),
G_25S("25S - Congedo parentale genitore unico 30% 1 figlio 90 giorni",
"", DefaultCategoryType.ASTENSIONE_POSTPARTUM, 0, GroupAbsenceTypePattern.programmed,
PeriodType.child1_0_12, DefaultTakable.T_25S, DefaultComplation.C_25S, null,
false, true),

G_23O("23 - Astensione facoltativa post partum 100% primo figlio 0-12 anni 30 giorni",
"23/25/24 - Astensione facoltativa post partum primo figlio",
Expand Down Expand Up @@ -316,6 +320,11 @@ public enum DefaultGroup {
PeriodType.child2_0_12, DefaultTakable.T_252, DefaultComplation.C_252, DefaultGroup.G_252A,
false, true),

G_252S("252S - Congedo parentale genitore unico 30% 2 figlio 90 giorni", "",
DefaultCategoryType.ASTENSIONE_POSTPARTUM, 0, GroupAbsenceTypePattern.programmed,
PeriodType.child2_0_12, DefaultTakable.T_252S, DefaultComplation.C_252S, null,
false, true),

G_232O("232O - Astensione facoltativa post partum 100% secondo figlio 0-12 anni 30 giorni",
"232/252/242 - Astensione facoltativa post partum secondo figlio",
DefaultCategoryType.ALTRI_CODICI, 0, GroupAbsenceTypePattern.programmed,
Expand Down

0 comments on commit 94e60c7

Please sign in to comment.