Skip to content

Commit

Permalink
Fix: Inntektskomponenten returnerer inntekt for nåværende måned. (#1567)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsladek authored Jan 8, 2025
1 parent 975f0a4 commit 20907d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ COPY server/target/lib/*.jar ./lib/

ENV JAVA_OPTS="-XX:MaxRAMPercentage=75.0 \
-XX:+PrintCommandLineFlags \
-XX:UseSVE=0 \
-Dfile.encoding=UTF-8 \
-Duser.timezone=Europe/Oslo \
-Dlogback.configurationFile=/app/logback.xml"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static ArbeidsInntektIdent makeArbeidsInntektIdent(InntektskomponentModel
arbeidsInntektIdent.setArbeidsInntektMaaned(new ArrayList<>());

YearMonth runningMonth = fom;
while (runningMonth.isBefore(tom)) {
while (runningMonth.isBefore(tom) || runningMonth.equals(tom)) {
ArbeidsInntektInformasjon arbeidsInntektInformasjon = makeArbeidsInntektInformasjonForMåned(modell, runningMonth,
filter82830);
ArbeidsInntektMaaned arbeidsInntektMaaned = new ArbeidsInntektMaaned();
Expand Down

0 comments on commit 20907d9

Please sign in to comment.