Fix bug disallowing renewing even if less than 30 days until expiry
This commit is contained in:
1 parent
0548cc04d6
commit
6868034175
1 file changed
+1
-1
@@ -184,7 +184,7 @@ function updateMemberShipButton(user, order) {
|
||||
//else if (user.last_membership.end_date <= today_plus_thirty_days && user.active_member_card) {
|
||||
/* ...with a membership that expires soon can renew */
|
||||
else if (user.last_membership.end_date <= today_plus_thirty_days) {
|
||||
_dom.membershipSubmitButton.prop('enabled', false);
|
||||
_dom.membershipSubmitButton.prop('disable', false);
|
||||
}
|
||||
}
|
||||
/* User with expired membership can renew */
|
||||
|
||||
Reference in new issue
Block a user