|
|
@@ -1109,14 +1109,17 @@
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- if (Number(stDate) < Number(toDate) && mode == 'N') {
|
|
|
- mcxDialog.alert('시작일자는 오늘포함 이후로 등록해주세요.');
|
|
|
- return;
|
|
|
- }
|
|
|
+ // 21-07-21 출석체크에서는 오늘포함 체크하지 않도록 수정 요청 들어와 수정
|
|
|
+ if($('#planRegisterForm select[name="planGb"] option:selected').val() != 'C'){
|
|
|
+ if (Number(stDate) < Number(toDate) && mode == 'N') {
|
|
|
+ mcxDialog.alert('시작일자는 오늘포함 이후로 등록해주세요.');
|
|
|
+ return;
|
|
|
+ }
|
|
|
|
|
|
- if (Number(edDate) < Number(toDate) && mode == 'N') {
|
|
|
- mcxDialog.alert('종료일자는 오늘포함 이후로 등록해주세요.');
|
|
|
- return;
|
|
|
+ if (Number(edDate) < Number(toDate) && mode == 'N') {
|
|
|
+ mcxDialog.alert('종료일자는 오늘포함 이후로 등록해주세요.');
|
|
|
+ return;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
if (newCustYn == "Y") {
|