],
];
- $participantFields['participant_status_id']['title'] .= ' (ID)';
$participantFields['participant_role_id']['title'] .= ' (ID)';
$discountFields = CRM_Core_DAO_Discount::export();
$queryObj = new CRM_Contact_BAO_Query([['activity_campaign_id', '=', '3', 1, 0]]);
$this->assertContains('WHERE ( ( civicrm_activity.campaign_id = 3 )', $queryObj->getSearchSQL());
- $this->assertEquals('Campaign = 3', $queryObj->_qill[1][0]);
+ $this->assertEquals('Campaign ID = 3', $queryObj->_qill[1][0]);
$queryObj = new CRM_Contact_BAO_Query([['activity_priority_id', '=', '3', 1, 0]]);
$this->assertContains('WHERE ( ( civicrm_activity.priority_id = 3 )', $queryObj->getSearchSQL());
'county_id' => 'County',
'geo_code_1' => 'Latitude',
'geo_code_2' => 'Longitude',
- 'master_id' => 'Master Address Belongs To',
+ 'master_id' => 'Master Address ID',
'postal_code' => 'Postal Code',
'postal_code_suffix' => 'Postal Code Suffix',
'state_province_id' => 'State',
[['participant_status_id', '=', 1, 0, 0]],
[
'where' => '( civicrm_participant.status_id = 1 )',
- 'qill' => 'Participant Status (ID) = Registered',
+ 'qill' => 'Status ID = Registered',
],
],
[
[['participant_status_id', 'IN', [1, 2], 0, 0]],
[
'where' => '( civicrm_participant.status_id IN ("1", "2") )',
- 'qill' => 'Participant Status (ID) In Registered, Attended',
+ 'qill' => 'Status ID In Registered, Attended',
],
],
];
'Latitude' => '',
'Longitude' => '',
'Address Name' => '',
- 'Master Address Belongs To' => '',
+ 'Master Address ID' => '',
'County' => '',
'State' => '',
'Country' => 'Netherlands',
'Membership ID' => '2',
'Primary Member ID' => '',
'Max Related' => '',
- 'Membership Recurring Contribution' => 1,
+ 'Recurring Contribution ID' => 1,
'Campaign ID' => '',
'Status Override' => '',
'Total Amount' => '200.00',
'ids' => [$this->contactIDs[1]],
]);
$row = $this->csv->fetchOne();
- $this->assertEquals(CRM_Contact_BAO_Contact::getMasterDisplayName($this->masterAddressID), $row['Home-Master Address Belongs To']);
+ $this->assertEquals(CRM_Contact_BAO_Contact::getMasterDisplayName($this->masterAddressID), $row['Home-Master Address ID']);
}
/**
'Latitude' => '',
'Longitude' => '',
'Address Name' => '',
- 'Master Address Belongs To' => '',
+ 'Master Address ID' => '',
'County' => '',
'State' => '',
'Country' => 'Netherlands',
62 => 'Longitude',
63 => 'Is Manually Geocoded',
64 => 'Address Name',
- 65 => 'Master Address Belongs To',
+ 65 => 'Master Address ID',
66 => 'County',
67 => 'State',
68 => 'Country',
*/
protected function getParticipantHeaderDefinition() {
return [
- 82 => 'Event',
+ 82 => 'Event ID',
83 => 'Event Title',
84 => 'Event Start Date',
85 => 'Event End Date',
96 => 'Test',
97 => 'Is Pay Later',
98 => 'Fee Amount',
- 99 => 'Discount Name',
+ 99 => 'Price Set ID',
100 => 'Fee Currency',
- 101 => 'Registered By ID',
+ 101 => 'Registered By Participant ID',
102 => 'Campaign ID',
];
}
90 => 'Membership ID',
91 => 'Primary Member ID',
92 => 'Max Related',
- 93 => 'Membership Recurring Contribution',
+ 93 => 'Recurring Contribution ID',
94 => 'Campaign ID',
95 => 'Status Override',
];