],
];
$fields = array_merge($Activityfields, $exportableFields);
+ $fields['activity_type_id']['title'] = ts('Activity Type ID');
}
else {
// Set title to activity fields.
*
* Generated from xml/schema/CRM/Activity/Activity.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:fa6ffb0aaff92c8a515aff74919c7ad3)
+ * (GenCodeChecksum:1d6842701f82cb5ee56916c7599b3b3d)
*/
/**
'activity_type_id' => [
'name' => 'activity_type_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Activity Type ID'),
+ 'title' => ts('Activity Type'),
'description' => ts('FK to civicrm_option_value.id, that has to be valid, registered activity type.'),
'required' => TRUE,
'import' => TRUE,
'bao' => 'CRM_Activity_BAO_Activity',
'localizable' => 0,
'html' => [
- 'type' => 'Text',
+ 'type' => 'Number',
],
],
'activity_location' => [
'phone_id' => [
'name' => 'phone_id',
'type' => CRM_Utils_Type::T_INT,
- 'title' => ts('Phone (called) ID'),
+ 'title' => ts('Phone (called)'),
'description' => ts('Phone ID of the number called (optional - used if an existing phone number is selected).'),
'where' => 'civicrm_activity.phone_id',
'table_name' => 'civicrm_activity',
'bao' => 'CRM_Activity_BAO_Activity',
'localizable' => 0,
'html' => [
- 'type' => 'Select',
+ 'type' => 'CheckBox',
],
],
'activity_medium_id' => [
'entity' => 'Activity',
'bao' => 'CRM_Activity_BAO_Activity',
'localizable' => 0,
- 'html' => [
- 'type' => 'CheckBox',
- ],
],
'original_id' => [
'name' => 'original_id',
'entity' => 'Activity',
'bao' => 'CRM_Activity_BAO_Activity',
'localizable' => 0,
- 'html' => [
- 'type' => 'Text',
- ],
],
'activity_is_deleted' => [
'name' => 'is_deleted',
'bao' => 'CRM_Activity_BAO_Activity',
'localizable' => 0,
'html' => [
- 'type' => 'Text',
+ 'type' => 'CheckBox',
],
],
'activity_campaign_id' => [
'localizable' => 0,
'FKClassName' => 'CRM_Campaign_DAO_Campaign',
'html' => [
- 'type' => 'CheckBox',
+ 'type' => 'Select',
],
'pseudoconstant' => [
'table' => 'civicrm_campaign',
'entity' => 'Activity',
'bao' => 'CRM_Activity_BAO_Activity',
'localizable' => 0,
- 'html' => [
- 'type' => 'Text',
- ],
],
'is_star' => [
'name' => 'is_star',
'entity' => 'Activity',
'bao' => 'CRM_Activity_BAO_Activity',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Checkbox',
+ ],
],
'activity_created_date' => [
'name' => 'created_date',
*
* Generated from xml/schema/CRM/Contact/Contact.xml
* DO NOT EDIT. Generated by CRM_Core_CodeGen
- * (GenCodeChecksum:ee3bf9f2d1faed5a4de439ecf0537ac6)
+ * (GenCodeChecksum:b72765d873639076299753a8c4e676d5)
*/
/**
'entity' => 'Contact',
'bao' => 'CRM_Contact_BAO_Contact',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Select',
+ ],
'pseudoconstant' => [
'optionGroupName' => 'email_greeting',
'optionEditPath' => 'civicrm/admin/options/email_greeting',
'entity' => 'Contact',
'bao' => 'CRM_Contact_BAO_Contact',
'localizable' => 0,
- 'html' => [
- 'type' => 'Text',
- ],
],
'postal_greeting_id' => [
'name' => 'postal_greeting_id',
'bao' => 'CRM_Contact_BAO_Contact',
'localizable' => 0,
'html' => [
- 'type' => 'Text',
+ 'type' => 'Select',
],
'pseudoconstant' => [
'optionGroupName' => 'postal_greeting',
'entity' => 'Contact',
'bao' => 'CRM_Contact_BAO_Contact',
'localizable' => 0,
- 'html' => [
- 'type' => 'Text',
- ],
],
'addressee_id' => [
'name' => 'addressee_id',
'entity' => 'Contact',
'bao' => 'CRM_Contact_BAO_Contact',
'localizable' => 0,
+ 'html' => [
+ 'type' => 'Select',
+ ],
'pseudoconstant' => [
'optionGroupName' => 'addressee',
'optionEditPath' => 'civicrm/admin/options/addressee',
'entity' => 'Contact',
'bao' => 'CRM_Contact_BAO_Contact',
'localizable' => 0,
- 'html' => [
- 'type' => 'Text',
- ],
],
'job_title' => [
'name' => 'job_title',
'bao' => 'CRM_Contact_BAO_Contact',
'localizable' => 0,
'FKClassName' => 'CRM_Contact_DAO_Contact',
- 'html' => [
- 'type' => 'Select',
- ],
],
'organization_name' => [
'name' => 'organization_name',
</index>
<field>
<name>activity_type_id</name>
- <title>Activity Type ID</title>
+ <title>Activity Type</title>
<import>true</import>
<type>int unsigned</type>
<required>true</required>
<comment>Planned or actual duration of activity expressed in minutes. Conglomerate of former duration_hours and duration_minutes.</comment>
<add>2.0</add>
<html>
- <type>Text</type>
+ <type>Number</type>
</html>
</field>
<field>
<field>
<name>phone_id</name>
<type>int unsigned</type>
- <title>Phone (called) ID</title>
+ <title>Phone (called)</title>
<comment>Phone ID of the number called (optional - used if an existing phone number is selected).</comment>
<add>2.0</add>
<html>
<headerPattern>/(is.)?test(.activity)?/i</headerPattern>
<add>2.0</add>
<html>
- <type>Select</type>
+ <type>CheckBox</type>
</html>
</field>
<field>
<import>true</import>
<headerPattern>/(is.)?(current.)?(revision|version(ing)?)/i</headerPattern>
<add>2.2</add>
- <html>
- <type>CheckBox</type>
- </html>
</field>
<index>
<name>index_is_current_revision</name>
<title>Result</title>
<length>255</length>
<comment>Currently being used to store result id for survey activity, FK to option value.</comment>
- <html>
- <type>Text</type>
- </html>
<add>3.3</add>
</field>
<field>
<headerPattern>/(activity.)?(trash|deleted)/i</headerPattern>
<add>2.2</add>
<html>
- <type>Text</type>
+ <type>CheckBox</type>
</html>
</field>
<index>
</pseudoconstant>
<add>3.4</add>
<html>
- <type>CheckBox</type>
+ <type>Select</type>
</html>
</field>
<foreignKey>
<title>Order</title>
<type>int</type>
<add>4.1</add>
- <html>
- <type>Text</type>
- </html>
</field>
<field>
<name>is_star</name>
<comment>Activity marked as favorite.</comment>
<headerPattern>/(activity.)?(star|favorite)/i</headerPattern>
<add>4.7</add>
+ <html>
+ <type>Checkbox</type>
+ </html>
</field>
<field>
<name>created_date</name>
<title>Website</title>
<type>varchar</type>
<length>128</length>
- <html>
- <type>Text</type>
- <size>30</size>
- </html>
-
<import>true</import>
<headerPattern>/^(home\sURL)|URL|web|site/i</headerPattern>
<dataPattern>/^[\w\/\:\.]+$/</dataPattern>
<name>index_last_name</name>
<fieldName>last_name</fieldName>
<add>1.8</add>
- <html>
- <type>Text</type>
- </html>
</index>
<field>
<name>prefix_id</name>
<export>true</export>
<comment>FK to civicrm_option_value.id, that has to be valid registered Email Greeting.</comment>
<add>3.0</add>
+ <html>
+ <type>Select</type>
+ </html>
<pseudoconstant>
<optionGroupName>email_greeting</optionGroupName>
</pseudoconstant>
<length>255</length>
<comment>Cache Email Greeting.</comment>
<add>3.0</add>
- <html>
- <type>Text</type>
- </html>
</field>
<field>
<name>postal_greeting_id</name>
<comment>FK to civicrm_option_value.id, that has to be valid registered Postal Greeting.</comment>
<add>3.0</add>
<html>
- <type>Text</type>
+ <type>Select</type>
</html>
<pseudoconstant>
<optionGroupName>postal_greeting</optionGroupName>
<length>255</length>
<comment>Cache Postal greeting.</comment>
<add>3.0</add>
- <html>
- <type>Text</type>
- </html>
</field>
<field>
<name>addressee_id</name>
<comment>FK to civicrm_option_value.id, that has to be valid registered Addressee.</comment>
<add>3.0</add>
<export>true</export>
+ <html>
+ <type>Select</type>
+ </html>
<pseudoconstant>
<optionGroupName>addressee</optionGroupName>
</pseudoconstant>
<length>255</length>
<comment>Cache Addressee.</comment>
<add>3.0</add>
- <html>
- <type>Text</type>
- </html>
</field>
<field>
<name>job_title</name>
<name>UI_gender</name>
<fieldName>gender_id</fieldName>
<add>1.6</add>
- <html>
- <type>Select</type>
- </html>
</index>
<field>
<name>birth_date</name>
<title>Household Primary Contact ID</title>
<comment>Optional FK to Primary Contact for this household.</comment>
<add>1.1</add>
- <html>
- <type>Select</type>
- </html>
</field>
<foreignKey>
<name>primary_contact_id</name>