Skip to content

Commit

Permalink
🐛 fix : 주휴일 검증 로직 추가 #127
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMirror21 committed Nov 25, 2024
1 parent 096fba0 commit 94934d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/utils/document.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,12 @@ export const validateLaborContractEmployerInformation = (
return false;
}

// 주휴일 체크
if (!info.weekly_last_days || info.weekly_last_days.length === 0) {
console.log('주휴일');
return false;
}

// 서명 체크
if (!info.signature_base64 || info.signature_base64 === '') {
console.log('서명');
Expand Down

0 comments on commit 94934d4

Please sign in to comment.