Bug: In renew form subscription validity date are wrong registered for the subscription
Environment
Version: 13.0.2
URL(s): public/payment/newpayment.php
Expected and actual behavior
When the member is verx late (more than one year in my case) the renewal form set the subscription for the first unpaid period in llx_subscritpion but set the validity membership validity to the next and period in llx_adherent (end of present year in my case). So the subscription appears expired, but the member is up to date.
I'm expecting that the subscription date should be for the present period as the member won't ever pay for a period outdated.
Steps to reproduce the behavior
1) set a member late more than duration
2) use renew form and pay subscription
3) see result
Bug: In renew form subscription validity date are wrong registered for the subscription
Environment
Expected and actual behavior
When the member is verx late (more than one year in my case) the renewal form set the subscription for the first unpaid period in llx_subscritpion but set the validity membership validity to the next and period in llx_adherent (end of present year in my case). So the subscription appears expired, but the member is up to date.
I'm expecting that the subscription date should be for the present period as the member won't ever pay for a period outdated.
Steps to reproduce the behavior
1) set a member late more than duration 2) use renew form and pay subscription 3) see result