Merge branch 'dev/pegawai/cuti' into dev/no-cron
This commit is contained in:
commit
2a05bf5bcd
@ -174,7 +174,7 @@ public class JatahCutiDanIzinServiceImpl implements JatahCutiDanIzinService {
|
||||
// Hitung Absen di tanggal cuti bersama
|
||||
List<String> listTglCutiBersama = mapKalenderToHariLiburDao.getTglCutiBersama(year);
|
||||
int countDataHabsen = 0;
|
||||
Date awal2024 = new Date(1704042000000L);
|
||||
Date awal2025 = new Date(1735664400000L);
|
||||
for (String tglStr : listTglCutiBersama) {
|
||||
Date tglCheck;
|
||||
try {
|
||||
@ -214,7 +214,7 @@ public class JatahCutiDanIzinServiceImpl implements JatahCutiDanIzinService {
|
||||
} else {
|
||||
countDataHabsen += 1;
|
||||
}
|
||||
} else if (tglCheck.before(awal2024)) {
|
||||
} else if (tglCheck.before(awal2025)) {
|
||||
// cuti tahunan di tanggal cuti bersama
|
||||
List<Date> tglCutiTahunanDiTglCutiBersama = jatahCutiDanIzinDao
|
||||
.getCutiTahunanDiTglCutiBersama(CUTI_TAHUNAN, pegawaiId, tglStr);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user