Project

General

Profile

Bug #8078

Updated by beat almost 4 years ago

https://www.joomlapolis.com/forum/255-developer-members-support/242670-subscription-validity-period-remaining-generating-wrong-value#319359 

 > Using this substitution string in the CBSubs Mailer returns the total subscription validity period, not the validity period remaining. 
 >  
 > I defined a test mailer as "90 days before" Subscription expiry date, on all my annual (one year) plans 
 > The email subject: 
 >  
 > [SUBSCRIPTION_EXPIRY_DATE] - [SUBSCRIPTION_VALIDITY_PERIOD_REMAINING] 
 >  
 > The [SUBSCRIPTION_VALIDITY_PERIOD_REMAINING] values were all "1 year" - not the difference between the expiration date and today's date, which is what I expected. 

 Confirmed, was always so. 

 Should probably be renamed into [SUBSCRIPTION_VALIDITY_PERIOD] [CURRENT_SUBSCRIPTION_VALIDITY_PERIOD] and see how we can have a reasonable time-left display for [SUBSCRIPTION_VALIDITY_PERIOD_REMAINING]. display. 

Back