CRM-17406 update token list for scheduled reminders
authorjoannechester <joannechester@users.noreply.github.com>
Mon, 14 Mar 2016 23:05:39 +0000 (10:05 +1100)
committerjoannechester <joannechester@users.noreply.github.com>
Mon, 14 Mar 2016 23:05:39 +0000 (10:05 +1100)
Processing capability for contribution tokens already exists.  This is just adding them to the token dropdown list for easy selection.

CRM/Admin/Form/ScheduleReminders.php

index 61fca0e171b18d80a4e827ac9cceeab4cff4ffc9..89c62408027c15e1b14299aa9f3e505f6fe560ca 100644 (file)
@@ -667,6 +667,7 @@ class CRM_Admin_Form_ScheduleReminders extends CRM_Admin_Form {
     $tokens = array_merge(CRM_Core_SelectValues::activityTokens(), $tokens);
     $tokens = array_merge(CRM_Core_SelectValues::eventTokens(), $tokens);
     $tokens = array_merge(CRM_Core_SelectValues::membershipTokens(), $tokens);
+    $tokens = array_merge(CRM_Core_SelectValues::contributionTokens(), $tokens);
     return $tokens;
   }