|
@@ -3820,7 +3820,7 @@ function updateProductTotalMessage(billingcycle) {
|
|
|
switch(billingcycle) {
|
|
switch(billingcycle) {
|
|
|
case 'monthly':
|
|
case 'monthly':
|
|
|
console.log(billingcycle);
|
|
console.log(billingcycle);
|
|
|
- let days = new Date(now.getFullYear(), now.getMonth() + 1, 0) - new Date(now.getFullYear(), now.getMonth(), now.getDate());
|
|
|
|
|
|
|
+ let days = daysIntoYear(new Date(now.getFullYear(), now.getMonth() + 1, 0)) - daysIntoYear(new Date(now.getFullYear(), now.getMonth(), now.getDate()));
|
|
|
console.log(days);
|
|
console.log(days);
|
|
|
jQuery('#producttotalmessage').html('Monatlich');
|
|
jQuery('#producttotalmessage').html('Monatlich');
|
|
|
break;
|
|
break;
|