Selaa lähdekoodia

update leave

tags/Baseline_30082024_BACKEND_UAT
cyril.tsui 1 vuosi sitten
vanhempi
commit
d4d4b55127
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +2
    -2
      src/main/java/com/ffii/tsms/modules/timesheet/service/LeaveService.kt

+ 2
- 2
src/main/java/com/ffii/tsms/modules/timesheet/service/LeaveService.kt Näytä tiedosto

@@ -89,9 +89,9 @@ open class LeaveService(
}

open fun deleteMemberLeaveEntry(staffId: Long, entryId: Long): Map<String, List<LeaveEntry>> {
val currentStaff = staffsService.currentStaff() ?: throw BadRequestException()
// val currentStaff = staffsService.currentStaff() ?: throw BadRequestException()
// Make sure current staff is a team lead
teamService.getMyTeamForStaff(currentStaff) ?: throw BadRequestException()
// teamService.getMyTeamForStaff(currentStaff) ?: throw BadRequestException()

val memberStaff = staffsService.getStaff(staffId)



Ladataan…
Peruuta
Tallenna