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