@@ -3816,10 +3816,11 @@ function validate_captcha(form)
}
function updateProductTotalMessage(billingcycle) {
+ var now = new Date();
switch(billingcycle) {
case 'monthly':
console.log(billingcycle);
- let days = getFullYear();
+ let days = Date(now.getFullYear(), now.getMonth() + 1, 0) - Date(now.getFullYear(), now.getMonth(), now.getDate());
console.log(days);
jQuery('#producttotalmessage').html('Monatlich');
break;