From 23251760b3459d66eb65e91694c8ab3b8f4802c9 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 3 Jun 2024 23:06:32 +0000 Subject: [PATCH] case 4533 --- src/views/biz-subscription.vue | 53 ++++++++++++++-------------------- 1 file changed, 21 insertions(+), 32 deletions(-) diff --git a/src/views/biz-subscription.vue b/src/views/biz-subscription.vue index 311402b..0f8f322 100644 --- a/src/views/biz-subscription.vue +++ b/src/views/biz-subscription.vue @@ -281,25 +281,17 @@ - $sockiPlus - One month + 7d + Now + 1M + 7d $sockiPlus - One year + 7d + Now + 1Y + 7d @@ -739,31 +731,28 @@ export default { return "font-weight-black font-italic error--text"; } }, - subExpireAddOneWeek: function() { - this.obj.items[this.editItemIndex].expireDate = addToDate( - this.obj.items[this.editItemIndex].expireDate, - { - days: 7 - } - ); - }, subExpireAddOneMonth: function() { - this.obj.items[this.editItemIndex].expireDate = addToDate( - this.obj.items[this.editItemIndex].expireDate, - { - months: 1, - days: 7 - } - ); + //8.0.16 changed to how I actually use it which is now plus additional time + //before this change I had to keep selecting now and today first + this.obj.items[this.editItemIndex].expireDate = addToDate(null, { + months: 1, + days: 7 + }); + // this.obj.items[this.editItemIndex].expireDate = addToDate( + // this.obj.items[this.editItemIndex].expireDate, + // { + // months: 1, + // days: 7 + // } + // ); }, subExpireAddOneYear: function() { - this.obj.items[this.editItemIndex].expireDate = addToDate( - this.obj.items[this.editItemIndex].expireDate, - { - years: 1, - days: 7 - } - ); + //8.0.16 changed to how I actually use it which is now plus additional time + //before this change I had to keep selecting now and today first + this.obj.items[this.editItemIndex].expireDate = addToDate(null, { + years: 1, + days: 7 + }); // const now = window.$gz.locale.nowUTC8601String(this.timeZoneName); // this.obj.items[ // this.editItemIndex