temp resume access not changing after purchase of new plan with longer access
scenario:
1. I buy pack 1, which has 7 days resume access included
2. it shows in my dashboard I have temporary access until <date> (7 days from now)
Now, I decide to purchase another pack which contains 40 days access.
1. during pack selection, it shows 'Already active until <date>', where , <date> is fixed to the date of the 1st pack I bought. this is not correct, it should show 'Includes access to resumes for 40 days.'
2. after purchase, it still shows 'temporary access until <date of first pack>' in dashboard, while it should show the date based on the longer access I just bought (40 days from now).
Basically, temporary access to resumes (via add-on in job plan) is fixed to whatever is set in the 1st pack you choose. Any plan you buy after, no matter if access duration is longer, does NOT calculate the new date correctly.
I think it should work like this:
If add-on access duration of newly purchased plan <= any of current active plans -> leave access duration and date in tact (since I already paid for access for those days).
If add-on access duration of newly purchased plan > any of current active plans -> change access duration and date (since I am buying a plan which has more days access).