|
@@ -3816,10 +3816,11 @@ function validate_captcha(form)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function updateProductTotalMessage(billingcycle) {
|
|
function updateProductTotalMessage(billingcycle) {
|
|
|
|
|
+ var now = new Date();
|
|
|
switch(billingcycle) {
|
|
switch(billingcycle) {
|
|
|
case 'monthly':
|
|
case 'monthly':
|
|
|
console.log(billingcycle);
|
|
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);
|
|
console.log(days);
|
|
|
jQuery('#producttotalmessage').html('Monatlich');
|
|
jQuery('#producttotalmessage').html('Monatlich');
|
|
|
break;
|
|
break;
|