andre 4 yıl önce
ebeveyn
işleme
bcf1723adf
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. 2 1
      js/scripts.js

+ 2 - 1
js/scripts.js

@@ -3828,7 +3828,8 @@ function updateProductTotalMessage(billingcycle) {
         case 'quarterly':
         case 'quarterly':
             console.log(billingcycle);
             console.log(billingcycle);
             if (now.getMonth() < 4) {
             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');
             jQuery('#producttotalmessage').html('4teljährlich');
             break;
             break;