andre 4 년 전
부모
커밋
bcf1723adf
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      js/scripts.js

+ 2 - 1
js/scripts.js

@@ -3828,7 +3828,8 @@ function updateProductTotalMessage(billingcycle) {
         case 'quarterly':
             console.log(billingcycle);
             if (now.getMonth() < 4) {
-                console.log("1st quarter");
+                billingDay = daysIntoYear(new Date(now.getFullYear(), 11, 31));
+                console.log(now.getMonth());
             }
             jQuery('#producttotalmessage').html('4teljährlich');
             break;