결제관리 요금결제내역 검색 기능 오류 수정

- 전월 버튼 선택시 종료일 표시 오류 수정
This commit is contained in:
rosewiper 2024-01-12 09:59:52 +09:00
parent c861972789
commit ee1bb786b9

View File

@ -19,7 +19,7 @@ $(document).ready(function(){
//이전달 첫날/마지막날 조회
if(date.getMonth()+1 == 1){
lastfulstday = date.getFullYear()-1 + "/12" + "/01";
lastfuledday = date.getFullYear()-1 + "/12" + "/"+new Date(date.getFullYear()-1, 12, 0);
lastfuledday = date.getFullYear()-1 + "/12" + "/"+new Date(date.getFullYear()-1, 12, 0).getDate()+"";
}else{
lastfulstday = date.getFullYear() + "/" ;
lastfulstday += date.getMonth() < 10 ? "0"+ (date.getMonth()) : date.getMonth()+"" ;