Kaynağa Gözat

update leave

tags/Baseline_30082024_BACKEND_UAT
cyril.tsui 1 yıl önce
ebeveyn
işleme
d4d4b55127
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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 Dosyayı Görüntüle

@@ -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)



Yükleniyor…
İptal
Kaydet