CRM-14945
authorjitendrapurohit <jituraj7760@gmail.com>
Mon, 7 Jul 2014 11:14:34 +0000 (16:44 +0530)
committerjitendrapurohit <jituraj7760@gmail.com>
Mon, 7 Jul 2014 11:14:34 +0000 (16:44 +0530)
CRM/Activity/BAO/Activity.php
CRM/Event/Form/Participant.php

index 321a3a71143364140f8abe9c334b38adef4d1645..6187167cde2607e6fae3d5f56e889b464d944cb7 100644 (file)
@@ -1885,6 +1885,7 @@ SELECT  display_name
       ),
       'subject' => $subject,
       'activity_date_time' => $date,
+      'details' => $activity->details,
       'is_test' => $activity->is_test,
       'status_id' => CRM_Core_OptionGroup::getValue('activity_status',
         'Completed',
index 51215280e87dd61ffcade60fdcc101210ba942dc..fdfb16e1d0f308860a2148505fafa05f4f531582 100644 (file)
@@ -1710,6 +1710,7 @@ class CRM_Event_Form_Participant extends CRM_Contact_Form_Task {
           $sent[] = $contactID;
           foreach ($participants as $ids => $values) {
             if ($values->contact_id == $contactID) {
+              $values->details = CRM_Utils_Array::value('receipt_text', $params);
               CRM_Activity_BAO_Activity::addActivity($values, 'Email');
               break;
             }