Fix lifetime membership with end date warning
authorlarssandergreen <lars@wildsight.ca>
Sat, 17 Jun 2023 23:41:05 +0000 (17:41 -0600)
committerlarssandergreen <lars@wildsight.ca>
Sat, 17 Jun 2023 23:41:05 +0000 (17:41 -0600)
CRM/Member/Form/Membership.php

index 7c5fee3228c30ab221c5efe45ad0aa7e855b05d5..10402870eaeb545e4d778d065b9118669ff311b8 100644 (file)
@@ -780,7 +780,7 @@ DESC limit 1");
             }
 
             if (empty($params['status_id']) || in_array($params['status_id'], $status_ids) == FALSE) {
-              $errors['status_id'] = ts('Please enter a status that does NOT represent a current membership status.');
+              $errors['status_id'] = ts('A current lifetime membership cannot have an end date. You can either remove the end date or change the status to a non-current status like Cancelled, Expired, or Deceased.');
             }
 
             if (!empty($params['is_override']) && !CRM_Member_StatusOverrideTypes::isPermanent($params['is_override'])) {