dimagi/commcare-hq — pull request #2876 by nickpell (2014-03-17 17:58:47+00:00)
Title: Cancel subscription bug

fixes http://manage.dimagi.com/default.asp?102989#584031

Disable the Cancel subscription button on page reload after it has been clicked. Also fixes other issues found: don't activate a subscription if an admin creates a subscription in the future and then chooses to cancel it before it has begun, and only disable the end date field if the subscription end date is in the past or if the subscription was canceled.