diff --git a/front/src/main/resources/templates/record/calendar.html b/front/src/main/resources/templates/record/calendar.html index 98d347d3..35fdbff0 100644 --- a/front/src/main/resources/templates/record/calendar.html +++ b/front/src/main/resources/templates/record/calendar.html @@ -835,6 +835,7 @@ let dailyNo = [] let msgTxt = ''; let month = viewDate.getMonth() + 1; + let idxPlus = 0; msgTxt += "등록하지 않은 일계부 항목이 있습니다.\n 정확한 조사를 위해 꾸준히 입력해 주세요.\n"; if(response.dailyRecordAlertDtoList.length > 0){ response.dailyRecordAlertDtoList.forEach((dto) =>{ @@ -847,14 +848,11 @@ dailyNo.push(dateTxt); }); msgTxt += "
1. 일계부 미등록
\n"+dailyNo.join(',')+"
\n"; + idxPlus ++; } - if(response.monthRecordAlertDtoList.length > 0) { response.monthRecordAlertDtoList.forEach((dto,idx) => { - if(response.dailyRecordAlertDtoList.length > 0){ - idx ++; - } - msgTxt += ""+idx+". "+dto+"
\n"; + msgTxt += ""+ (idx+idxPlus+1) +". "+dto+"
\n"; }); }