diff --git a/civicrm.php b/civicrm.php index 28fedfa66a3d076e9656be46292ab358e59c936a..f9bdb485f4f0213f1d1b3937d38bfe17083264a9 100644 --- a/civicrm.php +++ b/civicrm.php @@ -2,7 +2,7 @@ /** * Plugin Name: CiviCRM * Description: CiviCRM - Growing and Sustaining Relationships - * Version: 5.62.1 + * Version: 5.63.0 * Requires at least: 4.9 * Requires PHP: 7.3 * Author: CiviCRM LLC @@ -36,7 +36,7 @@ if (!defined('ABSPATH')) { } // Set version here: changing it forces Javascript and CSS to reload. -define('CIVICRM_PLUGIN_VERSION', '5.62.1'); +define('CIVICRM_PLUGIN_VERSION', '5.63.0'); // Store reference to this file. if (!defined('CIVICRM_PLUGIN_FILE')) { diff --git a/civicrm/CRM/ACL/BAO/EntityRole.php b/civicrm/CRM/ACL/BAO/EntityRole.php index 3bacbf76396946532fd00bc3c3bba1b2333605b7..5620f6f55e66d7c0c7c3d39c70a8ae907a1a257b 100644 --- a/civicrm/CRM/ACL/BAO/EntityRole.php +++ b/civicrm/CRM/ACL/BAO/EntityRole.php @@ -16,8 +16,6 @@ */ /** - * Access Control EntityRole. - * * @deprecated */ class CRM_ACL_BAO_EntityRole extends CRM_ACL_BAO_ACLEntityRole {} diff --git a/civicrm/CRM/ACL/Page/ACL.php b/civicrm/CRM/ACL/Page/ACL.php index 62ce735f4e9562d8305a87c37605b722549b03b6..5e4e6e971a78cd0c262d8be63d3949b7b30c9068 100644 --- a/civicrm/CRM/ACL/Page/ACL.php +++ b/civicrm/CRM/ACL/Page/ACL.php @@ -54,17 +54,20 @@ class CRM_ACL_Page_ACL extends CRM_Core_Page_Basic { 'name' => ts('Disable'), 'ref' => 'crm-enable-disable', 'title' => ts('Disable ACL'), + 'weight' => 40, ], CRM_Core_Action::ENABLE => [ 'name' => ts('Enable'), 'ref' => 'crm-enable-disable', 'title' => ts('Enable ACL'), + 'weight' => 30, ], CRM_Core_Action::DELETE => [ 'name' => ts('Delete'), 'url' => 'civicrm/acl', 'qs' => 'reset=1&action=delete&id=%%id%%', 'title' => ts('Delete ACL'), + 'weight' => 100, ], ]; } diff --git a/civicrm/CRM/ACL/Page/EntityRole.php b/civicrm/CRM/ACL/Page/EntityRole.php index f52ac442e4e0c1cfbe826ee60aef0d8835e9db90..bd1c3740138b8d5e15b0daec575262e60a2e9992 100644 --- a/civicrm/CRM/ACL/Page/EntityRole.php +++ b/civicrm/CRM/ACL/Page/EntityRole.php @@ -54,6 +54,7 @@ class CRM_ACL_Page_EntityRole extends CRM_Core_Page_Basic { 'name' => ts('Disable'), 'ref' => 'crm-enable-disable', 'title' => ts('Disable ACL Role Assignment'), + 'weight' => 40, ], CRM_Core_Action::ENABLE => [ 'name' => ts('Enable'), diff --git a/civicrm/CRM/Activity/Selector/Activity.php b/civicrm/CRM/Activity/Selector/Activity.php index fff4d57ed9b500f7b1316c69c4494a22cc8f329c..c78186f7c00f0c8aeb0c8fcca2e76467b82a501c 100644 --- a/civicrm/CRM/Activity/Selector/Activity.php +++ b/civicrm/CRM/Activity/Selector/Activity.php @@ -206,6 +206,7 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C 'url' => $url, 'qs' => $qsView, 'title' => ts('View Activity'), + 'weight' => -20, ], ]; } @@ -226,6 +227,7 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C 'url' => $updateUrl, 'qs' => $qsUpdate, 'title' => ts('Update Activity'), + 'weight' => -10, ], ]; } @@ -257,6 +259,7 @@ class CRM_Activity_Selector_Activity extends CRM_Core_Selector_Base implements C 'url' => $delUrl, 'qs' => $qsDelete, 'title' => ts('Delete Activity'), + 'weight' => 100, ], ]; } diff --git a/civicrm/CRM/Activity/StateMachine/Search.php b/civicrm/CRM/Activity/StateMachine/Search.php index 6e08eb9861fdcd2f9cff7bf0bc4724b39e1fe995..8925aa308be4878568d418ff555bba5eb531ed78 100644 --- a/civicrm/CRM/Activity/StateMachine/Search.php +++ b/civicrm/CRM/Activity/StateMachine/Search.php @@ -41,7 +41,7 @@ class CRM_Activity_StateMachine_Search extends CRM_Core_StateMachine { $this->_pages[$t] = NULL; } - $this->addSequentialPages($this->_pages, $action); + $this->addSequentialPages($this->_pages); } /** diff --git a/civicrm/CRM/Admin/Form/MailSettings.php b/civicrm/CRM/Admin/Form/MailSettings.php index b34e3722f5d4ca5ae179a8e53f554d576f48cf90..1e4dc966d1a3eb676b86a477eccbd2da4a314762 100644 --- a/civicrm/CRM/Admin/Form/MailSettings.php +++ b/civicrm/CRM/Admin/Form/MailSettings.php @@ -77,7 +77,7 @@ class CRM_Admin_Form_MailSettings extends CRM_Admin_Form { $this->add('password', 'password', ts('Password'), ['autocomplete' => 'off']); - $this->add('text', 'source', ts('Source'), $attributes['source']); + $this->add('text', 'source', ts('Mail Folder'), $attributes['source']); $this->add('checkbox', 'is_ssl', ts('Use SSL?')); diff --git a/civicrm/CRM/Admin/Form/Preferences/Mailing.php b/civicrm/CRM/Admin/Form/Preferences/Mailing.php index 23cc19a9b8cba73b48f717382b9f0c728f49328d..83d0c0e3970f796f24cf009c5dc1711aa89ceb14 100644 --- a/civicrm/CRM/Admin/Form/Preferences/Mailing.php +++ b/civicrm/CRM/Admin/Form/Preferences/Mailing.php @@ -22,6 +22,7 @@ class CRM_Admin_Form_Preferences_Mailing extends CRM_Admin_Form_Preferences { protected $_settings = [ 'profile_double_optin' => CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, + 'no_reply_email_address' => CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, 'profile_add_to_group_double_optin' => CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, 'track_civimail_replies' => CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, 'civimail_workflow' => CRM_Core_BAO_Setting::MAILING_PREFERENCES_NAME, diff --git a/civicrm/CRM/Admin/Form/Setting/Debugging.php b/civicrm/CRM/Admin/Form/Setting/Debugging.php index 53cec8c6c62981f78a34dd3a92b5628024c28c9a..a328af40ce4545a81bca2ea770e4b195b6d161c7 100644 --- a/civicrm/CRM/Admin/Form/Setting/Debugging.php +++ b/civicrm/CRM/Admin/Form/Setting/Debugging.php @@ -25,6 +25,7 @@ class CRM_Admin_Form_Setting_Debugging extends CRM_Admin_Form_Setting { 'backtrace' => CRM_Core_BAO_Setting::DEVELOPER_PREFERENCES_NAME, 'fatalErrorHandler' => CRM_Core_BAO_Setting::DEVELOPER_PREFERENCES_NAME, 'assetCache' => CRM_Core_BAO_Setting::DEVELOPER_PREFERENCES_NAME, + 'esm_loader' => CRM_Core_BAO_Setting::DEVELOPER_PREFERENCES_NAME, 'environment' => CRM_Core_BAO_Setting::DEVELOPER_PREFERENCES_NAME, ]; diff --git a/civicrm/CRM/Admin/Form/Setting/Miscellaneous.php b/civicrm/CRM/Admin/Form/Setting/Miscellaneous.php index 51ddc220e670e467ce0d30d2ee16540e7e13618e..6a5a443dfe76b75834829b1081aa980289fa1115 100644 --- a/civicrm/CRM/Admin/Form/Setting/Miscellaneous.php +++ b/civicrm/CRM/Admin/Form/Setting/Miscellaneous.php @@ -62,6 +62,7 @@ class CRM_Admin_Form_Setting_Miscellaneous extends CRM_Admin_Form_Setting { 'recentItemsMaxCount', 'recentItemsProviders', 'dedupe_default_limit', + 'esm_loader', 'prevNextBackend', 'import_batch_size', ]); @@ -115,7 +116,7 @@ class CRM_Admin_Form_Setting_Miscellaneous extends CRM_Admin_Form_Setting { } if (!empty($fields['wkhtmltopdfPath'])) { - // check and ensure that thi leads to the wkhtmltopdf binary + // check and ensure that this path leads to the wkhtmltopdf binary // and it is a valid executable binary // Only check the first space separated piece to allow for a value // such as /usr/bin/xvfb-run -- wkhtmltopdf (CRM-13292) diff --git a/civicrm/CRM/Admin/Page/Job.php b/civicrm/CRM/Admin/Page/Job.php index 80ba5524ab759915ccee2f95dfab390e5ba0ecbf..72d9d3eed8acac51d1edf90e3912390282353158 100644 --- a/civicrm/CRM/Admin/Page/Job.php +++ b/civicrm/CRM/Admin/Page/Job.php @@ -52,18 +52,18 @@ class CRM_Admin_Page_Job extends CRM_Core_Page_Basic { 'qs' => 'jid=%%id%%&reset=1', 'title' => ts('See log entries for this Scheduled Job'), ], + CRM_Core_Action::VIEW => [ + 'name' => ts('Execute'), + 'url' => 'civicrm/admin/job/edit', + 'qs' => 'action=view&id=%%id%%&reset=1', + 'title' => ts('Execute Scheduled Job Now'), + ], CRM_Core_Action::UPDATE => [ 'name' => ts('Edit'), 'url' => 'civicrm/admin/job/edit', 'qs' => 'action=update&id=%%id%%&reset=1', 'title' => ts('Edit Scheduled Job'), ], - CRM_Core_Action::VIEW => [ - 'name' => ts('Execute Now'), - 'url' => 'civicrm/admin/job/edit', - 'qs' => 'action=view&id=%%id%%&reset=1', - 'title' => ts('Execute Scheduled Job Now'), - ], CRM_Core_Action::DISABLE => [ 'name' => ts('Disable'), 'ref' => 'crm-enable-disable', diff --git a/civicrm/CRM/Admin/Page/RelationshipType.php b/civicrm/CRM/Admin/Page/RelationshipType.php index 312d2942e20593f46e9c3465f2d2f67407ea3855..e1b7f6ae53b00da9585ce086018ba61f863670b1 100644 --- a/civicrm/CRM/Admin/Page/RelationshipType.php +++ b/civicrm/CRM/Admin/Page/RelationshipType.php @@ -53,28 +53,33 @@ class CRM_Admin_Page_RelationshipType extends CRM_Core_Page_Basic { 'url' => 'civicrm/admin/reltype/edit', 'qs' => 'action=view&id=%%id%%&reset=1', 'title' => ts('View Relationship Type'), + 'weight' => -20, ], CRM_Core_Action::UPDATE => [ 'name' => ts('Edit'), 'url' => 'civicrm/admin/reltype/edit', 'qs' => 'action=update&id=%%id%%&reset=1', 'title' => ts('Edit Relationship Type'), + 'weight' => -10, ], CRM_Core_Action::DISABLE => [ 'name' => ts('Disable'), 'ref' => 'crm-enable-disable', 'title' => ts('Disable Relationship Type'), + 'weight' => 40, ], CRM_Core_Action::ENABLE => [ 'name' => ts('Enable'), 'ref' => 'crm-enable-disable', 'title' => ts('Enable Relationship Type'), + 'weight' => 30, ], CRM_Core_Action::DELETE => [ 'name' => ts('Delete'), 'url' => 'civicrm/admin/reltype/edit', 'qs' => 'action=delete&id=%%id%%', 'title' => ts('Delete Reletionship Type'), + 'weight' => 100, ], ]; } diff --git a/civicrm/CRM/Batch/Form/Entry.php b/civicrm/CRM/Batch/Form/Entry.php index a29e665abe393878010a5707e7499ddce516f3a1..b17c8c733b27c023c8667d27db3ddf90fbb96900 100644 --- a/civicrm/CRM/Batch/Form/Entry.php +++ b/civicrm/CRM/Batch/Form/Entry.php @@ -966,8 +966,8 @@ class CRM_Batch_Form_Entry extends CRM_Core_Form { 'isEmailPdf' => Civi::settings()->get('invoice_is_email_pdf'), 'isTest' => (bool) ($form->_action & CRM_Core_Action::PREVIEW), 'modelProps' => [ - 'contributionId' => $this->getCurrentRowContributionID(), - 'contactId' => $form->_receiptContactId, + 'contributionID' => $this->getCurrentRowContributionID(), + 'contactID' => $form->_receiptContactId, 'membershipID' => $this->getCurrentRowMembershipID(), ], ] diff --git a/civicrm/CRM/Campaign/BAO/Campaign.php b/civicrm/CRM/Campaign/BAO/Campaign.php index d0ecc412580a3e29988e2bace83c3d8cee75609f..44de734813ced20f3daeb9ee8d944e3737d13e14 100644 --- a/civicrm/CRM/Campaign/BAO/Campaign.php +++ b/civicrm/CRM/Campaign/BAO/Campaign.php @@ -38,10 +38,6 @@ class CRM_Campaign_BAO_Campaign extends CRM_Campaign_DAO_Campaign { if (empty($params['created_id'])) { $params['created_id'] = CRM_Core_Session::getLoggedInContactID(); } - - if (empty($params['created_date'])) { - $params['created_date'] = date('YmdHis'); - } } /** @var \CRM_Campaign_DAO_Campaign $campaign */ diff --git a/civicrm/CRM/Campaign/DAO/Campaign.php b/civicrm/CRM/Campaign/DAO/Campaign.php index 758be195be595b404f6005afc28d3a9366eb29ec..af8f3f2b78333a6e04bdef468ef43cabf1ba83f3 100644 --- a/civicrm/CRM/Campaign/DAO/Campaign.php +++ b/civicrm/CRM/Campaign/DAO/Campaign.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Campaign/Campaign.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:75a9a33157dcd3411e3072a2b3740b0f) + * (GenCodeChecksum:dbeaf967ec7d7d3532d4cacb2a0e36b4) */ /** @@ -586,6 +586,7 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 'token' => FALSE, ], 'where' => 'civicrm_campaign.created_date', + 'default' => 'CURRENT_TIMESTAMP', 'table_name' => 'civicrm_campaign', 'entity' => 'Campaign', 'bao' => 'CRM_Campaign_BAO_Campaign', @@ -593,7 +594,9 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 'html' => [ 'type' => 'Select Date', 'formatType' => 'activityDateTime', + 'label' => ts("Created Date"), ], + 'readonly' => TRUE, 'add' => '3.3', ], 'last_modified_id' => [ @@ -762,16 +765,16 @@ class CRM_Campaign_DAO_Campaign extends CRM_Core_DAO { 'unique' => TRUE, 'sig' => 'civicrm_campaign::1::name', ], - 'UI_campaign_type_id' => [ - 'name' => 'UI_campaign_type_id', + 'index_campaign_type_id' => [ + 'name' => 'index_campaign_type_id', 'field' => [ 0 => 'campaign_type_id', ], 'localizable' => FALSE, 'sig' => 'civicrm_campaign::0::campaign_type_id', ], - 'UI_campaign_status_id' => [ - 'name' => 'UI_campaign_status_id', + 'index_status_id' => [ + 'name' => 'index_status_id', 'field' => [ 0 => 'status_id', ], diff --git a/civicrm/CRM/Campaign/Form/Petition.php b/civicrm/CRM/Campaign/Form/Petition.php index d52c50e1f5ab1fc30400b392cc8b781ab7039869..1cbd72d69bd12616f566863075fdc7fb7f388c1c 100644 --- a/civicrm/CRM/Campaign/Form/Petition.php +++ b/civicrm/CRM/Campaign/Form/Petition.php @@ -206,10 +206,10 @@ class CRM_Campaign_Form_Petition extends CRM_Core_Form { $this->addElement('checkbox', 'is_share', ts('Add footer region with Twitter, Facebook and LinkedIn share buttons and scripts?')); // is active ? - $this->add('checkbox', 'is_active', ts('Is Active?')); + $this->add('checkbox', 'is_active', ts('Active?')); // is default ? - $this->add('checkbox', 'is_default', ts('Is Default?')); + $this->add('checkbox', 'is_default', ts('Default?')); // add buttons $this->addButtons( diff --git a/civicrm/CRM/Campaign/Form/Petition/Signature.php b/civicrm/CRM/Campaign/Form/Petition/Signature.php index 965f72d6f5fac9b72936428f1faf854a7b81893e..2c13088366147b52f541b55aa8b953c483c12f93 100644 --- a/civicrm/CRM/Campaign/Form/Petition/Signature.php +++ b/civicrm/CRM/Campaign/Form/Petition/Signature.php @@ -193,7 +193,10 @@ class CRM_Campaign_Form_Petition_Signature extends CRM_Core_Form { CRM_Core_Error::statusBounce(ts('Petition doesn\'t exist.')); } if ($this->petition['is_active'] == 0) { - CRM_Core_Error::statusBounce(ts('Petition is no longer active.')); + $this->assign('isActive', FALSE); + } + else { + $this->assign('isActive', TRUE); } //get userID from session diff --git a/civicrm/CRM/Campaign/StateMachine/Search.php b/civicrm/CRM/Campaign/StateMachine/Search.php index f69e47296827b01858b2366065843cae4a447199..af20279448d9455766a99620adf4727c125f4613 100644 --- a/civicrm/CRM/Campaign/StateMachine/Search.php +++ b/civicrm/CRM/Campaign/StateMachine/Search.php @@ -49,7 +49,7 @@ class CRM_Campaign_StateMachine_Search extends CRM_Core_StateMachine { $this->_pages['CRM_Campaign_Form_Task_Result'] = NULL; } - $this->addSequentialPages($this->_pages, $action); + $this->addSequentialPages($this->_pages); } /** diff --git a/civicrm/CRM/Case/Selector/Search.php b/civicrm/CRM/Case/Selector/Search.php index d2f958f194bcef0f665dd4f80a9929dbc499150b..a55665fc32890cba633443bc744cbe2fd9b2f678 100644 --- a/civicrm/CRM/Case/Selector/Search.php +++ b/civicrm/CRM/Case/Selector/Search.php @@ -25,7 +25,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { * * @var array */ - public static $_links = NULL; + public static $_links; /** * The action links that we need to display for the browse screen. @@ -101,7 +101,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { * * @var string */ - protected $_additionalClause = NULL; + protected $_additionalClause; /** * The query object @@ -115,7 +115,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { * * @param array $queryParams * Array of parameters for query. - * @param \const|int $action - action of search basic or advanced. + * @param int $action - action of search basic or advanced. * @param string $additionalClause * If the caller wants to further restrict the search (used in participations). * @param bool $single @@ -182,6 +182,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { 'qs' => 'reset=1&action=renew&id=%%id%%&cid=%%cid%%&context=%%cxt%%' . $extraParams, 'ref' => 'restore-case', 'title' => ts('Restore Case'), + 'weight' => -30, ], ]; } @@ -194,6 +195,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { 'ref' => 'manage-case', 'class' => 'no-popup', 'title' => ts('Manage Case'), + 'weight' => -20, ], CRM_Core_Action::DELETE => [ 'name' => ts('Delete'), @@ -201,6 +203,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { 'qs' => 'reset=1&action=delete&id=%%id%%&cid=%%cid%%&context=%%cxt%%' . $extraParams, 'ref' => 'delete-case', 'title' => ts('Delete Case'), + 'weight' => -10, ], CRM_Core_Action::UPDATE => [ 'name' => ts('Assign to Another Client'), @@ -209,13 +212,14 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { 'ref' => 'reassign', 'class' => 'medium-popup', 'title' => ts('Assign to Another Client'), + 'weight' => -10, ], ]; } $actionLinks = []; - foreach (self::$_links as $key => $value) { - $actionLinks['primaryActions'][$key] = $value; + foreach (self::$_links as $index => $value) { + $actionLinks['primaryActions'][$index] = $value; } return $actionLinks; @@ -303,9 +307,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { $row = []; // the columns we are interested in foreach (self::$_properties as $property) { - if (isset($result->$property)) { - $row[$property] = $result->$property; - } + $row[$property] = $result->$property ?? NULL; } $isDeleted = FALSE; @@ -354,15 +356,15 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { //retrieve the scheduled & recent Activity type and date for selector if (!empty($scheduledInfo)) { - $schdeduledActivity = CRM_Case_BAO_Case::getNextScheduledActivity($scheduledInfo, 'upcoming'); - foreach ($schdeduledActivity as $key => $value) { - $rows[$key]['case_scheduled_activity_date'] = $value['date']; - $rows[$key]['case_scheduled_activity_type'] = $value['type']; + $scheduledActivity = CRM_Case_BAO_Case::getNextScheduledActivity($scheduledInfo, 'upcoming'); + foreach ($rows as $key => $row) { + $rows[$key]['case_scheduled_activity_date'] = $scheduledActivity[$key]['date'] ?? NULL; + $rows[$key]['case_scheduled_activity_type'] = $scheduledActivity[$key]['type'] ?? NULL; } $recentActivity = CRM_Case_BAO_Case::getNextScheduledActivity($scheduledInfo, 'recent'); - foreach ($recentActivity as $key => $value) { - $rows[$key]['case_recent_activity_date'] = $value['date']; - $rows[$key]['case_recent_activity_type'] = $value['type']; + foreach ($rows as $key => $row) { + $rows[$key]['case_recent_activity_date'] = $recentActivity[$key]['date'] ?? NULL; + $rows[$key]['case_recent_activity_type'] = $recentActivity[$key]['type'] ?? NULL; } } return $rows; @@ -624,6 +626,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { 'title' => ts('View'), 'accessKey' => '', 'ref' => 'View', + 'weight' => -20, ], CRM_Core_Action::UPDATE => [ 'name' => ts('Edit'), @@ -633,6 +636,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { 'icon' => 'fa-pencil', 'accessKey' => '', 'ref' => 'Edit', + 'weight' => -10, ], CRM_Core_Action::DELETE => [ 'name' => ts('Delete'), @@ -642,6 +646,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { 'icon' => 'fa-trash', 'accessKey' => '', 'ref' => 'Delete', + 'weight' => 100, ], CRM_Core_Action::RENEW => [ 'name' => ts('Restore'), @@ -651,6 +656,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { 'icon' => 'fa-undo', 'accessKey' => '', 'ref' => 'Restore', + 'weight' => 90, ], CRM_Core_Action::DETACH => [ 'name' => ts('Move To Case'), @@ -659,6 +665,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { 'extra' => 'onclick = "Javascript:fileOnCase( \'move\', %%aid%%, %%caseid%%, this ); return false;"', 'icon' => 'fa-clipboard', 'accessKey' => '', + 'weight' => 60, ], CRM_Core_Action::COPY => [ 'name' => ts('Copy To Case'), @@ -667,6 +674,7 @@ class CRM_Case_Selector_Search extends CRM_Core_Selector_Base { 'extra' => 'onclick = "Javascript:fileOnCase( \'copy\', %%aid%%, %%caseid%%, this ); return false;"', 'icon' => 'fa-files-o', 'accessKey' => '', + 'weight' => 70, ], ]; } diff --git a/civicrm/CRM/Case/StateMachine/Search.php b/civicrm/CRM/Case/StateMachine/Search.php index a89c2c6a36743d4c9749dd07edc05a04fa529854..4a87ed3fb78811a13e7c3fa4b5a82e20304bf917 100644 --- a/civicrm/CRM/Case/StateMachine/Search.php +++ b/civicrm/CRM/Case/StateMachine/Search.php @@ -51,7 +51,7 @@ class CRM_Case_StateMachine_Search extends CRM_Core_StateMachine { $this->_pages['CRM_Case_Form_Task_Result'] = NULL; } - $this->addSequentialPages($this->_pages, $action); + $this->addSequentialPages($this->_pages); } /** diff --git a/civicrm/CRM/Contact/BAO/Group.php b/civicrm/CRM/Contact/BAO/Group.php index 89ec6bd5fcb1190402b6655974d0533e7ef394e8..6563b61d57c2395a41d442c7712c717ee86c8b92 100644 --- a/civicrm/CRM/Contact/BAO/Group.php +++ b/civicrm/CRM/Contact/BAO/Group.php @@ -334,6 +334,10 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { * The new group BAO (if created) */ public static function create(&$params) { + + // only check if we need to remove parents if a params was provided + $parentsParamProvided = array_key_exists('parents', $params); + $params += [ 'group_type' => NULL, 'parents' => NULL, @@ -357,8 +361,8 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { } } - // dev/core#287 Disable child groups if all parents are disabled. if (!empty($params['id'])) { + // dev/core#287 Disable child groups if all parents are disabled. $allChildGroupIds = self::getChildGroupIds($params['id']); foreach ($allChildGroupIds as $childKey => $childValue) { $parentIds = CRM_Contact_BAO_GroupNesting::getParentGroupIds($childValue); @@ -370,15 +374,24 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { self::setIsActive($childValue, (int) ($params['is_active'] ?? 1)); } } + + // get current parents for removal if not in the list anymore + $parents = CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_Group', $params['id'], 'parents'); + $currentParentGroupIDs = $parents ? explode(',', $parents) : []; } + // form the name only if missing: CRM-627 $nameParam = $params['name'] ?? NULL; if (!$nameParam && empty($params['id'])) { $params['name'] = CRM_Utils_String::titleToVar($params['title']); } - if (!CRM_Utils_System::isNull($params['parents'])) { + if ($parentsParamProvided) { $params['parents'] = CRM_Utils_Array::convertCheckboxFormatToArray((array) $params['parents']); + // failsafe: forbid adding itself as parent + if (!empty($params['id']) && ($key = array_search($params['id'], $params['parents'])) !== FALSE) { + unset($params['parents'][$key]); + } } // convert params if array type @@ -442,7 +455,17 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { $params['parents'] = [$domainGroupID]; } - // FIXME: Only allows adding parents, cannot remove them + // first deal with removed parents + if ($parentsParamProvided && !empty($currentParentGroupIDs)) { + foreach ($currentParentGroupIDs as $parentGroupId) { + // no more parents or not in the new list, let's remove + if (empty($params['parents']) || !in_array($parentGroupId, $params['parents'])) { + CRM_Contact_BAO_GroupNesting::remove($parentGroupId, $params['id']); + } + } + } + + // then add missing parents if (!CRM_Utils_System::isNull($params['parents'])) { foreach ($params['parents'] as $parentId) { if ($parentId && !CRM_Contact_BAO_GroupNesting::isParentChild($parentId, $group->id)) { @@ -451,9 +474,10 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group { } } - // this is always required, since we don't know when a - // parent group is removed - CRM_Contact_BAO_GroupNestingCache::update(); + // refresh cache if parents param was provided + if ($parentsParamProvided || !empty($params['parents'])) { + CRM_Contact_BAO_GroupNestingCache::update(); + } // update group contact cache for all parent groups $parentIds = CRM_Contact_BAO_GroupNesting::getParentGroupIds($group->id); diff --git a/civicrm/CRM/Contact/BAO/GroupContact.php b/civicrm/CRM/Contact/BAO/GroupContact.php index 22d8902d5463290eca7d254787e16250d8f07c11..2c2bfd50f95a7cae2e08f1c66bb765df0c295761 100644 --- a/civicrm/CRM/Contact/BAO/GroupContact.php +++ b/civicrm/CRM/Contact/BAO/GroupContact.php @@ -339,7 +339,9 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact implemen civicrm_group.id as group_id, civicrm_group.is_hidden as is_hidden, civicrm_subscription_history.date as date, - civicrm_subscription_history.method as method'; + civicrm_subscription_history.method as method, + civicrm_group.saved_search_id as saved_search_id'; + } $where = " WHERE contact_a.id = %1 AND civicrm_group.is_active = 1"; @@ -404,6 +406,7 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact implemen $values[$id]['title'] = ($public && !empty($group->group_public_title) ? $group->group_public_title : $dao->group_title); $values[$id]['visibility'] = $dao->visibility; $values[$id]['is_hidden'] = $dao->is_hidden; + $values[$id]['saved_search_id'] = $dao->saved_search_id; switch ($dao->status) { case 'Added': $prefix = 'in_'; @@ -419,11 +422,26 @@ class CRM_Contact_BAO_GroupContact extends CRM_Contact_DAO_GroupContact implemen $values[$id][$prefix . 'date'] = $dao->date; $values[$id][$prefix . 'method'] = $dao->method; if ($status == 'Removed') { - $query = "SELECT `date` as `date_added` FROM civicrm_subscription_history WHERE id = (SELECT max(id) FROM civicrm_subscription_history WHERE contact_id = %1 AND status = \"Added\" AND group_id = $dao->group_id )"; - $dateDAO = CRM_Core_DAO::executeQuery($query, $params); - if ($dateDAO->fetch()) { - $values[$id]['date_added'] = $dateDAO->date_added; - } + $subscriptionHistory = \Civi\Api4\SubscriptionHistory::get() + ->addSelect('date', 'status') + ->addWhere('contact_id', '=', $contactId) + ->addWhere('group_id', '=', $values[$id]['group_id']) + ->addWhere('status', 'IN', ['Added', 'Deleted']) + ->addOrderBy('date', 'DESC') + ->setLimit(1) + ->execute()->first(); + $values[$id]['date_added'] = ($subscriptionHistory && $subscriptionHistory['status'] === 'Added') ? $subscriptionHistory['date'] : NULL; + + $subscriptionRemovedHistory = \Civi\Api4\SubscriptionHistory::get() + ->addSelect('date') + ->addWhere('date', '>', ($subscriptionHistory) ? $subscriptionHistory['date'] : NULL) + ->addWhere('contact_id', '=', $contactId) + ->addWhere('group_id', '=', $values[$id]['group_id']) + ->addWhere('status', '=', 'Removed') + ->addOrderBy('date', 'ASC') + ->setLimit(1) + ->execute()->first(); + $values[$id]['out_date'] = ($subscriptionRemovedHistory) ? $subscriptionRemovedHistory['date'] : $values[$id]['out_date']; } } return $values; diff --git a/civicrm/CRM/Contact/BAO/GroupContactCache.php b/civicrm/CRM/Contact/BAO/GroupContactCache.php index 6c451f8bc6c1f5d7ba5420eeb20c6ec74a4856d8..8fc361e64ba365760e05a2d75a4ea3300dc7b98d 100644 --- a/civicrm/CRM/Contact/BAO/GroupContactCache.php +++ b/civicrm/CRM/Contact/BAO/GroupContactCache.php @@ -336,11 +336,12 @@ WHERE id IN ( $groupIDs ) /** * Load the smart group cache for a saved search. * - * @param object $group + * @param CRM_Core_DAO $group * The smart group that needs to be loaded. * @param bool $force * deprecated parameter = Should we force a search through. * + * return bool * @throws \CRM_Core_Exception */ public static function load($group, $force = FALSE) { @@ -361,6 +362,7 @@ WHERE id IN ( $groupIDs ) self::releaseGroupLocks([$groupID]); $groupContactsTempTable->drop(); } + return in_array($groupID, $lockedGroups); } /** @@ -482,14 +484,15 @@ ORDER BY gc.contact_id, g.children } /** - * Invalidates the smart group cache for a particular group - * @param int $groupID - Group to invalidate + * Invalidates the smart group cache for one or more groups + * @param int|int[] $groupID - Group to invalidate */ public static function invalidateGroupContactCache($groupID): void { + $groupIDs = implode(',', (array) $groupID); CRM_Core_DAO::executeQuery('UPDATE civicrm_group SET cache_date = NULL - WHERE id = %1 AND (saved_search_id IS NOT NULL OR children IS NOT NULL)', [ - 1 => [$groupID, 'Positive'], + WHERE id IN (%1) AND (saved_search_id IS NOT NULL OR children IS NOT NULL)', [ + 1 => [$groupIDs, 'CommaSeparatedIntegers'], ]); } @@ -781,12 +784,12 @@ ORDER BY gc.contact_id, g.children * @param string $tempTableName * @param int $groupID * @param int|null $savedSearchID - * @param string|null $children + * @param int[]|null $children * * @return void * @throws \CRM_Core_Exception */ - protected static function insertGroupContactsIntoTempTable(string $tempTableName, int $groupID, ?int $savedSearchID, ?string $children): void { + protected static function insertGroupContactsIntoTempTable(string $tempTableName, int $groupID, ?int $savedSearchID, ?array $children): void { if ($savedSearchID) { $savedSearch = SavedSearch::get(FALSE) ->addWhere('id', '=', $savedSearchID) @@ -835,8 +838,7 @@ AND civicrm_group_contact.group_id = $groupID "; $removed_contacts[] = $dao->contact_id; } - $childrenIDs = explode(',', $children); - foreach ($childrenIDs as $childID) { + foreach ($children as $childID) { $contactIDs = CRM_Contact_BAO_Group::getMember($childID, FALSE); // Unset each contact that is removed from the parent group foreach ($removed_contacts as $removed_contact) { diff --git a/civicrm/CRM/Contact/DAO/Group.php b/civicrm/CRM/Contact/DAO/Group.php index a56444d5aa628f5bd3c8d0e7ff41feb25c32f677..9eaf90901f78a695332d4fd81f2086aa818d6ba9 100644 --- a/civicrm/CRM/Contact/DAO/Group.php +++ b/civicrm/CRM/Contact/DAO/Group.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contact/Group.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:65f55d4c1449a2daf78f584395974789) + * (GenCodeChecksum:e98767d560ee98268e800a2aec983cea) */ /** @@ -174,16 +174,17 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { public $cache_date; /** - * Date and time when we need to refresh the cache next. + * Unused deprecated column. * * @var string * (SQL type: timestamp) * Note that values will be retrieved from the database as a string. + * @deprecated */ public $refresh_date; /** - * IDs of the parent(s) + * List of parent groups * * @var string|null * (SQL type: text) @@ -192,7 +193,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { public $parents; /** - * IDs of the child(ren) + * List of child groups (calculated) * * @var string|null * (SQL type: text) @@ -588,7 +589,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'name' => 'refresh_date', 'type' => CRM_Utils_Type::T_TIMESTAMP, 'title' => ts('Next Group Refresh Time'), - 'description' => ts('Date and time when we need to refresh the cache next.'), + 'description' => ts('Unused deprecated column.'), 'required' => FALSE, 'usage' => [ 'import' => FALSE, @@ -601,6 +602,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'entity' => 'Group', 'bao' => 'CRM_Contact_BAO_Group', 'localizable' => 0, + 'deprecated' => TRUE, 'readonly' => TRUE, 'add' => '4.3', ], @@ -608,7 +610,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'name' => 'parents', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Group Parents'), - 'description' => ts('IDs of the parent(s)'), + 'description' => ts('List of parent groups'), 'usage' => [ 'import' => FALSE, 'export' => FALSE, @@ -623,7 +625,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'serialize' => self::SERIALIZE_COMMA, 'html' => [ 'type' => 'EntityRef', - 'label' => ts("Parent Group(s)"), + 'label' => ts("Parent Groups"), ], 'pseudoconstant' => [ 'table' => 'civicrm_group', @@ -638,7 +640,7 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'name' => 'children', 'type' => CRM_Utils_Type::T_TEXT, 'title' => ts('Group Children'), - 'description' => ts('IDs of the child(ren)'), + 'description' => ts('List of child groups (calculated)'), 'usage' => [ 'import' => FALSE, 'export' => FALSE, @@ -650,6 +652,19 @@ class CRM_Contact_DAO_Group extends CRM_Core_DAO { 'entity' => 'Group', 'bao' => 'CRM_Contact_BAO_Group', 'localizable' => 0, + 'serialize' => self::SERIALIZE_COMMA, + 'html' => [ + 'type' => 'EntityRef', + 'label' => ts("Child Groups"), + ], + 'pseudoconstant' => [ + 'table' => 'civicrm_group', + 'keyColumn' => 'id', + 'labelColumn' => 'title', + 'nameColumn' => 'name', + 'prefetch' => 'FALSE', + ], + 'readonly' => TRUE, 'add' => '2.1', ], 'is_hidden' => [ diff --git a/civicrm/CRM/Contact/Form/Edit/Household.php b/civicrm/CRM/Contact/Form/Edit/Household.php index 2428454dfa9d19a6bd9ea5fe303f7874162758bb..aa83e5c8b5a595d2d859513520d203f4dca65f53 100644 --- a/civicrm/CRM/Contact/Form/Edit/Household.php +++ b/civicrm/CRM/Contact/Form/Edit/Household.php @@ -42,7 +42,7 @@ class CRM_Contact_Form_Edit_Household { if (!$inlineEditMode || $inlineEditMode == 2) { // nick_name $form->addField('nick_name'); - $form->addField('contact_source', ['label' => ts('Source')]); + $form->addField('contact_source', ['label' => ts('Contact Source')]); } if (!$inlineEditMode) { diff --git a/civicrm/CRM/Contact/Form/Task/AddToGroup.php b/civicrm/CRM/Contact/Form/Task/AddToGroup.php index 12ea9d10f6c351d07c574125df3515f01fe8b7ad..7a61aa1cf8ffabd895e32fc0c7cf9a684b3070a2 100644 --- a/civicrm/CRM/Contact/Form/Task/AddToGroup.php +++ b/civicrm/CRM/Contact/Form/Task/AddToGroup.php @@ -109,10 +109,6 @@ class CRM_Contact_Form_Task_AddToGroup extends CRM_Contact_Form_Task { if ($this->_context === 'amtg') { $groupElement->freeze(); - - // also set the group title - $groupValues = ['id' => $this->_id, 'title' => $this->_title]; - $this->assign_by_ref('group', $groupValues); } // Set dynamic page title for 'Add Members Group (confirm)' diff --git a/civicrm/CRM/Contact/Import/Parser/Contact.php b/civicrm/CRM/Contact/Import/Parser/Contact.php index 8aed047023554ca30293de85c579e958901c9ae9..2cc086a0c75624980d0c8e498ce1f1e39215a7b2 100644 --- a/civicrm/CRM/Contact/Import/Parser/Contact.php +++ b/civicrm/CRM/Contact/Import/Parser/Contact.php @@ -884,48 +884,52 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Import_Parser { $contact = get_object_vars($contactObj); foreach ($params as $key => $value) { - if ($key === 'id' || $key === 'contact_type' || $key === 'address') { + if (in_array($key, ['id', 'contact_type'])) { continue; } - - if ($customFieldId = CRM_Core_BAO_CustomField::getKeyID($key)) { - $custom_params = ['id' => $contact['id'], 'return' => $key]; - $getValue = civicrm_api3('Contact', 'getvalue', $custom_params); - if (empty($getValue)) { - unset($getValue); + // These values must be handled differently because we need to account for location type. + $checkLocationType = in_array($key, ['address', 'phone', 'email']); + + if (!$checkLocationType) { + if ($customFieldId = CRM_Core_BAO_CustomField::getKeyID($key)) { + $custom_params = ['id' => $contact['id'], 'return' => $key]; + $getValue = civicrm_api3('Contact', 'getvalue', $custom_params); + if (empty($getValue)) { + unset($getValue); + } + } + else { + $getValue = CRM_Utils_Array::retrieveValueRecursive($contact, $key); } - } - else { - $getValue = CRM_Utils_Array::retrieveValueRecursive($contact, $key); - } - if ($modeFill && isset($getValue)) { - unset($params[$key]); - if ($customFieldId) { - // Extra values must be unset to ensure the values are not - // imported. - unset($params['custom'][$customFieldId]); + if ($modeFill && isset($getValue)) { + unset($params[$key]); + if ($customFieldId) { + // Extra values must be unset to ensure the values are not + // imported. + unset($params['custom'][$customFieldId]); + } } } - } - - if (isset($params['address']) && is_array($params['address'])) { - foreach ($params['address'] as $key => $value) { - if ($modeFill) { - $getValue = CRM_Utils_Array::retrieveValueRecursive($contact, 'address'); - - if (isset($getValue)) { - foreach ($getValue as $cnt => $values) { - if ((!empty($getValue[$cnt]['location_type_id']) && !empty($params['address'][$key]['location_type_id'])) && $getValue[$cnt]['location_type_id'] == $params['address'][$key]['location_type_id']) { - unset($params['address'][$key]); + else { + if (is_array($params[$key]) ?? FALSE) { + foreach ($params[$key] as $innerKey => $value) { + if ($modeFill) { + $getValue = CRM_Utils_Array::retrieveValueRecursive($contact, $key); + if (isset($getValue)) { + foreach ($getValue as $cnt => $values) { + if ((!empty($getValue[$cnt]['location_type_id']) && !empty($params[$key][$innerKey]['location_type_id'])) && $getValue[$cnt]['location_type_id'] == $params[$key][$innerKey]['location_type_id']) { + unset($params[$key][$innerKey]); + } + } } } } + if (count($params[$key]) == 0) { + unset($params[$key]); + } } } - if (count($params['address']) == 0) { - unset($params['address']); - } } } diff --git a/civicrm/CRM/Contact/Page/View/Note.php b/civicrm/CRM/Contact/Page/View/Note.php index 0caffd6f3171cc99e4b03f2b1cd110ebe571e69e..ae4a3514886228df3a1cccf27b6ec71beb1adba2 100644 --- a/civicrm/CRM/Contact/Page/View/Note.php +++ b/civicrm/CRM/Contact/Page/View/Note.php @@ -236,12 +236,14 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page { 'url' => 'civicrm/contact/view/note', 'qs' => 'action=view&reset=1&cid=%%cid%%&id=%%id%%&selectedChild=note', 'title' => ts('View Note'), + 'weight' => -20, ], CRM_Core_Action::UPDATE => [ 'name' => ts('Edit'), 'url' => 'civicrm/contact/view/note', 'qs' => 'action=update&reset=1&cid=%%cid%%&id=%%id%%&selectedChild=note', 'title' => ts('Edit Note'), + 'weight' => -10, ], CRM_Core_Action::ADD => [ 'name' => ts('Comment'), @@ -254,6 +256,7 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page { 'url' => 'civicrm/contact/view/note', 'qs' => 'action=delete&reset=1&cid=%%cid%%&id=%%id%%&selectedChild=note', 'title' => ts('Delete Note'), + 'weight' => 100, ], ]; } @@ -270,18 +273,21 @@ class CRM_Contact_Page_View_Note extends CRM_Core_Page { 'url' => 'civicrm/contact/view/note', 'qs' => 'action=view&reset=1&cid=%%cid%%&id={id}&selectedChild=note', 'title' => ts('View Comment'), + 'weight' => -20, ], CRM_Core_Action::UPDATE => [ 'name' => ts('Edit'), 'url' => 'civicrm/contact/view/note', 'qs' => 'action=update&reset=1&cid=%%cid%%&id={id}&parentId=%%pid%%&selectedChild=note', 'title' => ts('Edit Comment'), + 'weight' => -10, ], CRM_Core_Action::DELETE => [ 'name' => ts('Delete'), 'url' => 'civicrm/contact/view/note', 'qs' => 'action=delete&reset=1&cid=%%cid%%&id={id}&selectedChild=note', 'title' => ts('Delete Comment'), + 'weight' => 100, ], ]; } diff --git a/civicrm/CRM/Contact/Page/View/Relationship.php b/civicrm/CRM/Contact/Page/View/Relationship.php index 1740059051e3117d6bd3005197fdf65ae2f0384c..f0d6e4d804f3febb130bb063f11d650420c9fb06 100644 --- a/civicrm/CRM/Contact/Page/View/Relationship.php +++ b/civicrm/CRM/Contact/Page/View/Relationship.php @@ -258,28 +258,33 @@ class CRM_Contact_Page_View_Relationship extends CRM_Core_Page { 'url' => 'civicrm/contact/view/rel', 'qs' => 'action=view&reset=1&cid=%%cid%%&id=%%id%%&rtype=%%rtype%%&selectedChild=rel', 'title' => ts('View Relationship'), + 'weight' => -20, ], CRM_Core_Action::UPDATE => [ 'name' => ts('Edit'), 'url' => 'civicrm/contact/view/rel', 'qs' => 'action=update&reset=1&cid=%%cid%%&id=%%id%%&rtype=%%rtype%%', 'title' => ts('Edit Relationship'), + 'weight' => -10, ], CRM_Core_Action::ENABLE => [ 'name' => ts('Enable'), 'ref' => 'crm-enable-disable', 'title' => ts('Enable Relationship'), + 'weight' => 30, ], CRM_Core_Action::DISABLE => [ 'name' => ts('Disable'), 'ref' => 'crm-enable-disable', 'title' => ts('Disable Relationship'), + 'weight' => 40, ], CRM_Core_Action::DELETE => [ 'name' => ts('Delete'), 'url' => 'civicrm/contact/view/rel', 'qs' => 'action=delete&reset=1&cid=%%cid%%&id=%%id%%&rtype=%%rtype%%', 'title' => ts('Delete Relationship'), + 'weight' => 100, ], // FIXME: Not sure what to put as the key. // We want to use it differently later anyway (see CRM_Contact_BAO_Relationship::getRelationship). NONE should make it hidden by default. diff --git a/civicrm/CRM/Contact/Selector.php b/civicrm/CRM/Contact/Selector.php index fa8d2da1f6cb571f286658b018132c86cc100b3c..888554112b28f40e9caa1da0389a180639864d1e 100644 --- a/civicrm/CRM/Contact/Selector.php +++ b/civicrm/CRM/Contact/Selector.php @@ -262,6 +262,7 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se 'qs' => "reset=1&cid=%%id%%{$searchContext}{$extraParams}", 'title' => ts('View Contact Details'), 'ref' => 'view-contact', + 'weight' => -20, ], CRM_Core_Action::UPDATE => [ 'name' => ts('Edit'), @@ -270,6 +271,7 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se 'qs' => "reset=1&action=update&cid=%%id%%{$searchContext}{$extraParams}", 'title' => ts('Edit Contact Details'), 'ref' => 'edit-contact', + 'weight' => -10, ], ]; @@ -777,6 +779,7 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se 'qs' => 'reset=1&cid=%%id%%', 'class' => 'no-popup', 'title' => ts('View Contact Details'), + 'weight' => -20, ], [ 'name' => ts('Restore'), @@ -791,6 +794,7 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se 'url' => 'civicrm/contact/view/delete', 'qs' => 'reset=1&cid=%%id%%&skip_undelete=1', 'title' => ts('Permanently Delete Contact'), + 'weight' => 100, ]; } $row['action'] = CRM_Core_Action::formLink( @@ -952,6 +956,7 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se 'qs' => 'reset=1&cid=%%id%%', 'class' => 'no-popup', 'title' => ts('View Contact Details'), + 'weight' => -20, ], [ 'name' => ts('Restore'), @@ -966,6 +971,7 @@ class CRM_Contact_Selector extends CRM_Core_Selector_Base implements CRM_Core_Se 'url' => 'civicrm/contact/view/delete', 'qs' => 'reset=1&cid=%%id%%&skip_undelete=1', 'title' => ts('Permanently Delete Contact'), + 'weight' => 100, ]; } $row['action'] = CRM_Core_Action::formLink( diff --git a/civicrm/CRM/Contact/StateMachine/Search.php b/civicrm/CRM/Contact/StateMachine/Search.php index 5d952a0a13449bf5d4ba207643cc122d18b37260..1a2a585bf35bd0881594b2ac11537c4817508d42 100644 --- a/civicrm/CRM/Contact/StateMachine/Search.php +++ b/civicrm/CRM/Contact/StateMachine/Search.php @@ -64,7 +64,7 @@ class CRM_Contact_StateMachine_Search extends CRM_Core_StateMachine { $this->_pages['CRM_Contact_Form_Task_Result'] = NULL; } - $this->addSequentialPages($this->_pages, $action); + $this->addSequentialPages($this->_pages); } /** diff --git a/civicrm/CRM/Contact/Tokens.php b/civicrm/CRM/Contact/Tokens.php index de25925709ffda0730fc668f3906ec511f4db5be..97d87b2d93b12646f8a62510a4982b1bb2cb682b 100644 --- a/civicrm/CRM/Contact/Tokens.php +++ b/civicrm/CRM/Contact/Tokens.php @@ -168,6 +168,7 @@ class CRM_Contact_Tokens extends CRM_Core_EntityTokens { 'job_title', 'gender_id', 'birth_date', + 'deceased_date', 'employer_id', 'is_deleted', 'created_date', diff --git a/civicrm/CRM/Contribute/BAO/Contribution.php b/civicrm/CRM/Contribute/BAO/Contribution.php index 15cca651f5f885601b50a9e64cbb244ba6493b83..574cde7f65bb706211a570323cd8ac4bdfb5d6e0 100644 --- a/civicrm/CRM/Contribute/BAO/Contribution.php +++ b/civicrm/CRM/Contribute/BAO/Contribution.php @@ -1786,16 +1786,13 @@ LEFT JOIN civicrm_contribution contribution ON ( componentPayment.contribution_ * */ public static function transitionComponents($params) { - $contributionStatus = CRM_Core_PseudoConstant::getName('CRM_Contribute_BAO_Contribution', 'contribution_status_id', $params['contribution_status_id']); - $previousStatus = CRM_Core_PseudoConstant::getName('CRM_Contribute_BAO_Contribution', 'contribution_status_id', $params['previous_contribution_status_id']); // @todo fix the one place that calls this function to use Payment.create // remove this. // get minimum required values. $contributionId = $params['contribution_id']; - $contributionStatusId = $params['contribution_status_id']; // we process only ( Completed, Cancelled, or Failed ) contributions. - if (!$contributionId || $contributionStatus !== 'Completed') { + if (!$contributionId) { return; } @@ -1880,12 +1877,6 @@ LEFT JOIN civicrm_contribution contribution ON ( componentPayment.contribution_ ); } - // only pending contribution related object processed. - if (!in_array($previousStatus, ['Pending', 'Partially paid'])) { - // this is case when we already processed contribution object. - return; - } - if (is_array($memberships)) { foreach ($memberships as $membership) { if ($membership) { @@ -2039,7 +2030,7 @@ LEFT JOIN civicrm_contribution contribution ON ( componentPayment.contribution_ } if ($pledgePayment) { - CRM_Pledge_BAO_PledgePayment::updatePledgePaymentStatus($pledgeID, $pledgePaymentIDs, $contributionStatusId); + CRM_Pledge_BAO_PledgePayment::updatePledgePaymentStatus($pledgeID, $pledgePaymentIDs, CRM_Core_PseudoConstant::getKey('CRM_Contribute_BAO_Contribution', 'contribution_status_id', 'Completed')); } } @@ -2472,9 +2463,11 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac $this->_component = 'event'; } else { - $this->_component = strtolower(CRM_Utils_Array::value('component', $input, 'contribute')); + $this->_component = $input['component'] ?? 'contribute'; } } + // @todo remove strtolower - check consistency + $this->_component = strtolower($this->_component); // If the object is not fully populated then make sure it is - this is a more about legacy paths & cautious // refactoring than anything else, and has unit test coverage. @@ -2482,10 +2475,7 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac $this->find(TRUE); } - $paymentProcessorID = CRM_Utils_Array::value('payment_processor_id', $input, CRM_Utils_Array::value( - 'paymentProcessor', - $ids - )); + $paymentProcessorID = $input['payment_processor_id'] ?? $ids['paymentProcessor'] ?? NULL; if (!isset($input['payment_processor_id']) && !$paymentProcessorID && $this->contribution_page_id) { $paymentProcessorID = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_ContributionPage', @@ -2498,10 +2488,7 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac } $this->loadRelatedObjects($paymentProcessorID, $ids); - - if (empty($this->_component)) { - $this->_component = $input['component'] ?? NULL; - } + $paymentProcessor = $this->_relatedObjects['paymentProcessor'] ?? NULL; //not really sure what params might be passed in but lets merge em into values $values = array_merge($this->_gatherMessageValues($input, $values, $ids), $values); @@ -2515,8 +2502,8 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac $template = $this->_assignMessageVariablesToTemplate($values, $input, $returnMessageText); //what does recur 'mean here - to do with payment processor return functionality but // what is the importance - if (!empty($this->contribution_recur_id) && !empty($this->_relatedObjects['paymentProcessor'])) { - $paymentObject = Civi\Payment\System::singleton()->getByProcessor($this->_relatedObjects['paymentProcessor']); + if (!empty($this->contribution_recur_id) && !empty($paymentProcessor)) { + $paymentObject = Civi\Payment\System::singleton()->getByProcessor($paymentProcessor); $entityID = $entity = NULL; if (isset($ids['contribution'])) { @@ -2524,7 +2511,7 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac $entityID = $ids['contribution']; } if (!empty($ids['membership'])) { - //not sure whether is is possible for this not to be an array - load related contacts loads an array but this code was expecting a string + // not sure whether it is possible for this not to be an array - load related contacts loads an array but this code was expecting a string // the addition of the casting is in case it could get here & be a string. Added in 4.6 - maybe remove later? This AuthorizeNetIPN & PaypalIPN tests hit this // line having loaded an array $ids['membership'] = (array) $ids['membership']; @@ -2536,16 +2523,17 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac $template->assign('updateSubscriptionBillingUrl', $paymentObject->subscriptionURL($entityID, $entity, 'billing')); $template->assign('updateSubscriptionUrl', $paymentObject->subscriptionURL($entityID, $entity, 'update')); } - // todo remove strtolower - check consistency - if (strtolower($this->_component) === 'event') { - $eventParams = ['id' => $this->_relatedObjects['participant']->event_id]; + + if ($this->_component === 'event') { + $eventID = $this->_relatedObjects['participant']->event_id; + $eventParams = ['id' => $eventID]; $values['event'] = []; CRM_Event_BAO_Event::retrieve($eventParams, $values['event']); //get location details $locationParams = [ - 'entity_id' => $this->_relatedObjects['participant']->event_id, + 'entity_id' => $eventID, 'entity_table' => 'civicrm_event', ]; $values['location'] = CRM_Core_BAO_Location::getValues($locationParams); @@ -3616,7 +3604,7 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac $info['transaction'] = self::getContributionTransactionInformation($contributionId, $contribution['financial_type_id']); } - $info['payment_links'] = self::getContributionPaymentLinks($id, $info['contribution_status']); + $info['payment_links'] = self::getContributionPaymentLinks($contributionId, $info['contribution_status']); return $info; } diff --git a/civicrm/CRM/Contribute/BAO/ContributionPage.php b/civicrm/CRM/Contribute/BAO/ContributionPage.php index 43a401bdf0afa01126a42be158e4e631352f4fff..94aeb0555658a47a0592f1f2858204d7d116060e 100644 --- a/civicrm/CRM/Contribute/BAO/ContributionPage.php +++ b/civicrm/CRM/Contribute/BAO/ContributionPage.php @@ -17,11 +17,13 @@ use Civi\Api4\Contribution; use Civi\Api4\LineItem; +use Civi\Core\Event\PostEvent; +use Civi\Core\HookInterface; /** * This class contains Contribution Page related functions. */ -class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_ContributionPage { +class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_ContributionPage implements HookInterface { /** * Creates a contribution page. @@ -31,25 +33,22 @@ class CRM_Contribute_BAO_ContributionPage extends CRM_Contribute_DAO_Contributio * @return CRM_Contribute_DAO_ContributionPage */ public static function create($params) { - $financialTypeId = NULL; - if (!empty($params['id']) && !CRM_Price_BAO_PriceSet::getFor('civicrm_contribution_page', $params['id'], NULL, 1)) { - $financialTypeId = CRM_Core_DAO::getFieldValue('CRM_Contribute_DAO_ContributionPage', $params['id'], 'financial_type_id'); - } - + // @todo - this implode is probably handled by writeRecord - test & remove. if (isset($params['payment_processor']) && is_array($params['payment_processor'])) { $params['payment_processor'] = implode(CRM_Core_DAO::VALUE_SEPARATOR, $params['payment_processor']); } - $hook = empty($params['id']) ? 'create' : 'edit'; - CRM_Utils_Hook::pre($hook, 'ContributionPage', CRM_Utils_Array::value('id', $params), $params); - $dao = new CRM_Contribute_DAO_ContributionPage(); - $dao->copyValues($params); - $dao->save(); - if ($financialTypeId && !empty($params['financial_type_id']) && $financialTypeId != $params['financial_type_id']) { - CRM_Price_BAO_PriceFieldValue::updateFinancialType($params['id'], 'civicrm_contribution_page', $params['financial_type_id']); - } - CRM_Utils_Hook::post($hook, 'ContributionPage', $dao->id, $dao); + return self::writeRecord($params); + } + + /** + * Callback for hook_civicrm_post(). + * + * @param \Civi\Core\Event\PostEvent $event + * + * @noinspection PhpUnusedParameterInspection + */ + public static function self_hook_civicrm_post(PostEvent $event): void { CRM_Core_PseudoConstant::flush(); - return $dao; } /** diff --git a/civicrm/CRM/Contribute/BAO/ContributionSoft.php b/civicrm/CRM/Contribute/BAO/ContributionSoft.php index 8c7160f944b9b822c7b7097738d46465262a5fa2..5843115465c1b2ab674849a3fb108a2fe7a59ad5 100644 --- a/civicrm/CRM/Contribute/BAO/ContributionSoft.php +++ b/civicrm/CRM/Contribute/BAO/ContributionSoft.php @@ -405,6 +405,7 @@ class CRM_Contribute_BAO_ContributionSoft extends CRM_Contribute_DAO_Contributio 'url' => 'civicrm/contact/view/contribution', 'qs' => 'reset=1&id=%%contributionid%%&cid=%%contactId%%&action=view&context=contribution&selectedChild=contribute', 'title' => ts('View related contribution'), + 'weight' => -20, ], ]; diff --git a/civicrm/CRM/Contribute/DAO/Contribution.php b/civicrm/CRM/Contribute/DAO/Contribution.php index 9dc635a8659765df559dfb7aee5835a83ab061ca..42014c57797b45862cd41fd9af9abd096bb92f3c 100644 --- a/civicrm/CRM/Contribute/DAO/Contribution.php +++ b/civicrm/CRM/Contribute/DAO/Contribution.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contribute/Contribution.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:7d2bdf2a0e9b14874e40ba3475e7d2cb) + * (GenCodeChecksum:c612cd79d620e91f7498a3883c635293) */ /** @@ -96,8 +96,6 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { public $payment_instrument_id; /** - * Date contribution was received - not necessarily the creation date of the record - * * @var string|null * (SQL type: datetime) * Note that values will be retrieved from the database as a string. @@ -482,6 +480,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'table' => 'civicrm_contribution_page', 'keyColumn' => 'id', 'labelColumn' => 'title', + 'nameColumn' => 'name', ], 'add' => '1.5', ], @@ -517,8 +516,7 @@ class CRM_Contribute_DAO_Contribution extends CRM_Core_DAO { 'receive_date' => [ 'name' => 'receive_date', 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME, - 'title' => ts('Date Received'), - 'description' => ts('Date contribution was received - not necessarily the creation date of the record'), + 'title' => ts('Contribution Date'), 'usage' => [ 'import' => TRUE, 'export' => TRUE, diff --git a/civicrm/CRM/Contribute/DAO/ContributionPage.php b/civicrm/CRM/Contribute/DAO/ContributionPage.php index c3744c8dfe1251624db12c34ddc54b351d22521a..a5ca0ed500b0162dc0ddc62d3d3cec3da480e9c1 100644 --- a/civicrm/CRM/Contribute/DAO/ContributionPage.php +++ b/civicrm/CRM/Contribute/DAO/ContributionPage.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contribute/ContributionPage.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:fce845eb898447e06ebfa547ae8fa37c) + * (GenCodeChecksum:fff705a45cbf2750018b57a05e5b1cb2) */ /** @@ -38,6 +38,17 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { */ public static $_log = TRUE; + /** + * Paths for accessing this entity in the UI. + * + * @var string[] + */ + protected static $_paths = [ + 'add' => 'civicrm/admin/contribute/add?reset=1&action=add', + 'update' => 'civicrm/admin/contribute/settings?reset=1&action=update&id=[id]', + 'delete' => 'civicrm/admin/contribute?reset=1&action=delete&id=[id]', + ]; + /** * Contribution ID * @@ -50,12 +61,30 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { /** * Contribution Page title. For top of page display * - * @var string|null + * @var string * (SQL type: varchar(255)) * Note that values will be retrieved from the database as a string. */ public $title; + /** + * Contribution Page Public title + * + * @var string + * (SQL type: varchar(255)) + * Note that values will be retrieved from the database as a string. + */ + public $frontend_title; + + /** + * Unique name for identifying contribution page + * + * @var string + * (SQL type: varchar(255)) + * Note that values will be retrieved from the database as a string. + */ + public $name; + /** * Text and html allowed. Displayed below title. * @@ -443,15 +472,6 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { */ public $is_billing_required; - /** - * Contribution Page Public title - * - * @var string|null - * (SQL type: varchar(255)) - * Note that values will be retrieved from the database as a string. - */ - public $frontend_title; - /** * Class constructor. */ @@ -521,8 +541,9 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'title' => [ 'name' => 'title', 'type' => CRM_Utils_Type::T_STRING, - 'title' => ts('Contribution Page Title'), + 'title' => ts('Page Name'), 'description' => ts('Contribution Page title. For top of page display'), + 'required' => TRUE, 'maxlength' => 255, 'size' => CRM_Utils_Type::HUGE, 'usage' => [ @@ -536,8 +557,59 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'entity' => 'ContributionPage', 'bao' => 'CRM_Contribute_BAO_ContributionPage', 'localizable' => 1, + 'html' => [ + 'type' => 'Text', + ], 'add' => '1.3', ], + 'frontend_title' => [ + 'name' => 'frontend_title', + 'type' => CRM_Utils_Type::T_STRING, + 'title' => ts('Public Title'), + 'description' => ts('Contribution Page Public title'), + 'required' => TRUE, + 'maxlength' => 255, + 'size' => CRM_Utils_Type::HUGE, + 'usage' => [ + 'import' => FALSE, + 'export' => FALSE, + 'duplicate_matching' => FALSE, + 'token' => FALSE, + ], + 'where' => 'civicrm_contribution_page.frontend_title', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', + 'localizable' => 1, + 'html' => [ + 'type' => 'Text', + ], + 'add' => '5.20', + ], + 'name' => [ + 'name' => 'name', + 'type' => CRM_Utils_Type::T_STRING, + 'title' => ts('Unique Name'), + 'description' => ts('Unique name for identifying contribution page'), + 'required' => TRUE, + 'maxlength' => 255, + 'size' => CRM_Utils_Type::HUGE, + 'usage' => [ + 'import' => FALSE, + 'export' => FALSE, + 'duplicate_matching' => FALSE, + 'token' => FALSE, + ], + 'where' => 'civicrm_contribution_page.name', + 'table_name' => 'civicrm_contribution_page', + 'entity' => 'ContributionPage', + 'bao' => 'CRM_Contribute_BAO_ContributionPage', + 'localizable' => 0, + 'html' => [ + 'type' => 'Text', + ], + 'add' => '5.63', + ], 'intro_text' => [ 'name' => 'intro_text', 'type' => CRM_Utils_Type::T_TEXT, @@ -1474,30 +1546,6 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { 'localizable' => 0, 'add' => '4.6', ], - 'contribution_page_frontend_title' => [ - 'name' => 'frontend_title', - 'type' => CRM_Utils_Type::T_STRING, - 'title' => ts('Public Title'), - 'description' => ts('Contribution Page Public title'), - 'maxlength' => 255, - 'size' => CRM_Utils_Type::HUGE, - 'usage' => [ - 'import' => FALSE, - 'export' => FALSE, - 'duplicate_matching' => FALSE, - 'token' => FALSE, - ], - 'where' => 'civicrm_contribution_page.frontend_title', - 'default' => NULL, - 'table_name' => 'civicrm_contribution_page', - 'entity' => 'ContributionPage', - 'bao' => 'CRM_Contribute_BAO_ContributionPage', - 'localizable' => 1, - 'html' => [ - 'type' => 'Text', - ], - 'add' => '5.20', - ], ]; CRM_Core_DAO_AllCoreTables::invoke(__CLASS__, 'fields_callback', Civi::$statics[__CLASS__]['fields']); } @@ -1567,7 +1615,17 @@ class CRM_Contribute_DAO_ContributionPage extends CRM_Core_DAO { * @return array */ public static function indices($localize = TRUE) { - $indices = []; + $indices = [ + 'UI_name' => [ + 'name' => 'UI_name', + 'field' => [ + 0 => 'name', + ], + 'localizable' => FALSE, + 'unique' => TRUE, + 'sig' => 'civicrm_contribution_page::1::name', + ], + ]; return ($localize && !empty($indices)) ? CRM_Core_DAO_AllCoreTables::multilingualize(__CLASS__, $indices) : $indices; } diff --git a/civicrm/CRM/Contribute/DAO/ContributionProduct.php b/civicrm/CRM/Contribute/DAO/ContributionProduct.php index 50a6d61861fd269222976d4063ea6e7c7b4cafd1..b3789b57ae11817daf2782bc0caeb8838d94275f 100644 --- a/civicrm/CRM/Contribute/DAO/ContributionProduct.php +++ b/civicrm/CRM/Contribute/DAO/ContributionProduct.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contribute/ContributionProduct.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:20ccf80c5280f4b58e393bf82835115a) + * (GenCodeChecksum:ffe5040ca99302edbb97acf3b183f9c7) */ /** @@ -213,6 +213,7 @@ class CRM_Contribute_DAO_ContributionProduct extends CRM_Core_DAO { 'localizable' => 0, 'FKClassName' => 'CRM_Contribute_DAO_Contribution', 'html' => [ + 'type' => 'EntityRef', 'label' => ts("Contribution"), ], 'add' => '1.4', diff --git a/civicrm/CRM/Contribute/DAO/ContributionSoft.php b/civicrm/CRM/Contribute/DAO/ContributionSoft.php index 2c08459852515bce19e62bac75451079835a9ede..7189e1119b6d75982c2bcbf63889c8bc8e2dc51c 100644 --- a/civicrm/CRM/Contribute/DAO/ContributionSoft.php +++ b/civicrm/CRM/Contribute/DAO/ContributionSoft.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Contribute/ContributionSoft.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:e51d55bf4217e9a9a49be631ff630366) + * (GenCodeChecksum:d205401be46596f6de807e4b45ab18fd) */ /** @@ -202,6 +202,7 @@ class CRM_Contribute_DAO_ContributionSoft extends CRM_Core_DAO { 'localizable' => 0, 'FKClassName' => 'CRM_Contribute_DAO_Contribution', 'html' => [ + 'type' => 'EntityRef', 'label' => ts("Contribution"), ], 'add' => '2.2', diff --git a/civicrm/CRM/Contribute/Form/AdditionalInfo.php b/civicrm/CRM/Contribute/Form/AdditionalInfo.php index e3ff273dfc100acd43cc6912543f055facaa1867..f14aa60698614c59f176feaa27447c3c1b99dfe0 100644 --- a/civicrm/CRM/Contribute/Form/AdditionalInfo.php +++ b/civicrm/CRM/Contribute/Form/AdditionalInfo.php @@ -127,7 +127,7 @@ class CRM_Contribute_Form_AdditionalInfo { } $form->add('select', 'contribution_page_id', - ts('Online Contribution Page'), + ts('Contribution Page'), [ '' => ts('- select -'), ] + diff --git a/civicrm/CRM/Contribute/Form/AdditionalPayment.php b/civicrm/CRM/Contribute/Form/AdditionalPayment.php index 97369550449eb9401b59a2d161107f0a957c9862..f2247c09698338dd92b0bf2da9001b85dc58831b 100644 --- a/civicrm/CRM/Contribute/Form/AdditionalPayment.php +++ b/civicrm/CRM/Contribute/Form/AdditionalPayment.php @@ -152,15 +152,23 @@ class CRM_Contribute_Form_AdditionalPayment extends CRM_Contribute_Form_Abstract $defaults['trxn_date'] = date('Y-m-d H:i:s'); } - if ($this->isARefund() && $this->amountDue < 0) { - $defaults['total_amount'] = CRM_Utils_Money::formatLocaleNumericRoundedForDefaultCurrency(abs($this->amountDue)); + if ($this->isARefund()) { + if ($this->amountDue < 0) { + $defaults['total_amount'] = CRM_Utils_Money::formatLocaleNumericRoundedForDefaultCurrency(abs($this->amountDue)); + } } - elseif ($this->_owed && $this->amountDue > 0) { + elseif ($this->_owed) { $defaults['total_amount'] = CRM_Utils_Money::formatLocaleNumericRoundedForDefaultCurrency($this->_owed); } // Set $newCredit variable in template to control whether link to credit card mode is included $this->assign('newCredit', CRM_Core_Config::isEnabledBackOfficeCreditCardPayments()); + + $defaults['payment_instrument_id'] = \Civi\Api4\Contribution::get(FALSE) + ->addSelect('payment_instrument_id') + ->addWhere('id', '=', $this->_contributionId) + ->execute()->first()['payment_instrument_id']; + return $defaults; } @@ -205,7 +213,7 @@ class CRM_Contribute_Form_AdditionalPayment extends CRM_Contribute_Form_Abstract $this->add('textarea', 'receipt_text', ts('Confirmation Message')); - $this->addField('trxn_date', ['entity' => 'FinancialTrxn', 'label' => $this->isARefund() ? ts('Refund Date') : ts('Date Received'), 'context' => 'Contribution'], FALSE, FALSE); + $this->addField('trxn_date', ['entity' => 'FinancialTrxn', 'label' => $this->isARefund() ? ts('Refund Date') : ts('Contribution Date'), 'context' => 'Contribution'], FALSE, FALSE); if ($this->_contactId && $this->_id) { if ($this->_component == 'event') { @@ -238,9 +246,12 @@ class CRM_Contribute_Form_AdditionalPayment extends CRM_Contribute_Form_Abstract $attributes['fee_amount'] ); $this->addRule('fee_amount', ts('Please enter a valid monetary value for Fee Amount.'), 'money'); + $buttonName = $this->isARefund() ? ts('Record Refund') : ts('Record Payment'); + } + else { + $buttonName = ts('Submit Payment'); } - $buttonName = $this->isARefund() ? ts('Record Refund') : ts('Record Payment'); $this->addButtons([ [ 'type' => 'upload', diff --git a/civicrm/CRM/Contribute/Form/Contribution.php b/civicrm/CRM/Contribute/Form/Contribution.php index e1fe1e7aeff3ab6a1d8511e8807adb1474826730..d4500ecd1fceabc80c33fa00f9f903cac26ef418 100644 --- a/civicrm/CRM/Contribute/Form/Contribution.php +++ b/civicrm/CRM/Contribute/Form/Contribution.php @@ -794,7 +794,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP ); } - $this->add('text', 'source', ts('Source'), CRM_Utils_Array::value('source', $attributes)); + $this->add('text', 'source', ts('Contribution Source'), CRM_Utils_Array::value('source', $attributes)); // CRM-7362 --add campaigns. CRM_Campaign_BAO_Campaign::addCampaign($this, CRM_Utils_Array::value('campaign_id', $this->_values)); @@ -1791,15 +1791,16 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP } $contribution = CRM_Contribute_BAO_Contribution::create($params); + $previousStatus = CRM_Core_PseudoConstant::getName('CRM_Contribute_BAO_Contribution', 'contribution_status_id', $this->_values['contribution_status_id'] ?? NULL); // process associated membership / participant, CRM-4395 - if ($contribution->id && $action & CRM_Core_Action::UPDATE) { + if ($contribution->id && $action & CRM_Core_Action::UPDATE + && in_array($previousStatus, ['Pending', 'Partially paid'], TRUE) + && 'Completed' === CRM_Core_PseudoConstant::getName('CRM_Contribute_BAO_Contribution', 'contribution_status_id', $this->getSubmittedValue('contribution_status_id'))) { // @todo use Payment.create to do this, remove transitioncomponents function // if contribution is being created with a completed status it should be // created pending & then Payment.create adds the payment CRM_Contribute_BAO_Contribution::transitionComponents([ 'contribution_id' => $contribution->id, - 'contribution_status_id' => $contribution->contribution_status_id, - 'previous_contribution_status_id' => $this->_values['contribution_status_id'] ?? NULL, 'receive_date' => $contribution->receive_date, ]); } @@ -1836,6 +1837,21 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP CRM_Contribute_Form_AdditionalInfo::processNote($submittedValues, $this->_contactID, $contribution->id, $this->_noteID); } + // If financial type has changed from non-deductible to deductible, let the user know so they can adjust the non-deductible amount + $toType = $submittedValues['financial_type_id'] ?? NULL; + $fromType = $this->_defaults['financial_type_id'] ?? NULL; + if (($this->_action & CRM_Core_Action::UPDATE) && ($toType != $fromType) && ($submittedValues['non_deductible_amount'] ?? NULL)) { + $deductible = \Civi\Api4\FinancialType::get(TRUE) + ->addSelect('is_deductible') + ->addWhere('id', 'IN', [$toType, $fromType]) + ->execute()->indexBy('id')->column('is_deductible'); + if ($deductible[$fromType] == FALSE && $deductible[$toType] == TRUE) { + CRM_Core_Session::setStatus(ts("You've changed the financial type for this %1 contribution from non-tax deductible to tax deductible, but the non-deductible amount of %2 has not been changed. This could prevent a tax receipt from being issued correctly. You may want to edit the non-deductible amount.", + [1 => Civi::format()->money($submittedValues['total_amount']), 2 => Civi::format()->money($submittedValues['non_deductible_amount'])]), + ts('Non-deductible amount'), 'alert', ['expires' => 30000]); + } + } + CRM_Core_Session::setStatus(implode(' ', $this->statusMessage), $this->statusMessageTitle, 'success'); CRM_Contribute_BAO_Contribution::updateRelatedPledge( diff --git a/civicrm/CRM/Contribute/Form/Contribution/Confirm.php b/civicrm/CRM/Contribute/Form/Contribution/Confirm.php index 1828aa6aa023e0bc9c311106a92a5b4238914a85..5b28abd7af396682fd72bc4fe2fa0b43abfcadc3 100644 --- a/civicrm/CRM/Contribute/Form/Contribution/Confirm.php +++ b/civicrm/CRM/Contribute/Form/Contribution/Confirm.php @@ -672,7 +672,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr if ($this->_membershipBlock) { $this->_currentMemberships = []; - $membershipTypeIds = $membershipTypes = $radio = $radioOptAttrs = []; + $membershipTypeIds = $membershipTypes = []; $membershipPriceset = (!empty($this->_priceSetId) && $this->_useForMember); $autoRenewMembershipTypeOptions = []; @@ -745,19 +745,13 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr elseif ($memType['is_active']) { if ($allowAutoRenewOpt) { - $javascriptMethod = ['onclick' => "return showHideAutoRenew( this.value );"]; $isAvailableAutoRenew = $this->_membershipBlock['auto_renew'][$value] ?? 1; $autoRenewMembershipTypeOptions["autoRenewMembershipType_{$value}"] = (int) $memType['auto_renew'] * $isAvailableAutoRenew; - $allowAutoRenewMembership = TRUE; } else { - $javascriptMethod = NULL; $autoRenewMembershipTypeOptions["autoRenewMembershipType_{$value}"] = 0; } - //add membership type. - $radio[$memType['id']] = NULL; - $radioOptAttrs[$memType['id']] = $javascriptMethod; if ($cid) { $membership = new CRM_Member_DAO_Membership(); $membership->contact_id = $cid; @@ -776,8 +770,6 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr if ($membership->find(TRUE)) { if (!$membership->end_date) { - unset($radio[$memType['id']]); - unset($radioOptAttrs[$memType['id']]); $this->assign('islifetime', TRUE); continue; } @@ -1600,7 +1592,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr $membershipSource = $form->_params['membership_source']; } elseif ((isset($form->_values['title']) && !empty($form->_values['title'])) || (isset($form->_values['frontend_title']) && !empty($form->_values['frontend_title']))) { - $title = !empty($form->_values['frontend_title']) ? $form->_values['frontend_title'] : $form->_values['title']; + $title = $form->_values['frontend_title']; $membershipSource = ts('Online Contribution:') . ' ' . $title; } $isPayLater = NULL; @@ -2141,7 +2133,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr } } // add a description field at the very beginning - $title = !empty($this->_values['frontend_title']) ? $this->_values['frontend_title'] : $this->_values['title']; + $title = $this->_values['frontend_title']; $this->_params['description'] = ts('Online Contribution') . ': ' . (!empty($this->_pcpInfo['title']) ? $this->_pcpInfo['title'] : $title); $this->_params['accountingCode'] = $this->_values['accountingCode'] ?? NULL; diff --git a/civicrm/CRM/Contribute/Form/Contribution/Main.php b/civicrm/CRM/Contribute/Form/Contribution/Main.php index 027a68b0657e1aac54c52f5e91b547048174be26..c34b3f4bf1bdbc47c2b8ae1ac3fcdde4000269cc 100644 --- a/civicrm/CRM/Contribute/Form/Contribution/Main.php +++ b/civicrm/CRM/Contribute/Form/Contribution/Main.php @@ -108,10 +108,7 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu $qParams .= "&pcpId={$pcpId}"; } $this->assign('qParams', $qParams); - - if (!empty($this->_values['footer_text'])) { - $this->assign('footer_text', $this->_values['footer_text']); - } + $this->assign('footer_text', $this->_values['footer_text'] ?? NULL); } /** @@ -432,7 +429,6 @@ class CRM_Contribute_Form_Contribution_Main extends CRM_Contribute_Form_Contribu $prms = ['id' => $this->_pcpId]; CRM_Core_DAO::commonRetrieve('CRM_PCP_DAO_PCP', $prms, $pcpInfo); if ($pcpInfo['is_honor_roll']) { - $this->assign('isHonor', TRUE); $this->add('checkbox', 'pcp_display_in_roll', ts('Show my contribution in the public honor roll'), NULL, NULL, ['onclick' => "showHideByValue('pcp_display_in_roll','','nameID|nickID|personalNoteID','block','radio',false); pcpAnonymous( );"] ); diff --git a/civicrm/CRM/Contribute/Form/Contribution/ThankYou.php b/civicrm/CRM/Contribute/Form/Contribution/ThankYou.php index aa93b81f66d778567fb6d9cdd4544492831327b3..85df7bdb86f03ac9ee92df42a659162bdc768235 100644 --- a/civicrm/CRM/Contribute/Form/Contribution/ThankYou.php +++ b/civicrm/CRM/Contribute/Form/Contribution/ThankYou.php @@ -309,7 +309,7 @@ class CRM_Contribute_Form_Contribution_ThankYou extends CRM_Contribute_Form_Cont if ($this->_membershipBlock) { $this->_currentMemberships = []; - $membershipTypeIds = $membershipTypes = $radio = $radioOptAttrs = []; + $membershipTypeIds = $membershipTypes = []; $membershipPriceset = (!empty($this->_priceSetId) && $this->_useForMember); $autoRenewMembershipTypeOptions = []; @@ -372,19 +372,14 @@ class CRM_Contribute_Form_Contribution_ThankYou extends CRM_Contribute_Form_Cont elseif ($memType['is_active']) { if ($allowAutoRenewOpt) { - $javascriptMethod = ['onclick' => "return showHideAutoRenew( this.value );"]; $isAvailableAutoRenew = $this->_membershipBlock['auto_renew'][$value] ?? 1; $autoRenewMembershipTypeOptions["autoRenewMembershipType_{$value}"] = (int) $memType['auto_renew'] * $isAvailableAutoRenew; - $allowAutoRenewMembership = TRUE; } else { - $javascriptMethod = NULL; $autoRenewMembershipTypeOptions["autoRenewMembershipType_{$value}"] = 0; } //add membership type. - $radio[$memType['id']] = NULL; - $radioOptAttrs[$memType['id']] = $javascriptMethod; if ($cid) { $membership = new CRM_Member_DAO_Membership(); $membership->contact_id = $cid; @@ -403,8 +398,6 @@ class CRM_Contribute_Form_Contribution_ThankYou extends CRM_Contribute_Form_Cont if ($membership->find(TRUE)) { if (!$membership->end_date) { - unset($radio[$memType['id']]); - unset($radioOptAttrs[$memType['id']]); $this->assign('islifetime', TRUE); continue; } diff --git a/civicrm/CRM/Contribute/Form/ContributionBase.php b/civicrm/CRM/Contribute/Form/ContributionBase.php index e534637bc518457173e984a1d9046dce629da1f0..e97fd445360bc6033992c08bcdbbf40a87d87a0c 100644 --- a/civicrm/CRM/Contribute/Form/ContributionBase.php +++ b/civicrm/CRM/Contribute/Form/ContributionBase.php @@ -497,7 +497,7 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form { CRM_Utils_Array::value('cancelSubscriptionUrl', $this->_values) ); - $title = !empty($this->_values['frontend_title']) ? $this->_values['frontend_title'] : $this->_values['title']; + $title = $this->_values['frontend_title']; $this->setTitle(($this->_pcpId ? $this->_pcpInfo['title'] : $title)); $this->_defaults = []; diff --git a/civicrm/CRM/Contribute/Form/ContributionPage/Amount.php b/civicrm/CRM/Contribute/Form/ContributionPage/Amount.php index 2a2a43546dd9e3321f3f9eac641b476e2ec29066..be00fb12b98267689ebc231b19f54796d4c2688a 100644 --- a/civicrm/CRM/Contribute/Form/ContributionPage/Amount.php +++ b/civicrm/CRM/Contribute/Form/ContributionPage/Amount.php @@ -145,9 +145,11 @@ class CRM_Contribute_Form_ContributionPage_Amount extends CRM_Contribute_Form_Co $this->assign('price', TRUE); } - $this->addField('price_set_id', [ - 'entity' => 'PriceField', + $this->addSelect('price_set_id', [ + 'entity' => 'PriceSet', + 'option_url' => 'civicrm/admin/price', 'options' => $price, + 'label' => ts('Price Set'), 'onchange' => "showHideAmountBlock( this.value, 'price_set_id' );", ]); diff --git a/civicrm/CRM/Contribute/Form/ContributionPage/Settings.php b/civicrm/CRM/Contribute/Form/ContributionPage/Settings.php index b6991b9fdf03cde699aba02c5b7f010880b5b773..7669084a27d7bf26a260871141e4d09308345b6a 100644 --- a/civicrm/CRM/Contribute/Form/ContributionPage/Settings.php +++ b/civicrm/CRM/Contribute/Form/ContributionPage/Settings.php @@ -120,7 +120,7 @@ class CRM_Contribute_Form_ContributionPage_Settings extends CRM_Contribute_Form_ // name $this->add('text', 'title', ts('Title'), $attributes['title'], TRUE); - $this->addField('contribution_page_frontend_title', ['entity' => 'ContributionPage']); + $this->addField('frontend_title', ['entity' => 'ContributionPage'], TRUE); //CRM-7362 --add campaigns. CRM_Campaign_BAO_Campaign::addCampaign($this, CRM_Utils_Array::value('campaign_id', $this->_values)); @@ -234,10 +234,6 @@ class CRM_Contribute_Form_ContributionPage_Settings extends CRM_Contribute_Form_ public static function formRule($values, $files, $self) { $errors = []; $contributionPageId = $self->_id; - //CRM-4286 - if (strstr($values['title'], '/')) { - $errors['title'] = ts("Please do not use '/' in Title"); - } // ensure on-behalf-of profile meets minimum requirements if (!empty($values['is_organization'])) { diff --git a/civicrm/CRM/Contribute/Form/Task/Batch.php b/civicrm/CRM/Contribute/Form/Task/Batch.php index 5381f47c91242ca3903b163aa971d065d381965a..4d50e0b5a089e7f3c131f5d7815d31a85f9eba15 100644 --- a/civicrm/CRM/Contribute/Form/Task/Batch.php +++ b/civicrm/CRM/Contribute/Form/Task/Batch.php @@ -208,13 +208,14 @@ class CRM_Contribute_Form_Task_Batch extends CRM_Contribute_Form_Task { $contribution = civicrm_api3('Contribution', 'create', $value); $contribution = $contribution['values'][$contributionID]; - // @todo add check as to whether the status is updated. - if (!empty($value['contribution_status_id'])) { + $currentStatus = CRM_Core_PseudoConstant::getName('CRM_Contribute_BAO_Contribution', 'contribution_status_id', $value['contribution_status_id'] ?? NULL); + $previousStatus = CRM_Core_PseudoConstant::getName('CRM_Contribute_BAO_Contribution', 'contribution_status_id', $this->_defaultValues["field[{$contributionID}][contribution_status_id]"] ?? NULL); + + if ('Completed' === $currentStatus && + in_array($previousStatus, ['Pending', 'Partially paid'], TRUE)) { // @todo - use completeorder api or make api call do this. CRM_Contribute_BAO_Contribution::transitionComponents([ 'contribution_id' => $contribution['id'], - 'contribution_status_id' => $value['contribution_status_id'], - 'previous_contribution_status_id' => CRM_Utils_Array::value("field[{$contributionID}][contribution_status_id]", $this->_defaultValues), 'receive_date' => $contribution['receive_date'], ]); } diff --git a/civicrm/CRM/Contribute/Import/Form/MapField.php b/civicrm/CRM/Contribute/Import/Form/MapField.php index 5e73a7cd30e0363947472602ffb8ab4a88d52ecc..dbd9899a0b278b5589779c08ce63170225aecd69 100644 --- a/civicrm/CRM/Contribute/Import/Form/MapField.php +++ b/civicrm/CRM/Contribute/Import/Form/MapField.php @@ -104,6 +104,10 @@ class CRM_Contribute_Import_Form_MapField extends CRM_Import_Form_MapField { } // Swap out dots for double underscores so as not to break the quick form js. // We swap this back on postProcess. + // Arg - we need to swap out _. first as it seems some groups end in a trailing underscore, + // which is indistinguishable to convert back - ie ___ could be _. or ._. + // https://lab.civicrm.org/dev/core/-/issues/4317#note_91322 + $name = str_replace('_.', '~~', $name); $name = str_replace('.', '__', $name); if (($field['entity'] ?? '') === 'Contact' && $this->isFilterContactFields() && empty($field['match_rule'])) { // Filter out metadata that is intended for create & update - this is not available in the quick-form diff --git a/civicrm/CRM/Contribute/Page/Tab.php b/civicrm/CRM/Contribute/Page/Tab.php index b898677d78e60b4e9e4d0e4fbf955b0571ef1d8b..4755a44e419a4142a546eaf1342fa368d2489fd2 100644 --- a/civicrm/CRM/Contribute/Page/Tab.php +++ b/civicrm/CRM/Contribute/Page/Tab.php @@ -55,6 +55,7 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page { 'title' => ts('View Recurring Payment'), 'url' => 'civicrm/contact/view/contributionrecur', 'qs' => "reset=1&id=%%crid%%&cid=%%cid%%&context={$context}", + 'weight' => -20, ], ]; @@ -138,6 +139,7 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page { 'title' => ts('Cancel'), // Only display on-site links in a popup. 'class' => (stripos($url, 'http') !== FALSE) ? 'no-popup' : '', + 'weight' => -50, ]; } @@ -151,6 +153,7 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page { 'url' => $url, // Only display on-site links in a popup. 'class' => (stripos($url, 'http') !== FALSE) ? 'no-popup' : '', + 'weight' => -15, ]; } @@ -165,6 +168,7 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page { 'url' => $url, // Only display on-site links in a popup. 'class' => (stripos($url, 'http') !== FALSE) ? 'no-popup' : '', + 'weight' => -10, ]; } return $links; @@ -326,6 +330,9 @@ class CRM_Contribute_Page_Tab extends CRM_Core_Page { foreach ($recurContributions as $recurId => $recurDetail) { // API3 does not return "installments" if it is not set. But we need it set to avoid PHP notices on ContributionRecurSelector.tpl $recurContributions[$recurId]['installments'] = $recurDetail['installments'] ?? NULL; + $recurContributions[$recurId]['next_sched_contribution_date'] = $recurDetail['next_sched_contribution_date'] ?? NULL; + $recurContributions[$recurId]['cancel_date'] = $recurDetail['cancel_date'] ?? NULL; + $recurContributions[$recurId]['end_date'] = $recurDetail['end_date'] ?? NULL; // Is recurring contribution active? $recurContributions[$recurId]['is_active'] = !in_array(CRM_Contribute_PseudoConstant::contributionStatus($recurDetail['contribution_status_id'], 'name'), CRM_Contribute_BAO_ContributionRecur::getInactiveStatuses()); if ($recurContributions[$recurId]['is_active']) { diff --git a/civicrm/CRM/Contribute/Selector/Search.php b/civicrm/CRM/Contribute/Selector/Search.php index 607ec5ac9101f38136f3159949f2ba4ef1273aed..6638cdeef66b50ff5d65dc57bc15b9daa7acb682 100644 --- a/civicrm/CRM/Contribute/Selector/Search.php +++ b/civicrm/CRM/Contribute/Selector/Search.php @@ -218,18 +218,21 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C 'url' => 'civicrm/contact/view/contribution', 'qs' => "reset=1&id=%%id%%&cid=%%cid%%&action=view&context=%%cxt%%&selectedChild=contribute{$extraParams}", 'title' => ts('View Contribution'), + 'weight' => -20, ], CRM_Core_Action::UPDATE => [ 'name' => ts('Edit'), 'url' => 'civicrm/contact/view/contribution', 'qs' => "reset=1&action=update&id=%%id%%&cid=%%cid%%&context=%%cxt%%{$extraParams}", 'title' => ts('Edit Contribution'), + 'weight' => -10, ], CRM_Core_Action::DELETE => [ 'name' => ts('Delete'), 'url' => 'civicrm/contact/view/contribution', 'qs' => "reset=1&action=delete&id=%%id%%&cid=%%cid%%&context=%%cxt%%{$extraParams}", 'title' => ts('Delete Contribution'), + 'weight' => 100, ], ]; } @@ -530,14 +533,14 @@ class CRM_Contribute_Selector_Search extends CRM_Core_Selector_Base implements C 'type' => '', ], [ - 'name' => ts('Source'), + 'name' => ts('Contribution Source'), 'sort' => 'contribution_source', 'field_name' => 'contribution_source', 'direction' => CRM_Utils_Sort::DONTCARE, 'type' => '', ], [ - 'name' => ts('Received'), + 'name' => ts('Contribution Date'), 'sort' => 'receive_date', 'field_name' => 'receive_date', 'type' => 'date', diff --git a/civicrm/CRM/Contribute/StateMachine/Contribution.php b/civicrm/CRM/Contribute/StateMachine/Contribution.php index 60cbb4d6c8528690a812da610b0dcfdf41e0bf23..b35441b78c20a6f9576416b7cfdcdd09b2a4766f 100644 --- a/civicrm/CRM/Contribute/StateMachine/Contribution.php +++ b/civicrm/CRM/Contribute/StateMachine/Contribution.php @@ -38,7 +38,7 @@ class CRM_Contribute_StateMachine_Contribution extends CRM_Core_StateMachine { 'CRM_Contribute_Form_Contribution_ThankYou' => NULL, ]; - $this->addSequentialPages($this->_pages, $action); + $this->addSequentialPages($this->_pages); } } diff --git a/civicrm/CRM/Contribute/StateMachine/ContributionPage.php b/civicrm/CRM/Contribute/StateMachine/ContributionPage.php index e3d74b899d78c5ca20244a2d0f8d52b644665f31..f9664580dee1e6d189ff7558c5aae976d21dcc78 100644 --- a/civicrm/CRM/Contribute/StateMachine/ContributionPage.php +++ b/civicrm/CRM/Contribute/StateMachine/ContributionPage.php @@ -50,7 +50,7 @@ class CRM_Contribute_StateMachine_ContributionPage extends CRM_Core_StateMachine unset($this->_pages['CRM_Member_Form_MembershipBlock']); } - $this->addSequentialPages($this->_pages, $action); + $this->addSequentialPages($this->_pages); } } diff --git a/civicrm/CRM/Contribute/StateMachine/Search.php b/civicrm/CRM/Contribute/StateMachine/Search.php index 86b60a97e0a81d6d8a3c743459283164d52d7666..624b223df7ccac71ac02f36bda6a02b54ca529ea 100644 --- a/civicrm/CRM/Contribute/StateMachine/Search.php +++ b/civicrm/CRM/Contribute/StateMachine/Search.php @@ -49,7 +49,7 @@ class CRM_Contribute_StateMachine_Search extends CRM_Core_StateMachine { if ($result) { $this->_pages['CRM_Contribute_Form_Task_Result'] = NULL; } - $this->addSequentialPages($this->_pages, $action); + $this->addSequentialPages($this->_pages); } /** diff --git a/civicrm/CRM/Contribute/Tokens.php b/civicrm/CRM/Contribute/Tokens.php index 6569c6a72ee34146048117db326b0e4ba7be8f54..7436b0b2390f97d5707870cf790dbeee35235da3 100644 --- a/civicrm/CRM/Contribute/Tokens.php +++ b/civicrm/CRM/Contribute/Tokens.php @@ -10,6 +10,8 @@ +--------------------------------------------------------------------+ */ +use Civi\Api4\ContributionRecur; + /** * Class CRM_Contribute_Tokens * @@ -46,4 +48,26 @@ class CRM_Contribute_Tokens extends CRM_Core_EntityTokens { return ['currency']; } + /** + * Get Related Entity tokens. + * + * @return array[] + */ + protected function getRelatedTokens(): array { + $tokens = []; + $hiddenTokens = ['modified_date', 'create_date', 'trxn_id', 'invoice_id', 'is_test', 'payment_token_id', 'payment_processor_id', 'payment_instrument_id', 'cycle_day', 'installments', 'processor_id', 'next_sched_contribution_date', 'failure_count', 'failure_retry_date', 'auto_renew', 'is_email_receipt', 'contribution_status_id']; + $contributionRecurFields = ContributionRecur::getFields(FALSE)->setLoadOptions(TRUE)->execute(); + foreach ($contributionRecurFields as $contributionRecurField) { + $tokens['contribution_recur_id.' . $contributionRecurField['name']] = [ + 'title' => $contributionRecurField['title'], + 'name' => 'contribution_recur_id.' . $contributionRecurField['name'], + 'type' => 'mapped', + 'options' => $contributionRecurField['options'] ?? NULL, + 'data_type' => $contributionRecurField['data_type'], + 'audience' => in_array($contributionRecurField['name'], $hiddenTokens) ? 'hidden' : 'user', + ]; + } + return $tokens; + } + } diff --git a/civicrm/CRM/Contribute/WorkflowMessage/Contribution/BasicContribution.php b/civicrm/CRM/Contribute/WorkflowMessage/Contribution/BasicContribution.php index 98f1f3e43c3d5c7951952b3b0adbcd1e74b37470..d3477bb3da10e1b50c3ab6be469098a53036606d 100644 --- a/civicrm/CRM/Contribute/WorkflowMessage/Contribution/BasicContribution.php +++ b/civicrm/CRM/Contribute/WorkflowMessage/Contribution/BasicContribution.php @@ -134,7 +134,7 @@ class CRM_Contribute_WorkflowMessage_Contribution_BasicContribution extends Work $mockOrder->setDefaultFinancialTypeID($priceSet['financial_type_id']); } } - foreach (PriceField::get()->addWhere('price_set_id', '=', $mockOrder->getPriceSetID())->execute() as $index => $priceField) { + foreach (PriceField::get(FALSE)->addWhere('price_set_id', '=', $mockOrder->getPriceSetID())->execute() as $index => $priceField) { $priceFieldValue = PriceFieldValue::get()->addWhere('price_field_id', '=', $priceField['id'])->execute()->first(); if (empty($example['is_show_line_items'])) { $priceFieldValue['amount'] = $contribution['total_amount']; @@ -157,8 +157,7 @@ class CRM_Contribute_WorkflowMessage_Contribution_BasicContribution extends Work * @throws \CRM_Core_Exception */ private function getNonQuickConfigPriceSet(): ?array { - // Permission check defaults to true - likely implicitly OK but may need to be false. - return PriceSet::get() + return PriceSet::get(FALSE) ->addWhere('is_quick_config', '=', FALSE) ->execute() ->first(); diff --git a/civicrm/CRM/Contribute/WorkflowMessage/ContributionTrait.php b/civicrm/CRM/Contribute/WorkflowMessage/ContributionTrait.php index 7cdaed94b98a5f760be2069e1bf96b3c8fbd9184..2951c7480344831a68abd7894fd74c399f3e833d 100644 --- a/civicrm/CRM/Contribute/WorkflowMessage/ContributionTrait.php +++ b/civicrm/CRM/Contribute/WorkflowMessage/ContributionTrait.php @@ -21,7 +21,7 @@ trait CRM_Contribute_WorkflowMessage_ContributionTrait { * @var int * @scope tokenContext as contributionId, tplParams as contributionID */ - public $contributionId; + public $contributionID; /** * Is the site configured such that tax should be displayed. @@ -67,9 +67,9 @@ trait CRM_Contribute_WorkflowMessage_ContributionTrait { * @return \CRM_Financial_BAO_Order|null */ private function getOrder(): ?CRM_Financial_BAO_Order { - if (!$this->order && $this->contributionId) { + if (!$this->order && $this->contributionID) { $this->order = new CRM_Financial_BAO_Order(); - $this->order->setTemplateContributionID($this->contributionId); + $this->order->setTemplateContributionID($this->contributionID); } return $this->order; } @@ -170,7 +170,7 @@ trait CRM_Contribute_WorkflowMessage_ContributionTrait { public function setContribution(array $contribution): self { $this->contribution = $contribution; if (!empty($contribution['id'])) { - $this->contributionId = $contribution['id']; + $this->contributionID = $contribution['id']; } return $this; } diff --git a/civicrm/CRM/Core/Action.php b/civicrm/CRM/Core/Action.php index 1267425c59da885d432660ab184fda96e354c053..d23bd256a455e9e3aacdd1699ecd0c4e32a5e599 100644 --- a/civicrm/CRM/Core/Action.php +++ b/civicrm/CRM/Core/Action.php @@ -217,8 +217,13 @@ class CRM_Core_Action { $url = []; + usort($seqLinks, static function ($a, $b) { + return (int) ((int) ($a['weight'] ?? 0) > (int) ($b['weight'] ?? 0)); + }); + foreach ($seqLinks as $i => $link) { - if (!$mask || !array_key_exists('bit', $link) || ($mask & $link['bit'])) { + $isActive = $link['is_active'] ?? TRUE; + if ($isActive && (!$mask || !array_key_exists('bit', $link) || ($mask & $link['bit']))) { $extra = isset($link['extra']) ? self::replace($link['extra'], $values) : NULL; $frontend = isset($link['fe']); @@ -253,10 +258,10 @@ class CRM_Core_Action { $linkContent = $link['name']; if (!empty($link['icon'])) { - if ($iconMode == 'icon') { + if ($iconMode === 'icon') { $linkContent = CRM_Core_Page::crmIcon($link['icon'], $link['name'], TRUE, ['title' => '']); } - elseif ($iconMode == 'both') { + elseif ($iconMode === 'both') { $linkContent = CRM_Core_Page::crmIcon($link['icon']) . ' ' . $linkContent; } } @@ -279,7 +284,7 @@ class CRM_Core_Action { } else { $extra = ''; - if ($iconMode != 'icon') { + if ($iconMode !== 'icon') { $extraLinks = array_splice($url, 2); if (count($extraLinks) > 1) { $mainLinks = array_slice($url, 0, 2); diff --git a/civicrm/CRM/Core/BAO/ConfigSetting.php b/civicrm/CRM/Core/BAO/ConfigSetting.php index 00698964cfe7b16251ca4c458a8c01b5e70c65a3..7d7b01fbabbba8a90bbe2b50f6985684083a1b48 100644 --- a/civicrm/CRM/Core/BAO/ConfigSetting.php +++ b/civicrm/CRM/Core/BAO/ConfigSetting.php @@ -362,6 +362,7 @@ class CRM_Core_BAO_ConfigSetting { * @param array $enabledComponents */ public static function setEnabledComponents($enabledComponents) { + // The post_change trigger on this setting will sync component extensions, which will also flush caches Civi::settings()->set('enable_components', array_values($enabledComponents)); } diff --git a/civicrm/CRM/Core/BAO/CustomField.php b/civicrm/CRM/Core/BAO/CustomField.php index 9c41ec844e911dae03b8663d859cf1f8890e64f2..75cd9ca436859cd9d6008717eed8d901a5c246f7 100644 --- a/civicrm/CRM/Core/BAO/CustomField.php +++ b/civicrm/CRM/Core/BAO/CustomField.php @@ -155,6 +155,7 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField { CRM_Utils_Hook::post(($op === 'add' ? 'create' : 'edit'), 'CustomField', $customField->id, $customField); CRM_Utils_System::flushCache(); + CRM_Utils_API_HTMLInputCoder::singleton()->flushCache(); // Flush caches is not aggressive about clearing the specific cache we know we want to clear // so do it manually. Ideally we wouldn't need to clear others... Civi::cache('metadata')->clear(); @@ -232,6 +233,7 @@ class CRM_Core_BAO_CustomField extends CRM_Core_DAO_CustomField { } CRM_Utils_System::flushCache(); + CRM_Utils_API_HTMLInputCoder::singleton()->flushCache(); Civi::cache('metadata')->clear(); foreach ($customFields as $index => $customField) { @@ -2060,6 +2062,7 @@ WHERE id IN ( %1, %2 ) $add->save(); CRM_Utils_System::flushCache(); + CRM_Utils_API_HTMLInputCoder::singleton()->flushCache(); } /** diff --git a/civicrm/CRM/Core/BAO/Domain.php b/civicrm/CRM/Core/BAO/Domain.php index b81d5add43bbf5951741dfc9619290799c5e65cc..1462718c86cccf0a3a94b02256356d55a876b41d 100644 --- a/civicrm/CRM/Core/BAO/Domain.php +++ b/civicrm/CRM/Core/BAO/Domain.php @@ -366,7 +366,9 @@ class CRM_Core_BAO_Domain extends CRM_Core_DAO_Domain { */ public static function getNoReplyEmailAddress() { $emailDomain = CRM_Core_BAO_MailSettings::defaultDomain(); - return "do-not-reply@$emailDomain"; + $noReplyAddress = Civi::settings()->get('no_reply_email_address'); + + return $noReplyAddress ?: "do-not-reply@$emailDomain"; } } diff --git a/civicrm/CRM/Core/BAO/File.php b/civicrm/CRM/Core/BAO/File.php index 9d8cb0ae301965aca686c8e86a7b12e948306390..1786f71c8a39bfe6f939b963dff379f4f711c776 100644 --- a/civicrm/CRM/Core/BAO/File.php +++ b/civicrm/CRM/Core/BAO/File.php @@ -149,6 +149,9 @@ class CRM_Core_BAO_File extends CRM_Core_DAO_File { $fileDAO->id = $dao->cfID; unlink($directoryName . DIRECTORY_SEPARATOR . $dao->uri); } + elseif (empty($fileParams['created_id'])) { + $fileDAO->created_id = CRM_Core_Session::getLoggedInContactID(); + } if (!empty($fileParams)) { $fileDAO->copyValues($fileParams); diff --git a/civicrm/CRM/Core/BAO/Mapping.php b/civicrm/CRM/Core/BAO/Mapping.php index 62bde837618bd4fcc9afb4c6335734c832e59d57..217767cd8ea6314b8518a2dab0b8169c0f613a05 100644 --- a/civicrm/CRM/Core/BAO/Mapping.php +++ b/civicrm/CRM/Core/BAO/Mapping.php @@ -388,7 +388,7 @@ class CRM_Core_BAO_Mapping extends CRM_Core_DAO_Mapping implements \Civi\Core\Ho foreach ([ 'componentPaymentField_total_amount' => ts('Total Amount'), 'componentPaymentField_contribution_status' => ts('Contribution Status'), - 'componentPaymentField_received_date' => ts('Date Received'), + 'componentPaymentField_received_date' => ts('Contribution Date'), 'componentPaymentField_payment_instrument' => ts('Payment Method'), 'componentPaymentField_transaction_id' => ts('Transaction ID'), ] as $payField => $payTitle) { diff --git a/civicrm/CRM/Core/BAO/Note.php b/civicrm/CRM/Core/BAO/Note.php index 02be74e66a899b1e2c6503a3bed3265092bf0f13..6595969b94c9c72e7939c6db3e5ed1f91cf27579 100644 --- a/civicrm/CRM/Core/BAO/Note.php +++ b/civicrm/CRM/Core/BAO/Note.php @@ -43,13 +43,13 @@ class CRM_Core_BAO_Note extends CRM_Core_DAO_Note implements \Civi\Core\HookInte } /** - * Given a note id, decide if the note should be displayed based on privacy setting + * Given a note id, decide if the note should be hidden based on privacy setting * * @param object $note * Either the id of the note to retrieve, or the CRM_Core_DAO_Note object itself. * * @return bool - * TRUE if the note should be displayed, otherwise FALSE + * TRUE if the note should be hidden, otherwise FALSE * */ public static function getNotePrivacyHidden($note) { diff --git a/civicrm/CRM/Core/BAO/SchemaHandler.php b/civicrm/CRM/Core/BAO/SchemaHandler.php index 62fe656602a83bc6519facd957cb3ca088770c2d..ad36d906f1df40be16787018f2f24eaf5605fcc0 100644 --- a/civicrm/CRM/Core/BAO/SchemaHandler.php +++ b/civicrm/CRM/Core/BAO/SchemaHandler.php @@ -70,30 +70,29 @@ class CRM_Core_BAO_SchemaHandler { * * @return string */ - public static function buildTableSQL($params) { + public static function buildTableSQL($params): string { $sql = "CREATE TABLE {$params['name']} ("; if (isset($params['fields']) && is_array($params['fields']) ) { $separator = "\n"; - $prefix = NULL; foreach ($params['fields'] as $field) { - $sql .= self::buildFieldSQL($field, $separator, $prefix); + $sql .= self::buildFieldSQL($field, $separator); $separator = ",\n"; } foreach ($params['fields'] as $field) { - $sql .= self::buildPrimaryKeySQL($field, $separator, $prefix); + $sql .= self::buildPrimaryKeySQL($field, $separator); } foreach ($params['fields'] as $field) { - $sql .= self::buildSearchIndexSQL($field, $separator); + $sql .= self::buildSearchIndexSQL($field, $separator, 'INDEX '); } if (isset($params['indexes'])) { foreach ($params['indexes'] as $index) { - $sql .= self::buildIndexSQL($index, $separator, $prefix); + $sql .= self::buildIndexSQL($index, $separator); } } foreach ($params['fields'] as $field) { - $sql .= self::buildForeignKeySQL($field, $separator, $prefix, $params['name']); + $sql .= self::buildForeignKeySQL($field, $separator, '', $params['name']); } } $sql .= "\n) {$params['attributes']};"; @@ -102,12 +101,12 @@ class CRM_Core_BAO_SchemaHandler { /** * @param array $params - * @param $separator - * @param $prefix + * @param string $separator + * @param string $prefix * * @return string */ - public static function buildFieldSQL($params, $separator, $prefix) { + public static function buildFieldSQL($params, $separator, $prefix = ''): string { $sql = ''; $sql .= $separator; $sql .= str_repeat(' ', 8); @@ -138,12 +137,12 @@ class CRM_Core_BAO_SchemaHandler { /** * @param array $params * @param $separator - * @param $prefix + * @param string $prefix * - * @return NULL|string + * @return string */ - public static function buildPrimaryKeySQL($params, $separator, $prefix) { - $sql = NULL; + public static function buildPrimaryKeySQL($params, $separator, $prefix = ''): string { + $sql = ''; if (!empty($params['primary'])) { $sql .= $separator; $sql .= str_repeat(' ', 8); @@ -193,7 +192,7 @@ class CRM_Core_BAO_SchemaHandler { * * @return string */ - public static function buildIndexSQL(&$params, $separator, $prefix) { + public static function buildIndexSQL(&$params, $separator) { $sql = ''; $sql .= $separator; $sql .= str_repeat(' ', 8); @@ -247,14 +246,14 @@ ALTER TABLE {$tableName} /** * @param array $params - * @param $separator - * @param $prefix + * @param string $separator + * @param string $prefix * @param string $tableName * - * @return NULL|string + * @return string */ - public static function buildForeignKeySQL($params, $separator, $prefix, $tableName) { - $sql = NULL; + public static function buildForeignKeySQL($params, $separator, $prefix, $tableName): string { + $sql = ''; if (!empty($params['fk_table_name']) && !empty($params['fk_field_name'])) { $sql .= $separator; $sql .= str_repeat(' ', 8); diff --git a/civicrm/CRM/Core/BAO/UFField.php b/civicrm/CRM/Core/BAO/UFField.php index c34d0ec5484cccd38403fdf654d652de76611452..f6d9bcb34ab6cb2df40a67b212081932f24c0be1 100644 --- a/civicrm/CRM/Core/BAO/UFField.php +++ b/civicrm/CRM/Core/BAO/UFField.php @@ -1134,7 +1134,7 @@ SELECT id ], 'receive_date' => [ 'name' => 'receive_date', - 'title' => ts('Date Received'), + 'title' => ts('Contribution Date'), ], 'payment_instrument' => [ 'name' => 'payment_instrument', diff --git a/civicrm/CRM/Core/BAO/UFMatch.php b/civicrm/CRM/Core/BAO/UFMatch.php index 5734a9c2398494708e0bae96affc330348468c62..7fc5b7646fb272a86d920092c96081bf351892dd 100644 --- a/civicrm/CRM/Core/BAO/UFMatch.php +++ b/civicrm/CRM/Core/BAO/UFMatch.php @@ -179,15 +179,6 @@ class CRM_Core_BAO_UFMatch extends CRM_Core_DAO_UFMatch { if (!empty($_POST) && !$isLogin) { $dedupeParameters = $_POST; $dedupeParameters['email'] = $uniqId; - // dev/core#1858 Ensure that if we have a contactID parameter which is - // set in the Create user Record contact task form. That this contactID - // value is passed through as the contact_id to the get duplicate - // contacts function. This is necessary because for Drupal 8 this - // function gets invoked. Before the civicrm_uf_match record is added - // where as in D7 it isn't called until the user tries to actually login. - if (!empty($dedupeParameters['contactID'])) { - $dedupeParameters['contact_id'] = $dedupeParameters['contactID']; - } $ids = CRM_Contact_BAO_Contact::getDuplicateContacts($dedupeParameters, 'Individual', 'Unsupervised', [], FALSE); @@ -239,6 +230,16 @@ AND domain_id = %2 'user' => $user, 'uniqId' => $uniqId, ]); + // dev/core#1858 Ensure that if we have a contactID parameter + // set in the Create user Record contact task form that this contactID + // value is passed through as the contact_id to the contact create. + // This is necessary because for Drupal 8 synchronizeUFMatch gets + // invoked before the civicrm_uf_match record is added whereas in D7 + // it isn't called until later. + // Note this is taken from our dedupeParameters from earlier. + if (empty($contactParameters['contact_id']) && !empty($dedupeParameters['contactID'])) { + $contactParameters['contact_id'] = $dedupeParameters['contactID']; + } if ($ctype === 'Organization') { $contactParameters['organization_name'] = $uniqId; diff --git a/civicrm/CRM/Core/CodeGen/AbstractSqlData.php b/civicrm/CRM/Core/CodeGen/AbstractSqlData.php new file mode 100644 index 0000000000000000000000000000000000000000..019fcd720b095f64ece2199ab757200e909307dc --- /dev/null +++ b/civicrm/CRM/Core/CodeGen/AbstractSqlData.php @@ -0,0 +1,142 @@ +<?php + + +/** + * @internal + * This class may change radically if doing so helps with the installer or upgrader. + */ +abstract class CRM_Core_CodeGen_AbstractSqlData { + + /** + * Determine the relative order of two option-groups. + * + * @param \CRM_Core_CodeGen_OptionGroup $a + * @param \CRM_Core_CodeGen_OptionGroup $b + * + * @return int + */ + public static function compare(CRM_Core_CodeGen_OptionGroup $a, CRM_Core_CodeGen_OptionGroup $b): int { + if ($a->sortKey !== $b->sortKey) { + return strnatcmp($a->sortKey, $b->sortKey); + } + else { + return strnatcmp($a->metadata['name'], $b->metadata['name']); + } + } + + abstract public function toSQL(): string; + + /** + * Default values to apply to each record. + * + * @var array + */ + protected $defaults = []; + + protected $rows = []; + + protected $syncRules = []; + + /** + * @var string + */ + protected $sortKey; + + /** + * Copy fields + * + * @param string $mode + * copy|fill + * @param array $fields + * Array(string $srcField => string $destField). + * Ex: ['name' => 'label'] + * @return $this + */ + public function syncColumns(string $mode, array $fields) { + foreach ($fields as $from => $to) { + $this->syncRules[] = [$mode, $from, $to]; + } + return $this; + } + + public function addDefaults(array $fields) { + $this->defaults = array_merge($this->defaults, $fields); + return $this; + } + + /** + * Add a bunch of values to the option-group. + * + * @param array $optionValues + * List of option-value records. + * Ex: [ + * ['name' => 'foo_bar', 'label' => ts('Foo Bar')], + * ['name' => 'whiz_bang', 'label' => ts('Whiz Bang')], + * ] + * @return $this + */ + public function addValues(array $optionValues) { + $this->rows = array_merge($this->rows, $optionValues); + return $this; + } + + /** + * Add a bunch of values to the option-group using a tabular notation. + * + * @param array $header + * Ex: ['name', 'label'] + * @param array $optionValues + * A list of option-value records (aligned with the header). + * + * Ex: [ + * ['foo_bar', ts('Foo Bar')] + * ['whiz_bang', ts('Whiz Bang')] + * ] + * + * Additionally, to address outliers that don't fit tabular form, you may add key-value pairs. + * + * Ex: ['whiz_bang', ts('Whiz Bang'), 'component_id' => 100] + * + * @return $this + */ + public function addValueTable(array $header, array $optionValues) { + foreach ($optionValues as $optionValue) { + $row = []; + foreach ($optionValue as $key => $value) { + if (is_numeric($key)) { + $key = $header[$key]; + } + $row[$key] = $value; + } + $this->rows[] = $row; + } + return $this; + } + + /** + * @param array $row + * @return array + * Updated row + */ + protected function applySyncRules(array $row): array { + foreach ($this->syncRules as $syncRule) { + [$mode, $from, $to] = $syncRule; + switch ($mode) { + case 'copy': + $row[$to] = $row[$from]; + break; + + case 'fill': + if (array_key_exists($from, $row) && !array_key_exists($to, $row)) { + $row[$to] = $row[$from]; + } + break; + + default: + throw new \RuntimeException("Invalid sync mod: $mode"); + } + } + return $row; + } + +} diff --git a/civicrm/CRM/Core/CodeGen/BounceType.php b/civicrm/CRM/Core/CodeGen/BounceType.php new file mode 100644 index 0000000000000000000000000000000000000000..64f342cbe30be7ab385bb7e944c4e99d6cfe7dfa --- /dev/null +++ b/civicrm/CRM/Core/CodeGen/BounceType.php @@ -0,0 +1,63 @@ +<?php + +class CRM_Core_CodeGen_BounceType extends CRM_Core_CodeGen_AbstractSqlData { + + /** + * OptionGroup properties. + * + * @var array + * @internal + */ + protected $metadata = []; + + protected $var; + + public static function create(string $name): CRM_Core_CodeGen_BounceType { + $og = new static(); + $og->metadata['name'] = $name; + $og->var = '@bounceTypeID'; + return $og; + } + + /** + * @param array $fields + * List of BounceType fields/values. + * Ex: ['is_reserved' => 0, 'description' => 'Store the stuff'] + * @return $this + */ + public function addMetadata(array $fields): CRM_Core_CodeGen_BounceType { + $this->metadata = array_merge($this->metadata, $fields); + return $this; + } + + public function toArray(): array { + $result = []; + foreach ($this->rows as $row) { + $row = $this->applySyncRules($row); + $result[] = array_merge(['bounce_type_id' => new CRM_Utils_SQL_Literal($this->var)], $this->defaults, $row); + } + return $result; + } + + public function toSQL(): string { + $result = ''; + $result .= CRM_Utils_SQL_Insert::into('civicrm_mailing_bounce_type') + ->row($this->metadata) + ->toSQL() . ";\n"; + + $rows = $this->toArray(); + if ($rows) { + $result .= CRM_Utils_SQL_Select::from('civicrm_mailing_bounce_type') + ->select("{$this->var} := max(id)") + ->where('name = @NAME', ['NAME' => $this->metadata['name']]) + ->toSQL() . ";\n"; + + $result .= CRM_Utils_SQL_Insert::into('civicrm_mailing_bounce_pattern') + ->allowLiterals() + ->rows($rows) + ->toSQL() . ";\n"; + } + return $result; + } + +} diff --git a/civicrm/CRM/Core/CodeGen/DedupeRule.php b/civicrm/CRM/Core/CodeGen/DedupeRule.php new file mode 100644 index 0000000000000000000000000000000000000000..800fccbdb85a6ce0cf30f977fb5e2acdbc7d1092 --- /dev/null +++ b/civicrm/CRM/Core/CodeGen/DedupeRule.php @@ -0,0 +1,63 @@ +<?php + +class CRM_Core_CodeGen_DedupeRule extends CRM_Core_CodeGen_AbstractSqlData { + + /** + * DedupeRuleGroup properties. + * + * @var array + * @internal + */ + protected $metadata = []; + + protected $var; + + public static function create(string $name): CRM_Core_CodeGen_DedupeRule { + $og = new static(); + $og->metadata['name'] = $name; + $og->var = '@drgid'; + return $og; + } + + /** + * @param array $fields + * List of DedupeRuleGroup fields/values. + * Ex: ['is_reserved' => 0, 'description' => 'Store the stuff'] + * @return $this + */ + public function addMetadata(array $fields): CRM_Core_CodeGen_DedupeRule { + $this->metadata = array_merge($this->metadata, $fields); + return $this; + } + + public function toArray(): array { + $result = []; + foreach ($this->rows as $row) { + $row = $this->applySyncRules($row); + $result[] = array_merge(['dedupe_rule_group_id' => new CRM_Utils_SQL_Literal($this->var)], $this->defaults, $row); + } + return $result; + } + + public function toSQL(): string { + $result = ''; + $result .= CRM_Utils_SQL_Insert::into('civicrm_dedupe_rule_group') + ->row($this->metadata) + ->toSQL() . ";\n"; + + $rows = $this->toArray(); + if ($rows) { + $result .= CRM_Utils_SQL_Select::from('civicrm_dedupe_rule_group') + ->select("{$this->var} := max(id)") + ->where('name = @NAME', ['NAME' => $this->metadata['name']]) + ->toSQL() . ";\n"; + + $result .= CRM_Utils_SQL_Insert::into('civicrm_dedupe_rule') + ->allowLiterals() + ->rows($rows) + ->toSQL() . ";\n"; + } + return $result; + } + +} diff --git a/civicrm/CRM/Core/CodeGen/OptionGroup.php b/civicrm/CRM/Core/CodeGen/OptionGroup.php new file mode 100644 index 0000000000000000000000000000000000000000..9cb2af64aa6685a6d88f055a84c3b5bf960e7d39 --- /dev/null +++ b/civicrm/CRM/Core/CodeGen/OptionGroup.php @@ -0,0 +1,100 @@ +<?php + +/** + * @internal + * This class may change radically if doing so helps with the installer or upgrader. + */ +class CRM_Core_CodeGen_OptionGroup extends CRM_Core_CodeGen_AbstractSqlData { + + /** + * OptionGroup properties. + * + * @var array + * @internal + */ + protected $metadata = [ + 'is_active' => 1, + 'is_reserved' => 1, + 'option_value_fields' => 'name,label,description', + ]; + + /** + * Default properties for all OptionValues in this OptionGroup. + * + * @var array + */ + protected $defaults = [ + 'color' => NULL, + 'component_id' => NULL, + 'description' => NULL, + 'domain_id' => NULL, + 'filter' => 0, + 'grouping' => NULL, + 'icon' => NULL, + 'is_active' => 1, + 'is_default' => 0, + 'is_optgroup' => 0, + 'is_reserved' => 0, + 'visibility_id' => NULL, + ]; + + protected $var; + + public static function create(string $name, ?string $sortKey = NULL): CRM_Core_CodeGen_OptionGroup { + $og = new static(); + $og->metadata['name'] = $name; + // $og->var = '@option_group_id_' . $name; + $og->var = '@this_option_group_id'; + $og->sortKey = $sortKey; + return $og; + } + + /** + * @param array $fields + * List of OptionGroup fields/values. + * Ex: ['is_reserved' => 0, 'description' => 'Store the stuff'] + * @return $this + */ + public function addMetadata(array $fields): CRM_Core_CodeGen_OptionGroup { + $this->metadata = array_merge($this->metadata, $fields); + return $this; + } + + public function toArray(): array { + $position = 1; + $result = []; + foreach ($this->rows as $row) { + $row = $this->applySyncRules($row); + $result[] = array_merge( + ['option_group_id' => new CRM_Utils_SQL_Literal($this->var), 'value' => $position, 'weight' => $position], + $this->defaults, + $row + ); + $position++; + } + return $result; + } + + public function toSQL(): string { + $result = ''; + $result .= CRM_Utils_SQL_Insert::into('civicrm_option_group') + ->row($this->metadata) + ->toSQL() . ";\n"; + + $rows = $this->toArray(); + if ($rows) { + $result .= CRM_Utils_SQL_Select::from('civicrm_option_group') + ->select("{$this->var} := max(id)") + ->where('name = @NAME', ['NAME' => $this->metadata['name']]) + ->toSQL() . ";\n"; + + $result .= CRM_Utils_SQL_Insert::into('civicrm_option_value') + ->allowLiterals() + // ->columns(['option_group_id', 'label', 'value', 'name', 'grouping', 'filter', 'is_default', 'weight', 'description', 'is_optgroup', 'is_reserved', 'is_active', 'component_id', 'visibility_id']) + ->rows($rows) + ->toSQL() . ";\n"; + } + return $result; + } + +} diff --git a/civicrm/CRM/Core/CodeGen/SqlData.php b/civicrm/CRM/Core/CodeGen/SqlData.php new file mode 100644 index 0000000000000000000000000000000000000000..6ad8ff7f011c3ffa861bf46a52d9e1eefde2cfd3 --- /dev/null +++ b/civicrm/CRM/Core/CodeGen/SqlData.php @@ -0,0 +1,47 @@ +<?php + +/** + * @internal + * This class may change radically if doing so helps with the installer or upgrader. + */ +class CRM_Core_CodeGen_SqlData extends CRM_Core_CodeGen_AbstractSqlData { + + /** + * @var string + */ + protected $table; + + /** + * @var string + * Ex: 'INSERT INTO' + */ + protected $verb; + + public static function create(string $table, string $verb = 'INSERT INTO'): CRM_Core_CodeGen_SqlData { + $sqlData = new static(); + $sqlData->table = $table; + $sqlData->verb = $verb; + return $sqlData; + } + + public function toArray(): array { + $result = []; + foreach ($this->rows as $row) { + $result[] = array_merge($this->defaults, $this->applySyncRules($row)); + } + return $result; + } + + public function toSQL(): string { + $result = ''; + $rows = $this->toArray(); + if ($rows) { + $result .= CRM_Utils_SQL_Insert::into($this->table, $this->verb) + ->allowLiterals() + ->rows($rows) + ->toSQL() . ";\n"; + } + return $result; + } + +} diff --git a/civicrm/CRM/Core/Component.php b/civicrm/CRM/Core/Component.php index 63b0c781e71fa0b2dfb5186c1e63ce0c65301d24..a837ca92ab8302e1e19bb9cac32d9c34c339cb1c 100644 --- a/civicrm/CRM/Core/Component.php +++ b/civicrm/CRM/Core/Component.php @@ -115,15 +115,6 @@ class CRM_Core_Component { return self::_info($force); } - /** - * Triggered by on_change callback of the 'enable_components' setting. - */ - public static function flushEnabledComponents() { - unset(Civi::$statics[__CLASS__]); - CRM_Core_BAO_Navigation::resetNavigation(); - Civi::cache('metadata')->clear(); - } - /** * @param bool $translated * @@ -424,4 +415,41 @@ class CRM_Core_Component { return in_array($component, Civi::settings()->get('enable_components'), TRUE); } + /** + * Callback for the "enable_components" setting + * + * When a component is enabled or disabled, ensure the corresponding module-extension is also enabled/disabled. + * + * @param array $oldValue + * List of component names. + * @param array $newValue + * List of component names. + * + * @throws \CRM_Core_Exception. + */ + public static function onToggleComponents($oldValue, $newValue): void { + if (CRM_Core_Config::isUpgradeMode()) { + return; + } + $manager = CRM_Extension_System::singleton()->getManager(); + $toEnable = $toDisable = []; + foreach (self::getComponents() as $component) { + $componentEnabled = in_array($component->name, $newValue); + $extName = $component->getExtensionName(); + $extensionEnabled = $manager->getStatus($extName) === $manager::STATUS_INSTALLED; + if ($componentEnabled && !$extensionEnabled) { + $toEnable[] = $extName; + } + elseif (!$componentEnabled && $extensionEnabled) { + $toDisable[] = $extName; + } + } + if ($toEnable) { + CRM_Extension_System::singleton()->getManager()->install($toEnable); + } + if ($toDisable) { + CRM_Extension_System::singleton()->getManager()->disable($toDisable); + } + } + } diff --git a/civicrm/CRM/Core/Component/Info.php b/civicrm/CRM/Core/Component/Info.php index 44df5fe27502d00760d5e802d279d42b89e2a16f..640f3e26d290e562418dbc48b5d05312e6658ba3 100644 --- a/civicrm/CRM/Core/Component/Info.php +++ b/civicrm/CRM/Core/Component/Info.php @@ -63,7 +63,7 @@ abstract class CRM_Core_Component_Info { /** * Component settings as key/value pairs. * - * @var array + * @var array{name: string, translatedName: string, title: string, search: bool, showActivitiesInCore: bool, url: string} */ public $info; @@ -121,6 +121,14 @@ abstract class CRM_Core_Component_Info { return []; } + /** + * Name of the module-extension coupled with this component + * @return string + */ + public function getExtensionName(): string { + return CRM_Utils_String::convertStringToSnakeCase($this->name); + } + /** * Provides base information about the component. * Needs to be implemented in component's information diff --git a/civicrm/CRM/Core/Config/MagicMerge.php b/civicrm/CRM/Core/Config/MagicMerge.php index 1c7be169eae9aaa24d2a0823973288d540db9bf8..3e5f3b197dcbd4cee36f388d563b33a6c21d2380 100644 --- a/civicrm/CRM/Core/Config/MagicMerge.php +++ b/civicrm/CRM/Core/Config/MagicMerge.php @@ -402,7 +402,6 @@ class CRM_Core_Config_MagicMerge { 'inCiviCRM' => FALSE, 'doNotResetCache' => 0, 'keyDisable' => FALSE, - 'initialized' => FALSE, 'userFrameworkFrontend' => FALSE, 'userPermissionTemp' => NULL, ]; diff --git a/civicrm/CRM/Core/Config/Runtime.php b/civicrm/CRM/Core/Config/Runtime.php index 1fd76d270dc1bf760d9c8a1f4af51569348649ab..c642d699db6ec9e50224c0bb8508fc1ab60ab779 100644 --- a/civicrm/CRM/Core/Config/Runtime.php +++ b/civicrm/CRM/Core/Config/Runtime.php @@ -16,7 +16,7 @@ * the DSN, CMS type, CMS URL, etc. Generally, runtime properties must be * determined externally (before loading CiviCRM). */ -class CRM_Core_Config_Runtime extends CRM_Core_Config_MagicMerge { +class CRM_Core_Config_Runtime { public $dsn; @@ -63,6 +63,11 @@ class CRM_Core_Config_Runtime extends CRM_Core_Config_MagicMerge { */ public $templateDir; + /** + * @var bool + */ + public $initialized; + /** * @param bool $loadFromDB */ @@ -117,7 +122,7 @@ class CRM_Core_Config_Runtime extends CRM_Core_Config_MagicMerge { public function includeCustomPath() { $customProprtyName = ['customPHPPathDir', 'customTemplateDir']; foreach ($customProprtyName as $property) { - $value = $this->getSettings()->get($property); + $value = Civi::settings()->get($property); if (!empty($value)) { $customPath = Civi::paths()->getPath($value); set_include_path($customPath . PATH_SEPARATOR . get_include_path()); diff --git a/civicrm/CRM/Core/Controller/Simple.php b/civicrm/CRM/Core/Controller/Simple.php index d88929e66634870e1520eb1942befa8da6df0c2b..1f13aa035b9a6dc9ff2815d31911bd7e437a626a 100644 --- a/civicrm/CRM/Core/Controller/Simple.php +++ b/civicrm/CRM/Core/Controller/Simple.php @@ -59,7 +59,7 @@ class CRM_Core_Controller_Simple extends CRM_Core_Controller { $mode = $savedAction; } - $this->_stateMachine->addSequentialPages($params, $mode); + $this->_stateMachine->addSequentialPages($params); $this->addPages($this->_stateMachine, $mode); diff --git a/civicrm/CRM/Core/DAO.php b/civicrm/CRM/Core/DAO.php index ead9a4f45115a823d36a8924dfd827efc7483331..0cd22185722dc7670094d5a38203983f8c7ccb34 100644 --- a/civicrm/CRM/Core/DAO.php +++ b/civicrm/CRM/Core/DAO.php @@ -944,6 +944,12 @@ class CRM_Core_DAO extends DB_DataObject { if (empty($values[$idField]) && array_key_exists('name', $fields) && empty($values['name'])) { $instance->makeNameFromLabel(); } + if (empty($values[$idField]) && array_key_exists('frontend_title', $fields) && empty($values['frontend_title'])) { + $instance->frontend_title = $instance->title; + } + if (empty($values[$idField]) && array_key_exists('title', $fields) && empty($values['title']) && !empty($values['frontend_title'])) { + $instance->title = $instance->frontend_title; + } $instance->save(); if (!empty($record['custom']) && is_array($record['custom'])) { @@ -1866,7 +1872,7 @@ LIKE %1 $localizableFields = FALSE; foreach ($fields as $name => $value) { - if ($name == 'id' || $value['name'] == 'id') { + if ($name === 'id' || $value['name'] === 'id') { // copy everything but the id! continue; } @@ -1884,7 +1890,7 @@ LIKE %1 $newObject->$dbName = $fieldsToReplace[$dbName]; } - if ($type == 'Timestamp' || $type == 'Date') { + if ($type === 'Timestamp' || $type === 'Date') { $newObject->$dbName = CRM_Utils_Date::isoToMysql($newObject->$dbName); } @@ -1896,6 +1902,9 @@ LIKE %1 $newObject->copyValues($newData); } } + if (!empty($fields['name'])) { + $newObject->makeNameFromLabel(); + } $newObject->save(); // ensure we copy all localized fields as well diff --git a/civicrm/CRM/Core/DAO/Country.php b/civicrm/CRM/Core/DAO/Country.php index c5c1788471785df58ec53c7135791345c33da66e..5e3245dd2acaafaa872f65baf9d8ee97db07ba29 100644 --- a/civicrm/CRM/Core/DAO/Country.php +++ b/civicrm/CRM/Core/DAO/Country.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Country.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:87bbe6fcf59d26d4fc8250c8dcb647ca) + * (GenCodeChecksum:b3efea686c5569dab5aa3924dc04275a) */ /** @@ -354,6 +354,7 @@ class CRM_Core_DAO_Country extends CRM_Core_DAO { 'localize_context' => 'country', 'FKClassName' => 'CRM_Core_DAO_Worldregion', 'html' => [ + 'type' => 'Select', 'label' => ts("World Region"), ], 'pseudoconstant' => [ diff --git a/civicrm/CRM/Core/DAO/Discount.php b/civicrm/CRM/Core/DAO/Discount.php index d56564cfd124e560c0e304247ea75cfd71e15cf8..1d9810753e9a6de99cfa4141037f35370f38462f 100644 --- a/civicrm/CRM/Core/DAO/Discount.php +++ b/civicrm/CRM/Core/DAO/Discount.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Discount.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:b5b246e07e19dc11978ab693b60e27d6) + * (GenCodeChecksum:63b35b634e2bbd8e56e55e87c7d06f91) */ /** @@ -208,6 +208,7 @@ class CRM_Core_DAO_Discount extends CRM_Core_DAO { 'localizable' => 0, 'FKClassName' => 'CRM_Price_DAO_PriceSet', 'html' => [ + 'type' => 'Select', 'label' => ts("Price Set"), ], 'pseudoconstant' => [ diff --git a/civicrm/CRM/Core/DAO/Job.php b/civicrm/CRM/Core/DAO/Job.php index efb2701d154e6b0b42b51a5306c7d70c16305bf8..24cd599a39d93889606adf59e5d5310dfa1aa83e 100644 --- a/civicrm/CRM/Core/DAO/Job.php +++ b/civicrm/CRM/Core/DAO/Job.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Job.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:ea541d77d51255a389c90948e57ce2f0) + * (GenCodeChecksum:aa30e47b3e824d879677194f87538a4f) */ /** @@ -38,7 +38,7 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO { protected static $_paths = [ 'add' => 'civicrm/admin/job/add?reset=1&action=add', 'delete' => 'civicrm/admin/job/edit?reset=1&action=delete&id=[id]', - 'update' => 'civicrm/admin/job/edit?reset=1&action=edit&id=[id]', + 'update' => 'civicrm/admin/job/edit?reset=1&action=update&id=[id]', ]; /** @@ -223,6 +223,7 @@ class CRM_Core_DAO_Job extends CRM_Core_DAO { 'localizable' => 0, 'FKClassName' => 'CRM_Core_DAO_Domain', 'html' => [ + 'type' => 'Select', 'label' => ts("Domain"), ], 'pseudoconstant' => [ diff --git a/civicrm/CRM/Core/DAO/MappingField.php b/civicrm/CRM/Core/DAO/MappingField.php index d004323ec0a1f11f5e53c7372948aa2af58e2210..88756dc105e54d8aa096a33f6fd065b72c7606fa 100644 --- a/civicrm/CRM/Core/DAO/MappingField.php +++ b/civicrm/CRM/Core/DAO/MappingField.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/MappingField.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:3df2e91108cdb428e82485a6640e1721) + * (GenCodeChecksum:8f7b866fac291f09aa847fd68700c9c2) */ /** @@ -324,6 +324,7 @@ class CRM_Core_DAO_MappingField extends CRM_Core_DAO { 'localizable' => 0, 'FKClassName' => 'CRM_Core_DAO_LocationType', 'html' => [ + 'type' => 'Select', 'label' => ts("Location type"), ], 'pseudoconstant' => [ diff --git a/civicrm/CRM/Core/DAO/Menu.php b/civicrm/CRM/Core/DAO/Menu.php index 1d8531821ce42ffc110d6faee61b5babf89e74d4..b7b6beba3b4370381d177618f9113bc27c4f4000 100644 --- a/civicrm/CRM/Core/DAO/Menu.php +++ b/civicrm/CRM/Core/DAO/Menu.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/Menu.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:002201c07590192edf274b05b8b42886) + * (GenCodeChecksum:cb35af506e5fb70dbdd88627f8b1dee4) */ /** @@ -314,6 +314,7 @@ class CRM_Core_DAO_Menu extends CRM_Core_DAO { 'localizable' => 0, 'FKClassName' => 'CRM_Core_DAO_Domain', 'html' => [ + 'type' => 'Select', 'label' => ts("Domain"), ], 'pseudoconstant' => [ diff --git a/civicrm/CRM/Core/DAO/MessageTemplate.php b/civicrm/CRM/Core/DAO/MessageTemplate.php index 5b10cda292a36b7d42992878988ca0adf5ac2e2d..b39d92c08373c4c92494e93e4e625747183cb03a 100644 --- a/civicrm/CRM/Core/DAO/MessageTemplate.php +++ b/civicrm/CRM/Core/DAO/MessageTemplate.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/MessageTemplate.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:5787b720061fdeb38bca35e2e6c35730) + * (GenCodeChecksum:65e3ae090a60b085f252019d3d113ceb) */ /** @@ -421,6 +421,9 @@ class CRM_Core_DAO_MessageTemplate extends CRM_Core_DAO { 'entity' => 'MessageTemplate', 'bao' => 'CRM_Core_BAO_MessageTemplate', 'localizable' => 0, + 'html' => [ + 'type' => 'Select', + ], 'pseudoconstant' => [ 'optionGroupName' => 'pdf_format', 'keyColumn' => 'id', diff --git a/civicrm/CRM/Core/DAO/OpenID.php b/civicrm/CRM/Core/DAO/OpenID.php index be0e6f009aba7251397799dcab3d359a392055fe..70b66c6d42b79a6b990d9bc5ac8f872a48dfa723 100644 --- a/civicrm/CRM/Core/DAO/OpenID.php +++ b/civicrm/CRM/Core/DAO/OpenID.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/OpenID.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:046f25d8355b0276f8e43f34915bf5e4) + * (GenCodeChecksum:53b8b7ca863512c191623ab26381dd0d) */ /** @@ -186,6 +186,10 @@ class CRM_Core_DAO_OpenID extends CRM_Core_DAO { 'entity' => 'OpenID', 'bao' => 'CRM_Core_BAO_OpenID', 'localizable' => 0, + 'html' => [ + 'type' => 'Select', + 'label' => ts("Location Type"), + ], 'pseudoconstant' => [ 'table' => 'civicrm_location_type', 'keyColumn' => 'id', diff --git a/civicrm/CRM/Core/EntityTokens.php b/civicrm/CRM/Core/EntityTokens.php index 9d33cf13599b1ee82740aa4f88f573e14d23586f..bf94a19d049930f75bc65e25a2b905655b7b9594 100644 --- a/civicrm/CRM/Core/EntityTokens.php +++ b/civicrm/CRM/Core/EntityTokens.php @@ -78,6 +78,7 @@ class CRM_Core_EntityTokens extends AbstractTokenSubscriber { $cacheKey = $this->getCacheKey(); if (!Civi::cache('metadata')->has($cacheKey)) { $tokensMetadata = $this->getBespokeTokens(); + $tokensMetadata = array_merge($tokensMetadata, $this->getRelatedTokens()); foreach ($this->getFieldMetadata() as $field) { $this->addFieldToTokenMetadata($tokensMetadata, $field, $this->getExposedFields()); } @@ -119,15 +120,11 @@ class CRM_Core_EntityTokens extends AbstractTokenSubscriber { return $row->customToken($entity, \CRM_Core_BAO_CustomField::getKeyID($field), $this->getFieldValue($row, 'id')); } if ($this->isMoneyField($field)) { - $currency = $this->getCurrency($row); + $currency = $this->getCurrency($row) ?: \Civi::settings()->get('defaultCurrency'); if (empty($fieldValue) && !is_numeric($fieldValue)) { $fieldValue = 0; } - if (!$currency) { - // too hard basket for now - just do what we always did. - return $row->format('text/plain')->tokens($entity, $field, - \CRM_Utils_Money::format($fieldValue, $currency)); - } + return $row->format('text/plain')->tokens($entity, $field, Money::of($fieldValue, $currency)); @@ -275,6 +272,13 @@ class CRM_Core_EntityTokens extends AbstractTokenSubscriber { return []; } + /** + * Get related entity tokens. + */ + protected function getRelatedTokens(): array { + return []; + } + /** * Get the value for the relevant pseudo field. * diff --git a/civicrm/CRM/Core/Error.php b/civicrm/CRM/Core/Error.php index 9a50144288b413170d3ee9a39cd5d6540ddaaf08..1ff5ab84583970af3a79d1b862fb9fc1363f9c8a 100644 --- a/civicrm/CRM/Core/Error.php +++ b/civicrm/CRM/Core/Error.php @@ -689,7 +689,7 @@ class CRM_Core_Error extends PEAR_ErrorStack { else { $hash = ''; } - $fileName = $config->configAndLogDir . 'CiviCRM.' . CIVICRM_DOMAIN_ID . '_' . $prefixString . $hash . 'log'; + $fileName = $config->configAndLogDir . 'CiviCRM.' . CIVICRM_DOMAIN_ID . '.' . $prefixString . $hash . 'log'; // Roll log file monthly or if greater than our threshold. // Size-based rotation introduced in response to filesize limits on diff --git a/civicrm/CRM/Core/Form/Renderer.php b/civicrm/CRM/Core/Form/Renderer.php index e606b25b8cdec27fea3004f7c5c3e8b01d962954..bda38ac8940e4c8907f8ae25dbb2aeda2d56b17c 100644 --- a/civicrm/CRM/Core/Form/Renderer.php +++ b/civicrm/CRM/Core/Form/Renderer.php @@ -85,6 +85,7 @@ class CRM_Core_Form_Renderer extends HTML_QuickForm_Renderer_ArraySmarty { self::updateAttributes($element, $required, $error); $el = parent::_elementToArray($element, $required, $error); + $el['textLabel'] = $element->_label ?? NULL; // add label html if (!empty($el['label'])) { diff --git a/civicrm/CRM/Core/I18n/SchemaStructure.php b/civicrm/CRM/Core/I18n/SchemaStructure.php index 765a8efd8351dd254bd0b4651cd33d8dd9b0fc17..efd06caa5bfd55e426fe7b8b3c15671eba1b60b6 100644 --- a/civicrm/CRM/Core/I18n/SchemaStructure.php +++ b/civicrm/CRM/Core/I18n/SchemaStructure.php @@ -97,7 +97,8 @@ class CRM_Core_I18n_SchemaStructure { 'frontend_description' => "text DEFAULT NULL COMMENT 'Alternative public description of the group.'", ], 'civicrm_contribution_page' => [ - 'title' => "varchar(255) COMMENT 'Contribution Page title. For top of page display'", + 'title' => "varchar(255) NOT NULL COMMENT 'Contribution Page title. For top of page display'", + 'frontend_title' => "varchar(255) NOT NULL COMMENT 'Contribution Page Public title'", 'intro_text' => "text COMMENT 'Text and html allowed. Displayed below title.'", 'pay_later_text' => "text COMMENT 'The text displayed to the user in the main form'", 'pay_later_receipt' => "text COMMENT 'The receipt sent to the user instead of the normal receipt text'", @@ -109,7 +110,6 @@ class CRM_Core_I18n_SchemaStructure { 'receipt_from_name' => "varchar(255) COMMENT 'FROM email name used for receipts generated by contributions to this contribution page.'", 'receipt_text' => "text COMMENT 'text to include above standard receipt info on receipt email. emails are text-only, so do not allow html for now'", 'footer_text' => "text COMMENT 'Text and html allowed. Displayed at the bottom of the first page of the contribution wizard.'", - 'frontend_title' => "varchar(255) DEFAULT NULL COMMENT 'Contribution Page Public title'", ], 'civicrm_product' => [ 'name' => "varchar(255) NOT NULL COMMENT 'Required product/premium name'", @@ -429,6 +429,11 @@ class CRM_Core_I18n_SchemaStructure { 'civicrm_contribution_page' => [ 'title' => [ 'type' => "Text", + 'required' => "true", + ], + 'frontend_title' => [ + 'type' => "Text", + 'required' => "true", ], 'intro_text' => [ 'type' => "RichTextEditor", @@ -473,9 +478,6 @@ class CRM_Core_I18n_SchemaStructure { 'rows' => "6", 'cols' => "50", ], - 'frontend_title' => [ - 'type' => "Text", - ], ], 'civicrm_product' => [ 'name' => [ diff --git a/civicrm/CRM/Core/Page/Inline/Help.php b/civicrm/CRM/Core/Page/Inline/Help.php index 6f299be382a94f7cd22ea448376bdb78a30856a2..19f3ffe56543f537eb920d009e6e8092daf0eea2 100644 --- a/civicrm/CRM/Core/Page/Inline/Help.php +++ b/civicrm/CRM/Core/Page/Inline/Help.php @@ -22,6 +22,8 @@ class CRM_Core_Page_Inline_Help { public function run() { $args = $_REQUEST; $file = (string) ($args['file'] ?? ''); + // windows - just replace so the regex can match + $file = str_replace('\\', '/', $file); if (preg_match('@^[a-zA-Z0-9_-]+(/[a-zA-Z0-9_-]+)*$@', $file)) { $additionalTPLFile = "$file.extra.hlp"; $file .= '.hlp'; diff --git a/civicrm/CRM/Core/Permission.php b/civicrm/CRM/Core/Permission.php index 2a412f526afd78aa17b0809c939fc2f5dd84ea90..d0d59bae4bc8f9ae9bafa9c1d6097f185e3ac7a9 100644 --- a/civicrm/CRM/Core/Permission.php +++ b/civicrm/CRM/Core/Permission.php @@ -782,7 +782,7 @@ class CRM_Core_Permission { 'view all notes' => [ $prefix . ts('view all notes'), - ts("View notes (for visible contacts) even if they're marked admin only"), + ts("View notes (for visible contacts) even if they're marked author only"), ], 'add contact notes' => [ $prefix . ts('add contact notes'), @@ -1245,7 +1245,7 @@ class CRM_Core_Permission { ]; // Price sets are shared by several components, user needs access to at least one of them - $permissions['price_set'] = [ + $permissions['price_set'] = $permissions['price_field'] = $permissions['price_field_value'] = $permissions['price_set_entity'] = [ 'default' => [ ['access CiviEvent', 'access CiviContribute', 'access CiviMember'], ], @@ -1516,6 +1516,12 @@ class CRM_Core_Permission { 'access CiviCRM', ], ]; + $permissions['mapping'] = [ + 'default' => [ + 'access CiviCRM', + ], + ]; + $permissions['mapping_field'] = $permissions['mapping']; $permissions['saved_search'] = [ 'default' => ['administer CiviCRM data'], diff --git a/civicrm/CRM/Core/Region.php b/civicrm/CRM/Core/Region.php index 4d9f733068c67003c28ad68cd6345be2b37c3d3e..7cb7f22254a6b0c8f37228d6ba474d5b1eda1b48 100644 --- a/civicrm/CRM/Core/Region.php +++ b/civicrm/CRM/Core/Region.php @@ -88,7 +88,11 @@ class CRM_Core_Region implements CRM_Core_Resources_CollectionInterface, CRM_Cor break; case 'scriptUrl': - if (!$allowCmsOverride || !$cms->addScriptUrl($snippet['scriptUrl'], $this->_name)) { + // ECMAScript Modules (ESMs) are basically Javascript files, but they require a slightly different incantation. + if (!empty($snippet['esm'])) { + $html .= Civi::service('esm.loader')->renderModule($snippet); + } + elseif (!$allowCmsOverride || !$cms->addScriptUrl($snippet['scriptUrl'], $this->_name)) { $html .= sprintf("<script type=\"text/javascript\" src=\"%s\">\n</script>\n", $snippet['scriptUrl']); } break; @@ -107,7 +111,11 @@ class CRM_Core_Region implements CRM_Core_Resources_CollectionInterface, CRM_Cor break; case 'script': - if (!$allowCmsOverride || !$cms->addScript($snippet['script'], $this->_name)) { + // ECMAScript Modules (ESMs) are basically Javascript files, but they require a slightly different incantation. + if (!empty($snippet['esm'])) { + $html .= Civi::service('esm.loader')->renderModule($snippet); + } + elseif (!$allowCmsOverride || !$cms->addScript($snippet['script'], $this->_name)) { $html .= sprintf("<script type=\"text/javascript\">\n%s\n</script>\n", $snippet['script']); } break; diff --git a/civicrm/CRM/Core/Resources/CollectionAdderInterface.php b/civicrm/CRM/Core/Resources/CollectionAdderInterface.php index e3b4f2cc92122859aed75472d35772c287aaee57..14132522d3a26dba2347732ba1d133a95b53fcd0 100644 --- a/civicrm/CRM/Core/Resources/CollectionAdderInterface.php +++ b/civicrm/CRM/Core/Resources/CollectionAdderInterface.php @@ -44,6 +44,52 @@ interface CRM_Core_Resources_CollectionAdderInterface { */ public function addMarkup(string $markup, ...$options); + /** + * Add an ECMAScript Module (ESM) to the current page (<SCRIPT TYPE=MODULE>). + * + * Ex: addScript('alert("Hello world");', ['weight' => 123]); + * + * @param string $code + * JavaScript source code. + * @param array $options + * Open-ended list of key-value options. See CollectionInterface docs. + * Positional equivalence: addScript(string $code, int $weight, string $region). + * @return static + * @see CRM_Core_Resources_CollectionInterface + */ + public function addModule(string $code, ...$options); + + /** + * Add an ECMAScript Module (ESM) from file to the current page (<SCRIPT TYPE=MODULE SRC=...>). + * + * Ex: addScriptFile('myextension', 'myscript.js', ['weight' => 123]); + * + * @param string $ext + * Extension name; use 'civicrm' for core. + * @param string $file + * File path -- relative to the extension base dir. + * @param array $options + * Open-ended list of key-value options. See CollectionInterface docs. + * Positional equivalence: addScriptFile(string $code, int $weight, string $region, mixed $translate). + * @return static + * @see CRM_Core_Resources_CollectionInterface + */ + public function addModuleFile(string $ext, string $file, ...$options); + + /** + * Add an ECMAScript Module (ESM) by URL to the current page (<SCRIPT TYPE=MODULE SRC=...>). + * + * Ex: addScriptUrl('http://example.com/foo.js', ['weight' => 123]) + * + * @param string $url + * @param array $options + * Open-ended list of key-value options. See CollectionInterface docs. + * Positional equivalence: addScriptUrl(string $url, int $weight, string $region). + * @return static + * @see CRM_Core_Resources_CollectionInterface + */ + public function addModuleUrl(string $url, ...$options); + /** * Export permission data to the client to enable smarter GUIs. * diff --git a/civicrm/CRM/Core/Resources/CollectionAdderTrait.php b/civicrm/CRM/Core/Resources/CollectionAdderTrait.php index da81a34a03d9935211646b66e49ace2441929fc6..71b394a427c6797a9389575615cf5f17f9b1b975 100644 --- a/civicrm/CRM/Core/Resources/CollectionAdderTrait.php +++ b/civicrm/CRM/Core/Resources/CollectionAdderTrait.php @@ -61,6 +61,79 @@ trait CRM_Core_Resources_CollectionAdderTrait { return $this; } + /** + * Add an ECMAScript module (ESM) to the current page (<SCRIPT TYPE=MODULE>). + * + * Ex: addModule('alert("Hello world");', ['weight' => 123]); + * + * @param string $code + * JavaScript source code. + * @param array $options + * Open-ended list of key-value options. See CollectionInterface docs. + * Positional equivalence: addModule(string $code, int $weight, string $region). + * @return static + * @see CRM_Core_Resources_CollectionInterface + * @see CRM_Core_Resources_CollectionAdderInterface::addModule() + */ + public function addModule(string $code, ...$options) { + $this->add(self::mergeStandardOptions($options, [ + 'esm' => TRUE, + 'script' => $code, + ])); + return $this; + } + + /** + * Add an ECMAScript Module (ESM) from file to the current page (<SCRIPT TYPE=MODULE SRC=...>). + * + * Ex: addModuleFile('myextension', 'myscript.js', ['weight' => 123]); + * + * @param string $ext + * Extension name; use 'civicrm' for core. + * @param string $file + * File path -- relative to the extension base dir. + * @param array $options + * Open-ended list of key-value options. See CollectionInterface docs. + * Positional equivalence: addModuleFile(string $code, int $weight, string $region, mixed $translate). + * @return static + * @see CRM_Core_Resources_CollectionInterface + * @see CRM_Core_Resources_CollectionAdderInterface::addModuleFile() + */ + public function addModuleFile(string $ext, string $file, ...$options) { + $this->add(self::mergeStandardOptions($options, [ + 'esm' => TRUE, + 'scriptFile' => [$ext, $file], + 'name' => "$ext:$file", + // Setting the name above may appear superfluous, but it preserves a historical quirk + // where Region::add() and Resources::addScriptFile() produce slightly different orderings. + ])); + return $this; + } + + /** + * Add an ECMAScript Module (ESM) by URL to the current page (<SCRIPT TYPE=MODULE SRC=...>). + * + * Ex: addModuleUrl('http://example.com/foo.js', ['weight' => 123]) + * + * @param string $url + * @param array $options + * Open-ended list of key-value options. See CollectionInterface docs. + * Positional equivalence: addModuleUrl(string $url, int $weight, string $region). + * @return static + * @see CRM_Core_Resources_CollectionInterface + * @see CRM_Core_Resources_CollectionAdderInterface::addModuleUrl() + */ + public function addModuleUrl(string $url, ...$options) { + $this->add(self::mergeStandardOptions($options, [ + 'esm' => TRUE, + 'scriptUrl' => $url, + 'name' => $url, + // Setting the name above may appear superfluous, but it preserves a historical quirk + // where Region::add() and Resources::addScriptUrl() produce slightly different orderings. + ])); + return $this; + } + /** * Export permission data to the client to enable smarter GUIs. * diff --git a/civicrm/CRM/Core/Resources/CollectionInterface.php b/civicrm/CRM/Core/Resources/CollectionInterface.php index a81db1cfacb32e45f4eed2ee9c9ba7a265e3cac1..531cb3949ef2396b6b71bd6f3a4ecb2a12238644 100644 --- a/civicrm/CRM/Core/Resources/CollectionInterface.php +++ b/civicrm/CRM/Core/Resources/CollectionInterface.php @@ -57,6 +57,7 @@ * not guaranteed among versions/implementations.) * - disabled: int, default=0 * - region: string + * - esm: bool, enable ECMAScript Module (ESM) support for "script","scriptFile","scriptUrl" * - translate: bool|string, Autoload translations. (Only applies to 'scriptFile') * - FALSE: Do not load translated strings. * - TRUE: Load translated strings. Use the $ext's default domain. diff --git a/civicrm/CRM/Core/Resources/CollectionTrait.php b/civicrm/CRM/Core/Resources/CollectionTrait.php index dfda8e4518bed15d50fd040407bd36f6db6049a1..15daa1813fa9261370637a5747444c03d5212b30 100644 --- a/civicrm/CRM/Core/Resources/CollectionTrait.php +++ b/civicrm/CRM/Core/Resources/CollectionTrait.php @@ -9,6 +9,8 @@ +--------------------------------------------------------------------+ */ +use Civi\Core\Event\GenericHookEvent; + /** * Class CRM_Core_Resources_CollectionTrait * @@ -101,6 +103,9 @@ trait CRM_Core_Resources_CollectionTrait { break; } } + if (!empty($snippet['esm'])) { + Civi::dispatcher()->dispatch('civi.esm.useModule', GenericHookEvent::create(['snippet' => &$snippet])); + } if ($snippet['type'] === 'scriptFile' && !isset($snippet['scriptFileUrls'])) { $res = Civi::resources(); diff --git a/civicrm/CRM/Core/Smarty/plugins/function.help.php b/civicrm/CRM/Core/Smarty/plugins/function.help.php index 1a1a8ad8af3247915f7d01723076a0ed97eb528b..2a0a2804d986c5422616adf01be1e260501dd7f9 100644 --- a/civicrm/CRM/Core/Smarty/plugins/function.help.php +++ b/civicrm/CRM/Core/Smarty/plugins/function.help.php @@ -39,22 +39,21 @@ function smarty_function_help($params, &$smarty) { } $params['file'] = str_replace(['.tpl', '.hlp'], '', $params['file']); + $fieldID = str_replace('-', '_', preg_replace('/^id-/', '', $params['id'])); if (empty($params['title'])) { $vars = $smarty->get_template_vars(); $smarty->assign('id', $params['id'] . '-title'); - $name = trim($smarty->fetch($params['file'] . '.hlp')); - $extraoutput = ''; + $name = trim($smarty->fetch($params['file'] . '.hlp')) ?: $vars['form'][$fieldID]['textLabel'] ?? ''; $additionalTPLFile = $params['file'] . '.extra.hlp'; if ($smarty->template_exists($additionalTPLFile)) { - $extraoutput .= trim($smarty->fetch($additionalTPLFile)); - // Allow override param to replace default text e.g. {hlp id='foo' override=1} - if ($smarty->get_template_vars('override_help_text')) { - $name = ''; + $extraoutput = trim($smarty->fetch($additionalTPLFile)); + if ($extraoutput) { + // Allow override param to replace default text e.g. {hlp id='foo' override=1} + $name = ($smarty->get_template_vars('override_help_text') || empty($name)) ? $extraoutput : $name . ' ' . $extraoutput; } } - $name .= $extraoutput; // Ensure we didn't change any existing vars CRM-11900 foreach ($vars as $key => $value) { @@ -64,7 +63,7 @@ function smarty_function_help($params, &$smarty) { } } else { - $name = trim(strip_tags($params['title'])); + $name = trim(strip_tags($params['title'])) ?: $vars['form'][$fieldID]['textLabel'] ?? ''; } $class = "helpicon"; diff --git a/civicrm/CRM/Custom/Import/Parser/Api.php b/civicrm/CRM/Custom/Import/Parser/Api.php index 2b2cbbcba293c867ae1460a9e8da7f856fa4b2f1..cd2ed4edd29f41a932f8b03839b5c1eb00a14db2 100644 --- a/civicrm/CRM/Custom/Import/Parser/Api.php +++ b/civicrm/CRM/Custom/Import/Parser/Api.php @@ -69,7 +69,7 @@ class CRM_Custom_Import_Parser_Api extends CRM_Import_Parser { $this->setImportStatus($rowNumber, 'IMPORTED', '', $formatted['id']); } catch (CRM_Core_Exception $e) { - $this->setImportStatus($rowNumber, 'ERROR', '', $e->getMessage()); + $this->setImportStatus($rowNumber, 'ERROR', $e->getMessage(), $formatted['id']); } } diff --git a/civicrm/CRM/Custom/Page/Option.php b/civicrm/CRM/Custom/Page/Option.php index 855ed99b9ea9032e5a8b3c0e6c7f5179f36b4024..030061f59ebd4f64ce22632f4ca64eee0ffa97ec 100644 --- a/civicrm/CRM/Custom/Page/Option.php +++ b/civicrm/CRM/Custom/Page/Option.php @@ -68,22 +68,26 @@ class CRM_Custom_Page_Option extends CRM_Core_Page { 'url' => 'civicrm/admin/custom/group/field/option', 'qs' => 'action=view&id=%%id%%&fid=%%fid%%', 'title' => ts('View Multiple Choice Option'), + 'weight' => -20, ], CRM_Core_Action::DISABLE => [ 'name' => ts('Disable'), 'ref' => 'crm-enable-disable', 'title' => ts('Disable Multiple Choice Option'), + 'weight' => 40, ], CRM_Core_Action::ENABLE => [ 'name' => ts('Enable'), 'ref' => 'crm-enable-disable', 'title' => ts('Enable Multiple Choice Option'), + 'weight' => 30, ], CRM_Core_Action::DELETE => [ 'name' => ts('Delete'), 'url' => 'civicrm/admin/custom/group/field/option', 'qs' => 'action=delete&id=%%id%%&fid=%%fid%%', 'title' => ts('Delete Multiple Choice Option'), + 'weight' => 100, ], ]; } diff --git a/civicrm/CRM/Dedupe/BAO/DedupeRuleGroup.php b/civicrm/CRM/Dedupe/BAO/DedupeRuleGroup.php index b15000917cff02ebe76052629c227c3f39398b8a..c45e90560a5db1bef9c0f38cbe2f0f20cabc3803 100644 --- a/civicrm/CRM/Dedupe/BAO/DedupeRuleGroup.php +++ b/civicrm/CRM/Dedupe/BAO/DedupeRuleGroup.php @@ -555,10 +555,10 @@ class CRM_Dedupe_BAO_DedupeRuleGroup extends CRM_Dedupe_DAO_DedupeRuleGroup { * Individual, Household or Organization. * * - * @return array + * @return array|string[] * id => "nice name" of rule group */ - public static function getByType($contactType = NULL) { + public static function getByType($contactType = NULL): array { $dao = new CRM_Dedupe_DAO_DedupeRuleGroup(); if ($contactType) { diff --git a/civicrm/CRM/Dedupe/BAO/Exception.php b/civicrm/CRM/Dedupe/BAO/Exception.php index e3777e7fe6f88d95fd142cb33e182e744ae2c481..ef4081c8a900a78bfcf2778e294638ef4a95f35c 100644 --- a/civicrm/CRM/Dedupe/BAO/Exception.php +++ b/civicrm/CRM/Dedupe/BAO/Exception.php @@ -16,6 +16,6 @@ */ /** - * Manages dedupe exceptions - ie pairs marked as non-duplicates. + * @deprecated */ class CRM_Dedupe_BAO_Exception extends CRM_Dedupe_BAO_DedupeException {} diff --git a/civicrm/CRM/Dedupe/BAO/Rule.php b/civicrm/CRM/Dedupe/BAO/Rule.php index 0e4d31f94809edf887955ed84c53e868fb861d7a..980b47315048d9e089efffc3cea90c442efb1fc3 100644 --- a/civicrm/CRM/Dedupe/BAO/Rule.php +++ b/civicrm/CRM/Dedupe/BAO/Rule.php @@ -10,13 +10,29 @@ */ /** - * - * @package CRM - * @copyright CiviCRM LLC https://civicrm.org/licensing + * @deprecated */ +class CRM_Dedupe_BAO_Rule extends CRM_Dedupe_BAO_DedupeRule { -/** - * The CiviCRM duplicate discovery engine is based on an - * algorithm designed by David Strauss <david@fourkitchens.com>. - */ -class CRM_Dedupe_BAO_Rule extends CRM_Dedupe_BAO_DedupeRule {} + /** + * @param int $cid + * @param int $oid + * @deprecated + * @return bool + */ + public static function validateContacts($cid, $oid) { + CRM_Core_Error::deprecatedFunctionWarning('CRM_Dedupe_BAO_DedupeRule::validateContacts'); + return parent::validateContacts($cid, $oid); + } + + /** + * @param array $params + * @deprecated + * @return array + */ + public static function dedupeRuleFields($params) { + CRM_Core_Error::deprecatedFunctionWarning('CRM_Dedupe_BAO_DedupeRule::dedupeRuleFields'); + return parent::dedupeRuleFields($params); + } + +} diff --git a/civicrm/CRM/Dedupe/BAO/RuleGroup.php b/civicrm/CRM/Dedupe/BAO/RuleGroup.php index 1b70dcbffe598467870b25fc44f2de83d19ea798..2caf83350572e0ee3a994a4b29b4d250213ca14e 100644 --- a/civicrm/CRM/Dedupe/BAO/RuleGroup.php +++ b/civicrm/CRM/Dedupe/BAO/RuleGroup.php @@ -10,13 +10,18 @@ */ /** - * - * @package CRM - * @copyright CiviCRM LLC https://civicrm.org/licensing + * @deprecated */ +class CRM_Dedupe_BAO_RuleGroup extends CRM_Dedupe_BAO_DedupeRuleGroup { -/** - * The CiviCRM duplicate discovery engine is based on an - * algorithm designed by David Strauss <david@fourkitchens.com>. - */ -class CRM_Dedupe_BAO_RuleGroup extends CRM_Dedupe_BAO_DedupeRuleGroup {} + /** + * @deprecated + * @param string $contactType + * @return array|string[] + */ + public static function getByType($contactType = NULL): array { + CRM_Core_Error::deprecatedFunctionWarning('APIv4 DedupeRuleGroup::get'); + return parent::getByType($contactType); + } + +} diff --git a/civicrm/CRM/Dedupe/Merger.php b/civicrm/CRM/Dedupe/Merger.php index 78bc767444c3e13eb31fc6b747eb43ccbcdcb021..45b6b91742978119b7a13cace87389950050b2c4 100644 --- a/civicrm/CRM/Dedupe/Merger.php +++ b/civicrm/CRM/Dedupe/Merger.php @@ -233,9 +233,6 @@ class CRM_Dedupe_Merger { } CRM_Utils_Hook::merge('cidRefs', $contactReferences); - if ($contactReferences !== $coreReferences) { - CRM_Core_Error::deprecatedWarning("Deprecated hook ::merge in context of 'cidRefs. Use entityTypes instead."); - } \Civi::$statics[__CLASS__]['contact_references'] = $contactReferences; return \Civi::$statics[__CLASS__]['contact_references']; } @@ -1544,12 +1541,12 @@ INNER JOIN civicrm_membership membership2 ON membership1.membership_type_id = m continue; } $rows["move_$field"] = [ - 'main' => self::getFieldValueAndLabel($field, $main)['label'], - 'other' => self::getFieldValueAndLabel($field, $other)['label'], + 'main' => self::getFieldValueAndLabel($field, $main, $checkPermissions)['label'], + 'other' => self::getFieldValueAndLabel($field, $other, $checkPermissions)['label'], 'title' => $fields[$field]['label'], ]; - $value = self::getFieldValueAndLabel($field, $other)['value']; + $value = self::getFieldValueAndLabel($field, $other, $checkPermissions)['value']; //CRM-14334 if ($value === NULL || $value === '') { $value = 'null'; @@ -1565,6 +1562,8 @@ INNER JOIN civicrm_membership membership2 ON membership1.membership_type_id = m // Display a checkbox to migrate, only if the values are different if ($value != $main[$field]) { + // Don't check source if main is empty, because the source of the other contact is not the source of the merged contact + $isChecked = ($field === 'source') ? FALSE : (!isset($main[$field]) || $main[$field] === ''); $elements[] = [ 0 => 'advcheckbox', 1 => "move_$field", @@ -1572,7 +1571,7 @@ INNER JOIN civicrm_membership membership2 ON membership1.membership_type_id = m 3 => NULL, 4 => NULL, 5 => $value, - 'is_checked' => (!isset($main[$field]) || $main[$field] === ''), + 'is_checked' => $isChecked, ]; } @@ -2768,14 +2767,15 @@ ORDER BY civicrm_custom_group.weight, /** * Get the field value & label for the given field. * - * @param $field - * @param $contact + * @param string $field + * @param array $contact + * @param bool $checkPermissions * * @return array * @throws \Exception */ - private static function getFieldValueAndLabel($field, $contact): array { - $fields = self::getMergeFieldsMetadata(); + private static function getFieldValueAndLabel(string $field, array $contact, bool $checkPermissions): array { + $fields = self::getMergeFieldsMetadata($checkPermissions); $value = $label = $contact[$field] ?? NULL; $fieldSpec = $fields[$field]; if (!empty($fieldSpec['serialize']) && is_array($value)) { diff --git a/civicrm/CRM/Event/BAO/Event.php b/civicrm/CRM/Event/BAO/Event.php index 4cbc3f023be38a636bbbf307eddfb0c077147938..7adc12737b3af706722cfa649bb6a586a7a0e78f 100644 --- a/civicrm/CRM/Event/BAO/Event.php +++ b/civicrm/CRM/Event/BAO/Event.php @@ -314,6 +314,22 @@ WHERE ( civicrm_event.is_template IS NULL OR civicrm_event.is_template = 0 )"; return $events; } + /** + * Returns an array of event pages [id => title] + * @return array + * @throws \API_Exception + * @throws \Civi\API\Exception\UnauthorizedException + */ + public static function getEventsForSelect2() { + return ['all' => ts('- all -')] + + \Civi\Api4\Event::get(FALSE) + ->addSelect('id', 'title') + ->addWhere('is_active', '=', TRUE) + ->execute() + ->indexBy('id') + ->column('title'); + } + /** * Get events Summary. * diff --git a/civicrm/CRM/Event/BAO/Participant.php b/civicrm/CRM/Event/BAO/Participant.php index 6046f9e66336bdbdeb8fc7d433c3a28a2422df80..86dc17fd526dcc2c148a915b076fab13df4f6fbe 100644 --- a/civicrm/CRM/Event/BAO/Participant.php +++ b/civicrm/CRM/Event/BAO/Participant.php @@ -956,31 +956,32 @@ WHERE civicrm_participant.id = {$participantId} /** * Get the additional participant ids. * - * @param int $primaryParticipantId - * Primary partycipant Id. + * @param int|null $primaryParticipantID + * Primary participant ID. Null should not be passed in & handling for it + * will be removed. * @param bool $excludeCancel - * Do not include participant those are cancelled. - * - * @param int $oldStatusId + * Do not include cancelled participants. + * @param int|null $statusID + * Restrict to the specified status ID. * * @return array + * + * @throws \Civi\Core\Exception\DBQueryException + * @internal not supported to be called from outside of core. */ - public static function getAdditionalParticipantIds($primaryParticipantId, $excludeCancel = TRUE, $oldStatusId = NULL) { - $additionalParticipantIds = []; - if (!$primaryParticipantId) { - return $additionalParticipantIds; + public static function getAdditionalParticipantIds(?int $primaryParticipantID, bool $excludeCancel = TRUE, ?int $statusID = NULL): array { + if (!$primaryParticipantID) { + CRM_Core_Error::deprecatedWarning('should not be called with no IDs'); + return []; } - - $where = "participant.registered_by_id={$primaryParticipantId}"; + $where = "participant.registered_by_id={$primaryParticipantID}"; if ($excludeCancel) { - $cancelStatusId = 0; $negativeStatuses = CRM_Event_PseudoConstant::participantStatus(NULL, "class = 'Negative'"); - $cancelStatusId = array_search('Cancelled', $negativeStatuses); - $where .= " AND participant.status_id != {$cancelStatusId}"; + $where .= ' AND participant.status_id != ' . (int) array_search('Cancelled', $negativeStatuses, TRUE); } - if ($oldStatusId) { - $where .= " AND participant.status_id = {$oldStatusId}"; + if ($statusID) { + $where .= " AND participant.status_id = {$statusID}"; } $query = " @@ -988,11 +989,12 @@ WHERE civicrm_participant.id = {$participantId} FROM civicrm_participant participant WHERE {$where}"; + $additionalParticipantIDs = []; $dao = CRM_Core_DAO::executeQuery($query); while ($dao->fetch()) { - $additionalParticipantIds[$dao->id] = $dao->id; + $additionalParticipantIDs[$dao->id] = $dao->id; } - return $additionalParticipantIds; + return $additionalParticipantIDs; } /** @@ -1841,7 +1843,7 @@ WHERE civicrm_participant.contact_id = {$contactID} AND $details['eligible'] = TRUE; $details['status'] = $dao->status; $details['role'] = $dao->role; - $details['fee_level'] = trim(($dao->fee_level ?? ''), CRM_Core_DAO::VALUE_SEPARATOR); + $details['fee_level'] = $dao->fee_level ? implode('<br>', CRM_Core_DAO::unSerializeField($dao->fee_level, CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND)) : NULL; $details['fee_amount'] = $dao->fee_amount; $details['register_date'] = $dao->register_date; $details['event_start_date'] = $dao->start_date; @@ -1849,38 +1851,40 @@ WHERE civicrm_participant.contact_id = {$contactID} AND $eventTitle = $dao->title; $eventId = $dao->event_id; } - if (!$details['allow_selfcancelxfer'] && !$isBackOffice) { - $details['eligible'] = FALSE; - $details['ineligible_message'] = ts('This event registration can not be transferred or cancelled. Contact the event organizer if you have questions.'); - return $details; - } - // Verify participant status is one that can be self-cancelled - if (!in_array($details['status'], ['Registered', 'Pending from pay later', 'On waitlist'])) { - $details['eligible'] = FALSE; - $details['ineligible_message'] = ts('You cannot transfer or cancel your registration for %1 as you are not currently registered for this event.', [1 => $eventTitle]); - return $details; - } - // Determine if it's too late to self-service cancel/transfer. - $query = "select start_date as start, selfcancelxfer_time as time from civicrm_event where id = " . $eventId; - $dao = CRM_Core_DAO::executeQuery($query); - while ($dao->fetch()) { - $time_limit = $dao->time; - $start_date = $dao->start; - } - $timenow = new Datetime(); - if (!$isBackOffice && isset($time_limit)) { - $cancelHours = abs($time_limit); - $cancelInterval = new DateInterval("PT{$cancelHours}H"); - $cancelInterval->invert = $time_limit < 0 ? 1 : 0; - $cancelDeadline = (new Datetime($start_date))->sub($cancelInterval); - if ($timenow > $cancelDeadline) { + if (!$isBackOffice) { + if (!$details['allow_selfcancelxfer']) { + $details['eligible'] = FALSE; + $details['ineligible_message'] = ts('This event registration can not be transferred or cancelled. Contact the event organizer if you have questions.'); + return $details; + } + // Verify participant status is one that can be self-cancelled + if (!in_array($details['status'], ['Registered', 'Pending from pay later', 'On waitlist'])) { $details['eligible'] = FALSE; - // Change the language of the status message based on whether the waitlist time limit is positive or negative. - $afterOrPrior = $time_limit <= 0 ? 'after' : 'prior to'; - $moreOrLess = $time_limit <= 0 ? 'more' : 'fewer'; - $details['ineligible_message'] = ts("Registration for this event cannot be cancelled or transferred %1 than %2 hours %3 the event's start time. Contact the event organizer if you have questions.", - [1 => $moreOrLess, 2 => $cancelHours, 3 => $afterOrPrior]); + $details['ineligible_message'] = ts('You cannot transfer or cancel your registration for %1 as you are not currently registered for this event.', [1 => $eventTitle]); + return $details; + } + // Determine if it's too late to self-service cancel/transfer. + $query = "select start_date as start, selfcancelxfer_time as time from civicrm_event where id = " . $eventId; + $dao = CRM_Core_DAO::executeQuery($query); + while ($dao->fetch()) { + $time_limit = $dao->time; + $start_date = $dao->start; + } + $timenow = new Datetime(); + if (isset($time_limit)) { + $cancelHours = abs($time_limit); + $cancelInterval = new DateInterval("PT{$cancelHours}H"); + $cancelInterval->invert = $time_limit < 0 ? 1 : 0; + $cancelDeadline = (new Datetime($start_date))->sub($cancelInterval); + if ($timenow > $cancelDeadline) { + $details['eligible'] = FALSE; + // Change the language of the status message based on whether the waitlist time limit is positive or negative. + $afterOrPrior = $time_limit <= 0 ? 'after' : 'prior to'; + $moreOrLess = $time_limit <= 0 ? 'more' : 'fewer'; + $details['ineligible_message'] = ts("Registration for this event cannot be cancelled or transferred %1 than %2 hours %3 the event's start time. Contact the event organizer if you have questions.", + [1 => $moreOrLess, 2 => $cancelHours, 3 => $afterOrPrior]); + } } } return $details; diff --git a/civicrm/CRM/Event/DAO/ParticipantPayment.php b/civicrm/CRM/Event/DAO/ParticipantPayment.php index 7f8e48b4b386f00b9cd61609d90a4e9c1269db21..6f919672ef76581c304b8d503bb6d5036228fd28 100644 --- a/civicrm/CRM/Event/DAO/ParticipantPayment.php +++ b/civicrm/CRM/Event/DAO/ParticipantPayment.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Event/ParticipantPayment.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:9d5ff543a681f5ab73283c304b62316f) + * (GenCodeChecksum:ef2987af3276c7d47393ce4d0b295605) */ /** @@ -165,6 +165,7 @@ class CRM_Event_DAO_ParticipantPayment extends CRM_Core_DAO { 'localizable' => 0, 'FKClassName' => 'CRM_Contribute_DAO_Contribution', 'html' => [ + 'type' => 'EntityRef', 'label' => ts("Contribution"), ], 'add' => '2.0', diff --git a/civicrm/CRM/Event/Form/EventFees.php b/civicrm/CRM/Event/Form/EventFees.php index 2b15c288cef972ecb51c2c820849c9c0c13e9593..8031bb5fa81bb05e2e21c10790cd39d8ef8b6e39 100644 --- a/civicrm/CRM/Event/Form/EventFees.php +++ b/civicrm/CRM/Event/Form/EventFees.php @@ -37,6 +37,7 @@ class CRM_Event_Form_EventFees { $form->_pId = CRM_Utils_Request::retrieve('participantId', 'Positive', $form); $form->_discountId = CRM_Utils_Request::retrieve('discountId', 'Positive', $form); + // @todo - stop setting this, call the function, as appropriate. This is in a weird place. $form->_fromEmails = CRM_Event_BAO_Event::getFromEmailIds($form->_eventId); //CRM-6907 set event specific currency. diff --git a/civicrm/CRM/Event/Form/ManageEvent.php b/civicrm/CRM/Event/Form/ManageEvent.php index f630bd7eadbf01532ea06381e9e742f49d189044..5b00499fff7750df5335b6e77622f6147bbab1e4 100644 --- a/civicrm/CRM/Event/Form/ManageEvent.php +++ b/civicrm/CRM/Event/Form/ManageEvent.php @@ -115,7 +115,13 @@ class CRM_Event_Form_ManageEvent extends CRM_Core_Form { } $participantListingID = $eventInfo['participant_listing_id'] ?? NULL; - //CRM_Core_DAO::getFieldValue( 'CRM_Event_DAO_Event', $this->_id, 'participant_listing_id' ); + if ($participantListingID) { + $participantListingURL = CRM_Utils_System::url('civicrm/event/participant', + "reset=1&id={$this->_id}", + FALSE, NULL, TRUE, TRUE + ); + } + $this->assign('participantListingURL', $participantListingURL ?? NULL); $this->assign('participantListingID', $participantListingID); $this->assign('isOnlineRegistration', CRM_Utils_Array::value('is_online_registration', $eventInfo)); diff --git a/civicrm/CRM/Event/Form/ManageEvent/EventInfo.php b/civicrm/CRM/Event/Form/ManageEvent/EventInfo.php index b2580895302298c2af258f2f72de537943e1021b..ae762f2a829726f79ff7ba72e6e086447ccf87cb 100644 --- a/civicrm/CRM/Event/Form/ManageEvent/EventInfo.php +++ b/civicrm/CRM/Event/Form/ManageEvent/EventInfo.php @@ -208,11 +208,6 @@ class CRM_Event_Form_ManageEvent_EventInfo extends CRM_Event_Form_ManageEvent { $errors[$validateDates['key']] = $validateDates['message']; } - //CRM-4286 - if (strstr($values['title'], '/')) { - $errors['title'] = ts("Please do not use '/' in Event Title."); - } - return $errors; } diff --git a/civicrm/CRM/Event/Form/ManageEvent/Fee.php b/civicrm/CRM/Event/Form/ManageEvent/Fee.php index ec9c2a8b507f9ee26403324b11b015a5c13cfffb..61a902f474e4674f60a70efa1ec2377f5aaf3689 100644 --- a/civicrm/CRM/Event/Form/ManageEvent/Fee.php +++ b/civicrm/CRM/Event/Form/ManageEvent/Fee.php @@ -255,7 +255,7 @@ class CRM_Event_Form_ManageEvent_Fee extends CRM_Event_Form_ManageEvent { $this->addSelect('financial_type_id', ['context' => 'search', 'options' => $financialTypes]); } // add pay later options - $this->addElement('checkbox', 'is_pay_later', ts('Enable Pay Later option?'), NULL, + $this->addElement('checkbox', 'is_pay_later', ts('Pay later option'), NULL, ['onclick' => "return showHideByValue('is_pay_later','','payLaterOptions','block','radio',false);"] ); $this->addElement('textarea', 'pay_later_text', ts('Pay Later Label'), @@ -274,9 +274,11 @@ class CRM_Event_Form_ManageEvent_Fee extends CRM_Event_Form_ManageEvent { else { $this->assign('price', TRUE); } - $this->addField('price_set_id', [ - 'entity' => 'PriceField', + $this->addSelect('price_set_id', [ + 'entity' => 'PriceSet', + 'option_url' => 'civicrm/admin/price', 'options' => $price, + 'label' => ts('Price Set'), 'onchange' => "return showHideByValue('price_set_id', '', 'map-field', 'block', 'select', false);", ]); diff --git a/civicrm/CRM/Event/Form/Participant.php b/civicrm/CRM/Event/Form/Participant.php index cfd7a5b2c2277e1f2b010f4ef91ed211bf173114..5ab87816000c6bb82db1d413f76ecd1e0e5683d6 100644 --- a/civicrm/CRM/Event/Form/Participant.php +++ b/civicrm/CRM/Event/Form/Participant.php @@ -25,6 +25,8 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * Participant ID - use getParticipantID. * * @var int + * + * @deprecated unused */ public $_pId; @@ -69,6 +71,8 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * The id of the participation that we are processing. * * @var int + * + * @internal use getParticipantID to access in a supported way. */ public $_id; @@ -199,8 +203,10 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * Event id. * * @var int + * + * @internal - use getEventID to access in a supported way */ - public $_eventId = NULL; + public $_eventId; /** * Id of payment, if any @@ -229,12 +235,25 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment */ protected $createPaymentParams = []; + /** + * Get the selected Event ID. + * + * @api This function will not change in a minor release and is supported for + * use outside of core. This annotation / external support for properties + * is only given where there is specific test cover. + * + * @return int|null + */ + public function getEventID(): ?int { + return $this->_eventId ?: ($this->getSubmittedValue('event_id') ? (int) $this->getSubmittedValue('event_id') : NULL); + } + /** * Get params to create payments. * * @return array */ - public function getCreatePaymentParams(): array { + protected function getCreatePaymentParams(): array { return $this->createPaymentParams; } @@ -243,21 +262,21 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * * @param array $createPaymentParams */ - public function setCreatePaymentParams(array $createPaymentParams) { + protected function setCreatePaymentParams(array $createPaymentParams): void { $this->createPaymentParams = $createPaymentParams; } /** * Explicitly declare the entity api name. */ - public function getDefaultEntity() { + public function getDefaultEntity(): string { return 'Participant'; } /** * Default form context used as part of addField() */ - public function getDefaultContext() { + public function getDefaultContext(): string { return 'create'; } @@ -285,28 +304,15 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment $this->setPageTitle(ts('Event Registration')); } - // check the current path, if search based, then dont get participantID - // CRM-5792 - $path = CRM_Utils_System::currentPath(); - if ( - strpos($path, 'civicrm/contact/search') === 0 || - strpos($path, 'civicrm/group/search') === 0 - ) { - $this->_id = NULL; - } - else { - $this->_id = CRM_Utils_Request::retrieve('id', 'Positive', $this); - } - - if ($this->_id) { - $this->assign('participantId', $this->_id); + $this->assign('participantId', $this->getParticipantID()); + if ($this->getParticipantID()) { $this->_paymentId = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_ParticipantPayment', $this->_id, 'id', 'participant_id' ); $this->assign('hasPayment', $this->_paymentId); - $this->assign('componentId', $this->_id); + $this->assign('componentId', $this->getParticipantID()); $this->assign('component', 'event'); // CRM-12615 - Get payment information from the primary registration @@ -339,7 +345,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment $this->assign('single', $this->_single); - if (!$this->_id) { + if (!$this->getParticipantID()) { $this->_action = CRM_Utils_Request::retrieve('action', 'String', $this, FALSE, 'add'); } $this->assign('action', $this->_action); @@ -357,13 +363,10 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment return; } - // assign participant id to the template - $this->assign('participantId', $this->_id); - // when fee amount is included in form if (!empty($_POST['hidden_feeblock']) || !empty($_POST['send_receipt'])) { if ($this->_submitValues['event_id']) { - $this->_eventId = $this->_submitValues['event_id']; + $this->_eventId = (int) $this->_submitValues['event_id']; } CRM_Event_Form_EventFees::preProcess($this); $this->buildEventFeeForm($this); @@ -423,7 +426,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * @return array * @throws \CRM_Core_Exception */ - public function setDefaultValues() { + public function setDefaultValues(): array { if ($this->_showFeeBlock) { return CRM_Event_Form_EventFees::setDefaultValues($this); } @@ -452,8 +455,9 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment // Check if this is a primaryParticipant (registered for others) and retrieve additional participants if true (CRM-4859) if (CRM_Event_BAO_Participant::isPrimaryParticipant($this->_id)) { - $this->assign('additionalParticipants', CRM_Event_BAO_Participant::getAdditionalParticipants($this->_id)); + $additionalParticipants = CRM_Event_BAO_Participant::getAdditionalParticipants($this->_id); } + $this->assign('additionalParticipants', $additionalParticipants ?? NULL); // Get registered_by contact ID and display_name if participant was registered by someone else (CRM-4859) if (!empty($defaults[$this->_id]['participant_registered_by_id'])) { @@ -462,9 +466,9 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment 'contact_id', 'id' ); $this->assign('participant_registered_by_id', $defaults[$this->_id]['participant_registered_by_id']); - $this->assign('registered_by_contact_id', $registered_by_contact_id); $this->assign('registered_by_display_name', CRM_Contact_BAO_Contact::displayName($registered_by_contact_id)); } + $this->assign('registered_by_contact_id', $registered_by_contact_id ?? NULL); } elseif ($this->_contactID) { $defaults[$this->_id]['contact_id'] = $this->_contactID; @@ -561,13 +565,11 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment } if (isset($eventID)) { - $this->assign('eventID', $eventID); $this->set('eventId', $eventID); } + $this->assign('eventID', $eventID ?? NULL); - if (isset($this->_eventTypeId)) { - $this->assign('eventTypeID', $this->_eventTypeId); - } + $this->assign('eventTypeID', $this->_eventTypeId); $this->assign('event_is_test', CRM_Utils_Array::value('event_is_test', $defaults[$this->_id])); return $defaults[$this->_id]; @@ -609,8 +611,8 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment ]; $this->addRadio('delete_participant', NULL, $deleteParticipants, NULL, '<br />'); $this->setDefaults(['delete_participant' => 1]); - $this->assign('additionalParticipant', $additionalParticipant); } + $this->assign('additionalParticipant', $additionalParticipant); } $this->addButtons([ [ @@ -773,7 +775,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * * @return void */ - public function addRules() { + public function addRules(): void { $this->addFormRule(['CRM_Event_Form_Participant', 'formRule'], $this); } @@ -785,7 +787,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * @param $files * @param self $self * - * @return array + * @return array|true * list of errors to be posted back to the form */ public static function formRule($values, $files, $self) { @@ -818,15 +820,6 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment } } - // validate contribution status for 'Failed'. - if ($self->_onlinePendingContributionId && !empty($values['record_contribution']) && - (CRM_Utils_Array::value('contribution_status_id', $values) == - array_search('Failed', CRM_Contribute_PseudoConstant::contributionStatus(NULL, 'name')) - ) - ) { - $errorMsg['contribution_status_id'] = ts('Please select a valid payment status before updating.'); - } - // do the amount validations. //skip for update mode since amount is freeze, CRM-6052 if ((!$self->_id && empty($values['total_amount']) && @@ -840,7 +833,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment } // For single additions - show validation error if the contact has already been registered // for this event. - if ($self->_single && ($self->_action & CRM_Core_Action::ADD)) { + if (($self->_action & CRM_Core_Action::ADD)) { if ($self->_context == 'standalone') { $contactId = $values['contact_id'] ?? NULL; } @@ -862,11 +855,11 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment $dupeCheck->whereAdd("status_id != {$cancelledStatusID} "); $dupeCheck->find(TRUE); if (!empty($dupeCheck->id)) { - $errorMsg['event_id'] = ts("This contact has already been assigned to this event."); + $errorMsg['event_id'] = ts('This contact has already been assigned to this event.'); } } } - return CRM_Utils_Array::crmIsEmptyArray($errorMsg) ? TRUE : $errorMsg; + return empty($errorMsg) ? TRUE : $errorMsg; } /** @@ -895,50 +888,12 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment } return; } - // When adding a single contact, the formRule prevents you from adding duplicates - // (See above in formRule()). When adding more than one contact, the duplicates are - // removed automatically and the user receives one notification. - if ($this->_action & CRM_Core_Action::ADD) { - $event_id = $this->_eventId; - if (empty($event_id) && !empty($params['event_id'])) { - $event_id = $params['event_id']; - } - if (!$this->_single && !empty($event_id)) { - $duplicateContacts = 0; - foreach ($this->_contactIds as $k => $dupeCheckContactId) { - // Eliminate contacts that have already been assigned to this event. - $dupeCheck = new CRM_Event_BAO_Participant(); - $dupeCheck->contact_id = $dupeCheckContactId; - $dupeCheck->event_id = $event_id; - $dupeCheck->find(TRUE); - if (!empty($dupeCheck->id)) { - $duplicateContacts++; - unset($this->_contactIds[$k]); - } - } - if ($duplicateContacts > 0) { - $msg = ts( - "%1 contacts have already been assigned to this event. They were not added a second time.", - [1 => $duplicateContacts] - ); - CRM_Core_Session::setStatus($msg); - } - if (count($this->_contactIds) == 0) { - CRM_Core_Session::setStatus(ts("No participants were added.")); - return; - } - // We have to re-key $this->_contactIds so each contact has the same - // key as their corresponding record in the $participants array that - // will be created below. - $this->_contactIds = array_values($this->_contactIds); - } - } $statusMsg = $this->submit($params); CRM_Core_Session::setStatus($statusMsg, ts('Saved'), 'success'); $session = CRM_Core_Session::singleton(); $buttonName = $this->controller->getButtonName(); - if ($this->_context == 'standalone') { + if ($this->_context === 'standalone') { if ($buttonName == $this->getButtonName('upload', 'new')) { $urlParams = 'reset=1&action=add&context=standalone'; if ($this->_mode) { @@ -965,6 +920,9 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment /** * Submit form. * + * @internal will be made protected / decommissioned once tests + * in core & line item editor are fixed to not call it. + * * @param array $params * * @return string @@ -1251,7 +1209,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment $contributionParams['non_deductible_amount'] = 'null'; $contributionParams['receipt_date'] = !empty($params['send_receipt']) ? CRM_Utils_Array::value('receive_date', $params) : 'null'; $contributionParams['contact_id'] = $this->_contactID; - $contributionParams['receive_date'] = $params['receive_date'] ?? date('Y-m-d'); + $contributionParams['receive_date'] = !(empty($params['receive_date'])) ? $params['receive_date'] : $now; $recordContribution = [ 'financial_type_id', @@ -1392,173 +1350,8 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment ); } - $sent = []; - $notSent = []; if (!empty($params['send_receipt'])) { - - $this->assign('module', 'Event Registration'); - $this->assignEventDetailsToTpl($params['event_id'], CRM_Utils_Array::value('role_id', $params), CRM_Utils_Array::value('receipt_text', $params), $this->_isPaidEvent); - $this->assign('isAmountzero', 1); - - if ($this->_isPaidEvent) { - $paymentInstrument = CRM_Contribute_PseudoConstant::paymentInstrument(); - if (!$this->_mode) { - if (isset($params['payment_instrument_id'])) { - $this->assign('paidBy', - CRM_Utils_Array::value($params['payment_instrument_id'], - $paymentInstrument - ) - ); - } - } - - $this->assign('totalAmount', $params['total_amount'] ?? $contributionParams['total_amount']); - $this->assign('isPrimary', 1); - $this->assign('checkNumber', CRM_Utils_Array::value('check_number', $params)); - } - if ($this->_mode) { - $this->assignBillingName($params); - $this->assign('address', CRM_Utils_Address::getFormattedBillingAddressFieldsFromParameters( - $this->_params, - $this->_bltID - )); - - $valuesForForm = CRM_Contribute_Form_AbstractEditPayment::formatCreditCardDetails($params); - $this->assignVariables($valuesForForm, ['credit_card_exp_date', 'credit_card_type', 'credit_card_number']); - - // The concept of contributeMode is deprecated. - $this->assign('contributeMode', 'direct'); - $this->assign('isAmountzero', 0); - $this->assign('is_pay_later', 0); - $this->assign('isPrimary', 1); - } - - $this->assign('register_date', $params['register_date']); - if (isset($params['receive_date'])) { - $this->assign('receive_date', $params['receive_date']); - } - - $customGroup = []; - //format submitted data - foreach ($params['custom'] as $fieldID => $values) { - foreach ($values as $fieldValue) { - $isPublic = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_CustomGroup', $fieldValue['custom_group_id'], 'is_public'); - if ($isPublic) { - $customFields[$fieldID]['id'] = $fieldID; - $formattedValue = CRM_Core_BAO_CustomField::displayValue($fieldValue['value'], $fieldID, $participants[0]->id); - $customGroup[$customFields[$fieldID]['groupTitle']][$customFields[$fieldID]['label']] = str_replace(' ', '', $formattedValue); - } - } - } - - foreach ($this->_contactIds as $num => $contactID) { - // Retrieve the name and email of the contact - this will be the TO for receipt email - [$this->_contributorDisplayName, $this->_contributorEmail, $this->_toDoNotEmail] = CRM_Contact_BAO_Contact::getContactDetails($contactID); - - $this->_contributorDisplayName = ($this->_contributorDisplayName == ' ') ? $this->_contributorEmail : $this->_contributorDisplayName; - - $waitStatus = CRM_Event_PseudoConstant::participantStatus(NULL, "class = 'Waiting'"); - if ($waitingStatus = CRM_Utils_Array::value($params['status_id'], $waitStatus)) { - $this->assign('isOnWaitlist', TRUE); - } - - $this->assign('customGroup', $customGroup); - $this->assign('contactID', $contactID); - $this->assign('participantID', $participants[$num]->id); - - $this->_id = $participants[$num]->id; - - if ($this->_isPaidEvent) { - // fix amount for each of participants ( for bulk mode ) - $eventAmount = []; - $totalTaxAmount = 0; - - //add dataArray in the receipts in ADD and UPDATE condition - $dataArray = []; - if ($this->_action & CRM_Core_Action::ADD) { - $line = $lineItem[0] ?? []; - } - elseif ($this->_action & CRM_Core_Action::UPDATE) { - $line = $this->_values['line_items']; - } - if (Civi::settings()->get('invoicing')) { - foreach ($line as $key => $value) { - if (isset($value['tax_amount'])) { - $totalTaxAmount += $value['tax_amount']; - if (isset($dataArray[(string) $value['tax_rate']])) { - $dataArray[(string) $value['tax_rate']] = $dataArray[(string) $value['tax_rate']] + CRM_Utils_Array::value('tax_amount', $value); - } - else { - $dataArray[(string) $value['tax_rate']] = $value['tax_amount'] ?? NULL; - } - } - } - $this->assign('taxTerm', $this->getSalesTaxTerm()); - $this->assign('dataArray', $dataArray); - } - if (!empty($additionalParticipantDetails)) { - $params['amount_level'] = preg_replace('//', '', $params['amount_level']) . ' - ' . $this->_contributorDisplayName; - } - - $eventAmount[$num] = [ - 'label' => preg_replace('//', '', $params['amount_level']), - 'amount' => $params['fee_amount'], - ]; - //as we are using same template for online & offline registration. - //So we have to build amount as array. - $eventAmount = array_merge($eventAmount, $additionalParticipantDetails); - $this->assign('amount', $eventAmount); - } - $this->assign('totalTaxAmount', $totalTaxAmount ?? 0); - $sendTemplateParams = [ - 'workflow' => 'event_offline_receipt', - 'contactId' => $contactID, - 'isTest' => !empty($this->_defaultValues['is_test']), - 'PDFFilename' => ts('confirmation') . '.pdf', - 'modelProps' => [ - 'participantID' => $this->_id, - 'eventID' => $params['event_id'], - ], - ]; - - // try to send emails only if email id is present - // and the do-not-email option is not checked for that contact - if ($this->_contributorEmail and !$this->_toDoNotEmail) { - if (array_key_exists($params['from_email_address'], $this->_fromEmails['from_email_id'])) { - $receiptFrom = $params['from_email_address']; - } - $sendTemplateParams['from'] = $receiptFrom; - $sendTemplateParams['toName'] = $this->_contributorDisplayName; - $sendTemplateParams['toEmail'] = $this->_contributorEmail; - $sendTemplateParams['cc'] = $this->_fromEmails['cc'] ?? NULL; - $sendTemplateParams['bcc'] = $this->_fromEmails['bcc'] ?? NULL; - } - - //send email with pdf invoice - $template = CRM_Core_Smarty::singleton(); - $taxAmt = $template->get_template_vars('dataArray'); - $contributionId = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_ParticipantPayment', - $this->_id, 'contribution_id', 'participant_id' - ); - if (Civi::settings()->get('invoice_is_email_pdf')) { - $sendTemplateParams['isEmailPdf'] = TRUE; - $sendTemplateParams['contributionId'] = $contributionId; - } - [$mailSent, $subject, $message, $html] = CRM_Core_BAO_MessageTemplate::sendTemplate($sendTemplateParams); - if ($mailSent) { - $sent[] = $contactID; - foreach ($participants as $ids => $values) { - if ($values->contact_id == $contactID) { - $values->details = $params['receipt_text'] ?? NULL; - CRM_Activity_BAO_Activity::addActivity($values, 'Email'); - break; - } - } - } - else { - $notSent[] = $contactID; - } - } + $result = $this->sendReceipts($params, $contributionParams['total_amount'], $customFields, $participants, $lineItem[0], $line, $value, $additionalParticipantDetails); } // set the participant id if it is not set @@ -1566,13 +1359,16 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment $this->_id = $participants[0]->id; } - return $this->getStatusMsg($params, $sent, $updateStatusMsg, $notSent); + return $this->getStatusMsg($params, $result['sent'] ?? 0, $result['not_sent'] ?? 0, (string) $updateStatusMsg); } /** * Set the various IDs relating to custom data types. + * + * @internal will be made protected once line item editor unit tests + * no longer call it. */ - public function setCustomDataTypes() { + public function setCustomDataTypes(): void { $customDataType = CRM_Core_OptionGroup::values('custom_data_type', FALSE, FALSE, FALSE, NULL, 'name'); $this->_roleCustomDataTypeID = array_search('ParticipantRole', $customDataType); $this->_eventNameCustomDataTypeID = array_search('ParticipantEventName', $customDataType); @@ -1586,17 +1382,17 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * Get status message * * @param array $params - * @param int $sent + * @param int $numberSent + * @param int $numberNotSent * @param string $updateStatusMsg - * @param int $notSent * * @return string */ - protected function getStatusMsg($params, $sent, $updateStatusMsg, $notSent) { + protected function getStatusMsg(array $params, int $numberSent, int $numberNotSent, string $updateStatusMsg): string { $statusMsg = ''; if (($this->_action & CRM_Core_Action::UPDATE)) { $statusMsg = ts('Event registration information for %1 has been updated.', [1 => $this->_contributorDisplayName]); - if (!empty($params['send_receipt']) && count($sent)) { + if (!empty($params['send_receipt']) && $numberSent) { $statusMsg .= ' ' . ts('A confirmation email has been sent to %1', [1 => $this->_contributorEmail]); } @@ -1607,14 +1403,14 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment elseif ($this->_action & CRM_Core_Action::ADD) { if ($this->_single) { $statusMsg = ts('Event registration for %1 has been added.', [1 => $this->_contributorDisplayName]); - if (!empty($params['send_receipt']) && count($sent)) { + if (!empty($params['send_receipt']) && $numberSent) { $statusMsg .= ' ' . ts('A confirmation email has been sent to %1.', [1 => $this->_contributorEmail]); } } else { $statusMsg = ts('Total Participant(s) added to event: %1.', [1 => count($this->_contactIds)]); - if (count($notSent) > 0) { - $statusMsg .= ' ' . ts('Email has NOT been sent to %1 contact(s) - communication preferences specify DO NOT EMAIL OR valid Email is NOT present. ', [1 => count($notSent)]); + if ($numberNotSent > 0) { + $statusMsg .= ' ' . ts('Email has NOT been sent to %1 contact(s) - communication preferences specify DO NOT EMAIL OR valid Email is NOT present. ', [1 => $numberNotSent]); } elseif (isset($params['send_receipt'])) { $statusMsg .= ' ' . ts('A confirmation email has been sent to ALL participants'); @@ -1627,9 +1423,11 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment /** * Build the form object. * + * @internal - this will be made protected, once some notice is provided to lineItem + * edit extension which calls it form tests. + * * @param \CRM_Event_Form_Participant $form * - * @return bool * @throws \CRM_Core_Exception * @throws \Exception */ @@ -1704,7 +1502,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment ['' => ts('- select -')] + $financialTypes ); - $form->add('datepicker', 'receive_date', ts('Received'), [], FALSE, ['time' => TRUE]); + $form->add('datepicker', 'receive_date', ts('Contribution Date'), [], FALSE, ['time' => TRUE]); $form->add('select', 'payment_instrument_id', ts('Payment Method'), @@ -1740,7 +1538,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment } $form->assign('onlinePendingContributionId', $form->get('onlinePendingContributionId')); - $form->assign('paid', $form->_isPaidEvent); + $form->assign('paid', $form->_isPaidEvent ?? NULL); $form->addElement('checkbox', 'send_receipt', @@ -1748,7 +1546,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment ['onclick' => "showHideByValue('send_receipt','','notice','table-row','radio',false); showHideByValue('send_receipt','','from-email','table-row','radio',false);"] ); - $form->add('select', 'from_email_address', ts('Receipt From'), $form->_fromEmails['from_email_id']); + $form->add('select', 'from_email_address', ts('Receipt From'), $form->getAvailableFromEmails()['from_email_id']); $form->add('textarea', 'receipt_text', ts('Confirmation Message')); @@ -1769,6 +1567,15 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment $form->assign('hasPayment', $form->_paymentId); } + /** + * Get the emails available for the from address. + * + * @return array + */ + protected function getAvailableFromEmails(): array { + return CRM_Event_BAO_Event::getFromEmailIds($this->getEventID()); + } + /** * Extracted code relating to paid events. * @@ -1872,11 +1679,10 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * @param $eventID * @param $participantRoles * @param $receiptText - * @param $isPaidEvent * * @return void */ - protected function assignEventDetailsToTpl($eventID, $participantRoles, $receiptText, $isPaidEvent) { + protected function assignEventDetailsToTpl($eventID, $participantRoles, $receiptText) { //use of the message template below requires variables in different format $events = []; $returnProperties = ['event_type_id', 'fee_label', 'start_date', 'end_date', 'is_show_location', 'title']; @@ -1899,7 +1705,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment else { $event['participant_role'] = $role[$participantRoles] ?? NULL; } - $event['is_monetary'] = $isPaidEvent; + $event['is_monetary'] = $this->_isPaidEvent; if ($receiptText) { $event['confirm_email_text'] = $receiptText; @@ -1930,7 +1736,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * * @throws \CRM_Core_Exception */ - public function processContribution( + protected function processContribution( &$form, $params, $result, $contactID, $pending = FALSE, $paymentProcessor = NULL @@ -2141,9 +1947,21 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment * Get id of participant being edited. * * @return int|null + * + * @api This function will not change in a minor release and is supported for + * use outside of core. This annotation / external support for properties + * is only given where there is specific test cover. + * + * No exception is thrown as abort is not TRUE. + * @noinspection PhpUnhandledExceptionInspection + * @noinspection PhpDocMissingThrowsInspection */ - protected function getParticipantID() { - return $this->_id ?? $this->_pId; + public function getParticipantID(): ?int { + if ($this->_id === NULL) { + $id = CRM_Utils_Request::retrieve('id', 'Positive', $this); + $this->_id = $id ? (int) $id : FALSE; + } + return $this->_id ?: NULL; } /** @@ -2266,6 +2084,7 @@ INNER JOIN civicrm_price_field_value value ON ( value.id = lineItem.price_field_ */ protected function assignUrlPath() { $this->assign('urlPath', 'civicrm/contact/view/participant'); + $this->assign('urlPathVar', NULL); if (!$this->_id && !$this->_contactId) { $breadCrumbs = [ [ @@ -2282,4 +2101,181 @@ INNER JOIN civicrm_price_field_value value ON ( value.id = lineItem.price_field_ } } + /** + * @param $params + * @param $total_amount + * @param array $customFields + * @param array $participants + * @param $lineItem + * @param $line + * @param $value + * @param $additionalParticipantDetails + * + * @return array + * @throws \CRM_Core_Exception + */ + protected function sendReceipts($params, $total_amount, array $customFields, array $participants, $lineItem, $line, $value, $additionalParticipantDetails): array { + $sent = []; + $notSent = []; + $this->assign('module', 'Event Registration'); + $this->assignEventDetailsToTpl($params['event_id'], CRM_Utils_Array::value('role_id', $params), CRM_Utils_Array::value('receipt_text', $params)); + // @todo - this is no longer in core templates as of 5.63 + // we should remove once we have done a 'push upgrade' on addresses - ie advised + // people to upgrade their templates in an upgrade message, as + // opposed to just updating unmodified templates. + $this->assign('isPrimary', (int) $this->_isPaidEvent); + if ($this->_isPaidEvent) { + $paymentInstrument = CRM_Contribute_PseudoConstant::paymentInstrument(); + if (!$this->_mode) { + if (isset($params['payment_instrument_id'])) { + $this->assign('paidBy', + CRM_Utils_Array::value($params['payment_instrument_id'], + $paymentInstrument + ) + ); + } + } + + $this->assign('totalAmount', $params['total_amount'] ?? $total_amount); + $this->assign('checkNumber', CRM_Utils_Array::value('check_number', $params)); + } + if ($this->_mode) { + $this->assignBillingName($params); + $this->assign('address', CRM_Utils_Address::getFormattedBillingAddressFieldsFromParameters( + $this->_params, + $this->_bltID + )); + + $valuesForForm = CRM_Contribute_Form_AbstractEditPayment::formatCreditCardDetails($params); + $this->assignVariables($valuesForForm, ['credit_card_exp_date', 'credit_card_type', 'credit_card_number']); + $this->assign('is_pay_later', 0); + } + + $this->assign('register_date', $params['register_date']); + if (isset($params['receive_date'])) { + $this->assign('receive_date', $params['receive_date']); + } + + $customGroup = []; + //format submitted data + foreach ($params['custom'] as $fieldID => $values) { + foreach ($values as $fieldValue) { + $isPublic = CRM_Core_DAO::getFieldValue('CRM_Core_DAO_CustomGroup', $fieldValue['custom_group_id'], 'is_public'); + if ($isPublic) { + $customFields[$fieldID]['id'] = $fieldID; + $formattedValue = CRM_Core_BAO_CustomField::displayValue($fieldValue['value'], $fieldID, $participants[0]->id); + $customGroup[$customFields[$fieldID]['groupTitle']][$customFields[$fieldID]['label']] = str_replace(' ', '', $formattedValue); + } + } + } + + foreach ($this->_contactIds as $num => $contactID) { + // Retrieve the name and email of the contact - this will be the TO for receipt email + [$this->_contributorDisplayName, $this->_contributorEmail, $this->_toDoNotEmail] = CRM_Contact_BAO_Contact::getContactDetails($contactID); + + $this->_contributorDisplayName = ($this->_contributorDisplayName == ' ') ? $this->_contributorEmail : $this->_contributorDisplayName; + + $waitStatus = CRM_Event_PseudoConstant::participantStatus(NULL, "class = 'Waiting'"); + if ($waitingStatus = CRM_Utils_Array::value($params['status_id'], $waitStatus)) { + $this->assign('isOnWaitlist', TRUE); + } + + $this->assign('customGroup', $customGroup); + $this->assign('contactID', $contactID); + $this->assign('participantID', $participants[$num]->id); + + $contributionID = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_ParticipantPayment', + $participants[$num]->id, 'contribution_id', 'participant_id' + ); + $this->_id = $participants[$num]->id; + + if ($this->_isPaidEvent) { + // fix amount for each of participants ( for bulk mode ) + $eventAmount = []; + $totalTaxAmount = 0; + + //add dataArray in the receipts in ADD and UPDATE condition + $dataArray = []; + if ($this->_action & CRM_Core_Action::ADD) { + $line = $lineItem ?? []; + } + elseif ($this->_action & CRM_Core_Action::UPDATE) { + $line = $this->_values['line_items']; + } + if (Civi::settings()->get('invoicing')) { + foreach ($line as $key => $value) { + if (isset($value['tax_amount'])) { + $totalTaxAmount += $value['tax_amount']; + if (isset($dataArray[(string) $value['tax_rate']])) { + $dataArray[(string) $value['tax_rate']] = $dataArray[(string) $value['tax_rate']] + CRM_Utils_Array::value('tax_amount', $value); + } + else { + $dataArray[(string) $value['tax_rate']] = $value['tax_amount'] ?? NULL; + } + } + } + $this->assign('taxTerm', $this->getSalesTaxTerm()); + $this->assign('dataArray', $dataArray); + } + if (!empty($additionalParticipantDetails)) { + $params['amount_level'] = preg_replace('//', '', $params['amount_level']) . ' - ' . $this->_contributorDisplayName; + } + + $eventAmount[$num] = [ + 'label' => preg_replace('//', '', $params['amount_level']), + 'amount' => $params['fee_amount'], + ]; + //as we are using same template for online & offline registration. + //So we have to build amount as array. + $eventAmount = array_merge($eventAmount, $additionalParticipantDetails); + $this->assign('amount', $eventAmount); + } + $this->assign('totalTaxAmount', $totalTaxAmount ?? 0); + $sendTemplateParams = [ + 'workflow' => 'event_offline_receipt', + 'contactId' => $contactID, + 'isTest' => !empty($this->_defaultValues['is_test']), + 'PDFFilename' => ts('confirmation') . '.pdf', + 'modelProps' => [ + 'participantID' => $this->_id, + 'eventID' => $params['event_id'], + 'contributionID' => $contributionID, + ], + ]; + + // try to send emails only if email id is present + // and the do-not-email option is not checked for that contact + if ($this->_contributorEmail and !$this->_toDoNotEmail) { + $sendTemplateParams['from'] = $params['from_email_address']; + $sendTemplateParams['toName'] = $this->_contributorDisplayName; + $sendTemplateParams['toEmail'] = $this->_contributorEmail; + $sendTemplateParams['cc'] = $this->_fromEmails['cc'] ?? NULL; + $sendTemplateParams['bcc'] = $this->_fromEmails['bcc'] ?? NULL; + } + + //send email with pdf invoice + $template = CRM_Core_Smarty::singleton(); + $taxAmt = $template->get_template_vars('dataArray'); + if (Civi::settings()->get('invoice_is_email_pdf')) { + $sendTemplateParams['isEmailPdf'] = TRUE; + $sendTemplateParams['contributionId'] = $contributionID; + } + [$mailSent, $subject, $message, $html] = CRM_Core_BAO_MessageTemplate::sendTemplate($sendTemplateParams); + if ($mailSent) { + $sent[] = $contactID; + foreach ($participants as $ids => $values) { + if ($values->contact_id == $contactID) { + $values->details = $params['receipt_text'] ?? NULL; + CRM_Activity_BAO_Activity::addActivity($values, 'Email'); + break; + } + } + } + else { + $notSent[] = $contactID; + } + } + return ['sent' => count($sent), 'not_sent' => count($notSent)]; + } + } diff --git a/civicrm/CRM/Event/Form/ParticipantFeeSelection.php b/civicrm/CRM/Event/Form/ParticipantFeeSelection.php index 18941b4911b505699b72a0ac80ebfef8e714b55b..883048922a78011d9b39304c053fab18e149b4ed 100644 --- a/civicrm/CRM/Event/Form/ParticipantFeeSelection.php +++ b/civicrm/CRM/Event/Form/ParticipantFeeSelection.php @@ -32,7 +32,7 @@ class CRM_Event_Form_ParticipantFeeSelection extends CRM_Core_Form { protected $_toDoNotEmail = NULL; - protected $_contributionId = NULL; + protected $contributionID; protected $fromEmailId = NULL; @@ -58,14 +58,7 @@ class CRM_Event_Form_ParticipantFeeSelection extends CRM_Core_Form { $this->_eventId = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Participant', $this->_participantId, 'event_id'); $this->_fromEmails = CRM_Event_BAO_Event::getFromEmailIds($this->_eventId); - $this->_contributionId = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_ParticipantPayment', $this->_participantId, 'contribution_id', 'participant_id'); - if (!$this->_contributionId) { - if ($primaryParticipantId = CRM_Core_DAO::getFieldValue('CRM_Event_BAO_Participant', $this->_participantId, 'registered_by_id')) { - $this->_contributionId = CRM_Core_DAO::getFieldValue('CRM_Event_BAO_ParticipantPayment', $primaryParticipantId, 'contribution_id', 'participant_id'); - } - } - - if ($this->_contributionId) { + if ($this->getContributionID()) { $this->_isPaidEvent = TRUE; } $this->_action = CRM_Utils_Request::retrieve('action', 'String', $this, TRUE); @@ -86,9 +79,9 @@ class CRM_Event_Form_ParticipantFeeSelection extends CRM_Core_Form { $this->assign('paymentInfo', $paymentInfo); $this->assign('feePaid', $this->_paidAmount); - $ids = CRM_Event_BAO_Participant::getParticipantIds($this->_contributionId); + $ids = CRM_Event_BAO_Participant::getParticipantIds($this->getContributionID()); if (count($ids) > 1) { - $total = CRM_Price_BAO_LineItem::getLineTotal($this->_contributionId); + $total = CRM_Price_BAO_LineItem::getLineTotal($this->getContributionID()); $this->assign('totalLineTotal', $total); $this->assign('lineItemTotal', $total); } @@ -99,6 +92,29 @@ class CRM_Event_Form_ParticipantFeeSelection extends CRM_Core_Form { } } + /** + * Get the contribution ID. + * + * @api This function will not change in a minor release and is supported for + * use outside of core. This annotation / external support for properties + * is only given where there is specific test cover. + * + * @noinspection PhpUnhandledExceptionInspection + */ + public function getContributionID(): ?int { + if ($this->contributionID === NULL) { + $this->contributionID = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_ParticipantPayment', $this->_participantId, 'contribution_id', 'participant_id') ?: FALSE; + + if (!$this->contributionID) { + $primaryParticipantID = CRM_Core_DAO::getFieldValue('CRM_Event_BAO_Participant', $this->_participantId, 'registered_by_id'); + if ($primaryParticipantID) { + $this->contributionID = CRM_Core_DAO::getFieldValue('CRM_Event_BAO_ParticipantPayment', $primaryParticipantID, 'contribution_id', 'participant_id') ?: FALSE; + } + } + } + return $this->contributionID ?: NULL; + } + /** * Set default values for the form. * @@ -231,8 +247,8 @@ class CRM_Event_Form_ParticipantFeeSelection extends CRM_Core_Form { $feeBlock = $this->_values['fee']; $lineItems = $this->_values['line_items']; - CRM_Price_BAO_LineItem::changeFeeSelections($params, $this->_participantId, 'participant', $this->_contributionId, $feeBlock, $lineItems); - $this->contributionAmt = CRM_Core_DAO::getFieldValue('CRM_Contribute_BAO_Contribution', $this->_contributionId, 'total_amount'); + CRM_Price_BAO_LineItem::changeFeeSelections($params, $this->_participantId, 'participant', $this->getContributionID(), $feeBlock, $lineItems); + $this->contributionAmt = CRM_Core_DAO::getFieldValue('CRM_Contribute_BAO_Contribution', $this->getContributionID(), 'total_amount'); // email sending if (!empty($params['send_receipt'])) { $fetchParticipantVals = ['id' => $this->_participantId]; @@ -307,7 +323,6 @@ class CRM_Event_Form_ParticipantFeeSelection extends CRM_Core_Form { $event['confirm_email_text'] = $params['receipt_text']; } - $this->assign('isAmountzero', 1); $this->assign('event', $event); $this->assign('isShowLocation', $event['is_show_location']); @@ -333,11 +348,13 @@ class CRM_Event_Form_ParticipantFeeSelection extends CRM_Core_Form { } $this->assign('totalAmount', $this->contributionAmt); - - $this->assign('isPrimary', 1); $this->assign('checkNumber', CRM_Utils_Array::value('check_number', $params)); } - + // @todo isPrimary no longer used from 5.63 in core templates, remove + // once users have been 'pushed' to update their templates (via + // upgrade message - which we don't always do whenever we change + // a minor variable. + $this->assign('isPrimary', $this->_isPaidEvent); $this->assign('register_date', $params['register_date']); // Retrieve the name and email of the contact - this will be the TO for receipt email @@ -357,6 +374,7 @@ class CRM_Event_Form_ParticipantFeeSelection extends CRM_Core_Form { 'modelProps' => [ 'participantID' => $this->_participantId, 'eventID' => $params['event_id'], + 'contributionID' => $this->getContributionID(), ], ]; diff --git a/civicrm/CRM/Event/Form/Registration.php b/civicrm/CRM/Event/Form/Registration.php index a6cf7139aa927496d17f8d44a8d9128e1f47c803..1a3c1b471ddcd496b3f6aae0bf687d5b8caddbbd 100644 --- a/civicrm/CRM/Event/Form/Registration.php +++ b/civicrm/CRM/Event/Form/Registration.php @@ -21,14 +21,6 @@ class CRM_Event_Form_Registration extends CRM_Core_Form { use CRM_Financial_Form_FrontEndPaymentFormTrait; - /** - * How many locationBlocks should we display? - * - * @var int - * @const - */ - const LOCATION_BLOCKS = 1; - /** * The id of the event we are processing. * @@ -178,6 +170,13 @@ class CRM_Event_Form_Registration extends CRM_Core_Form { */ public $paymentInstrumentID; + /** + * Should the payment element be shown on the confirm page instead of the first page? + * + * @var bool + */ + protected $showPaymentOnConfirm = FALSE; + /** * Set variables up before form is built. */ @@ -218,6 +217,8 @@ class CRM_Event_Form_Registration extends CRM_Core_Form { //get the additional participant ids. $this->_additionalParticipantIds = $this->get('additionalParticipantIds'); + $this->showPaymentOnConfirm = (in_array($this->_eventId, \Civi::settings()->get('event_show_payment_on_confirm')) || in_array('all', \Civi::settings()->get('event_show_payment_on_confirm'))); + if (!$this->_values) { // this is the first time we are hitting this, so check for permissions here if (!CRM_Core_Permission::event(CRM_Core_Permission::EDIT, $this->_eventId, 'register for events')) { diff --git a/civicrm/CRM/Event/Form/Registration/AdditionalParticipant.php b/civicrm/CRM/Event/Form/Registration/AdditionalParticipant.php index fb9989b8809724e087ee413a0dd1d588165dc74b..2b000a3037a0a1a8e87d416de85a08448cfcf727 100644 --- a/civicrm/CRM/Event/Form/Registration/AdditionalParticipant.php +++ b/civicrm/CRM/Event/Form/Registration/AdditionalParticipant.php @@ -336,25 +336,37 @@ class CRM_Event_Form_Registration_AdditionalParticipant extends CRM_Event_Form_R //CRM-4320 if ($allowToProceed) { - $buttons = array_merge($buttons, [ - [ - 'type' => 'upload', - 'name' => ts('Continue'), - 'spacing' => ' ', - 'isDefault' => TRUE, - ], - ]); if ($includeSkipButton) { - $buttons = array_merge($buttons, [ + $buttons[] = [ 'type' => 'next', 'name' => ts('Skip Participant'), 'subName' => 'skip', 'icon' => 'fa-fast-forward', - ], - ]); + ]; } + $buttonParams = [ + 'type' => 'upload', + 'spacing' => ' ', + 'isDefault' => TRUE, + ]; + if ($this->isLastParticipant(TRUE)) { + if ($this->_values['event']['is_confirm_enabled'] || $this->_values['event']['is_monetary']) { + $buttonParams['name'] = ts('Review'); + $buttonParams['icon'] = 'fa-chevron-right'; + } + else { + $buttonParams['name'] = ts('Register'); + $buttonParams['icon'] = 'fa-check'; + } + } + else { + $buttonParams['name'] = ts('Continue'); + $buttonParams['icon'] = 'fa-chevron-right'; + } + $buttons[] = $buttonParams; } + $this->addButtons($buttons); $this->addFormRule(['CRM_Event_Form_Registration_AdditionalParticipant', 'formRule'], $this); $this->unsavedChangesWarn = TRUE; diff --git a/civicrm/CRM/Event/Form/Registration/Confirm.php b/civicrm/CRM/Event/Form/Registration/Confirm.php index 3e01e84dcd2574036ad097676165bd3bbc67972c..3c616b329b44ae4ba0264768cd9287816b4c0ba4 100644 --- a/civicrm/CRM/Event/Form/Registration/Confirm.php +++ b/civicrm/CRM/Event/Form/Registration/Confirm.php @@ -97,6 +97,25 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { $this->set('params', $this->_params); } + public function setDefaultValues() { + if (!$this->showPaymentOnConfirm) { + return []; + } + // Set default payment processor as default payment_processor radio button value + if (!empty($this->_paymentProcessors)) { + foreach ($this->_paymentProcessors as $pid => $value) { + if (!empty($value['is_default'])) { + $defaults['payment_processor_id'] = $pid; + break; + } + } + } + if (!empty($this->_values['event']['is_pay_later']) && empty($this->_defaults['payment_processor_id'])) { + $defaults['is_pay_later'] = 1; + } + return $defaults ?? []; + } + /** * Pre process function for Paypal Express confirm. * @todo this is just a step in refactor as payment processor specific code does not belong in generic forms @@ -253,6 +272,17 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { $this->assign('amounts', $this->_amount); $this->assign('totalAmount', $this->_totalAmount); $this->set('totalAmount', $this->_totalAmount); + + $showPaymentOnConfirm = (in_array($this->_eventId, \Civi::settings()->get('event_show_payment_on_confirm')) || in_array('all', \Civi::settings()->get('event_show_payment_on_confirm'))); + $this->assign('showPaymentOnConfirm', $showPaymentOnConfirm); + if ($showPaymentOnConfirm) { + $isPayLater = CRM_Core_DAO::getFieldValue('CRM_Event_DAO_Event', $this->_eventId, 'is_pay_later'); + $this->setPayLaterLabel($isPayLater ? $this->_values['event']['pay_later_text'] : ''); + $this->_paymentProcessorIDs = explode(CRM_Core_DAO::VALUE_SEPARATOR, $this->_values['event']['payment_processor'] ?? NULL); + $this->assignPaymentProcessor($isPayLater); + CRM_Core_Payment_ProcessorForm::buildQuickForm($this); + $this->addPaymentProcessorFieldsToForm(); + } } if ($this->_priceSetId && !CRM_Core_DAO::getFieldValue('CRM_Price_DAO_PriceSet', $this->_priceSetId, 'is_quick_config')) { @@ -275,7 +305,7 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { //consider total amount. $this->assign('isAmountzero', $this->_totalAmount <= 0); - $contribButton = ts('Continue'); + $contribButton = ts('Register'); $this->addButtons([ [ 'type' => 'back', @@ -317,7 +347,10 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { } $this->setDefaults($defaults); - $this->freeze(); + $showPaymentOnConfirm = (in_array($this->_eventId, \Civi::settings()->get('event_show_payment_on_confirm')) || in_array('all', \Civi::settings()->get('event_show_payment_on_confirm'))); + if (!$showPaymentOnConfirm) { + $this->freeze(); + } //lets give meaningful status message, CRM-4320. $this->assign('isOnWaitlist', $this->_allowWaitlist); @@ -359,6 +392,21 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration { } } + if ($form->showPaymentOnConfirm && empty($form->_requireApproval) && !empty($form->_totalAmount) + && $form->_totalAmount > 0 && !isset($fields['payment_processor_id']) + ) { + $errors['payment_processor_id'] = ts('Please select a Payment Method'); + } + + if ($form->showPaymentOnConfirm) { + CRM_Core_Payment_Form::validatePaymentInstrument( + $fields['payment_processor_id'], + $fields, + $errors, + (!$form->_isBillingAddressRequiredForPayLater ? NULL : 'billing') + ); + } + return empty($errors) ? TRUE : $errors; } diff --git a/civicrm/CRM/Event/Form/Registration/Register.php b/civicrm/CRM/Event/Form/Registration/Register.php index 8b0b0263498aaca1267f4ae0248e8fd5ae16f7e3..3ee42aac9176183247845cadc46874f06aeaa73e 100644 --- a/civicrm/CRM/Event/Form/Registration/Register.php +++ b/civicrm/CRM/Event/Form/Registration/Register.php @@ -355,17 +355,6 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { // CRM-18399: used by template to pass pre profile id as a url arg $this->assign('custom_pre_id', $this->_values['custom_pre_id']); - // Required for currency formatting in the JS layer - - // Required for currency formatting in the JS layer - // this is a temporary fix intended to resolve a regression quickly - // And assigning moneyFormat for js layer formatting - // will only work until that is done. - // https://github.com/civicrm/civicrm-core/pull/19151 - $this->assign('moneyFormat', CRM_Utils_Money::format(1234.56)); - - CRM_Core_Payment_ProcessorForm::buildQuickForm($this); - $contactID = $this->getContactID(); $this->assign('contact_id', $contactID); if ($contactID) { @@ -432,7 +421,17 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { $this->assign('isAdditionalParticipants', $isAdditionalParticipants); if ($this->_values['event']['is_monetary']) { + // Required for currency formatting in the JS layer + // this is a temporary fix intended to resolve a regression quickly + // And assigning moneyFormat for js layer formatting + // will only work until that is done. + // https://github.com/civicrm/civicrm-core/pull/19151 + $this->assign('moneyFormat', CRM_Utils_Money::format(1234.56)); self::buildAmount($this); + if (!$this->showPaymentOnConfirm) { + CRM_Core_Payment_ProcessorForm::buildQuickForm($this); + $this->addPaymentProcessorFieldsToForm(); + } } if ($contactID === 0 && !$this->_values['event']['is_multiple_registrations']) { @@ -440,12 +439,7 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { $this->addCIDZeroOptions(); } - if ($this->_values['event']['is_monetary']) { - $this->addPaymentProcessorFieldsToForm(); - } - $this->addElement('hidden', 'bypass_payment', NULL, ['id' => 'bypass_payment']); - $this->assign('bypassPayment', $bypassPayment); if (!$contactID) { @@ -513,11 +507,7 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { 'spacing' => ' ', 'isDefault' => TRUE, ]; - if ( - !$this->_values['event']['is_multiple_registrations'] - && !$this->_values['event']['is_monetary'] - && !$this->_values['event']['is_confirm_enabled'] - ) { + if (!$this->_values['event']['is_monetary'] && !$this->_values['event']['is_confirm_enabled']) { $buttonParams['name'] = ts('Register'); } else { @@ -913,7 +903,9 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { if ($form->_values['event']['is_monetary']) { if (empty($form->_requireApproval) && !empty($fields['amount']) && $fields['amount'] > 0 && !isset($fields['payment_processor_id'])) { - $errors['payment_processor_id'] = ts('Please select a Payment Method'); + if (!$form->showPaymentOnConfirm) { + $errors['payment_processor_id'] = ts('Please select a Payment Method'); + } } if (self::isZeroAmount($fields, $form)) { @@ -926,12 +918,15 @@ class CRM_Event_Form_Registration_Register extends CRM_Event_Form_Registration { ) { return empty($errors) ? TRUE : $errors; } - CRM_Core_Payment_Form::validatePaymentInstrument( - $fields['payment_processor_id'], - $fields, - $errors, - (!$form->_isBillingAddressRequiredForPayLater ? NULL : 'billing') - ); + + if (!$form->showPaymentOnConfirm) { + CRM_Core_Payment_Form::validatePaymentInstrument( + $fields['payment_processor_id'], + $fields, + $errors, + (!$form->_isBillingAddressRequiredForPayLater ? NULL : 'billing') + ); + } } return empty($errors) ? TRUE : $errors; diff --git a/civicrm/CRM/Event/Form/SelfSvcTransfer.php b/civicrm/CRM/Event/Form/SelfSvcTransfer.php index 4f22bfe0eaa9164db77318b38b137194e28bfefd..c76b3e2ac1900799ba5a847de73b129f2a4f1560 100644 --- a/civicrm/CRM/Event/Form/SelfSvcTransfer.php +++ b/civicrm/CRM/Event/Form/SelfSvcTransfer.php @@ -137,7 +137,7 @@ class CRM_Event_Form_SelfSvcTransfer extends CRM_Core_Form { $this->_userContext = $session->readUserContext(); $this->_from_participant_id = CRM_Utils_Request::retrieve('pid', 'Positive', $this, FALSE, NULL, 'REQUEST'); $this->_userChecksum = CRM_Utils_Request::retrieve('cs', 'String', $this, FALSE, NULL, 'REQUEST'); - $this->isBackoffice = CRM_Utils_Request::retrieve('is_backoffice', 'String', $this, FALSE, NULL, 'REQUEST') ?? FALSE; + $this->isBackoffice = (CRM_Utils_Request::retrieve('is_backoffice', 'String', $this, FALSE, FALSE, 'REQUEST') && CRM_Core_Permission::check('edit event participants')) ?? FALSE; $params = ['id' => $this->_from_participant_id]; $participant = $values = []; $this->_participant = CRM_Event_BAO_Participant::getValues($params, $values, $participant); @@ -278,18 +278,18 @@ class CRM_Event_Form_SelfSvcTransfer extends CRM_Core_Form { */ public static function checkRegistration($fields, $self, $contact_id, &$errors) { // verify whether this contact already registered for this event - $contact_details = CRM_Contact_BAO_Contact::getContactDetails($contact_id); - $display_name = $contact_details[0]; - $query = 'select event_id from civicrm_participant where contact_id = ' . $contact_id; - $dao = CRM_Core_DAO::executeQuery($query); - while ($dao->fetch()) { - $to_event_id[] = $dao->event_id; - } - if (!empty($to_event_id)) { - foreach ($to_event_id as $id) { - if ($id == $self->_event_id) { - $errors['email'] = $display_name . ts(" is already registered for this event"); - } + $participant = \Civi\Api4\Participant::get(FALSE) + ->addSelect('contact_id.display_name') + ->addWhere('event_id', '=', $self->_event_id) + ->addWhere('contact_id', '=', $contact_id) + ->addWhere('event_id.allow_same_participant_emails', '=', FALSE) + ->execute()->first(); + if ($participant) { + if (array_key_exists('contact_id', $fields)) { + $errors['contact_id'] = ts('%1 is already registered for this event', [1 => $participant['contact_id.display_name']]); + } + else { + $errors['email'] = ts('%1 is already registered for this event', [1 => $fields['email']]); } } } @@ -465,7 +465,7 @@ class CRM_Event_Form_SelfSvcTransfer extends CRM_Core_Form { * @throws \CRM_Core_Exception */ public function transferParticipantRegistration($toContactID, $fromParticipantID) { - $toParticipantValues = \Civi\Api4\Participant::get() + $toParticipantValues = \Civi\Api4\Participant::get(FALSE) ->addWhere('id', '=', $fromParticipantID) ->execute() ->first(); @@ -475,7 +475,6 @@ class CRM_Event_Form_SelfSvcTransfer extends CRM_Core_Form { ])['values']; unset($toParticipantValues['id']); $toParticipantValues['contact_id'] = $toContactID; - $toParticipantValues['status_id'] = CRM_Core_PseudoConstant::getKey('CRM_Event_BAO_Participant', 'status_id', 'Registered'); $toParticipantValues['register_date'] = date("Y-m-d"); //first create the new participant row -don't set registered_by yet or email won't be sent $participant = CRM_Event_BAO_Participant::create($toParticipantValues); diff --git a/civicrm/CRM/Event/Form/SelfSvcUpdate.php b/civicrm/CRM/Event/Form/SelfSvcUpdate.php index ed1055eb49bec953c1dd40d9bead3f88ea93e0b2..149c88027638261417d14673ed5dc8ba2bbfa1ab 100644 --- a/civicrm/CRM/Event/Form/SelfSvcUpdate.php +++ b/civicrm/CRM/Event/Form/SelfSvcUpdate.php @@ -110,7 +110,7 @@ class CRM_Event_Form_SelfSvcUpdate extends CRM_Core_Form { $participant = $values = []; $this->_participant_id = CRM_Utils_Request::retrieve('pid', 'Positive', $this, FALSE, NULL, 'REQUEST'); $this->_userChecksum = CRM_Utils_Request::retrieve('cs', 'String', $this, FALSE, NULL, 'REQUEST'); - $this->isBackoffice = CRM_Utils_Request::retrieve('is_backoffice', 'String', $this, FALSE, FALSE, 'REQUEST') ?? FALSE; + $this->isBackoffice = (CRM_Utils_Request::retrieve('is_backoffice', 'String', $this, FALSE, FALSE, 'REQUEST') && CRM_Core_Permission::check('edit event participants')) ?? FALSE; $params = ['id' => $this->_participant_id]; $this->_participant = CRM_Event_BAO_Participant::getValues($params, $values, $participant); $this->_part_values = $values[$this->_participant_id]; @@ -167,6 +167,10 @@ class CRM_Event_Form_SelfSvcUpdate extends CRM_Core_Form { 'name' => ts('Submit'), ], ]); + if ($this->isBackoffice && $this->_contact_email) { + $isConfirmationEmail = $this->addElement('checkbox', 'is_confirmation_email', ts('Send confirmation email?')); + $isConfirmationEmail->setValue(1); + } $this->addFormRule(['CRM_Event_Form_SelfSvcUpdate', 'formRule'], $this); parent::buildQuickForm(); } @@ -283,14 +287,19 @@ class CRM_Event_Form_SelfSvcUpdate extends CRM_Core_Form { $eventDetails[$this->_event_id]['location'] = CRM_Core_BAO_Location::getValues($locParams, TRUE); //send a 'cancelled' email to user, and cc the event's cc_confirm email - CRM_Event_BAO_Participant::sendTransitionParticipantMail($this->_participant_id, - $participantDetails[$this->_participant_id], - $eventDetails[$this->_event_id], - NULL, - 'Cancelled' - ); - $statusMsg = ts('Event registration information for %1 has been updated.', [1 => $this->_contact_name]); - $statusMsg .= ' ' . ts('A cancellation email has been sent to %1.', [1 => $this->_contact_email]); + $statusMsg = ts('Event registration for %1 has been cancelled.', [1 => $this->_contact_name]); + if (empty($this->isBackoffice) || array_key_exists('is_confirmation_email', $params)) { + $emailSent = FALSE; + $emailSent = CRM_Event_BAO_Participant::sendTransitionParticipantMail($this->_participant_id, + $participantDetails[$this->_participant_id], + $eventDetails[$this->_event_id], + NULL, + 'Cancelled' + ); + if ($emailSent) { + $statusMsg .= ' ' . ts('A cancellation email has been sent to %1.', [1 => $this->_contact_email]); + } + } CRM_Core_Session::setStatus($statusMsg, ts('Thanks'), 'success'); if (!empty($this->isBackoffice)) { return; diff --git a/civicrm/CRM/Event/Form/Task/Register.php b/civicrm/CRM/Event/Form/Task/Register.php index 6bdcb8ae204f4616a181788272e327b7ead74e6f..e59d4ee65fbedb37b53c382773a47ac439d3f15c 100644 --- a/civicrm/CRM/Event/Form/Task/Register.php +++ b/civicrm/CRM/Event/Form/Task/Register.php @@ -25,7 +25,6 @@ */ class CRM_Event_Form_Task_Register extends CRM_Event_Form_Participant { - /** * Are we operating in "single mode", i.e. adding / editing only * one participant record, or is this a batch add operation @@ -79,4 +78,115 @@ class CRM_Event_Form_Task_Register extends CRM_Event_Form_Participant { $this->assign('urlPathVar', "_qf_Participant_display=true&context=search"); } + /** + * Get id of participant being edited. + * + * This always returns null as it is the form to take action on search results. + * + * The parent class works on a single record & hence lik + * + * @api This function will not change in a minor release and is supported for + * use outside of core. This annotation / external support for properties + * is only given where there is specific test cover. + * + * @return null + */ + public function getParticipantID(): ?int { + return NULL; + } + + /** + * Process the form submission. + * + * @throws \CRM_Core_Exception + */ + public function postProcess(): void { + $params = $this->controller->exportValues($this->_name); + // When adding more than one contact, the duplicates are + // removed automatically and the user receives one notification. + $event_id = $this->_eventId; + if (!$event_id && !empty($params['event_id'])) { + $event_id = $params['event_id']; + } + if (!empty($event_id)) { + $duplicateContacts = 0; + foreach ($this->_contactIds as $k => $dupeCheckContactId) { + // Eliminate contacts that have already been assigned to this event. + $dupeCheck = new CRM_Event_BAO_Participant(); + $dupeCheck->contact_id = $dupeCheckContactId; + $dupeCheck->event_id = $event_id; + $dupeCheck->find(TRUE); + if (!empty($dupeCheck->id)) { + $duplicateContacts++; + unset($this->_contactIds[$k]); + } + } + if ($duplicateContacts > 0) { + $msg = ts( + '%1 contacts have already been assigned to this event. They were not added a second time.', + [1 => $duplicateContacts] + ); + CRM_Core_Session::setStatus($msg); + } + if (count($this->_contactIds) === 0) { + CRM_Core_Session::setStatus(ts('No participants were added.')); + return; + } + // We have to re-key $this->_contactIds so each contact has the same + // key as their corresponding record in the $participants array that + // will be created below. + $this->_contactIds = array_values($this->_contactIds); + } + + $statusMsg = $this->submit($params); + CRM_Core_Session::setStatus($statusMsg, ts('Saved'), 'success'); + } + + /** + * Add local and global form rules. + * + * @return void + */ + public function addRules(): void { + $this->addFormRule(['CRM_Event_Form_Task_Register', 'formRule'], $this); + } + + /** + * Global validation rules for the form. + * + * @param array $values + * Posted values of the form. + * @param $files + * @param self $self + * + * @return array|true + * list of errors to be posted back to the form + */ + public static function formRule($values, $files, $self) { + $errorMsg = []; + if (!empty($values['record_contribution'])) { + if (empty($values['financial_type_id'])) { + $errorMsg['financial_type_id'] = ts('Please enter the associated Financial Type'); + } + if (empty($values['payment_instrument_id'])) { + $errorMsg['payment_instrument_id'] = ts('Payment Method is a required field.'); + } + if (!empty($values['priceSetId'])) { + CRM_Price_BAO_PriceField::priceSetValidation($values['priceSetId'], $values, $errorMsg); + } + } + + // do the amount validations. + //skip for update mode since amount is freeze, CRM-6052 + if (empty($values['total_amount']) && + empty($self->_values['line_items']) + ) { + if ($priceSetId = CRM_Utils_Array::value('priceSetId', $values)) { + CRM_Price_BAO_PriceField::priceSetValidation($priceSetId, $values, $errorMsg, TRUE); + } + } + + return empty($errorMsg) ? TRUE : $errorMsg; + } + } diff --git a/civicrm/CRM/Event/Page/ManageEvent.php b/civicrm/CRM/Event/Page/ManageEvent.php index c981862362ef5963652b48c437ef6e06d1b30e59..4a91db36401e63bc669b65c62f580c62e92ba0f9 100644 --- a/civicrm/CRM/Event/Page/ManageEvent.php +++ b/civicrm/CRM/Event/Page/ManageEvent.php @@ -536,12 +536,14 @@ ORDER BY start_date desc } else { $curDate = date('YmdHis'); - $clauses[] = "(end_date >= {$curDate} OR end_date IS NULL)"; + $dayBefore = date_sub(date_create(), date_interval_create_from_date_string("1 day"))->format('YmdHis'); + $clauses[] = "(end_date >= {$curDate} OR (end_date IS NULL AND start_date >= {$dayBefore}))"; } } else { $curDate = date('YmdHis'); - $clauses[] = "(end_date >= {$curDate} OR end_date IS NULL)"; + $dayBefore = date_sub(date_create(), date_interval_create_from_date_string("1 day"))->format('YmdHis'); + $clauses[] = "(end_date >= {$curDate} OR (end_date IS NULL AND start_date >= {$dayBefore}))"; } if ($sortBy && diff --git a/civicrm/CRM/Event/Selector/Search.php b/civicrm/CRM/Event/Selector/Search.php index 156caf5e731033c99bee859f334f5d95480a15a1..b7f6967f6b4d30b68ca2c81ee85448c2c91e299d 100644 --- a/civicrm/CRM/Event/Selector/Search.php +++ b/civicrm/CRM/Event/Selector/Search.php @@ -215,18 +215,21 @@ class CRM_Event_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co 'url' => 'civicrm/contact/view/participant', 'qs' => 'reset=1&id=%%id%%&cid=%%cid%%&action=view&context=%%cxt%%&selectedChild=event' . $extraParams, 'title' => ts('View Participation'), + 'weight' => -20, ], CRM_Core_Action::UPDATE => [ 'name' => ts('Edit'), 'url' => 'civicrm/contact/view/participant', 'qs' => 'reset=1&action=update&id=%%id%%&cid=%%cid%%&context=%%cxt%%' . $extraParams, 'title' => ts('Edit Participation'), + 'weight' => -10, ], CRM_Core_Action::DELETE => [ 'name' => ts('Delete'), 'url' => 'civicrm/contact/view/participant', 'qs' => 'reset=1&action=delete&id=%%id%%&cid=%%cid%%&context=%%cxt%%' . $extraParams, 'title' => ts('Delete Participation'), + 'weight' => 100, ], ]; } diff --git a/civicrm/CRM/Event/StateMachine/Registration.php b/civicrm/CRM/Event/StateMachine/Registration.php index e70a4bc8efe92060289c208e90cfa9bfb8696d1d..1f9be3357a611dc8cf5cf079dbae95faa16dcfa7 100644 --- a/civicrm/CRM/Event/StateMachine/Registration.php +++ b/civicrm/CRM/Event/StateMachine/Registration.php @@ -70,7 +70,7 @@ class CRM_Event_StateMachine_Registration extends CRM_Core_StateMachine { unset($pages['CRM_Event_Form_Registration_Confirm']); } - $this->addSequentialPages($pages, $action); + $this->addSequentialPages($pages); } } diff --git a/civicrm/CRM/Event/StateMachine/Search.php b/civicrm/CRM/Event/StateMachine/Search.php index f235ac402638c563d0a0aa3da9a6ea69228bc309..0029becaccddb9d53d6661c039a95aef8ae865ce 100644 --- a/civicrm/CRM/Event/StateMachine/Search.php +++ b/civicrm/CRM/Event/StateMachine/Search.php @@ -49,7 +49,7 @@ class CRM_Event_StateMachine_Search extends CRM_Core_StateMachine { $this->_pages['CRM_Event_Form_Task_Result'] = NULL; } - $this->addSequentialPages($this->_pages, $action); + $this->addSequentialPages($this->_pages); } /** diff --git a/civicrm/CRM/Event/Tokens.php b/civicrm/CRM/Event/Tokens.php index 5e00e521dd25d998a6eb3595805212fedeb3a8a6..2968b8c4d48c88f5e897a4cfe3360fefcd3fb261 100644 --- a/civicrm/CRM/Event/Tokens.php +++ b/civicrm/CRM/Event/Tokens.php @@ -60,22 +60,86 @@ class CRM_Event_Tokens extends CRM_Core_EntityTokens { 'data_type' => 'String', 'audience' => 'user', ], - 'contact_email' => [ + 'loc_block_id.email_id.email' => [ 'title' => ts('Event Contact Email'), - 'name' => 'contact_email', + 'name' => 'loc_block_id.email_id.email', 'type' => 'calculated', 'options' => NULL, 'data_type' => 'String', 'audience' => 'user', ], - 'contact_phone' => [ + 'loc_block_id.email_2_id.email' => [ + 'title' => ts('Event Contact Email 2'), + 'name' => 'loc_block_id.email_2_id.email', + 'type' => 'calculated', + 'options' => NULL, + 'data_type' => 'String', + 'audience' => 'sysadmin', + ], + 'loc_block_id.phone_id.phone' => [ 'title' => ts('Event Contact Phone'), - 'name' => 'contact_phone', + 'name' => 'loc_block_id.phone_id.phone', 'type' => 'calculated', 'options' => NULL, 'data_type' => '', 'audience' => 'user', ], + 'loc_block_id.phone_id.phone_type_id' => [ + 'title' => ts('Event Contact Phone'), + 'name' => 'loc_block_id.phone_id.phone_type_id', + 'type' => 'calculated', + 'options' => NULL, + 'data_type' => 'Int', + 'audience' => 'sysadmin', + ], + 'loc_block_id.phone_id.phone_type_id:label' => [ + 'title' => ts('Event Contact Phone'), + 'name' => 'loc_block_id.phone_id.phone_type_id:label', + 'type' => 'calculated', + 'options' => NULL, + 'data_type' => 'String', + 'audience' => 'sysadmin', + ], + 'loc_block_id.phone_id.phone_ext' => [ + 'title' => ts('Event Contact Phone Extension'), + 'name' => 'loc_block_id.phone_id.phone_ext', + 'type' => 'calculated', + 'options' => NULL, + 'data_type' => 'String', + 'audience' => 'sysadmin', + ], + 'loc_block_id.phone_2_id.phone' => [ + 'title' => ts('Event Contact Phone 2'), + 'name' => 'loc_block_id.phone_2_id.phone', + 'type' => 'calculated', + 'options' => NULL, + 'data_type' => '', + 'audience' => 'sysadmin', + ], + 'loc_block_id.phone_2_id.phone_type_id' => [ + 'title' => ts('Event Contact Phone'), + 'name' => 'loc_block_id.phone_2_id.phone_type_id', + 'type' => 'calculated', + 'options' => NULL, + 'data_type' => 'Int', + 'audience' => 'sysadmin', + ], + 'loc_block_id.phone_2_id.phone_type_id:label' => [ + 'title' => ts('Event Contact Phone 2'), + 'name' => 'loc_block_id.phone_2_id.phone_type_id:label', + 'type' => 'calculated', + 'options' => NULL, + 'data_type' => 'String', + 'audience' => 'sysadmin', + ], + 'loc_block_id.phone_2_id.phone_ext' => [ + 'title' => ts('Event Contact Phone 2 Extension'), + 'name' => 'loc_block_id.phone_2_id.phone_ext', + 'type' => 'calculated', + 'options' => NULL, + 'data_type' => 'String', + 'audience' => 'sysadmin', + ], ]; } @@ -118,7 +182,25 @@ class CRM_Event_Tokens extends CRM_Core_EntityTokens { 'loc_block_id.address_id.state_province_id:label', 'loc_block_id.address_id.postal_code', 'loc_block_id.email_id.email', + 'loc_block_id.email_2_id.email', 'loc_block_id.phone_id.phone', + 'loc_block_id.phone_id.phone_type_id', + 'loc_block_id.phone_id.phone_ext', + 'loc_block_id.phone_id.phone_type_id:label', + 'loc_block_id.phone_2_id.phone', + 'loc_block_id.phone_2_id.phone_type_id', + 'loc_block_id.phone_2_id.phone_ext', + 'loc_block_id.phone_2_id.phone_type_id:label', + 'confirm_email_text', + 'is_show_location', + 'is_show_location:label', + 'is_public', + 'is_public:label', + 'is_monetary:label', + 'event_type_id:label', + 'event_type_id:name', + 'pay_later_text', + 'pay_later_receipt', 'custom.*', ], $this->getExposedFields())) ->execute()->first(); @@ -133,10 +215,11 @@ class CRM_Event_Tokens extends CRM_Core_EntityTokens { $tokens['registration_url']['text/html'] = \CRM_Utils_System::url('civicrm/event/register', 'reset=1&id=' . $eventID, TRUE, NULL, FALSE, TRUE); $tokens['start_date']['text/html'] = !empty($event['start_date']) ? new DateTime($event['start_date']) : ''; $tokens['end_date']['text/html'] = !empty($event['end_date']) ? new DateTime($event['end_date']) : ''; - $tokens['event_type_id:label']['text/html'] = CRM_Core_PseudoConstant::getLabel('CRM_Event_BAO_Event', 'event_type_id', $event['event_type_id']); - $tokens['event_type_id:name']['text/html'] = CRM_Core_PseudoConstant::getName('CRM_Event_BAO_Event', 'event_type_id', $event['event_type_id']); - $tokens['contact_phone']['text/html'] = $event['loc_block_id.phone_id.phone']; $tokens['contact_email']['text/html'] = $event['loc_block_id.email_id.email']; + $tokens['contact_phone']['text/html'] = $event['loc_block_id.phone_id.phone']; + // We use text/plain for fields which should be converted to html when used in html content. + $tokens['confirm_email_text']['text/plain'] = $event['confirm_email_text']; + $tokens['pay_later_text']['text/plain'] = $event['pay_later_text']; foreach ($this->getTokenMetadata() as $fieldName => $fieldSpec) { if (!isset($tokens[$fieldName])) { @@ -168,6 +251,7 @@ class CRM_Event_Tokens extends CRM_Core_EntityTokens { protected function getExposedFields(): array { return [ 'event_type_id', + 'event_type_id:label', 'title', 'id', 'pay_later_receipt', @@ -175,6 +259,47 @@ class CRM_Event_Tokens extends CRM_Core_EntityTokens { 'end_date', 'summary', 'description', + 'is_show_location', + 'is_public', + 'confirm_email_text', + 'is_monetary', + ]; + } + + /** + * Get any overrides for token metadata. + * + * This is most obviously used for setting the audience, which + * will affect widget-presence. + * + * Changing the audience is done in order to simplify the + * UI for more general users. + * + * @return \string[][] + */ + protected function getTokenMetadataOverrides(): array { + return [ + 'is_public' => ['audience' => 'sysadmin'], + 'is_show_location' => ['audience' => 'sysadmin'], + 'is_monetary' => ['audience' => 'sysadmin'], + ]; + } + + /** + * These tokens still work but we don't advertise them. + * + * We will actively remove from the following places + * - scheduled reminders + * - add to 'blocked' on pdf letter & email + * + * & then at some point start issuing warnings for them. + * + * @return string[] + */ + protected function getDeprecatedTokens(): array { + return [ + 'contact_phone' => 'loc_block_id.phone_id.phone', + 'contact_email' => 'loc_block_id.email_id.email', ]; } diff --git a/civicrm/CRM/Event/WorkflowMessage/EventExamples.php b/civicrm/CRM/Event/WorkflowMessage/EventExamples.php index 8524413ab0f9231b2cd0bf09dd79e9ed4c80f70a..556bb42b26fcffd39cf17fa2e2f8cb2223905544 100644 --- a/civicrm/CRM/Event/WorkflowMessage/EventExamples.php +++ b/civicrm/CRM/Event/WorkflowMessage/EventExamples.php @@ -61,6 +61,7 @@ class CRM_Event_WorkflowMessage_EventExamples extends WorkflowMessageExample { private function addExampleData(GenericWorkflowMessage $messageTemplate, $example): void { $messageTemplate->setContact(\Civi\Test::example('entity/Contact/Barb')); $messageTemplate->setEventID($example['event_id']); + $messageTemplate->setContribution(['total_amount' => 50, 'balance_amount' => 20, 'currency' => 'USD']); } /** @@ -71,7 +72,6 @@ class CRM_Event_WorkflowMessage_EventExamples extends WorkflowMessageExample { * @throws \CRM_Core_Exception */ private function getPriceSets(): ?array { - // Permission check defaults to true - likely implicitly OK but may need to be false. $quickConfigPriceSet = $this->getPriceSet(TRUE); $nonQuickConfigPriceSet = $this->getPriceSet(FALSE); diff --git a/civicrm/CRM/Event/WorkflowMessage/EventOfflineReceipt.php b/civicrm/CRM/Event/WorkflowMessage/EventOfflineReceipt.php index 3b88596799654b285dfa349732bdad917a4853ed..38ba48d1e457e157aa0541928d351dba349bc416 100644 --- a/civicrm/CRM/Event/WorkflowMessage/EventOfflineReceipt.php +++ b/civicrm/CRM/Event/WorkflowMessage/EventOfflineReceipt.php @@ -21,6 +21,8 @@ use Civi\WorkflowMessage\GenericWorkflowMessage; */ class CRM_Event_WorkflowMessage_EventOfflineReceipt extends GenericWorkflowMessage { use CRM_Event_WorkflowMessage_ParticipantTrait; + use CRM_Contribute_WorkflowMessage_ContributionTrait; + public const WORKFLOW = 'event_offline_receipt'; } diff --git a/civicrm/CRM/Event/WorkflowMessage/EventOnlineReceipt.php b/civicrm/CRM/Event/WorkflowMessage/EventOnlineReceipt.php index d17591cc9a2a19e2eaa7b553d7b1b5402ec87967..26e8ca531fb3021b2c284b92322ec049e6d83100 100644 --- a/civicrm/CRM/Event/WorkflowMessage/EventOnlineReceipt.php +++ b/civicrm/CRM/Event/WorkflowMessage/EventOnlineReceipt.php @@ -21,6 +21,7 @@ use Civi\WorkflowMessage\GenericWorkflowMessage; */ class CRM_Event_WorkflowMessage_EventOnlineReceipt extends GenericWorkflowMessage { use CRM_Event_WorkflowMessage_ParticipantTrait; + use CRM_Contribute_WorkflowMessage_ContributionTrait; public const WORKFLOW = 'event_online_receipt'; } diff --git a/civicrm/CRM/Export/BAO/ExportProcessor.php b/civicrm/CRM/Export/BAO/ExportProcessor.php index 0811d5674b316070c978bf52df97c8911a026771..9a2002d72e1f1e211eb0c6a7b547a33fc0018a3e 100644 --- a/civicrm/CRM/Export/BAO/ExportProcessor.php +++ b/civicrm/CRM/Export/BAO/ExportProcessor.php @@ -1304,7 +1304,7 @@ class CRM_Export_BAO_ExportProcessor { return [ 'componentPaymentField_total_amount' => ['title' => ts('Total Amount'), 'type' => CRM_Utils_Type::T_MONEY], 'componentPaymentField_contribution_status' => ['title' => ts('Contribution Status'), 'type' => CRM_Utils_Type::T_STRING], - 'componentPaymentField_received_date' => ['title' => ts('Date Received'), 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME], + 'componentPaymentField_received_date' => ['title' => ts('Contribution Date'), 'type' => CRM_Utils_Type::T_DATE + CRM_Utils_Type::T_TIME], 'componentPaymentField_payment_instrument' => ['title' => ts('Payment Method'), 'type' => CRM_Utils_Type::T_STRING], 'componentPaymentField_transaction_id' => ['title' => ts('Transaction ID'), 'type' => CRM_Utils_Type::T_STRING], ]; diff --git a/civicrm/CRM/Export/StateMachine/Standalone.php b/civicrm/CRM/Export/StateMachine/Standalone.php index 99d58647ad15dd59d31acf672b3cceb0f413e551..2f8662a4163fe5b2fcf0686d7b92a79e62fd5bef 100644 --- a/civicrm/CRM/Export/StateMachine/Standalone.php +++ b/civicrm/CRM/Export/StateMachine/Standalone.php @@ -33,7 +33,7 @@ class CRM_Export_StateMachine_Standalone extends CRM_Core_StateMachine { 'CRM_' . $entity . '_Export_Form_Map' => NULL, ]; - $this->addSequentialPages($this->_pages, $action); + $this->addSequentialPages($this->_pages); } /** diff --git a/civicrm/CRM/Extension/Manager.php b/civicrm/CRM/Extension/Manager.php index 6b1f1cfb598ff8a2c3415c9d438b9b5ab77b7942..921983dd145922c167110a801596aa5b5d17e79c 100644 --- a/civicrm/CRM/Extension/Manager.php +++ b/civicrm/CRM/Extension/Manager.php @@ -455,6 +455,12 @@ class CRM_Extension_Manager { // TODO: to mitigate the risk of crashing during installation, scan // keys/statuses/types before doing anything + // Component data still lives inside of core-core. Uninstalling is nonsensical. + $notUninstallable = array_intersect($keys, $this->mapper->getKeysByTag('component')); + if (count($notUninstallable)) { + throw new CRM_Extension_Exception("Cannot uninstall extensions which are tagged as components: " . implode(', ', $notUninstallable)); + } + $this->addProcess($keys, 'uninstall'); foreach ($keys as $key) { diff --git a/civicrm/CRM/Extension/Upgrader/Component.php b/civicrm/CRM/Extension/Upgrader/Component.php new file mode 100644 index 0000000000000000000000000000000000000000..d4e3b07e3e630c6b6d07be7b456aa66927cb62a5 --- /dev/null +++ b/civicrm/CRM/Extension/Upgrader/Component.php @@ -0,0 +1,33 @@ +<?php +use CRM_AfformAdmin_ExtensionUtil as E; + +/** + * Upgrader base class ONLY for core component extensions (e.g. `civi_mail`, `civi_event`). + * + * Can be used directly from the extensions' info.xml or can be extended for + * additional install/uninstall/upgrade functionality in the extension. + */ +class CRM_Extension_Upgrader_Component extends CRM_Extension_Upgrader_Base { + + public function postInstall() { + CRM_Core_BAO_ConfigSetting::enableComponent($this->getComponentName()); + } + + public function enable() { + CRM_Core_BAO_ConfigSetting::enableComponent($this->getComponentName()); + } + + public function disable() { + CRM_Core_BAO_ConfigSetting::disableComponent($this->getComponentName()); + } + + /** + * Get of component (e.g. CiviMail) + * + * @return string + */ + protected function getComponentName(): string { + return CRM_Utils_String::convertStringToCamel($this->extensionName); + } + +} diff --git a/civicrm/CRM/Financial/BAO/Payment.php b/civicrm/CRM/Financial/BAO/Payment.php index 2611cba99e2138e6c8a491883e39ff71d965a67f..267a3082646feeabd40991f0633cb4680d24aa55 100644 --- a/civicrm/CRM/Financial/BAO/Payment.php +++ b/civicrm/CRM/Financial/BAO/Payment.php @@ -443,7 +443,6 @@ class CRM_Financial_BAO_Payment { 'isShowLocation', 'location', 'isRefund', - 'isAmountzero', 'refundAmount', 'totalPaid', 'paymentsComplete', diff --git a/civicrm/CRM/Financial/Page/AJAX.php b/civicrm/CRM/Financial/Page/AJAX.php index 0efab6185ed3b7ce0613173db85f2bc9d2b0d5d6..7bab72bbd23e3c7b1598b29ab5b47525542ace4b 100644 --- a/civicrm/CRM/Financial/Page/AJAX.php +++ b/civicrm/CRM/Financial/Page/AJAX.php @@ -287,7 +287,7 @@ class CRM_Financial_Page_AJAX { 'amount' => ts('Amount'), 'trxn_id' => ts('Trxn ID'), 'transaction_date' => ts('Transaction Date'), - 'receive_date' => ts('Received'), + 'receive_date' => ts('Contribution Date'), 'payment_method' => ts('Payment Method'), 'status' => ts('Status'), 'name' => ts('Type'), diff --git a/civicrm/CRM/Group/Form/Edit.php b/civicrm/CRM/Group/Form/Edit.php index 28d07afd9ded18a15f71cfddd285eb7259a89a84..25416f71519f35ba0b48de90069233a2f2f67409 100644 --- a/civicrm/CRM/Group/Form/Edit.php +++ b/civicrm/CRM/Group/Form/Edit.php @@ -369,16 +369,6 @@ WHERE title = %1 $group = CRM_Contact_BAO_Group::create($params); // Set the entity id so it is available to postProcess hook consumers $this->setEntityId($group->id); - //Remove any parent groups requested to be removed - if (!empty($this->_groupValues['parents'])) { - $parentGroupIds = explode(',', $this->_groupValues['parents']); - foreach ($parentGroupIds as $parentGroupId) { - if (isset($params["remove_parent_group_$parentGroupId"])) { - CRM_Contact_BAO_GroupNesting::remove($parentGroupId, $group->id); - $updateNestingCache = TRUE; - } - } - } CRM_Core_Session::setStatus(ts('The Group \'%1\' has been saved.', array(1 => $group->title)), ts('Group Saved'), 'success'); @@ -392,10 +382,6 @@ WHERE title = %1 } } - // update the nesting cache - if ($updateNestingCache) { - CRM_Contact_BAO_GroupNestingCache::update(); - } } /** diff --git a/civicrm/CRM/Group/StateMachine.php b/civicrm/CRM/Group/StateMachine.php index 2895be5b2879635e8c2b62bf65c14d045dd37ccd..ae6287237d2968d5ecb5494162873144334e5fe3 100644 --- a/civicrm/CRM/Group/StateMachine.php +++ b/civicrm/CRM/Group/StateMachine.php @@ -32,7 +32,7 @@ class CRM_Group_StateMachine extends CRM_Core_StateMachine { 'CRM_Contact_Form_Task_Result' => NULL, ]; - $this->addSequentialPages($this->_pages, $action); + $this->addSequentialPages($this->_pages); } /** diff --git a/civicrm/CRM/Import/Forms.php b/civicrm/CRM/Import/Forms.php index 31df4826e3c71c3400762adad838013149140a5f..41e565472877beeb8efdbb147188a1f4685bea4e 100644 --- a/civicrm/CRM/Import/Forms.php +++ b/civicrm/CRM/Import/Forms.php @@ -740,6 +740,9 @@ class CRM_Import_Forms extends CRM_Core_Form { } // Swap out dots for double underscores so as not to break the quick form js. // We swap this back on postProcess. + // Arg - we need to swap out _. first as it seems some groups end in a trailing underscore. + // https://lab.civicrm.org/dev/core/-/issues/4317#note_91322 + $name = str_replace('_.', '~~', $name); $name = str_replace('.', '__', $name); $return[$name] = $field['html']['label'] ?? $field['title']; } diff --git a/civicrm/CRM/Import/Parser.php b/civicrm/CRM/Import/Parser.php index bfce7cdaef37c4f0a33b49a54311d6083fa9fcd4..359070c42640e3f22ece556b5fff40039fa0a4a1 100644 --- a/civicrm/CRM/Import/Parser.php +++ b/civicrm/CRM/Import/Parser.php @@ -90,6 +90,11 @@ abstract class CRM_Import_Parser implements UserJobInterface { */ protected $statesByCountry = []; + /** + * @var int|null + */ + protected $siteDefaultCountry = NULL; + /** * @return int|null */ @@ -1691,6 +1696,9 @@ abstract class CRM_Import_Parser implements UserJobInterface { $fieldMap = $this->getOddlyMappedMetadataFields(); $fieldMapName = empty($fieldMap[$fieldName]) ? $fieldName : $fieldMap[$fieldName]; $fieldMapName = str_replace('__', '.', $fieldMapName); + // See https://lab.civicrm.org/dev/core/-/issues/4317#note_91322 - a further hack for quickform not + // handling dots in field names. One day we will get rid of the Quick form screen... + $fieldMapName = str_replace('~~', '_.', $fieldMapName); // This whole business of only loading metadata for one type when we actually need it for all is ... dubious. if (empty($this->getImportableFieldsMetadata()[$fieldMapName])) { if ($loadOptions || !$limitToContactType) { @@ -1954,7 +1962,7 @@ abstract class CRM_Import_Parser implements UserJobInterface { * @return int */ protected function getSiteDefaultCountry(): int { - if (!isset($this->siteDefaultCountry)) { + if ($this->siteDefaultCountry === NULL) { $this->siteDefaultCountry = (int) Civi::settings()->get('defaultContactCountry'); } return $this->siteDefaultCountry; diff --git a/civicrm/CRM/Import/StateMachine.php b/civicrm/CRM/Import/StateMachine.php index 4a06c6f91ba0838a5a2d5c436ed4bdf7e6b2734f..ddc69485b87b0bf55ddb3d7bb6bee79450ba85ba 100644 --- a/civicrm/CRM/Import/StateMachine.php +++ b/civicrm/CRM/Import/StateMachine.php @@ -36,7 +36,7 @@ class CRM_Import_StateMachine extends CRM_Core_StateMachine { $classType . '_Form_Preview' => NULL, ]; - $this->addSequentialPages($this->_pages, $action); + $this->addSequentialPages($this->_pages); } } diff --git a/civicrm/CRM/Logging/ReportSummary.php b/civicrm/CRM/Logging/ReportSummary.php index 5ecdcac11bebff0136b4ed60fae0b8946134e07e..cde815f8888cdc0387dfb4937937bafb0c34e39a 100644 --- a/civicrm/CRM/Logging/ReportSummary.php +++ b/civicrm/CRM/Logging/ReportSummary.php @@ -35,6 +35,21 @@ class CRM_Logging_ReportSummary extends CRM_Report_Form { */ protected $currentLogTable; + /** + * Set within `$this->buildTemporaryTables` + * + * @var CRM_Utils_SQL_TempTable + */ + protected $temporaryTable; + + /** + * The name of the temporary table. + * Set within `$this->buildTemporaryTables` + * + * @var string + */ + protected $temporaryTableName; + /** * Class constructor. */ diff --git a/civicrm/CRM/Mailing/BAO/Mailing.php b/civicrm/CRM/Mailing/BAO/Mailing.php index 81024cb27b5bd5b861e5bdbfe892965c06c5dcc6..03acef38f5a78575abb9456cf499713fa196e6ca 100644 --- a/civicrm/CRM/Mailing/BAO/Mailing.php +++ b/civicrm/CRM/Mailing/BAO/Mailing.php @@ -2119,21 +2119,23 @@ ORDER BY civicrm_email.is_bulkmail DESC case 'opened': // do not use group by clause in report, because same report used for total and unique open - $reportFilter .= "&distinct=0"; + $reportFilter .= '&distinct=0'; case 'opened_unique': - $url = "mailing/opened"; - $searchFilter .= "&mailing_open_status=Y"; + $url = 'mailing/opened'; + $searchFilter .= '&mailing_open_status=Y'; break; case 'clicks': case 'clicks_unique': - $url = "mailing/clicks"; - $searchFilter .= "&mailing_click_status=Y"; + $url = 'mailing/clicks'; + $searchFilter .= '&mailing_click_status=Y'; break; } $actionLinks[CRM_Core_Action::VIEW]['url'] = CRM_Report_Utils_Report::getNextUrl($url, $reportFilter, FALSE, TRUE); + $actionLinks[CRM_Core_Action::VIEW]['weight'] = -20; if (array_key_exists(CRM_Core_Action::ADVANCED, $actionLinks)) { $actionLinks[CRM_Core_Action::ADVANCED]['qs'] = $searchFilter; + $actionLinks[CRM_Core_Action::ADVANCED]['weight'] = 10; } $report['event_totals']['actionlinks'][$key] = CRM_Core_Action::formLink( $actionLinks, @@ -2554,7 +2556,7 @@ LEFT JOIN civicrm_mailing_group g ON g.mailing_id = m.id $form->add('select', "{$prefix}template", ts('Use Template'), ['' => ts('- select -')] + $templates[$prefix], FALSE, - ['onChange' => "selectValue( this.value, '{$prefix}');"] + ['onChange' => "selectValue( this.value, '{$prefix}');", 'class' => 'crm-select2 huge'] ); } $form->add('checkbox', "{$prefix}updateTemplate", ts('Update Template'), NULL); @@ -2785,7 +2787,7 @@ AND e.id NOT IN ( SELECT email_id FROM civicrm_mailing_recipients mr WHERE ma SELECT civicrm_mailing.id, civicrm_mailing.name, civicrm_mailing_job.end_date FROM civicrm_mailing INNER JOIN civicrm_mailing_job ON civicrm_mailing.id = civicrm_mailing_job.mailing_id {$where} -ORDER BY civicrm_mailing.name"; +ORDER BY civicrm_mailing.id DESC"; $mailing = CRM_Core_DAO::executeQuery($query); while ($mailing->fetch()) { diff --git a/civicrm/CRM/Mailing/DAO/Mailing.php b/civicrm/CRM/Mailing/DAO/Mailing.php index d9d8caa9fcbdcf37b789408e85f3328213d1a10a..fd8055ccea5b61c0ca8d4330d4563622264a6a68 100644 --- a/civicrm/CRM/Mailing/DAO/Mailing.php +++ b/civicrm/CRM/Mailing/DAO/Mailing.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Mailing/Mailing.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:d4641638461a78c3dc0a5090556bb79f) + * (GenCodeChecksum:b6497d273cd5ec8c044a5b60c6cd5fea) */ /** @@ -53,6 +53,8 @@ class CRM_Mailing_DAO_Mailing extends CRM_Core_DAO { protected static $_paths = [ 'add' => 'civicrm/a/#/mailing/new', 'update' => 'civicrm/a/#/mailing/[id]', + 'view' => 'civicrm/mailing/report?mid=[id]&reset=1', + 'preview' => 'civicrm/mailing/view?id=[id]&reset=1', ]; /** diff --git a/civicrm/CRM/Member/BAO/Membership.php b/civicrm/CRM/Member/BAO/Membership.php index 15ef6231bb36f2eb323969f045c0ab1be508422c..303af1714100c1df028bfd67dd6fe6597087524f 100644 --- a/civicrm/CRM/Member/BAO/Membership.php +++ b/civicrm/CRM/Member/BAO/Membership.php @@ -1769,7 +1769,9 @@ INNER JOIN civicrm_contact contact ON ( contact.id = membership.contact_id AND } /** - * @deprecated + * @deprecated in CiviCRM 5.39, will be removed around CiviCRM 5.66. + * + * Deprecation issue in https://lab.civicrm.org/extensions/civimobileapi/-/issues/86 * * @param int $contactID * @param int $membershipTypeID diff --git a/civicrm/CRM/Member/BAO/Query.php b/civicrm/CRM/Member/BAO/Query.php index 3f94e2e386d0063e402e41045d015b2a88f8c60b..107a2c367194da04315757a95fc3eff5ba21d1d2 100644 --- a/civicrm/CRM/Member/BAO/Query.php +++ b/civicrm/CRM/Member/BAO/Query.php @@ -527,7 +527,7 @@ class CRM_Member_BAO_Query extends CRM_Core_BAO_Query { 'class' => 'crm-select2', ]); - $form->addElement('text', 'member_source', ts('Source')); + $form->addElement('text', 'member_source', ts('Membership Source')); $form->add('number', 'membership_id', ts('Membership ID'), ['class' => 'four', 'min' => 1]); $form->addYesNo('membership_is_current_member', ts('Current Member?'), TRUE); diff --git a/civicrm/CRM/Member/DAO/Membership.php b/civicrm/CRM/Member/DAO/Membership.php index 0285ecd29113ce14d5d21936119592977f897506..ab3cfafbd57b60b07ed54832166f043cdce0f525 100644 --- a/civicrm/CRM/Member/DAO/Membership.php +++ b/civicrm/CRM/Member/DAO/Membership.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Member/Membership.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:8388aa398d713ed54fba4f1a157d4ec4) + * (GenCodeChecksum:231656abeadb1c357ccd404b2c02b495) */ /** @@ -410,7 +410,7 @@ class CRM_Member_DAO_Membership extends CRM_Core_DAO { 'membership_source' => [ 'name' => 'source', 'type' => CRM_Utils_Type::T_STRING, - 'title' => ts('Source'), + 'title' => ts('Membership Source'), 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, 'usage' => [ diff --git a/civicrm/CRM/Member/DAO/MembershipPayment.php b/civicrm/CRM/Member/DAO/MembershipPayment.php index 5281ba51ba11ac72c24b9e7d45a247bdc3e72e31..34a7eda0e0a54bdf12213a2dc2f315d44fff04f5 100644 --- a/civicrm/CRM/Member/DAO/MembershipPayment.php +++ b/civicrm/CRM/Member/DAO/MembershipPayment.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Member/MembershipPayment.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:022f6af50f08516e1e086faddcdf7fff) + * (GenCodeChecksum:da3ef13818ef6db9566c0ae8d68c4294) */ /** @@ -161,6 +161,7 @@ class CRM_Member_DAO_MembershipPayment extends CRM_Core_DAO { 'localizable' => 0, 'FKClassName' => 'CRM_Contribute_DAO_Contribution', 'html' => [ + 'type' => 'EntityRef', 'label' => ts("Contribution"), ], 'add' => '2.0', diff --git a/civicrm/CRM/Member/Form/Membership.php b/civicrm/CRM/Member/Form/Membership.php index 2fbd84e928a695302babd6ee5564f242cd2f8041..6c3963de43c3370588518121f8289d771bbee8c3 100644 --- a/civicrm/CRM/Member/Form/Membership.php +++ b/civicrm/CRM/Member/Form/Membership.php @@ -549,7 +549,7 @@ DESC limit 1"); $this->add('number', 'num_terms', ts('Number of Terms'), ['size' => 6]); } - $this->add('text', 'source', ts('Source'), + $this->add('text', 'source', ts('Membership Source'), CRM_Core_DAO::getAttribute('CRM_Member_DAO_Membership', 'source') ); @@ -576,7 +576,7 @@ DESC limit 1"); $this->add('text', 'total_amount', ts('Amount')); $this->addRule('total_amount', ts('Please enter a valid amount.'), 'money'); - $this->add('datepicker', 'receive_date', ts('Received'), [], FALSE, ['time' => TRUE]); + $this->add('datepicker', 'receive_date', ts('Contribution Date'), [], FALSE, ['time' => TRUE]); $this->add('select', 'payment_instrument_id', ts('Payment Method'), @@ -737,9 +737,7 @@ DESC limit 1"); CRM_Core_Payment_Form::validatePaymentInstrument($params['payment_processor_id'], $params, $errors, NULL); } - $joinDate = NULL; if (!empty($params['join_date'])) { - $joinDate = CRM_Utils_Date::processDate($params['join_date']); foreach ($selectedMemberships as $memType) { @@ -981,8 +979,8 @@ DESC limit 1"); 'isTest' => (bool) ($this->_action & CRM_Core_Action::PREVIEW), 'modelProps' => [ 'receiptText' => $this->getSubmittedValue('receipt_text'), - 'contributionId' => $formValues['contribution_id'], - 'contactId' => $this->_receiptContactId, + 'contributionID' => $formValues['contribution_id'], + 'contactID' => $this->_receiptContactId, 'membershipID' => $this->getMembershipID(), ], ] @@ -1000,15 +998,14 @@ DESC limit 1"); $this->storeContactFields($this->_params); $this->beginPostProcess(); - $params = $softParams = $ids = []; + $params = $softParams = []; - $mailSend = FALSE; $this->processBillingAddress(); $formValues = $this->_params; $formValues = $this->setPriceSetParameters($formValues); if ($this->_id) { - $ids['membership'] = $params['id'] = $this->_id; + $params['id'] = $this->_id; } // Set variables that we normally get from context. @@ -1066,7 +1063,7 @@ DESC limit 1"); $completedContributionStatusId = CRM_Core_PseudoConstant::getKey('CRM_Contribute_BAO_Contribution', 'contribution_status_id', 'Completed'); if (empty($params['is_override']) && - CRM_Utils_Array::value('contribution_status_id', $params) != $completedContributionStatusId + ($params['contribution_status_id'] ?? NULL) != $completedContributionStatusId ) { $params['status_id'] = $pendingMembershipStatusId; $params['skipStatusCal'] = TRUE; @@ -1208,13 +1205,12 @@ DESC limit 1"); if ($paymentStatus !== 'Completed') { $params['status_id'] = $pendingMembershipStatusId; $params['skipStatusCal'] = TRUE; - //as membership is pending set dates to null. + // as membership is pending set dates to null. foreach ($this->_memTypeSelected as $memType) { $membershipTypeValues[$memType]['joinDate'] = NULL; $membershipTypeValues[$memType]['startDate'] = NULL; $membershipTypeValues[$memType]['endDate'] = NULL; } - $startDate = NULL; } $now = CRM_Utils_Time::date('YmdHis'); $params['receive_date'] = CRM_Utils_Time::date('Y-m-d H:i:s'); @@ -1239,8 +1235,7 @@ DESC limit 1"); // required for creating membership for related contacts $params['action'] = $this->_action; - //create membership record. - $count = 0; + // create membership record foreach ($this->_memTypeSelected as $memType) { $membershipParams = array_merge($membershipTypeValues[$memType], $params); if (isset($result['fee_amount'])) { @@ -1257,7 +1252,6 @@ DESC limit 1"); // of a single path! unset($membershipParams['lineItems']); $membershipParams['payment_instrument_id'] = $this->getPaymentInstrumentID(); - // @todo stop passing $ids (membership and userId only are set above) $params['contribution'] = $membershipParams['contribution'] ?? NULL; unset($params['lineItems']); } @@ -1282,8 +1276,7 @@ DESC limit 1"); unset($membershipParams['contribution_status_id']); $membershipParams['skipLineItem'] = TRUE; unset($membershipParams['lineItems']); - // @todo stop passing $ids (membership and userId only are set above) - $this->setMembership((array) CRM_Member_BAO_Membership::create($membershipParams, $ids)); + $this->setMembership((array) CRM_Member_BAO_Membership::create($membershipParams)); $lineItem[$this->_priceSetId][$id]['entity_id'] = $this->membership['id']; $lineItem[$this->_priceSetId][$id]['entity_table'] = 'civicrm_membership'; @@ -1317,7 +1310,7 @@ DESC limit 1"); } if (Civi::settings()->get('invoicing')) { $dataArray = []; - foreach ($lineItem[$this->_priceSetId] as $key => $value) { + foreach ($lineItem[$this->_priceSetId] as $value) { if (isset($value['tax_amount']) && isset($value['tax_rate'])) { if (isset($dataArray[$value['tax_rate']])) { $dataArray[$value['tax_rate']] = $dataArray[$value['tax_rate']] + CRM_Utils_Array::value('tax_amount', $value); @@ -1333,12 +1326,10 @@ DESC limit 1"); } $this->assign('lineItem', !empty($lineItem) && !$isQuickConfig ? $lineItem : FALSE); - $receiptSend = FALSE; $contributionId = $this->ids['Contribution'] ?? CRM_Member_BAO_Membership::getMembershipContributionId($this->getMembershipID()); $membershipIds = $this->_membershipIDs; if ($this->getSubmittedValue('send_receipt') && $contributionId && !empty($membershipIds)) { - $contributionDetails = CRM_Contribute_BAO_Contribution::getContributionDetails( - CRM_Export_Form_Select::MEMBER_EXPORT, $this->_membershipIDs); + $contributionDetails = CRM_Contribute_BAO_Contribution::getContributionDetails(CRM_Export_Form_Select::MEMBER_EXPORT, $this->_membershipIDs); if ($contributionDetails[$this->getMembershipID()]['contribution_status'] === 'Completed') { $formValues['contact_id'] = $this->_contactID; $formValues['contribution_id'] = $contributionId; diff --git a/civicrm/CRM/Member/Form/MembershipBlock.php b/civicrm/CRM/Member/Form/MembershipBlock.php index 60ed1248bb2ec7255c7b95f40db4db190f92a882..179c437a6c0b3d80d8f0ab7431d29e96e787b94d 100644 --- a/civicrm/CRM/Member/Form/MembershipBlock.php +++ b/civicrm/CRM/Member/Form/MembershipBlock.php @@ -170,10 +170,11 @@ class CRM_Member_Form_MembershipBlock extends CRM_Contribute_Form_ContributionPa else { $this->assign('price', TRUE); } - //$this->add('select', 'member_price_set_id', ts('Membership Price Set'), (['' => ts('- none -')] + $price)); - $this->addField('member_price_set_id', [ - 'entity' => 'PriceField', + $this->addSelect('member_price_set_id', [ + 'entity' => 'PriceSet', + 'option_url' => 'civicrm/admin/price', + 'label' => ts('Membership Price Set'), 'name' => 'price_set_id', 'options' => $price, ]); diff --git a/civicrm/CRM/Member/Form/MembershipRenewal.php b/civicrm/CRM/Member/Form/MembershipRenewal.php index 26725094528be455d4c3cf14979bd126f2ebcb4c..2452991e3dc7079697c5ad4f9e5b7a72ba0c71c1 100644 --- a/civicrm/CRM/Member/Form/MembershipRenewal.php +++ b/civicrm/CRM/Member/Form/MembershipRenewal.php @@ -345,7 +345,7 @@ class CRM_Member_Form_MembershipRenewal extends CRM_Member_Form { $this->add('text', 'total_amount', ts('Amount')); $this->addRule('total_amount', ts('Please enter a valid amount.'), 'money'); - $this->add('datepicker', 'receive_date', ts('Received'), [], FALSE, ['time' => TRUE]); + $this->add('datepicker', 'receive_date', ts('Contribution Date'), [], FALSE, ['time' => TRUE]); $this->add('select', 'payment_instrument_id', ts('Payment Method'), ['' => ts('- select -')] + CRM_Contribute_PseudoConstant::paymentInstrument(), @@ -684,8 +684,7 @@ class CRM_Member_Form_MembershipRenewal extends CRM_Member_Form { $this->_params, $this->_bltID )); - $this->assign('contributeMode', 'direct'); - $this->assign('isAmountzero', 0); + $this->assign('is_pay_later', 0); $this->assign('isPrimary', 1); if ($this->_mode === 'test') { @@ -704,8 +703,8 @@ class CRM_Member_Form_MembershipRenewal extends CRM_Member_Form { 'isEmailPdf' => Civi::settings()->get('invoice_is_email_pdf'), 'modelProps' => [ 'receiptText' => $this->getSubmittedValue('receipt_text'), - 'contactId' => $this->_receiptContactId, - 'contributionId' => $this->getContributionID(), + 'contactID' => $this->_receiptContactId, + 'contributionID' => $this->getContributionID(), 'membershipID' => $this->_membershipId, ], ] diff --git a/civicrm/CRM/Member/Form/MembershipType.php b/civicrm/CRM/Member/Form/MembershipType.php index e8992363fc451373fac1271076c2b04a5d8fc685..9dc8251cc0908aed7fc17b7071dbfbc72c0c382a 100644 --- a/civicrm/CRM/Member/Form/MembershipType.php +++ b/civicrm/CRM/Member/Form/MembershipType.php @@ -258,17 +258,12 @@ class CRM_Member_Form_MembershipType extends CRM_Member_Form_MembershipConfig { if ($this->_action & CRM_Core_Action::UPDATE) { $result = civicrm_api3("Membership", "get", ["membership_type_id" => $this->_id, "options" => ["limit" => 1]]); $membershipRecords = ($result["count"] > 0); - if ($membershipRecords) { - $memberRel->freeze(); - } } $this->assign('membershipRecordsExists', $membershipRecords); - - $this->addFormRule(['CRM_Member_Form_MembershipType', 'formRule']); - $this->assign('membershipTypeId', $this->_id); $this->assign('deferredFinancialType', Civi::settings()->get('deferred_revenue_enabled') ? array_keys(CRM_Financial_BAO_FinancialAccount::getDeferredFinancialType()) : NULL); + $this->addFormRule(['CRM_Member_Form_MembershipType', 'formRule']); } /** diff --git a/civicrm/CRM/Member/Page/DashBoard.php b/civicrm/CRM/Member/Page/DashBoard.php index 8a931b38c9c9f60b21aa8d8c8bb8bb940ac464a8..8e80036222ba295d8569684662c0a54a27517256 100644 --- a/civicrm/CRM/Member/Page/DashBoard.php +++ b/civicrm/CRM/Member/Page/DashBoard.php @@ -32,7 +32,6 @@ class CRM_Member_Page_DashBoard extends CRM_Core_Page { //what they have access to //@todo implement acls on dashboard querys (preferably via api to enhance that at the same time) if (!CRM_Core_Permission::check('view all contacts') && !CRM_Core_Permission::check('edit all contacts')) { - $this->showMembershipSummary = FALSE; $this->assign('membershipSummary', FALSE); return; } diff --git a/civicrm/CRM/Member/Selector/Search.php b/civicrm/CRM/Member/Selector/Search.php index e12e1e551989290e0cf7f323a844993b83ba2f25..100f78ea02839e3ebdfce3c37afc4fa9186517c3 100644 --- a/civicrm/CRM/Member/Selector/Search.php +++ b/civicrm/CRM/Member/Selector/Search.php @@ -195,6 +195,7 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C 'url' => 'civicrm/contact/view/membership', 'qs' => 'reset=1&id=%%id%%&cid=%%cid%%&action=view&context=%%cxt%%&selectedChild=member' . $extraParams, 'title' => ts('View Membership'), + 'weight' => -20, ], ]; } @@ -205,12 +206,14 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C 'url' => 'civicrm/contact/view/membership', 'qs' => 'reset=1&action=update&id=%%id%%&cid=%%cid%%&context=%%cxt%%' . $extraParams, 'title' => ts('Edit Membership'), + 'weight' => -10, ], CRM_Core_Action::DELETE => [ 'name' => ts('Delete'), 'url' => 'civicrm/contact/view/membership', 'qs' => 'reset=1&action=delete&id=%%id%%&cid=%%cid%%&context=%%cxt%%' . $extraParams, 'title' => ts('Delete Membership'), + 'weight' => 100, ], CRM_Core_Action::RENEW => [ 'name' => ts('Renew'), @@ -240,6 +243,7 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C 'url' => 'civicrm/contribute/unsubscribe', 'qs' => 'reset=1&mid=%%id%%&context=%%cxt%%' . $extraParams, 'title' => ts('Cancel Auto Renew Subscription'), + 'weight' => 40, ]; } elseif (isset(self::$_links['all'][CRM_Core_Action::DISABLE])) { @@ -487,7 +491,7 @@ class CRM_Member_Selector_Search extends CRM_Core_Selector_Base implements CRM_C 'direction' => CRM_Utils_Sort::DONTCARE, ], [ - 'name' => ts('Source'), + 'name' => ts('Membership Source'), 'sort' => 'membership_source', 'direction' => CRM_Utils_Sort::DONTCARE, ], diff --git a/civicrm/CRM/Member/StateMachine/Search.php b/civicrm/CRM/Member/StateMachine/Search.php index dc05d7f435c5200decb35c2eea83804942dbcf50..7caaccd15c1dbb8b22de32455d97949ae34e3b3f 100644 --- a/civicrm/CRM/Member/StateMachine/Search.php +++ b/civicrm/CRM/Member/StateMachine/Search.php @@ -49,7 +49,7 @@ class CRM_Member_StateMachine_Search extends CRM_Core_StateMachine { if ($result) { $this->_pages['CRM_Member_Form_Task_Result'] = NULL; } - $this->addSequentialPages($this->_pages, $action); + $this->addSequentialPages($this->_pages); } /** diff --git a/civicrm/CRM/Member/Tokens.php b/civicrm/CRM/Member/Tokens.php index 0b6916f383392349e0c6d8ec2d30e1c01fe14ed6..a7549ee796e3b74a2d536e1a9ebc7bc4f7be0394 100644 --- a/civicrm/CRM/Member/Tokens.php +++ b/civicrm/CRM/Member/Tokens.php @@ -10,6 +10,8 @@ +--------------------------------------------------------------------+ */ +use Civi\Api4\ContributionRecur; + /** * Class CRM_Member_Tokens * @@ -62,7 +64,7 @@ class CRM_Member_Tokens extends CRM_Core_EntityTokens { public function evaluateToken(\Civi\Token\TokenRow $row, $entity, $field, $prefetch = NULL) { if ($field === 'fee') { $membershipType = CRM_Member_BAO_MembershipType::getMembershipType($this->getFieldValue($row, 'membership_type_id')); - $row->tokens($entity, $field, \CRM_Utils_Money::formatLocaleNumericRoundedForDefaultCurrency($membershipType['minimum_fee'])); + $row->tokens($entity, $field, \CRM_Utils_Money::formatLocaleNumericRoundedForDefaultCurrency($membershipType['minimum_fee'] ?? 0)); } else { parent::evaluateToken($row, $entity, $field, $prefetch); @@ -122,4 +124,24 @@ class CRM_Member_Tokens extends CRM_Core_EntityTokens { ]; } + /** + * Get related tokens related to membership e.g. recurring contribution tokens + */ + protected function getRelatedTokens(): array { + $tokens = []; + $hiddenTokens = ['modified_date', 'create_date', 'trxn_id', 'invoice_id', 'is_test', 'payment_token_id', 'payment_processor_id', 'payment_instrument_id', 'cycle_day', 'installments', 'processor_id', 'next_sched_contribution_date', 'failure_count', 'failure_retry_date', 'auto_renew', 'is_email_receipt', 'contribution_status_id']; + $contributionRecurFields = ContributionRecur::getFields(FALSE)->setLoadOptions(TRUE)->execute(); + foreach ($contributionRecurFields as $contributionRecurField) { + $tokens['contribution_recur_id.' . $contributionRecurField['name']] = [ + 'title' => $contributionRecurField['title'], + 'name' => 'contribution_recur_id.' . $contributionRecurField['name'], + 'type' => 'mapped', + 'options' => $contributionRecurField['options'] ?? NULL, + 'data_type' => $contributionRecurField['data_type'], + 'audience' => in_array($contributionRecurField['name'], $hiddenTokens) ? 'hidden' : 'user', + ]; + } + return $tokens; + } + } diff --git a/civicrm/CRM/Member/WorkflowMessage/Membership/Membership.php b/civicrm/CRM/Member/WorkflowMessage/Membership/Membership.php index 25c46a69509c6408765eeb778c5da04dcde31e5f..03d134e2896efe242a30ce1f1259dd58a585164d 100644 --- a/civicrm/CRM/Member/WorkflowMessage/Membership/Membership.php +++ b/civicrm/CRM/Member/WorkflowMessage/Membership/Membership.php @@ -145,8 +145,7 @@ class CRM_Member_WorkflowMessage_Membership_Membership extends WorkflowMessageEx * @throws \CRM_Core_Exception */ private function getPriceSet(): ?array { - // Permission check defaults to true - likely implicitly OK but may need to be false. - return (array) PriceSet::get() + return (array) PriceSet::get(FALSE) ->addWhere('extends', '=', CRM_Core_Component::getComponentID('CiviMember')) ->addOrderBy('is_quick_config', 'DESC') ->execute()->indexBy('id'); diff --git a/civicrm/CRM/PCP/Form/PCPAccount.php b/civicrm/CRM/PCP/Form/PCPAccount.php index ca93aec7db1f1d37087043c4f01400c7079f84bd..662ecc6b3cdfc17184f647045d761c7da99919d8 100644 --- a/civicrm/CRM/PCP/Form/PCPAccount.php +++ b/civicrm/CRM/PCP/Form/PCPAccount.php @@ -295,8 +295,13 @@ class CRM_PCP_Form_PCPAccount extends CRM_Core_Form { if (!empty($params['image_URL'])) { CRM_Contact_BAO_Contact::processImageParams($params); } - - $contactID = CRM_Contact_BAO_Contact::createProfileContact($params, $this->_fields, $this->_contactID); + $ufGroupID = CRM_PCP_BAO_PCP::getSupporterProfileId($this->_pageId, $this->_component); + $addToGroupId = \Civi\Api4\UFGroup::get(FALSE) + ->addSelect('add_to_group_id') + ->addWhere('id', '=', $ufGroupID) + ->execute() + ->first()['add_to_group_id'] ?? NULL; + $contactID = CRM_Contact_BAO_Contact::createProfileContact($params, $this->_fields, $this->_contactID, $addToGroupId); $this->set('contactID', $contactID); if (!empty($params['email'])) { diff --git a/civicrm/CRM/PCP/StateMachine/PCP.php b/civicrm/CRM/PCP/StateMachine/PCP.php index d3b6ba963080a0cb6a87e151e7b369d471090e33..1949f922896de5543db691de4784068fbeb93c98 100644 --- a/civicrm/CRM/PCP/StateMachine/PCP.php +++ b/civicrm/CRM/PCP/StateMachine/PCP.php @@ -41,7 +41,7 @@ class CRM_PCP_StateMachine_PCP extends CRM_Core_StateMachine { 'CRM_PCP_Form_Campaign' => NULL, ]; - $this->addSequentialPages($this->_pages, $action); + $this->addSequentialPages($this->_pages); } } diff --git a/civicrm/CRM/Pledge/DAO/PledgePayment.php b/civicrm/CRM/Pledge/DAO/PledgePayment.php index 406be7328a5ead5cf02efdd56ce6a7718a2989e0..eb95f00794d102b4554c5b96d10b2c5a838bad00 100644 --- a/civicrm/CRM/Pledge/DAO/PledgePayment.php +++ b/civicrm/CRM/Pledge/DAO/PledgePayment.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Pledge/PledgePayment.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:6c0d4b7b1f908753ce551410a1357243) + * (GenCodeChecksum:a547e9089cb9b1d11fd408c1ffa88c10) */ /** @@ -224,6 +224,7 @@ class CRM_Pledge_DAO_PledgePayment extends CRM_Core_DAO { 'localizable' => 0, 'FKClassName' => 'CRM_Contribute_DAO_Contribution', 'html' => [ + 'type' => 'EntityRef', 'label' => ts("Contribution"), ], 'add' => '2.1', diff --git a/civicrm/CRM/Pledge/Selector/Search.php b/civicrm/CRM/Pledge/Selector/Search.php index e803a9be09381734b7abc5c424c026b4692878f6..443ad8d2cac74891f72b3189fb378f1da916c348 100644 --- a/civicrm/CRM/Pledge/Selector/Search.php +++ b/civicrm/CRM/Pledge/Selector/Search.php @@ -179,12 +179,16 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base { 'url' => 'civicrm/contact/view/pledge', 'qs' => 'reset=1&id=%%id%%&cid=%%cid%%&action=view&context=%%cxt%%&selectedChild=pledge' . $extraParams, 'title' => ts('View Pledge'), + 'weight' => -20, + 'is_active' => TRUE, ], CRM_Core_Action::UPDATE => [ 'name' => ts('Edit'), 'url' => 'civicrm/contact/view/pledge', 'qs' => 'reset=1&action=update&id=%%id%%&cid=%%cid%%&context=%%cxt%%' . $extraParams, 'title' => ts('Edit Pledge'), + 'weight' => -10, + 'is_active' => TRUE, ], CRM_Core_Action::DETACH => [ 'name' => ts('Cancel'), @@ -192,19 +196,18 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base { 'qs' => 'reset=1&action=detach&id=%%id%%&cid=%%cid%%&context=%%cxt%%' . $extraParams, 'extra' => 'onclick = "return confirm(\'' . $cancelExtra . '\');"', 'title' => ts('Cancel Pledge'), + 'weight' => 20, + 'is_active' => !in_array('Cancel', $hideOption, TRUE), ], CRM_Core_Action::DELETE => [ 'name' => ts('Delete'), 'url' => 'civicrm/contact/view/pledge', 'qs' => 'reset=1&action=delete&id=%%id%%&cid=%%cid%%&context=%%cxt%%' . $extraParams, 'title' => ts('Delete Pledge'), + 'weight' => 100, + 'is_active' => TRUE, ], ]; - - if (in_array('Cancel', $hideOption)) { - unset(self::$_links[CRM_Core_Action::DETACH]); - } - return self::$_links; } @@ -312,7 +315,6 @@ class CRM_Pledge_Selector_Search extends CRM_Core_Selector_Base { if (!empty($row['pledge_is_test'])) { $row['pledge_status'] = CRM_Core_TestEntity::appendTestText($row['pledge_status']); } - $hideOption = []; if (CRM_Utils_Array::key('Cancelled', $row) || CRM_Utils_Array::key('Completed', $row) diff --git a/civicrm/CRM/Pledge/StateMachine/Search.php b/civicrm/CRM/Pledge/StateMachine/Search.php index b47ba015f97cbed5145045ad2d6bfbdb938b47e6..084e342293c9b79bd46a0c9dcb2bfa057b739afd 100644 --- a/civicrm/CRM/Pledge/StateMachine/Search.php +++ b/civicrm/CRM/Pledge/StateMachine/Search.php @@ -51,7 +51,7 @@ class CRM_Pledge_StateMachine_Search extends CRM_Core_StateMachine { $this->_pages['CRM_Pledge_Form_Task_Result'] = NULL; } - $this->addSequentialPages($this->_pages, $action); + $this->addSequentialPages($this->_pages); } /** diff --git a/civicrm/CRM/Price/BAO/LineItem.php b/civicrm/CRM/Price/BAO/LineItem.php index 64823e5599e9f6d5773bc67cdb1703b6d32a147a..e48adf5d4d4f571fd8f2adc58b73414473142ac3 100644 --- a/civicrm/CRM/Price/BAO/LineItem.php +++ b/civicrm/CRM/Price/BAO/LineItem.php @@ -1034,7 +1034,7 @@ WHERE li.contribution_id = %1"; $line[$getUpdatedLineItemsDAO->price_field_value_id] = $getUpdatedLineItemsDAO->label . ' - ' . (float) $getUpdatedLineItemsDAO->qty; } - $partUpdateFeeAmt['fee_level'] = implode(', ', $line); + $partUpdateFeeAmt['fee_level'] = $line; $partUpdateFeeAmt['fee_amount'] = $inputParams['amount']; CRM_Event_BAO_Participant::add($partUpdateFeeAmt); diff --git a/civicrm/CRM/Price/BAO/PriceField.php b/civicrm/CRM/Price/BAO/PriceField.php index 9ff1d0cc931a27aed053e08f7f1861615d7cabaf..511fbb0dcb9cc57f828dd8e9f7891909117cd5a7 100644 --- a/civicrm/CRM/Price/BAO/PriceField.php +++ b/civicrm/CRM/Price/BAO/PriceField.php @@ -238,7 +238,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { * @return null */ public static function addQuickFormElement( - &$qf, + $qf, $elementName, $fieldId, $inactiveNeeded, @@ -273,11 +273,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { $currencyName = $config->defaultCurrency; if (!isset($label)) { - $label = (!empty($qf->_membershipBlock) && $field->name == 'contribution_amount') ? ts('Additional Contribution') : $field->label; - } - - if ($field->name === 'contribution_amount') { - $qf->_contributionAmount = 1; + $label = (!empty($qf->_membershipBlock) && $field->name === 'contribution_amount') ? ts('Additional Contribution') : $field->label; } if (isset($qf->_online) && $qf->_online) { @@ -313,13 +309,13 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { ]); $extra = []; - if (!empty($qf->_membershipBlock) && $isQuickConfig && $field->name == 'other_amount' && empty($qf->_contributionAmount)) { + if (!empty($qf->_membershipBlock) && $isQuickConfig && $field->name == 'other_amount') { $useRequired = 0; } elseif (!empty($fieldOptions[$optionKey]['label'])) { //check for label. $label = $fieldOptions[$optionKey]['label']; - if ($isQuickConfig && !empty($qf->_contributionAmount) && strtolower($fieldOptions[$optionKey]['name']) == 'other_amount') { + if ($isQuickConfig && $field->name === 'contribution_amount' && strtolower($fieldOptions[$optionKey]['name']) == 'other_amount') { $label .= ' ' . $currencySymbol; $qf->assign('priceset', $elementName); $extra = [ @@ -365,35 +361,12 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { case 'Radio': $choice = []; - if ($isQuickConfig && !empty($qf->_contributionAmount)) { + if ($isQuickConfig && $field->name === 'contribution_amount') { $qf->assign('contriPriceset', $elementName); } foreach ($customOption as $opId => $opt) { - $preHelpText = $postHelpText = ''; - $opt['label'] = !empty($opt['label']) ? '<span class="crm-price-amount-label">' . $opt['label'] . '</span>' : ''; - if (!empty($opt['help_pre'])) { - $preHelpText = '<span class="crm-price-amount-help-pre description">' . $opt['help_pre'] . '</span><span class="crm-price-amount-help-pre-separator">: </span>'; - } - if (!empty($opt['help_post'])) { - $postHelpText = '<span class="crm-price-amount-help-post-separator">: </span><span class="crm-price-amount-help-post description">' . $opt['help_post'] . '</span>'; - } - - $taxAmount = $opt['tax_amount'] ?? NULL; - if ($field->is_display_amounts) { - $opt['label'] = !empty($opt['label']) ? $opt['label'] . '<span class="crm-price-amount-label-separator"> - </span>' : ''; - if (isset($taxAmount) && $invoicing) { - $opt['label'] = $opt['label'] . self::getTaxLabel($opt, $valueFieldName); - } - else { - $opt['label'] = $opt['label'] . '<span class="crm-price-amount-amount">' . CRM_Utils_Money::format($opt[$valueFieldName]) . '</span>'; - } - } - - $opt['label'] = $preHelpText . $opt['label'] . $postHelpText; - $count = CRM_Utils_Array::value('count', $opt, ''); - $max_value = CRM_Utils_Array::value('max_value', $opt, ''); - $priceVal = implode($separator, [$opt[$valueFieldName] + $taxAmount, $count, $max_value]); + $priceOptionText = self::buildPriceOptionText($opt, $field->is_display_amounts, $valueFieldName); if (isset($opt['visibility_id'])) { $visibility_id = $opt['visibility_id']; } @@ -401,7 +374,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { $visibility_id = self::getVisibilityOptionID('public'); } $extra = [ - 'price' => json_encode([$elementName, $priceVal]), + 'price' => json_encode([$elementName, $priceOptionText['priceVal']]), 'data-amount' => $opt[$valueFieldName], 'data-currency' => $currencyName, 'data-price-field-values' => json_encode($customOption), @@ -418,7 +391,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { $qf->assign('membershipFieldID', $field->id); } - $choice[$opt['id']] = $opt['label']; + $choice[$opt['id']] = $priceOptionText['label']; $choiceAttrs[$opt['id']] = $extra; if ($is_pay_later) { $qf->add('text', 'txt-' . $elementName, $label, ['size' => '4']); @@ -445,7 +418,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { $none = ts('- none -'); } - $choice['0'] = $none; + $choice['0'] = '<span class="crm-price-amount-label">' . $none . '</span>'; $choiceAttrs['0'] = ['price' => json_encode([$elementName, '0'])]; } @@ -472,35 +445,11 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { break; case 'Select': - $selectOption = $allowedOptions = $priceVal = []; + $selectOption = $allowedOptions = []; foreach ($customOption as $opt) { - $taxAmount = $opt['tax_amount'] ?? NULL; - $count = CRM_Utils_Array::value('count', $opt, ''); - $max_value = CRM_Utils_Array::value('max_value', $opt, ''); - - $preHelpText = $postHelpText = ''; - if (!empty($opt['help_pre'])) { - $preHelpText = $opt['help_pre'] . ': '; - } - if (!empty($opt['help_post'])) { - $postHelpText = ': ' . $opt['help_post']; - } - - $taxAmount = $opt['tax_amount'] ?? NULL; - if ($field->is_display_amounts) { - $opt['label'] = !empty($opt['label']) ? $opt['label'] . ' - ' : ''; - if (isset($taxAmount) && $invoicing) { - $opt['label'] = $opt['label'] . self::getTaxLabel($opt, $valueFieldName); - } - else { - $opt['label'] = $opt['label'] . CRM_Utils_Money::format($opt[$valueFieldName]); - } - } - - $opt['label'] = $preHelpText . $opt['label'] . $postHelpText; - - $priceVal[$opt['id']] = implode($separator, [$opt[$valueFieldName] + $taxAmount, $count, $max_value]); + $priceOptionText = self::buildPriceOptionText($opt, $field->is_display_amounts, $valueFieldName); + $priceOptionText['label'] = strip_tags($priceOptionText['label']); if (!in_array($opt['id'], $freezeOptions)) { $allowedOptions[] = $opt['id']; @@ -508,10 +457,10 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { // CRM-14696 - Improve display for sold out price set options else { $opt['id'] = 'crm_disabled_opt-' . $opt['id']; - $opt['label'] = $opt['label'] . ' (' . ts('Sold out') . ')'; + $priceOptionText['label'] = $priceOptionText['label'] . ' (' . ts('Sold out') . ')'; } - $selectOption[$opt['id']] = $opt['label']; + $selectOption[$opt['id']] = $priceOptionText['label']; if ($is_pay_later) { $qf->add('text', 'txt-' . $elementName, $label, ['size' => '4']); @@ -535,7 +484,7 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { $element = &$qf->add('select', $elementName, $label, $selectOption, $useRequired && $field->is_required, [ 'placeholder' => ts('- select %1 -', [1 => $label]), - 'price' => json_encode($priceVal), + 'price' => json_encode($priceOptionText['priceVal']), 'class' => 'crm-select2' . $class, 'data-price-field-values' => json_encode($customOption), ]); @@ -548,46 +497,19 @@ class CRM_Price_BAO_PriceField extends CRM_Price_DAO_PriceField { break; case 'CheckBox': - $check = []; foreach ($customOption as $opId => $opt) { - $taxAmount = $opt['tax_amount'] ?? NULL; - $count = CRM_Utils_Array::value('count', $opt, ''); - $max_value = CRM_Utils_Array::value('max_value', $opt, ''); - - $preHelpText = $postHelpText = ''; - $opt['label'] = !empty($opt['label']) ? '<span class="crm-price-amount-label">' . $opt['label'] . '</span>' : ''; - if (!empty($opt['help_pre'])) { - $preHelpText = '<span class="crm-price-amount-help-pre description">' . $opt['help_pre'] . '</span><span class="crm-price-amount-help-pre-separator">: </span>'; - } - if (!empty($opt['help_post'])) { - $postHelpText = '<span class="crm-price-amount-help-post-separator">: </span><span class="crm-price-amount-help-post description">' . $opt['help_post'] . '</span>'; - } - - $taxAmount = $opt['tax_amount'] ?? NULL; - if ($field->is_display_amounts) { - $opt['label'] = !empty($opt['label']) ? $opt['label'] . '<span class="crm-price-amount-label-separator"> - </span>' : ''; - if (isset($taxAmount) && $invoicing) { - $opt['label'] = $opt['label'] . self::getTaxLabel($opt, $valueFieldName); - } - else { - $opt['label'] = $opt['label'] . '<span class="crm-price-amount-amount">' . CRM_Utils_Money::format($opt[$valueFieldName]) . '</span>'; - } - } - - $opt['label'] = $preHelpText . $opt['label'] . $postHelpText; - - $priceVal = implode($separator, [$opt[$valueFieldName] + $taxAmount, $count, $max_value]); - $check[$opId] = &$qf->createElement('checkbox', $opt['id'], NULL, $opt['label'], + $priceOptionText = self::buildPriceOptionText($opt, $field->is_display_amounts, $valueFieldName); + $check[$opId] = &$qf->createElement('checkbox', $opt['id'], NULL, $priceOptionText['label'], [ - 'price' => json_encode([$opt['id'], $priceVal]), + 'price' => json_encode([$opt['id'], $priceOptionText['priceVal']]), 'data-amount' => $opt[$valueFieldName], 'data-currency' => $currencyName, 'visibility' => $opt['visibility_id'], ] ); if ($is_pay_later) { - $txtcheck[$opId] =& $qf->createElement('text', $opId, $opt['label'], ['size' => '4']); + $txtcheck[$opId] =& $qf->createElement('text', $opId, $priceOptionText['label'], ['size' => '4']); $qf->addGroup($txtcheck, 'txt-' . $elementName, $label); } // CRM-6902 - Add "max" option for a price set field @@ -840,6 +762,45 @@ WHERE id IN (" . implode(',', array_keys($priceFields)) . ')'; } } + /** + * Build the label and priceVal string for a price option. + * + * @param array $opt + * Price field option. + * @param bool $isDisplayAmounts + * @param string $valueFieldName + * + * @return array + * Price field option label, price value + */ + public static function buildPriceOptionText($opt, $isDisplayAmounts, $valueFieldName) { + $preHelpText = $postHelpText = ''; + $optionLabel = !empty($opt['label']) ? '<span class="crm-price-amount-label">' . $opt['label'] . '</span>' : ''; + if (!empty($opt['help_pre'])) { + $preHelpText = '<span class="crm-price-amount-help-pre description">' . $opt['help_pre'] . '</span><span class="crm-price-amount-help-pre-separator">: </span>'; + } + if (!empty($opt['help_post'])) { + $postHelpText = '<span class="crm-price-amount-help-post-separator">: </span><span class="crm-price-amount-help-post description">' . $opt['help_post'] . '</span>'; + } + + $invoicing = Civi::settings()->get('invoicing'); + $taxAmount = $opt['tax_amount'] ?? NULL; + if ($isDisplayAmounts) { + $optionLabel = !empty($optionLabel) ? $optionLabel . '<span class="crm-price-amount-label-separator"> - </span>' : ''; + if (isset($taxAmount) && $invoicing) { + $optionLabel = $optionLabel . self::getTaxLabel($opt, $valueFieldName); + } + else { + $optionLabel = $optionLabel . '<span class="crm-price-amount-amount">' . CRM_Utils_Money::format($opt[$valueFieldName]) . '</span>'; + } + } + + $optionLabel = $preHelpText . $optionLabel . $postHelpText; + $priceVal = implode('|', [$opt[$valueFieldName] + $taxAmount, $opt['count'] ?? '', $opt['max_value'] ?? '']); + + return ['label' => $optionLabel, 'priceVal' => $priceVal]; + } + /** * Generate the label for price fields based on tax display setting option on CiviContribute Component Settings page. * diff --git a/civicrm/CRM/Price/BAO/PriceSet.php b/civicrm/CRM/Price/BAO/PriceSet.php index d3dedcbbe14ae45d0c217d4fe647852472cfd272..9c3c60788904f0bb880eaf950369abeb8b358c9f 100644 --- a/civicrm/CRM/Price/BAO/PriceSet.php +++ b/civicrm/CRM/Price/BAO/PriceSet.php @@ -544,6 +544,9 @@ WHERE id = %1"; * @param bool $doNotIncludeExpiredFields * @param int $priceSetId * Price Set ID + * + * @throws \CRM_Core_Exception + * @deprecated in CiviCRM 5.58, will be removed around CiviCRM 5.70. */ public static function initSet(&$form, $entityTable = 'civicrm_event', $doNotIncludeExpiredFields = FALSE, $priceSetId = NULL) { CRM_Core_Error::deprecatedFunctionWarning('no alternative'); @@ -591,7 +594,7 @@ WHERE id = %1"; $form->_values['fee'] = $form->_priceSet['fields'] ?? NULL; //get the price set fields participant count. - if ($entityTable == 'civicrm_event') { + if ($entityTable === 'civicrm_event') { //get option count info. $form->_priceSet['optionsCountTotal'] = self::getPricesetCount($priceSetId); if ($form->_priceSet['optionsCountTotal']) { diff --git a/civicrm/CRM/Price/DAO/LineItem.php b/civicrm/CRM/Price/DAO/LineItem.php index 891dbc2bf2fd52317e54e028d7f601488adea58a..5d2c38134fee882399d72c71b70b0d9eded231c7 100644 --- a/civicrm/CRM/Price/DAO/LineItem.php +++ b/civicrm/CRM/Price/DAO/LineItem.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Price/LineItem.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:90371022fa535bab6d13f1b6e3fc9b7c) + * (GenCodeChecksum:c3718ec4bc3ea2ef523c5c0be917d207) */ /** @@ -302,6 +302,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO { 'localizable' => 0, 'FKClassName' => 'CRM_Contribute_DAO_Contribution', 'html' => [ + 'type' => 'EntityRef', 'label' => ts("Contribution"), ], 'add' => '4.5', @@ -324,6 +325,7 @@ class CRM_Price_DAO_LineItem extends CRM_Core_DAO { 'localizable' => 0, 'FKClassName' => 'CRM_Price_DAO_PriceField', 'html' => [ + 'type' => 'Select', 'label' => ts("Price Field"), ], 'pseudoconstant' => [ diff --git a/civicrm/CRM/Report/Form.php b/civicrm/CRM/Report/Form.php index ca65f8e55413eb3ae941c94752f5034c928bc4e0..5fad82f1bc2801194b8ebef1a3b51b922349cf93 100644 --- a/civicrm/CRM/Report/Form.php +++ b/civicrm/CRM/Report/Form.php @@ -552,6 +552,14 @@ class CRM_Report_Form extends CRM_Core_Form { */ protected $_charts = []; + /** + * Array of campaign data, + * populated by calling `$this::addCampaignFields()` + * + * @var array + */ + protected $campaigns = []; + /** * @var \Civi\Report\OutputHandlerInterface */ @@ -2564,14 +2572,14 @@ WHERE cg.extends IN ('" . implode("','", $this->_customGroupExtends) . "') AND if (array_key_exists('alter_display', $specs)) { $alterFunctions[$tableName . '_' . $field] = $specs['alter_display']; $alterMap[$tableName . '_' . $field] = $field; - $alterSpecs[$tableName . '_' . $field] = NULL; + $alterSpecs[$tableName . '_' . $field] = $specs; } // Add any alters that can be intuited from the field specs. // So far only boolean but a lot more could be. if (empty($alterSpecs[$tableName . '_' . $field]) && isset($specs['type']) && $specs['type'] == CRM_Utils_Type::T_BOOLEAN) { $alterFunctions[$tableName . '_' . $field] = 'alterBoolean'; $alterMap[$tableName . '_' . $field] = $field; - $alterSpecs[$tableName . '_' . $field] = NULL; + $alterSpecs[$tableName . '_' . $field] = $specs; } } } diff --git a/civicrm/CRM/Report/Form/Contact/Log.php b/civicrm/CRM/Report/Form/Contact/Log.php index 61c2b161d43ce88f29779b1fe2f710c8fdea8bbc..a7bfc26a765c7721e232bf7f04caab48ec085c52 100644 --- a/civicrm/CRM/Report/Form/Contact/Log.php +++ b/civicrm/CRM/Report/Form/Contact/Log.php @@ -18,6 +18,8 @@ class CRM_Report_Form_Contact_Log extends CRM_Report_Form { protected $_summary = NULL; + protected $activityTypes = []; + /** * Class constructor. */ diff --git a/civicrm/CRM/Report/Form/Contribute/Bookkeeping.php b/civicrm/CRM/Report/Form/Contribute/Bookkeeping.php index 31869ac265d700df4a386d69ed4b5ed0f26a53d4..0b98c52b0476555d9bcfcdbdb66cd59e01b8c386 100644 --- a/civicrm/CRM/Report/Form/Contribute/Bookkeeping.php +++ b/civicrm/CRM/Report/Form/Contribute/Bookkeeping.php @@ -203,7 +203,7 @@ class CRM_Report_Form_Contribute_Bookkeeping extends CRM_Report_Form { 'default' => TRUE, ], 'contribution_source' => [ - 'title' => ts('Source'), + 'title' => ts('Contribution Source'), 'name' => 'source', ], 'id' => [ @@ -221,7 +221,7 @@ class CRM_Report_Form_Contribute_Bookkeeping extends CRM_Report_Form { 'receive_date' => ['operatorType' => CRM_Report_Form::OP_DATETIME], 'receipt_date' => ['operatorType' => CRM_Report_Form::OP_DATETIME], 'contribution_source' => [ - 'title' => ts('Source'), + 'title' => ts('Contribution Source'), 'name' => 'source', 'type' => CRM_Utils_Type::T_STRING, ], @@ -235,7 +235,7 @@ class CRM_Report_Form_Contribute_Bookkeeping extends CRM_Report_Form { 'order_bys' => [ 'contribution_id' => ['title' => ts('Contribution #')], 'contribution_status_id' => ['title' => ts('Contribution Status')], - 'receive_date' => ['title' => ts('Date Received')], + 'receive_date' => ['title' => ts('Contribution Date')], ], 'grouping' => 'contri-fields', ], diff --git a/civicrm/CRM/Report/Form/Contribute/DeferredRevenue.php b/civicrm/CRM/Report/Form/Contribute/DeferredRevenue.php index 49ff34962a21c3a11869137e2e6610569d6194f2..aba1226aecf640a61e065d83dd75169da0abfac4 100644 --- a/civicrm/CRM/Report/Form/Contribute/DeferredRevenue.php +++ b/civicrm/CRM/Report/Form/Contribute/DeferredRevenue.php @@ -70,7 +70,7 @@ class CRM_Report_Form_Contribute_DeferredRevenue extends CRM_Report_Form { 'title' => ts('Contact ID'), ], 'source' => [ - 'title' => ts('Source'), + 'title' => ts('Contribution Source'), ], 'receive_date' => [ 'title' => ts('Receive Date'), diff --git a/civicrm/CRM/Report/Form/Contribute/Detail.php b/civicrm/CRM/Report/Form/Contribute/Detail.php index df49b7d1022e2bc9ceadd37fe256e66818e4ea71..6019750b5ea58b0a3e9b7a6e3753e4d83f06a1ba 100644 --- a/civicrm/CRM/Report/Form/Contribute/Detail.php +++ b/civicrm/CRM/Report/Form/Contribute/Detail.php @@ -126,7 +126,7 @@ class CRM_Report_Form_Contribute_Detail extends CRM_Report_Form { 'title' => ts('Contribution Page'), ], 'source' => [ - 'title' => ts('Source'), + 'title' => ts('Contribution Source'), ], 'payment_instrument_id' => [ 'title' => ts('Payment Type'), @@ -188,7 +188,7 @@ class CRM_Report_Form_Contribute_Detail extends CRM_Report_Form { 'receipt_date' => ['operatorType' => CRM_Report_Form::OP_DATE], 'thankyou_date' => ['operatorType' => CRM_Report_Form::OP_DATE], 'contribution_source' => [ - 'title' => ts('Source'), + 'title' => ts('Contribution Source'), 'name' => 'source', 'type' => CRM_Utils_Type::T_STRING, ], @@ -241,7 +241,7 @@ class CRM_Report_Form_Contribute_Detail extends CRM_Report_Form { 'financial_type_id' => ['title' => ts('Financial Type')], 'contribution_status_id' => ['title' => ts('Contribution Status')], 'payment_instrument_id' => ['title' => ts('Payment Method')], - 'receive_date' => ['title' => ts('Date Received')], + 'receive_date' => ['title' => ts('Contribution Date')], 'receipt_date' => ['title' => ts('Receipt Date')], 'thankyou_date' => ['title' => ts('Thank-you Date')], ], diff --git a/civicrm/CRM/Report/Form/Contribute/OrganizationSummary.php b/civicrm/CRM/Report/Form/Contribute/OrganizationSummary.php index 6f030d62f0cee323c58df199002e4cbe0843d65d..c6ac398258ddf848ee31ed53542d34b646e63e98 100644 --- a/civicrm/CRM/Report/Form/Contribute/OrganizationSummary.php +++ b/civicrm/CRM/Report/Form/Contribute/OrganizationSummary.php @@ -32,6 +32,16 @@ class CRM_Report_Form_Contribute_OrganizationSummary extends CRM_Report_Form { */ protected $otherContact; + /** + * @var int + */ + protected $relationshipId; + + /** + * @var array + */ + protected $relationTypes = []; + /** * Class constructor. */ diff --git a/civicrm/CRM/Report/Form/Contribute/Summary.php b/civicrm/CRM/Report/Form/Contribute/Summary.php index 6cde224c8b0d66869fb4840c955111e191b3e700..dbb03695b2f5ede1d60c17694c97c76e361c082b 100644 --- a/civicrm/CRM/Report/Form/Contribute/Summary.php +++ b/civicrm/CRM/Report/Form/Contribute/Summary.php @@ -117,7 +117,7 @@ class CRM_Report_Form_Contribute_Summary extends CRM_Report_Form { 'contribution_status_id' => [ 'title' => ts('Contribution Status'), ], - 'contribution_source' => ['title' => ts('Source')], + 'contribution_source' => ['title' => ts('Contribution Source')], 'currency' => [ 'required' => TRUE, 'no_display' => TRUE, @@ -764,6 +764,7 @@ class CRM_Report_Form_Contribute_Summary extends CRM_Report_Form { $statistics['counts']['count'] = [ 'title' => ts('Total Contributions'), 'value' => $count, + 'type' => CRM_Utils_Type::T_INT, ]; $statistics['counts']['avg'] = [ 'title' => ts('Average'), @@ -790,6 +791,7 @@ class CRM_Report_Form_Contribute_Summary extends CRM_Report_Form { $statistics['counts']['soft_count'] = [ 'title' => ts('Total Soft Credits'), 'value' => $softCount, + 'type' => CRM_Utils_Type::T_INT, ]; $statistics['counts']['soft_avg'] = [ 'title' => ts('Average Soft Credit'), diff --git a/civicrm/CRM/Report/Form/Contribute/Sybunt.php b/civicrm/CRM/Report/Form/Contribute/Sybunt.php index 8f25969dabe00787910e100a51f58623f663ee95..5bad43bde2847f5888d92e7702b4519af746be33 100644 --- a/civicrm/CRM/Report/Form/Contribute/Sybunt.php +++ b/civicrm/CRM/Report/Form/Contribute/Sybunt.php @@ -32,6 +32,11 @@ class CRM_Report_Form_Contribute_Sybunt extends CRM_Report_Form { */ protected $groupFilterNotOptimised = FALSE; + /** + * @var string + */ + protected $statusClause = ''; + /** * Class constructor. */ @@ -334,7 +339,7 @@ class CRM_Report_Form_Contribute_Sybunt extends CRM_Report_Form { } public function where() { - $this->_statusClause = ""; + $this->statusClause = ""; $clauses = [ $this->_aliases['civicrm_contribution'] . '.is_test = 0', $this->_aliases['civicrm_contribution'] . '.is_template = 0', @@ -372,7 +377,7 @@ class CRM_Report_Form_Contribute_Sybunt extends CRM_Report_Form { if (($fieldName == 'contribution_status_id' || $fieldName == 'financial_type_id') && !empty($clause) ) { - $this->_statusClause .= " AND " . $clause; + $this->statusClause .= " AND " . $clause; } } } @@ -452,7 +457,7 @@ class CRM_Report_Form_Contribute_Sybunt extends CRM_Report_Form { $sql = "" . "{$this->_select} {$this->_from} WHERE {$this->_aliases['civicrm_contact']}.id IN (" . implode(',', $contactIds) . - ") AND {$this->_aliases['civicrm_contribution']}.is_test = 0 AND {$this->_aliases['civicrm_contribution']}.is_template = 0 {$this->_statusClause} {$this->_groupBy} "; + ") AND {$this->_aliases['civicrm_contribution']}.is_test = 0 AND {$this->_aliases['civicrm_contribution']}.is_template = 0 {$this->statusClause} {$this->_groupBy} "; } $current_year = $this->_params['yid_value']; @@ -507,7 +512,7 @@ class CRM_Report_Form_Contribute_Sybunt extends CRM_Report_Form { */ public function buildChart(&$rows) { $graphRows = []; - $count = 0; + $display = []; $current_year = $this->_params['yid_value']; $previous_year = $current_year - 1; $previous_two_year = $current_year - 2; diff --git a/civicrm/CRM/Report/Form/Event/ParticipantListing.php b/civicrm/CRM/Report/Form/Event/ParticipantListing.php index 612744a1b03da381cb312555a7a0421eba46050b..f9488cd41f6e2dbb18faaec5e0efde3daf81eac2 100644 --- a/civicrm/CRM/Report/Form/Event/ParticipantListing.php +++ b/civicrm/CRM/Report/Form/Event/ParticipantListing.php @@ -22,7 +22,6 @@ class CRM_Report_Form_Event_ParticipantListing extends CRM_Report_Form { protected $_groupFilter = TRUE; protected $_tagFilter = TRUE; protected $_balance = FALSE; - protected $campaigns; protected $_customGroupExtends = array( 'Participant', @@ -152,7 +151,7 @@ class CRM_Report_Form_Event_ParticipantListing extends CRM_Report_Form { 'name' => 'created_id', ), 'source' => array( - 'title' => ts('Source'), + 'title' => ts('Participant Source'), ), 'participant_fee_level' => NULL, 'participant_fee_amount' => array('title' => ts('Participant Fee')), @@ -211,7 +210,7 @@ class CRM_Report_Form_Event_ParticipantListing extends CRM_Report_Form { 'operator' => 'like', ), 'source' => array( - 'title' => ts('Source'), + 'title' => ts('Participant Source'), 'type' => CRM_Utils_Type::T_STRING, 'operator' => 'like', ), diff --git a/civicrm/CRM/Report/Form/Member/Detail.php b/civicrm/CRM/Report/Form/Member/Detail.php index 527f42725cbc0133df9e4c4b506947f1245a039e..d156bdf65e388df23747a6dd3e0d756656300291 100644 --- a/civicrm/CRM/Report/Form/Member/Detail.php +++ b/civicrm/CRM/Report/Form/Member/Detail.php @@ -94,7 +94,7 @@ class CRM_Report_Form_Member_Detail extends CRM_Report_Form { 'title' => ts('Member Since'), 'default' => TRUE, ], - 'source' => ['title' => ts('Source')], + 'source' => ['title' => ts('Membership Source')], ], 'filters' => [ 'membership_join_date' => ['operatorType' => CRM_Report_Form::OP_DATE], @@ -214,7 +214,7 @@ class CRM_Report_Form_Member_Detail extends CRM_Report_Form { ], 'order_bys' => [ 'receive_date' => [ - 'title' => ts('Date Received'), + 'title' => ts('Contribution Date'), 'default_weight' => '2', 'default_order' => 'DESC', ], diff --git a/civicrm/CRM/SMS/StateMachine/Send.php b/civicrm/CRM/SMS/StateMachine/Send.php index f5a9f1a4190391cd65a192bfaa13ee07c2294188..7ba3dfc6df1f142c825b5ca5d7f4e419468c5574 100644 --- a/civicrm/CRM/SMS/StateMachine/Send.php +++ b/civicrm/CRM/SMS/StateMachine/Send.php @@ -37,7 +37,7 @@ class CRM_SMS_StateMachine_Send extends CRM_Core_StateMachine { 'CRM_SMS_Form_Schedule' => NULL, ]; - $this->addSequentialPages($this->_pages, $action); + $this->addSequentialPages($this->_pages); } } diff --git a/civicrm/CRM/Upgrade/Incremental/Base.php b/civicrm/CRM/Upgrade/Incremental/Base.php index acdceee880454dcc1e6929bf8d7a2cc5cdfc867b..81214edd06f7ebe3a2e0af3a4c79e68ba1cd2559 100644 --- a/civicrm/CRM/Upgrade/Incremental/Base.php +++ b/civicrm/CRM/Upgrade/Incremental/Base.php @@ -9,6 +9,7 @@ +--------------------------------------------------------------------+ */ +use Civi\Core\Exception\DBQueryException; use Civi\Core\SettingsBag; /** @@ -609,7 +610,12 @@ class CRM_Upgrade_Incremental_Base { $queries[] = "ALTER TABLE `$table` CHANGE `$column` `$column` $properties"; } foreach ($queries as $query) { - CRM_Core_DAO::executeQuery($query, [], TRUE, NULL, FALSE, FALSE); + try { + CRM_Core_DAO::executeQuery($query, [], TRUE, NULL, FALSE, FALSE); + } + catch (DBQueryException $e) { + throw new CRM_Core_Exception($e->getSQLErrorCode() . "\n" . $e->getDebugInfo()); + } } $schema = new CRM_Logging_Schema(); if ($schema->isEnabled()) { diff --git a/civicrm/CRM/Upgrade/Incremental/php/FiveSixtyOne.php b/civicrm/CRM/Upgrade/Incremental/php/FiveSixtyOne.php index 75534f010b41d3d634b9005713631f714bbf78c7..1d1af3c2abac7a253b519afebda1b594a8eac6ee 100644 --- a/civicrm/CRM/Upgrade/Incremental/php/FiveSixtyOne.php +++ b/civicrm/CRM/Upgrade/Incremental/php/FiveSixtyOne.php @@ -9,7 +9,6 @@ +--------------------------------------------------------------------+ */ -use Civi\Api4\Contribution; use Civi\Api4\MappingField; /** @@ -129,10 +128,11 @@ class CRM_Upgrade_Incremental_php_FiveSixtyOne extends CRM_Upgrade_Incremental_B 'contribution_check_number' => 'check_number', 'contribution_campaign_id' => 'campaign_id', ]; - $apiv4 = Contribution::getFields(FALSE)->addWhere('custom_field_id', '>', 0)->execute(); - foreach ($apiv4 as $apiv4Field) { - $fieldMap['custom_' . $apiv4Field['custom_field_id']] = $apiv4Field['name']; - } + $fieldMap += CRM_Core_DAO::executeQuery(' + SELECT CONCAT("custom_", fld.id) AS old, CONCAT(grp.name, ".", fld.name) AS new + FROM civicrm_custom_field fld, civicrm_custom_group grp + WHERE grp.id = fld.custom_group_id AND grp.extends = "Contribution" + ')->fetchMap('old', 'new'); // Update the mapped fields. foreach ($mappings as $mapping) { diff --git a/civicrm/CRM/Upgrade/Incremental/php/FiveSixtyThree.php b/civicrm/CRM/Upgrade/Incremental/php/FiveSixtyThree.php new file mode 100644 index 0000000000000000000000000000000000000000..d3587657ae841bffc4615dfb3d081aee657c7b3b --- /dev/null +++ b/civicrm/CRM/Upgrade/Incremental/php/FiveSixtyThree.php @@ -0,0 +1,53 @@ +<?php +/* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ + */ + +/** + * Upgrade logic for the 5.63.x series. + * + * Each minor version in the series is handled by either a `5.63.x.mysql.tpl` file, + * or a function in this class named `upgrade_5_63_x`. + * If only a .tpl file exists for a version, it will be run automatically. + * If the function exists, it must explicitly add the 'runSql' task if there is a corresponding .mysql.tpl. + * + * This class may also implement `setPreUpgradeMessage()` and `setPostUpgradeMessage()` functions. + */ +class CRM_Upgrade_Incremental_php_FiveSixtyThree extends CRM_Upgrade_Incremental_Base { + + /** + * Upgrade step; adds tasks including 'runSql'. + * + * @param string $rev + * The version number matching this function name + * + * @throws \Civi\Core\Exception\DBQueryException + */ + public function upgrade_5_63_alpha1(string $rev): void { + $this->addTask('Add name column to civicrm_contribution_page', 'addColumn', 'civicrm_contribution_page', + 'name', "varchar(255) NULL COMMENT 'Unique name for identifying contribution page'"); + $this->addTask(ts('Upgrade DB to %1: SQL', [1 => $rev]), 'runSql', $rev); + + // Campaign indexes + $this->addTask(ts('Drop index %1', [1 => 'civicrm_campaign.UI_campaign_type_id']), 'dropIndex', 'civicrm_campaign', 'UI_campaign_type_id'); + $this->addTask(ts('Create index %1', [1 => 'civicrm_campaign.index_campaign_type_id']), 'addIndex', 'civicrm_campaign', 'campaign_type_id', 'index'); + $this->addTask(ts('Drop index %1', [1 => 'civicrm_campaign.UI_campaign_status_id']), 'dropIndex', 'civicrm_campaign', 'UI_campaign_status_id'); + $this->addTask(ts('Create index %1', [1 => 'civicrm_campaign.index_status_id']), 'addIndex', 'civicrm_campaign', 'status_id', 'index'); + $this->addTask('Add default value to civicrm_campaign.created_date', 'alterColumn', 'civicrm_campaign', 'created_date', "datetime DEFAULT CURRENT_TIMESTAMP COMMENT 'Date and time that Campaign was created.'"); + + $enabledComponents = Civi::settings()->get('enable_components'); + $extensions = array_map(['CRM_Utils_String', 'convertStringToSnakeCase'], $enabledComponents); + $this->addExtensionTask('Enable component extensions', $extensions); + + $this->addTask('Make ContributionPage.name required', 'alterColumn', 'civicrm_contribution_page', 'name', "varchar(255) NOT NULL COMMENT 'Unique name for identifying contribution page'"); + $this->addTask('Make ContributionPage.title required', 'alterColumn', 'civicrm_contribution_page', 'title', "varchar(255) NOT NULL COMMENT 'Contribution Page title. For top of page display'", TRUE); + $this->addTask('Make ContributionPage.frontend_title required', 'alterColumn', 'civicrm_contribution_page', 'frontend_title', "varchar(255) NOT NULL COMMENT 'Contribution Page Public title'", TRUE); + } + +} diff --git a/civicrm/CRM/Upgrade/Incremental/php/FiveSixtyTwo.php b/civicrm/CRM/Upgrade/Incremental/php/FiveSixtyTwo.php index 1b01d856e89384d938a22964d97c3246b2124b8a..02ac4664d7e1cf9f3d24031e28c6317642b11753 100644 --- a/civicrm/CRM/Upgrade/Incremental/php/FiveSixtyTwo.php +++ b/civicrm/CRM/Upgrade/Incremental/php/FiveSixtyTwo.php @@ -116,6 +116,8 @@ class CRM_Upgrade_Incremental_php_FiveSixtyTwo extends CRM_Upgrade_Incremental_B 1 => [$lowestDomainId, 'Positive'], 2 => ['enable_components', 'String'], ]); + // Flush the settings cache after updating the `enable_components` setting. + \Civi\Core\Container::getBootService('settings_manager')->flush(); return TRUE; } diff --git a/civicrm/CRM/Upgrade/Incremental/sql/5.63.alpha1.mysql.tpl b/civicrm/CRM/Upgrade/Incremental/sql/5.63.alpha1.mysql.tpl new file mode 100644 index 0000000000000000000000000000000000000000..d96fd227a11f247e015cd5c636beb89f8fef1a83 --- /dev/null +++ b/civicrm/CRM/Upgrade/Incremental/sql/5.63.alpha1.mysql.tpl @@ -0,0 +1,32 @@ +{* file to handle db changes in 5.63.alpha1 during upgrade *} + +{* https://github.com/civicrm/civicrm-core/pull/24916 *} +DELETE FROM `civicrm_navigation` WHERE `name` = 'Get started'; +DELETE FROM `civicrm_navigation` WHERE `name` = 'Documentation'; +DELETE FROM `civicrm_navigation` WHERE `name` = 'Ask a question'; +DELETE FROM `civicrm_navigation` WHERE `name` = 'Get expert help'; + +SELECT @adminHelplastID := `id` FROM `civicrm_navigation` WHERE `name` = 'Support'; +INSERT IGNORE INTO civicrm_navigation + ( domain_id, url, label, name, permission, permission_operator, parent_id, is_active, has_separator, weight ) +VALUES + ( {$domainID}, 'https://docs.civicrm.org/user/?src=iam', '{ts escape="sql" skip="true"}User Guide{/ts}', 'User Guide', NULL, 'AND', @adminHelplastID, '1', NULL, 1 ), + ( {$domainID}, 'https://civicrm.org/help?src=iam', '{ts escape="sql" skip="true"}Get Help{/ts}', 'Get Help', NULL, 'AND', @adminHelplastID, '1', NULL, 2 ); + +UPDATE IGNORE `civicrm_navigation` SET `name` = 'Register Your Site', `label` = '{ts escape="sql" skip="true"}Register Your Site{/ts}' WHERE `name` = 'Register your site'; + +-- Ensure new name field is not null/unique. Setting to ID is a bit lazy - but sql localisation is painful. +UPDATE civicrm_contribution_page SET `name` = `id`; + +-- Add name field, make frontend_title required (in conjunction with php function) +{if $multilingual} + {foreach from=$locales item=locale} + UPDATE `civicrm_contribution_page` + SET `frontend_title_{$locale}` = `title_{$locale}` + WHERE `frontend_title_{$locale}` IS NULL OR `frontend_title_{$locale}` = ''; + {/foreach} +{else} + UPDATE `civicrm_contribution_page` + SET `frontend_title` = `title` + WHERE `frontend_title` IS NULL OR `frontend_title` = ''; +{/if} diff --git a/civicrm/CRM/Upgrade/StateMachine.php b/civicrm/CRM/Upgrade/StateMachine.php index c149c1c07038cda78c9753709803136ce63a8f3f..cb75227fa07d812dfb5ffacfe1abcbc541095c14 100644 --- a/civicrm/CRM/Upgrade/StateMachine.php +++ b/civicrm/CRM/Upgrade/StateMachine.php @@ -34,7 +34,7 @@ class CRM_Upgrade_StateMachine extends CRM_Core_StateMachine { $this->_pages = &$pages; - $this->addSequentialPages($this->_pages, $action); + $this->addSequentialPages($this->_pages); } } diff --git a/civicrm/CRM/Utils/API/AbstractFieldCoder.php b/civicrm/CRM/Utils/API/AbstractFieldCoder.php index b26d3b82de4a370fe17a55f44e54ebd2e15e5e79..f99293f9e83b062dc0fa8375731b560012850535 100644 --- a/civicrm/CRM/Utils/API/AbstractFieldCoder.php +++ b/civicrm/CRM/Utils/API/AbstractFieldCoder.php @@ -27,7 +27,7 @@ abstract class CRM_Utils_API_AbstractFieldCoder implements API_Wrapper { /** * Get skipped fields. * - * @return array<string> + * @return string[] * List of field names */ public function getSkipFields() { diff --git a/civicrm/CRM/Utils/API/HTMLInputCoder.php b/civicrm/CRM/Utils/API/HTMLInputCoder.php index 8e8dca79c1e55f95321d0b5c74f24d3b9409157c..444de7f3eb1056d9d72ad04d1576f5a6abb321c7 100644 --- a/civicrm/CRM/Utils/API/HTMLInputCoder.php +++ b/civicrm/CRM/Utils/API/HTMLInputCoder.php @@ -22,6 +22,9 @@ * @copyright CiviCRM LLC https://civicrm.org/licensing */ class CRM_Utils_API_HTMLInputCoder extends CRM_Utils_API_AbstractFieldCoder { + /** + * @var string[] + */ private $skipFields = NULL; /** @@ -39,14 +42,21 @@ class CRM_Utils_API_HTMLInputCoder extends CRM_Utils_API_AbstractFieldCoder { return self::$_singleton; } + /** + * @return void + */ + public function flushCache(): void { + $this->skipFields = NULL; + } + /** * Get skipped fields. * - * @return array<string> + * @return string[] * list of field names */ public function getSkipFields() { - if ($this->skipFields === NULL) { + if (!isset($this->skipFields)) { $this->skipFields = [ 'widget_code', 'html_message', @@ -118,9 +128,13 @@ class CRM_Utils_API_HTMLInputCoder extends CRM_Utils_API_AbstractFieldCoder { // Survey entity 'instructions', ]; - $custom = CRM_Core_DAO::executeQuery('SELECT id FROM civicrm_custom_field WHERE html_type = "RichTextEditor"'); + $custom = CRM_Core_DAO::executeQuery(' + SELECT cf.id, cf.name AS field_name, cg.name AS group_name + FROM civicrm_custom_field cf, civicrm_custom_group cg + WHERE cf.custom_group_id = cg.id AND cf.data_type = "Memo"'); while ($custom->fetch()) { $this->skipFields[] = 'custom_' . $custom->id; + $this->skipFields[] = $custom->group_name . '.' . $custom->field_name; } } return $this->skipFields; diff --git a/civicrm/CRM/Utils/Check/Component/Source.php b/civicrm/CRM/Utils/Check/Component/Source.php index 9ab53711f734d37c7f9d41ea3fdac6d2ce97ca63..db16046422d5062b49dac0311ae85eec55d075a2 100644 --- a/civicrm/CRM/Utils/Check/Component/Source.php +++ b/civicrm/CRM/Utils/Check/Component/Source.php @@ -68,7 +68,7 @@ class CRM_Utils_Check_Component_Source extends CRM_Utils_Check_Component { */ public function findOrphanedFiles() { $orphans = []; - + $core_supplied_vendor = Civi::paths()->getPath('[civicrm.root]/vendor'); foreach ($this->getRemovedFiles() as $file) { $path = Civi::paths()->getPath($file); if (empty($path) || strpos('[civicrm', $path) !== FALSE) { @@ -77,6 +77,10 @@ class CRM_Utils_Check_Component_Source extends CRM_Utils_Check_Component { 'path' => $path, ]); } + // If Vendor directory is not within the civicrm module directory (Drupal 8/9/10) etc ignore checks on the vendor paths. + if (strpos($file, '.vendor') !== FALSE && !is_dir($core_supplied_vendor)) { + continue; + } if (file_exists($path)) { $orphans[] = [ 'name' => $file, diff --git a/civicrm/CRM/Utils/Hook.php b/civicrm/CRM/Utils/Hook.php index 9119a0810b929d2dae1c7408dbdf72a1146125ed..4754078cb81bf3c6184d25fa2f9f8eea58902248 100644 --- a/civicrm/CRM/Utils/Hook.php +++ b/civicrm/CRM/Utils/Hook.php @@ -2841,6 +2841,27 @@ abstract class CRM_Utils_Hook { ); } + /** + * Build a list of ECMAScript Modules (ESM's) that are available for auto-loading. + * + * Subscribers should assume that the $importMap will be cached and re-used. + * + * Example usage: + * + * function my_civicrm_esmImportMap($importMap): void { + * $importMap->addPrefix('geolib/', E::LONG_NAME, 'packages/geometry-library-1.2.3/'); + * } + * + * @param \Civi\Esm\ImportMap $importMap + */ + public static function esmImportMap(\Civi\Esm\ImportMap $importMap): void { + $null = NULL; + self::singleton()->invoke(['importMap'], $importMap, $null, $null, + $null, $null, $null, + 'civicrm_esmImportMap' + ); + } + /** * This hook is called for bypass a few civicrm urls from IDS check. * diff --git a/civicrm/CRM/Utils/Rule.php b/civicrm/CRM/Utils/Rule.php index 28c563817abe6b73c024154700449b603cc1faa5..df620d1637bd6917b7763cb051f2a2b0b51f1acc 100644 --- a/civicrm/CRM/Utils/Rule.php +++ b/civicrm/CRM/Utils/Rule.php @@ -658,6 +658,10 @@ class CRM_Utils_Rule { * @return bool */ public static function email($value): bool { + if ($value === '' || is_null($value)) { + // Nothing to check + return TRUE; + } if (function_exists('idn_to_ascii')) { $parts = explode('@', $value); foreach ($parts as &$part) { diff --git a/civicrm/CRM/Utils/SQL/BaseParamQuery.php b/civicrm/CRM/Utils/SQL/BaseParamQuery.php index e2f5fe5fe50af6dc153b9da4d8f4bdd2f8cb4a04..d8bd343f83e4dc49c730cef8699df3e34842730b 100644 --- a/civicrm/CRM/Utils/SQL/BaseParamQuery.php +++ b/civicrm/CRM/Utils/SQL/BaseParamQuery.php @@ -138,14 +138,7 @@ class CRM_Utils_SQL_BaseParamQuery implements ArrayAccess { } } - /** - * @param string|null $value - * @return string - * SQL expression, e.g. "it\'s great" (with-quotes) or NULL (without-quotes) - */ - public function escapeString($value) { - return $value === NULL ? 'NULL' : '"' . CRM_Core_DAO::escapeString($value) . '"'; - } + use CRM_Utils_SQL_EscapeStringTrait; /** * Set one (or multiple) parameters to interpolate into the query. diff --git a/civicrm/CRM/Utils/SQL/EscapeStringTrait.php b/civicrm/CRM/Utils/SQL/EscapeStringTrait.php new file mode 100644 index 0000000000000000000000000000000000000000..e73d76d1de15835f88e2e09b50c4af3c1e74890f --- /dev/null +++ b/civicrm/CRM/Utils/SQL/EscapeStringTrait.php @@ -0,0 +1,39 @@ +<?php + +trait CRM_Utils_SQL_EscapeStringTrait { + + protected $allowLiterals = FALSE; + + public function allowLiterals(bool $allowLiterals = TRUE) { + $this->allowLiterals = $allowLiterals; + return $this; + } + + /** + * @param string|null $value + * @return string + * SQL expression, e.g. "it\'s great" (with-quotes) or NULL (without-quotes) + */ + public function escapeString($value) { + if ($value === NULL) { + return 'NULL'; + } + if ($value instanceof CRM_Utils_SQL_Literal) { + if ($this->allowLiterals) { + return $value->getValue(); + } + else { + throw new CRM_Core_Exception('SQL builder does not support literal expressions. Must call allowLiterals() first.'); + } + } + + if (CRM_Core_I18n::$SQL_ESCAPER == NULL) { + return '"' . CRM_Core_DAO::escapeString($value) . '"'; + } + else { + return '"' . call_user_func(CRM_Core_I18n::$SQL_ESCAPER, $value) . '"'; + } + + } + +} diff --git a/civicrm/CRM/Utils/SQL/Insert.php b/civicrm/CRM/Utils/SQL/Insert.php index 96970e23c5f4bf0bfb4e9c514dbd907447ebcff6..bf63e24753117ceb0b0f15638e1a9793859e92ba 100644 --- a/civicrm/CRM/Utils/SQL/Insert.php +++ b/civicrm/CRM/Utils/SQL/Insert.php @@ -22,7 +22,11 @@ */ class CRM_Utils_SQL_Insert { - private $verb = 'INSERT INTO'; + /** + * @var string + * Ex: 'INSERT INTO', 'REPLACE INTO' + */ + private $verb; /** * @var string @@ -45,10 +49,12 @@ class CRM_Utils_SQL_Insert { * * @param string $table * Table-name and optional alias. + * @param string $verb + * Ex: 'INSERT INTO', 'REPLACE INTO' * @return CRM_Utils_SQL_Insert */ - public static function into($table) { - return new self($table); + public static function into($table, string $verb = 'INSERT INTO') { + return new self($table, $verb); } /** @@ -79,9 +85,12 @@ class CRM_Utils_SQL_Insert { * * @param string $table * Table-name and optional alias. + * @param string $verb + * Ex: 'INSERT INTO', 'REPLACE INTO' */ - public function __construct($table) { + public function __construct($table, string $verb = 'INSERT INTO') { $this->table = $table; + $this->verb = $verb; $this->rows = []; } @@ -155,17 +164,7 @@ class CRM_Utils_SQL_Insert { return $this; } - /** - * Escape string. - * - * @param string|null $value - * - * @return string - * SQL expression, e.g. "it\'s great" (with-quotes) or NULL (without-quotes) - */ - protected function escapeString($value) { - return $value === NULL ? 'NULL' : '"' . CRM_Core_DAO::escapeString($value) . '"'; - } + use CRM_Utils_SQL_EscapeStringTrait; /** * Convert to SQL. diff --git a/civicrm/CRM/Utils/SQL/Literal.php b/civicrm/CRM/Utils/SQL/Literal.php new file mode 100644 index 0000000000000000000000000000000000000000..d2306ef6bf81124efdb482dac3d185a9a8495558 --- /dev/null +++ b/civicrm/CRM/Utils/SQL/Literal.php @@ -0,0 +1,38 @@ +<?php +/* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ + */ + +/** + * A literal fragment of SQL. + * + * Ex: new CRM_Utils_SQL_Literal('CONCAT(@foo, sysdate())') + */ +class CRM_Utils_SQL_Literal { + + /** + * @var string + */ + private $value; + + /** + * @param string $value + */ + public function __construct(string $value) { + $this->value = $value; + } + + /** + * @return string + */ + public function getValue() { + return $this->value; + } + +} diff --git a/civicrm/CRM/Utils/System/Drupal.php b/civicrm/CRM/Utils/System/Drupal.php index a645c8b722642f48e6faf7c8bd7dbbcb896b21fd..ebb1a37b79a624ed827baeb8f04785c2ce5a88a3 100644 --- a/civicrm/CRM/Utils/System/Drupal.php +++ b/civicrm/CRM/Utils/System/Drupal.php @@ -538,7 +538,7 @@ AND u.status = 1 if ($uid) { $account = user_load($uid); - if ($account && $account->uid) { + if ($account && $account->uid && $account->status) { global $user; $user = $account; return TRUE; diff --git a/civicrm/CRM/Utils/System/Drupal8.php b/civicrm/CRM/Utils/System/Drupal8.php index b19ec3017e1c4b63b7c2c9d9ae39712fc03de9dd..5536e59344247eff4aad1ee17d418f25de7fcf2b 100644 --- a/civicrm/CRM/Utils/System/Drupal8.php +++ b/civicrm/CRM/Utils/System/Drupal8.php @@ -433,6 +433,7 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { // We need to call the config hook again, since we now know // all the modules that are listening on it (CRM-8655). + $config = CRM_Core_Config::singleton(); CRM_Utils_Hook::config($config); if ($loadUser) { diff --git a/civicrm/CRM/Utils/System/Standalone.php b/civicrm/CRM/Utils/System/Standalone.php index e9b7355a2837f6494831ae1fcaea74fec3959a3b..66409148b1d560ded18f83303ad5c898ee00843a 100644 --- a/civicrm/CRM/Utils/System/Standalone.php +++ b/civicrm/CRM/Utils/System/Standalone.php @@ -288,6 +288,7 @@ class CRM_Utils_System_Standalone extends CRM_Utils_System_Base { // We need to call the config hook again, since we now know // all the modules that are listening on it (CRM-8655). + $config = CRM_Core_Config::singleton(); CRM_Utils_Hook::config($config); if ($loadUser) { diff --git a/civicrm/CRM/Utils/Token.php b/civicrm/CRM/Utils/Token.php index f29df131b7342ee86d26a91e539b233360cc3270..4101d9be3c5b1eaa66a7f486da6d8a86cb181f92 100644 --- a/civicrm/CRM/Utils/Token.php +++ b/civicrm/CRM/Utils/Token.php @@ -1766,6 +1766,11 @@ class CRM_Utils_Token { 'membership_offline_receipt' => [ // receipt_text_renewal appears to be long gone. 'receipt_text_renewal' => 'receipt_text', + '$isAmountZero' => 'no longer available / relevant', + ], + 'event_offline_receipt' => [ + '$contributeMode' => 'no longer available / relevant', + '$isAmountZero' => 'no longer available / relevant', ], 'pledge_acknowledgement' => [ '$domain' => 'no longer available / relevant', diff --git a/civicrm/Civi/Api4/Action/Group/Refresh.php b/civicrm/Civi/Api4/Action/Group/Refresh.php new file mode 100644 index 0000000000000000000000000000000000000000..ce4262be9695c75fb2891ba9d18ae8a4c105ee5d --- /dev/null +++ b/civicrm/Civi/Api4/Action/Group/Refresh.php @@ -0,0 +1,35 @@ +<?php + +/* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ + */ + +namespace Civi\Api4\Action\Group; + +use Civi\Api4\Generic\Result; + +/** + * @inheritDoc + */ +class Refresh extends \Civi\Api4\Generic\BasicBatchAction { + + protected function processBatch(Result $result, array $items) { + if ($items) { + \CRM_Contact_BAO_GroupContactCache::invalidateGroupContactCache(array_column($items, 'id')); + } + foreach ($items as $item) { + $group = new \CRM_Contact_DAO_Group(); + $group->id = $item['id']; + if (\CRM_Contact_BAO_GroupContactCache::load($group)) { + $result[] = $item; + } + } + } + +} diff --git a/civicrm/Civi/Api4/Action/MailSettings/TestConnection.php b/civicrm/Civi/Api4/Action/MailSettings/TestConnection.php index 51076236b6d14a9c54e3df180af8bdc29f3d1b73..344ef57a3dcc9014cc9453437b95b5c1e490a233 100644 --- a/civicrm/Civi/Api4/Action/MailSettings/TestConnection.php +++ b/civicrm/Civi/Api4/Action/MailSettings/TestConnection.php @@ -12,6 +12,7 @@ namespace Civi\Api4\Action\MailSettings; use Civi\Api4\Generic\BasicBatchAction; +use Civi\Api4\MailSettings; class TestConnection extends BasicBatchAction { @@ -24,8 +25,13 @@ class TestConnection extends BasicBatchAction { * @return array */ protected function doTask($item) { + $mailingName = MailSettings::get(FALSE) + ->addSelect('name') + ->addWhere('id', '=', $item['id']) + ->execute() + ->first()['name']; try { - $mailStore = \CRM_Mailing_MailStore::getStore($item['name']); + $mailStore = \CRM_Mailing_MailStore::getStore($mailingName); } catch (\Throwable $t) { \Civi::log()->warning('MailSettings: Failed to establish test connection', [ diff --git a/civicrm/Civi/Api4/BouncePattern.php b/civicrm/Civi/Api4/BouncePattern.php new file mode 100644 index 0000000000000000000000000000000000000000..a473a353d8d3a396c97338723831a2e212650d0f --- /dev/null +++ b/civicrm/Civi/Api4/BouncePattern.php @@ -0,0 +1,31 @@ +<?php + +/* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ + */ + +/** + * + * @package CRM + * @copyright CiviCRM LLC https://civicrm.org/licensing + */ + + +namespace Civi\Api4; + +/** + * BouncePattern entity. + * + * @searchable secondary + * @since 5.63 + * @package Civi\Api4 + */ +class BouncePattern extends Generic\DAOEntity { + +} diff --git a/civicrm/Civi/Api4/BounceType.php b/civicrm/Civi/Api4/BounceType.php new file mode 100644 index 0000000000000000000000000000000000000000..ee6cb4d7887c7d520de1792419e4d0bd055e79b6 --- /dev/null +++ b/civicrm/Civi/Api4/BounceType.php @@ -0,0 +1,31 @@ +<?php + +/* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ + */ + +/** + * + * @package CRM + * @copyright CiviCRM LLC https://civicrm.org/licensing + */ + + +namespace Civi\Api4; + +/** + * BounceType entity. + * + * @searchable secondary + * @since 5.63 + * @package Civi\Api4 + */ +class BounceType extends Generic\DAOEntity { + +} diff --git a/civicrm/Civi/Api4/Generic/AbstractAction.php b/civicrm/Civi/Api4/Generic/AbstractAction.php index 9d7f3d77ad9c245c264271314c4916604910694d..7a45503fca356f98f6e766a6eff8dbb49a4a54c0 100644 --- a/civicrm/Civi/Api4/Generic/AbstractAction.php +++ b/civicrm/Civi/Api4/Generic/AbstractAction.php @@ -151,7 +151,6 @@ abstract class AbstractAction implements \ArrayAccess { * * @param string $entityName * @param string $actionName - * @throws \CRM_Core_Exception */ public function __construct($entityName, $actionName) { // If a namespaced class name is passed in diff --git a/civicrm/Civi/Api4/Generic/ExportAction.php b/civicrm/Civi/Api4/Generic/ExportAction.php index 4a98943d8ec4e55aefd210878abeba139449b98d..d7903a70e6930ec50ad033dadc4e7c3ee5810403 100644 --- a/civicrm/Civi/Api4/Generic/ExportAction.php +++ b/civicrm/Civi/Api4/Generic/ExportAction.php @@ -23,13 +23,14 @@ use Civi\Api4\Utils\CoreUtil; * * @method $this setId(int $id) * @method int getId() + * @method $this setMatch(array $match) Specify fields to match for update. + * @method bool getMatch() * @method $this setCleanup(string $cleanup) * @method string getCleanup() * @method $this setUpdate(string $update) * @method string getUpdate() */ class ExportAction extends AbstractAction { - use Traits\MatchParamTrait; /** * Id of $ENTITY to export @@ -38,6 +39,19 @@ class ExportAction extends AbstractAction { */ protected $id; + /** + * Specify fields to match when managed records are being reconciled. + * + * To prevent "DB Error: Already Exists" errors, it's generally a good idea to set this + * value to whatever unique fields this entity has (for most entities it's "name"). + * The managed system will then check if a record with that name already exists before + * trying to create a new one. + * + * @var array + * @optionsCallback getMatchFields + */ + protected $match = ['name']; + /** * Specify rule for auto-updating managed entity * @var string @@ -62,17 +76,18 @@ class ExportAction extends AbstractAction { * @param \Civi\Api4\Generic\Result $result */ public function _run(Result $result) { - $this->exportRecord($this->getEntityName(), $this->id, $result); + $this->exportRecord($this->getEntityName(), $this->id, $result, $this->match); } /** * @param string $entityType * @param int $entityId * @param \Civi\Api4\Generic\Result $result + * @param array $matchFields * @param string $parentName * @param array $excludeFields */ - private function exportRecord(string $entityType, int $entityId, Result $result, $parentName = NULL, $excludeFields = []) { + private function exportRecord(string $entityType, int $entityId, Result $result, array $matchFields, $parentName = NULL, $excludeFields = []) { if (isset($this->exportedEntities[$entityType][$entityId])) { throw new \CRM_Core_Exception("Circular reference detected: attempted to export $entityType id $entityId multiple times."); } @@ -134,7 +149,7 @@ class ExportAction extends AbstractAction { // Sometimes fields share an option group; only export it once. empty($this->exportedEntities['OptionGroup'][$record['option_group_id']]) ) { - $this->exportRecord('OptionGroup', $record['option_group_id'], $result); + $this->exportRecord('OptionGroup', $record['option_group_id'], $result, $matchFields); } } // Don't use joins/pseudoconstants if null or if it has the same value as the original @@ -156,7 +171,7 @@ class ExportAction extends AbstractAction { 'values' => $record, ], ]; - foreach (array_intersect($this->match, array_keys($allFields)) as $match) { + foreach (array_unique(array_intersect($matchFields, array_keys($allFields))) as $match) { $export['params']['match'][] = $match; } $result[] = $export; @@ -204,8 +219,18 @@ class ExportAction extends AbstractAction { return $a->$weightCol < $b->$weightCol ? -1 : 1; }); } + $referenceMatchFields = $matchFields; + // Add back-reference to "match" fields to enforce uniqueness + // See https://lab.civicrm.org/dev/core/-/issues/4286 + if ($referenceMatchFields) { + foreach ($reference::fields() as $field) { + if (($field['FKClassName'] ?? '') === $daoName) { + $referenceMatchFields[] = $field['name']; + } + } + } foreach ($records as $record) { - $this->exportRecord($refEntity, $record->id, $result, $name . '_', $exclude); + $this->exportRecord($refEntity, $record->id, $result, $referenceMatchFields, $name . '_', $exclude); } } } @@ -266,4 +291,19 @@ class ExportAction extends AbstractAction { } } + /** + * Options callback for $this->match + * @return array + */ + protected function getMatchFields() { + return (array) civicrm_api4($this->getEntityName(), 'getFields', [ + 'checkPermissions' => FALSE, + 'action' => 'get', + 'where' => [ + ['type', 'IN', ['Field']], + ['readonly', '!=', TRUE], + ], + ], ['name']); + } + } diff --git a/civicrm/Civi/Api4/Generic/Traits/ArrayQueryActionTrait.php b/civicrm/Civi/Api4/Generic/Traits/ArrayQueryActionTrait.php index dc33d11885c00c3356f0d9b21b00c42375162936..e1763f4c0260ff40afb658034360e778102e059a 100644 --- a/civicrm/Civi/Api4/Generic/Traits/ArrayQueryActionTrait.php +++ b/civicrm/Civi/Api4/Generic/Traits/ArrayQueryActionTrait.php @@ -174,14 +174,15 @@ trait ArrayQueryActionTrait { return !in_array($value, $expected); case 'CONTAINS': + case 'NOT CONTAINS': if (is_array($value)) { - return in_array($expected, $value); + return in_array($expected, $value) == ($operator == 'CONTAINS'); } elseif (is_string($value) || is_numeric($value)) { // Lowercase check if string contains string - return strpos(strtolower((string) $value), strtolower((string) $expected)) !== FALSE; + return (strpos(strtolower((string) $value), strtolower((string) $expected)) !== FALSE) == ($operator == 'CONTAINS'); } - return $value == $expected; + return ($value == $expected) == ($operator == 'CONTAINS'); default: throw new NotImplementedException("Unsupported operator: '$operator' cannot be used with array data"); diff --git a/civicrm/Civi/Api4/Generic/Traits/SavedSearchInspectorTrait.php b/civicrm/Civi/Api4/Generic/Traits/SavedSearchInspectorTrait.php index 1e2b87ce66eb7af805d78e66a0ca8a6624cd51af..ce6cbb325b46569ed420a551cf2699aac3fa4caa 100644 --- a/civicrm/Civi/Api4/Generic/Traits/SavedSearchInspectorTrait.php +++ b/civicrm/Civi/Api4/Generic/Traits/SavedSearchInspectorTrait.php @@ -46,13 +46,14 @@ trait SavedSearchInspectorTrait { /** * If SavedSearch is supplied as a string, this will load it as an array + * @param int|null $id + * @throws UnauthorizedException * @throws \CRM_Core_Exception - * @throws \Civi\API\Exception\UnauthorizedException */ - protected function loadSavedSearch() { - if (is_string($this->savedSearch)) { + protected function loadSavedSearch(int $id = NULL) { + if ($id || is_string($this->savedSearch)) { $this->savedSearch = SavedSearch::get(FALSE) - ->addWhere('name', '=', $this->savedSearch) + ->addWhere($id ? 'id' : 'name', '=', $id ?: $this->savedSearch) ->execute()->single(); } if (is_array($this->savedSearch)) { @@ -64,6 +65,8 @@ trait SavedSearchInspectorTrait { ]; $this->savedSearch['api_params'] += ['version' => 4, 'select' => [], 'where' => []]; } + // Reset internal cached metadata + $this->_selectQuery = $this->_selectClause = $this->_searchEntityFields = NULL; $this->_apiParams = ($this->savedSearch['api_params'] ?? []) + ['select' => [], 'where' => []]; } diff --git a/civicrm/Civi/Api4/Group.php b/civicrm/Civi/Api4/Group.php index 67a34edeef798f3617d81a0bb2aff938ed6a5640..0a5d2e0ca6063bcafcbf08a3a099192009a2223e 100644 --- a/civicrm/Civi/Api4/Group.php +++ b/civicrm/Civi/Api4/Group.php @@ -22,6 +22,16 @@ namespace Civi\Api4; class Group extends Generic\DAOEntity { use Generic\Traits\ManagedEntity; + /** + * @param bool $checkPermissions + * @return \Civi\Api4\Action\Group\Refresh + * @throws \CRM_Core_Exception + */ + public static function refresh(bool $checkPermissions = TRUE): Action\Group\Refresh { + return (new Action\Group\Refresh(__CLASS__, __FUNCTION__)) + ->setCheckPermissions($checkPermissions); + } + /** * Provides more-open permissions that will be further restricted by checkAccess * @@ -34,6 +44,7 @@ class Group extends Generic\DAOEntity { return [ // Create permission depends on the group type (see CRM_Contact_BAO_Group::_checkAccess). 'create' => ['access CiviCRM', ['edit groups', 'access CiviMail', 'create mailings']], + 'refresh' => ['access CiviCRM'], ] + $permissions; } diff --git a/civicrm/Civi/Api4/GroupNesting.php b/civicrm/Civi/Api4/GroupNesting.php index 3dd4f366b3f0d9a36e4f52dfcea6386573363073..74b71883244e2fd18a9b131e399579fe89df5baa 100644 --- a/civicrm/Civi/Api4/GroupNesting.php +++ b/civicrm/Civi/Api4/GroupNesting.php @@ -14,10 +14,27 @@ namespace Civi\Api4; * GroupNesting entity. * * @see \Civi\Api4\Group - * @searchable none + * @searchable bridge * @since 5.19 * @package Civi\Api4 */ class GroupNesting extends Generic\DAOEntity { + use Generic\Traits\EntityBridge; + use Generic\Traits\ReadOnlyEntity; + + /** + * @return array + */ + public static function getInfo() { + $info = parent::getInfo(); + $info['bridge'] = [ + 'child_group_id' => [ + 'label' => ts('Children'), + 'description' => ts('Sub-groups nested under this group'), + 'to' => 'parent_group_id', + ], + ]; + return $info; + } } diff --git a/civicrm/Civi/Api4/Query/Api4SelectQuery.php b/civicrm/Civi/Api4/Query/Api4SelectQuery.php index 8fa35dd4ba0aacf3870ae213ca3261f3adc56267..fa400f66f27db29ff2dd58f29da274edb89fc7ee 100644 --- a/civicrm/Civi/Api4/Query/Api4SelectQuery.php +++ b/civicrm/Civi/Api4/Query/Api4SelectQuery.php @@ -29,8 +29,8 @@ use Civi\Api4\Utils\SelectUtil; * * * '=', '<=', '>=', '>', '<', 'LIKE', "<>", "!=", * * 'NOT LIKE', 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN', - * * 'IS NOT NULL', 'IS NULL', 'CONTAINS', 'IS EMPTY', 'IS NOT EMPTY', - * * 'REGEXP', 'NOT REGEXP'. + * * 'IS NOT NULL', 'IS NULL', 'CONTAINS', 'NOT CONTAINS', + * * 'IS EMPTY', 'IS NOT EMPTY', 'REGEXP', 'NOT REGEXP'. */ class Api4SelectQuery { @@ -43,11 +43,6 @@ class Api4SelectQuery { */ protected $query; - /** - * @var array - */ - protected $joins = []; - /** * Used to keep track of implicit join table aliases * @var array @@ -597,22 +592,43 @@ class Api4SelectQuery { } return $sql ? implode(' AND ', $sql) : NULL; } - if ($operator === 'CONTAINS') { + + // The CONTAINS and NOT CONTAINS operators match a substring for strings. + // For arrays & serialized fields, they only match a complete (not partial) string within the array. + if ($operator === 'CONTAINS' || $operator === 'NOT CONTAINS') { + $sep = \CRM_Core_DAO::VALUE_SEPARATOR; switch ($field['serialize'] ?? NULL) { + case \CRM_Core_DAO::SERIALIZE_JSON: - $operator = 'LIKE'; + $operator = ($operator === 'CONTAINS') ? 'LIKE' : 'NOT LIKE'; $value = '%"' . $value . '"%'; // FIXME: Use this instead of the above hack once MIN_INSTALL_MYSQL_VER is bumped to 5.7. // return sprintf('JSON_SEARCH(%s, "one", "%s") IS NOT NULL', $fieldAlias, \CRM_Core_DAO::escapeString($value)); break; case \CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND: - $operator = 'LIKE'; - $value = '%' . \CRM_Core_DAO::VALUE_SEPARATOR . $value . \CRM_Core_DAO::VALUE_SEPARATOR . '%'; + $operator = ($operator === 'CONTAINS') ? 'LIKE' : 'NOT LIKE'; + // This is easy to query because the string is always bookended by separators. + $value = '%' . $sep . $value . $sep . '%'; + break; + + case \CRM_Core_DAO::SERIALIZE_SEPARATOR_TRIMMED: + $operator = ($operator === 'CONTAINS') ? 'REGEXP' : 'NOT REGEXP'; + // This is harder to query because there's no bookend. + // Use regex to match string within separators or content boundary + // Escaping regex per https://stackoverflow.com/questions/3782379/whats-the-best-way-to-escape-user-input-for-regular-expressions-in-mysql + $value = "(^|$sep)" . preg_quote($value, '&') . "($sep|$)"; + break; + + case \CRM_Core_DAO::SERIALIZE_COMMA: + $operator = ($operator === 'CONTAINS') ? 'REGEXP' : 'NOT REGEXP'; + // Match string within commas or content boundary + // Escaping regex per https://stackoverflow.com/questions/3782379/whats-the-best-way-to-escape-user-input-for-regular-expressions-in-mysql + $value = '(^|,)' . preg_quote($value, '&') . '(,|$)'; break; default: - $operator = 'LIKE'; + $operator = ($operator === 'CONTAINS') ? 'LIKE' : 'NOT LIKE'; $value = '%' . $value . '%'; break; } @@ -870,12 +886,10 @@ class Api4SelectQuery { } /** - * Join via a Bridge table + * Join via a Bridge table using a join within a join * * This creates a double-join in sql that appears to the API user like a single join. * - * LEFT joins use a subquery so that the bridge + joined-entity can be treated like a single table. - * * @param array $joinTree * @param string $joinEntity * @param string $alias @@ -886,52 +900,30 @@ class Api4SelectQuery { $bridgeEntity = array_shift($joinTree); $this->explicitJoins[$alias]['bridge'] = $bridgeEntity; - // INNER joins require unique aliases, whereas left joins will be inside a subquery and short aliases are more readable - $bridgeAlias = $side === 'INNER' ? $alias . '_via_' . strtolower($bridgeEntity) : 'b'; - $joinAlias = $side === 'INNER' ? $alias : 'c'; + $bridgeAlias = $alias . '_via_' . strtolower($bridgeEntity); $joinTable = CoreUtil::getTableName($joinEntity); [$bridgeTable, $baseRef, $joinRef] = $this->getBridgeRefs($bridgeEntity, $joinEntity); - $bridgeFields = $this->registerBridgeJoinFields($bridgeEntity, $joinRef, $baseRef, $alias, $bridgeAlias, $side); + $this->registerBridgeJoinFields($bridgeEntity, $joinRef, $baseRef, $alias, $bridgeAlias); - $linkConditions = $this->getBridgeLinkConditions($bridgeAlias, $joinAlias, $joinTable, $joinRef); + $linkConditions = $this->getBridgeLinkConditions($bridgeAlias, $alias, $joinTable, $joinRef); $bridgeConditions = $this->getBridgeJoinConditions($joinTree, $baseRef, $alias, $bridgeAlias, $bridgeEntity, $side); - $acls = array_values($this->getAclClause($joinAlias, CoreUtil::getBAOFromApiName($joinEntity), [NULL, NULL])); + $acls = array_values($this->getAclClause($alias, CoreUtil::getBAOFromApiName($joinEntity), [NULL, NULL])); $joinConditions = []; foreach (array_filter($joinTree) as $clause) { $joinConditions[] = $this->treeWalkClauses($clause, 'ON'); } - // INNER joins are done with 2 joins - if ($side === 'INNER') { - // Info needed for joining custom fields extending the bridge entity - $this->explicitJoins[$alias]['bridge_table_alias'] = $bridgeAlias; - $this->explicitJoins[$alias]['bridge_id_alias'] = 'id'; - $this->join('INNER', $bridgeTable, $bridgeAlias, $bridgeConditions); - $this->join('INNER', $joinTable, $alias, array_merge($linkConditions, $acls, $joinConditions)); - } - // For LEFT joins, construct a subquery to link the bridge & join tables as one - else { - $joinEntityClass = CoreUtil::getApiClass($joinEntity); - foreach ($joinEntityClass::get($this->getCheckPermissions())->entityFields() as $name => $field) { - if ($field['type'] === 'Field') { - $bridgeFields[$field['column_name']] = '`' . $joinAlias . '`.`' . $field['column_name'] . '`'; - } - } - // Info needed for joining custom fields extending the bridge entity - $this->explicitJoins[$alias]['bridge_table_alias'] = $alias; - $this->explicitJoins[$alias]['bridge_id_alias'] = 'bridge_entity_id_key'; - $bridgeFields[] = "`$bridgeAlias`.`id` AS `bridge_entity_id_key`"; - $select = implode(',', $bridgeFields); - $joinConditions = array_merge($joinConditions, $bridgeConditions); - $innerConditions = array_merge($linkConditions, $acls); - $subquery = "SELECT $select FROM `$bridgeTable` `$bridgeAlias`, `$joinTable` `$joinAlias` WHERE " . implode(' AND ', $innerConditions); - $this->query->join($alias, "$side JOIN ($subquery) `$alias` ON " . implode(' AND ', $joinConditions)); - } + // Info needed for joining custom fields extending the bridge entity + $this->explicitJoins[$alias]['bridge_table_alias'] = $bridgeAlias; + + $outerConditions = array_merge($joinConditions, $bridgeConditions); + $innerConditions = array_merge($linkConditions, $acls); + $this->query->join($alias, "$side JOIN (`$bridgeTable` AS `$bridgeAlias` INNER JOIN `$joinTable` AS `$alias` ON (" . implode(' AND ', $innerConditions) . ")) ON " . implode(' AND ', $outerConditions)); } /** @@ -995,27 +987,20 @@ class Api4SelectQuery { * @param $baseRef * @param string $alias * @param string $bridgeAlias - * @param string $side - * @return array */ - private function registerBridgeJoinFields($bridgeEntity, $joinRef, $baseRef, string $alias, string $bridgeAlias, string $side): array { - $fakeFields = []; + private function registerBridgeJoinFields($bridgeEntity, $joinRef, $baseRef, string $alias, string $bridgeAlias): void { $bridgeFkFields = [$joinRef->getReferenceKey(), $joinRef->getTypeColumn(), $baseRef->getReferenceKey(), $baseRef->getTypeColumn()]; $bridgeEntityClass = CoreUtil::getApiClass($bridgeEntity); + $bridgeIdColumn = CoreUtil::getIdFieldName($bridgeEntity); foreach ($bridgeEntityClass::get($this->getCheckPermissions())->entityFields() as $name => $field) { - if ($name === 'id' || ($side === 'INNER' && in_array($name, $bridgeFkFields, TRUE))) { + if ($name === $bridgeIdColumn || in_array($name, $bridgeFkFields, TRUE)) { continue; } - // For INNER joins, these fields get a sql alias pointing to the bridge entity, - // but an api alias pretending they belong to the join entity. - $field['sql_name'] = '`' . ($side === 'LEFT' ? $alias : $bridgeAlias) . '`.`' . $field['column_name'] . '`'; + // Fields get a sql alias pointing to the bridge entity, + $field['sql_name'] = '`' . $bridgeAlias . '`.`' . $field['column_name'] . '`'; $field['explicit_join'] = $alias; $this->addSpecField($alias . '.' . $name, $field); - if ($field['type'] === 'Field') { - $fakeFields[$field['column_name']] = '`' . $bridgeAlias . '`.`' . $field['column_name'] . '`'; - } } - return $fakeFields; } /** @@ -1026,13 +1011,11 @@ class Api4SelectQuery { * @param string $alias * @param string $bridgeAlias * @param string $bridgeEntity - * @param string $side * @return string[] * @throws \CRM_Core_Exception */ - private function getBridgeJoinConditions(array &$joinTree, $baseRef, string $alias, string $bridgeAlias, string $bridgeEntity, string $side): array { + private function getBridgeJoinConditions(array &$joinTree, $baseRef, string $alias, string $bridgeAlias, string $bridgeEntity): array { $bridgeConditions = []; - $bridgeAlias = $side === 'INNER' ? $bridgeAlias : $alias; // Find explicit bridge join conditions and move them out of the joinTree $joinTree = array_filter($joinTree, function ($clause) use ($baseRef, $alias, $bridgeAlias, &$bridgeConditions) { [$sideA, $op, $sideB] = array_pad((array) $clause, 3, NULL); @@ -1148,9 +1131,6 @@ class Api4SelectQuery { if ($useBridgeTable) { // When joining custom fields that directly extend the bridge entity $baseTableAlias = $explicitJoin['bridge_table_alias']; - if ($link->getBaseColumn() === 'id') { - $link->setBaseColumn($explicitJoin['bridge_id_alias']); - } } // Cache field info for retrieval by $this->getField() @@ -1194,12 +1174,8 @@ class Api4SelectQuery { * @param string $tableAlias * @param array $conditions */ - public function join($side, $tableName, $tableAlias, $conditions) { - // INNER JOINs take precedence over LEFT JOINs - if ($side != 'LEFT' || !isset($this->joins[$tableAlias])) { - $this->joins[$tableAlias] = $side; - $this->query->join($tableAlias, "$side JOIN `$tableName` `$tableAlias` ON " . implode(' AND ', $conditions)); - } + private function join(string $side, string $tableName, string $tableAlias, array $conditions): void { + $this->query->join($tableAlias, "$side JOIN `$tableName` `$tableAlias` ON " . implode(' AND ', $conditions)); } /** diff --git a/civicrm/Civi/Api4/Query/SqlFunctionIF.php b/civicrm/Civi/Api4/Query/SqlFunctionIF.php index 810cfe2d70f0253894da47341d1500159ab43e7f..31187b5f39b2d1084b2f49635ed791d266ec6cdb 100644 --- a/civicrm/Civi/Api4/Query/SqlFunctionIF.php +++ b/civicrm/Civi/Api4/Query/SqlFunctionIF.php @@ -51,7 +51,7 @@ class SqlFunctionIF extends SqlFunction { * @return string */ public static function getDescription(): string { - return ts('If the field is empty, the first value, otherwise the second.'); + return ts('If the field is boolean TRUE, or any number except 0, or a string starting with the digits 1-9, the first value; otherwise the second.'); } } diff --git a/civicrm/Civi/Api4/Query/SqlFunctionIFNULL.php b/civicrm/Civi/Api4/Query/SqlFunctionIFNULL.php new file mode 100644 index 0000000000000000000000000000000000000000..5714dd47fdb62f2a12b32faab453dc6c84f739c6 --- /dev/null +++ b/civicrm/Civi/Api4/Query/SqlFunctionIFNULL.php @@ -0,0 +1,52 @@ +<?php +/* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ + */ + +namespace Civi\Api4\Query; + +/** + * Sql function + */ +class SqlFunctionIFNULL extends SqlFunction { + + protected static $category = self::CATEGORY_COMPARISON; + + protected static $dataType = 'String'; + + protected static function params(): array { + return [ + [ + 'optional' => FALSE, + 'must_be' => ['SqlEquation', 'SqlField', 'SqlFunction'], + 'label' => ts('Primary Value'), + ], + [ + 'optional' => FALSE, + 'must_be' => ['SqlField', 'SqlFunction', 'SqlString', 'SqlNumber', 'SqlNull'], + 'label' => ts('Fallback value'), + ], + ]; + } + + /** + * @return string + */ + public static function getTitle(): string { + return ts('If Null'); + } + + /** + * @return string + */ + public static function getDescription(): string { + return ts('The primary value, or if it is null, the fallback value.'); + } + +} diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/ActivitySpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/ActivitySpecProvider.php index 73e9ebd9e90704417b25fb436a8324f4835655ee..19933e820fa80cecfda18e7c23eeabd143b218a9 100644 --- a/civicrm/Civi/Api4/Service/Spec/Provider/ActivitySpecProvider.php +++ b/civicrm/Civi/Api4/Service/Spec/Provider/ActivitySpecProvider.php @@ -12,6 +12,7 @@ namespace Civi\Api4\Service\Spec\Provider; +use Civi\Api4\Query\Api4SelectQuery; use Civi\Api4\Service\Spec\FieldSpec; use Civi\Api4\Service\Spec\RequestSpec; @@ -45,32 +46,42 @@ class ActivitySpecProvider extends \Civi\Core\Service\AutoService implements Gen $spec->getFieldByName('activity_type_id') ->setDefaultValue(NULL) ->setRequired($action === 'create'); + } + if (in_array($action, ['get', 'create', 'update'], TRUE)) { $field = new FieldSpec('source_contact_id', 'Activity', 'Integer'); $field->setTitle(ts('Source Contact')); $field->setLabel(ts('Added by')); + $field->setColumnName('id'); $field->setDescription(ts('Contact who created this activity.')); $field->setRequired($action === 'create'); $field->setFkEntity('Contact'); $field->setInputType('EntityRef'); + $field->setSqlRenderer([__CLASS__, 'renderSqlForActivityContactIds']); $spec->addFieldSpec($field); $field = new FieldSpec('target_contact_id', 'Activity', 'Array'); $field->setTitle(ts('Target Contacts')); - $field->setLabel(ts('With Contact(s)')); - $field->setDescription(ts('Contact(s) involved in this activity.')); + $field->setLabel(ts('With Contacts')); + $field->setColumnName('id'); + $field->setDescription(ts('Contacts involved in this activity.')); $field->setFkEntity('Contact'); $field->setInputType('EntityRef'); $field->setInputAttrs(['multiple' => TRUE]); + $field->setSerialize(\CRM_Core_DAO::SERIALIZE_COMMA); + $field->setSqlRenderer([__CLASS__, 'renderSqlForActivityContactIds']); $spec->addFieldSpec($field); $field = new FieldSpec('assignee_contact_id', 'Activity', 'Array'); $field->setTitle(ts('Assignee Contacts')); $field->setLabel(ts('Assigned to')); - $field->setDescription(ts('Contact(s) assigned to this activity.')); + $field->setColumnName('id'); + $field->setDescription(ts('Contacts assigned to this activity.')); $field->setFkEntity('Contact'); $field->setInputType('EntityRef'); $field->setInputAttrs(['multiple' => TRUE]); + $field->setSerialize(\CRM_Core_DAO::SERIALIZE_COMMA); + $field->setSqlRenderer([__CLASS__, 'renderSqlForActivityContactIds']); $spec->addFieldSpec($field); } } @@ -82,4 +93,20 @@ class ActivitySpecProvider extends \Civi\Core\Service\AutoService implements Gen return $entity === 'Activity'; } + public static function renderSqlForActivityContactIds(array $field, Api4SelectQuery $query): string { + $contactLinkTypes = [ + 'source_contact_id' => 'Activity Source', + 'target_contact_id' => 'Activity Targets', + 'assignee_contact_id' => 'Activity Assignees', + ]; + $recordTypeId = \CRM_Core_PseudoConstant::getKey( + 'CRM_Activity_BAO_ActivityContact', + 'record_type_id', + $contactLinkTypes[$field['name']]); + return "(SELECT GROUP_CONCAT(`civicrm_activity_contact`.`contact_id`) + FROM `civicrm_activity_contact` + WHERE `civicrm_activity_contact`.`activity_id` = {$field['sql_name']} + AND record_type_id = $recordTypeId)"; + } + } diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/AddressCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/AddressCreationSpecProvider.php index 7cba691066d82559084df0e0972499848fc6c04a..d441ed24229cd2013859d92585d615be8666f5b6 100644 --- a/civicrm/Civi/Api4/Service/Spec/Provider/AddressCreationSpecProvider.php +++ b/civicrm/Civi/Api4/Service/Spec/Provider/AddressCreationSpecProvider.php @@ -25,6 +25,7 @@ class AddressCreationSpecProvider extends \Civi\Core\Service\AutoService impleme */ public function modifySpec(RequestSpec $spec) { $spec->getFieldByName('location_type_id')->setRequired(TRUE); + $spec->getFieldByName('is_primary')->setRequired(FALSE); } /** diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/ContactGetSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/ContactGetSpecProvider.php index ffc8efa05609ed9654c5931e7f758b8a2bff0fd5..3e664c9c184cddfbae7af71e37dd496cea10c376 100644 --- a/civicrm/Civi/Api4/Service/Spec/Provider/ContactGetSpecProvider.php +++ b/civicrm/Civi/Api4/Service/Spec/Provider/ContactGetSpecProvider.php @@ -40,7 +40,8 @@ class ContactGetSpecProvider extends \Civi\Core\Service\AutoService implements G ->setOptionsCallback([__CLASS__, 'getGroupList']); $spec->addFieldSpec($field); - // Fields specific to Individuals + // The following fields are specific to Individuals, so omit them if + // `contact_type` value was passed to `getFields` and is not "Individual" if (!$spec->getValue('contact_type') || $spec->getValue('contact_type') === 'Individual') { // Age field $field = new FieldSpec('age_years', 'Contact', 'Integer'); diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/ContributionGetSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/ContributionGetSpecProvider.php index b1037b7ca0a370106dc96bfbb69f031d971569f8..e6ca35c3af31d5ef4179fa4c4c86ca54379bbaaf 100644 --- a/civicrm/Civi/Api4/Service/Spec/Provider/ContributionGetSpecProvider.php +++ b/civicrm/Civi/Api4/Service/Spec/Provider/ContributionGetSpecProvider.php @@ -27,40 +27,34 @@ class ContributionGetSpecProvider extends \Civi\Core\Service\AutoService impleme * @throws \CRM_Core_Exception */ public function modifySpec(RequestSpec $spec): void { - // Amount paid field - if (!$spec->getValue('paid_amount')) { - $field = new FieldSpec('paid_amount', 'Contribution', 'Float'); - $field->setLabel(ts('Amount Paid')) - ->setTitle(ts('Amount Paid')) - ->setDescription(ts('Amount paid')) - ->setType('Extra') - ->setDataType('Money') - ->setReadonly(TRUE) - ->setSqlRenderer([__CLASS__, 'calculateAmountPaid']); - $spec->addFieldSpec($field); - } - if (!$spec->getValue('balance_amount')) { - $field = new FieldSpec('balance_amount', 'Contribution', 'Float'); - $field->setLabel(ts('Balance')) - ->setTitle(ts('Balance')) - ->setDescription(ts('Balance')) - ->setType('Extra') - ->setDataType('Money') - ->setReadonly(TRUE) - ->setSqlRenderer([__CLASS__, 'calculateBalance']); - $spec->addFieldSpec($field); - } - if (!$spec->getValue('tax_exclusive_amount')) { - $field = new FieldSpec('tax_exclusive_amount', 'Contribution', 'Float'); - $field->setLabel(ts('Tax Exclusive Amount')) - ->setTitle(ts('Tax Exclusive Amount')) - ->setDescription(ts('Tax Exclusive Amount')) - ->setType('Extra') - ->setDataType('Money') - ->setReadonly(TRUE) - ->setSqlRenderer([__CLASS__, 'calculateTaxExclusiveAmount']); - $spec->addFieldSpec($field); - } + // Add calculated fields + $field = new FieldSpec('paid_amount', 'Contribution', 'Float'); + $field->setLabel(ts('Amount Paid')) + ->setTitle(ts('Amount Paid')) + ->setDescription(ts('Amount paid')) + ->setType('Extra') + ->setDataType('Money') + ->setReadonly(TRUE) + ->setSqlRenderer([__CLASS__, 'calculateAmountPaid']); + $spec->addFieldSpec($field); + $field = new FieldSpec('balance_amount', 'Contribution', 'Float'); + $field->setLabel(ts('Balance')) + ->setTitle(ts('Balance')) + ->setDescription(ts('Balance')) + ->setType('Extra') + ->setDataType('Money') + ->setReadonly(TRUE) + ->setSqlRenderer([__CLASS__, 'calculateBalance']); + $spec->addFieldSpec($field); + $field = new FieldSpec('tax_exclusive_amount', 'Contribution', 'Float'); + $field->setLabel(ts('Tax Exclusive Amount')) + ->setTitle(ts('Tax Exclusive Amount')) + ->setDescription(ts('Tax Exclusive Amount')) + ->setType('Extra') + ->setDataType('Money') + ->setReadonly(TRUE) + ->setSqlRenderer([__CLASS__, 'calculateTaxExclusiveAmount']); + $spec->addFieldSpec($field); } /** diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/EmailCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/EmailCreationSpecProvider.php index e4f760c475a856f1e7985ae57d310af2b6a81d8b..761df4da39ab46289a77513d1311291e388cd351 100644 --- a/civicrm/Civi/Api4/Service/Spec/Provider/EmailCreationSpecProvider.php +++ b/civicrm/Civi/Api4/Service/Spec/Provider/EmailCreationSpecProvider.php @@ -27,6 +27,7 @@ class EmailCreationSpecProvider extends \Civi\Core\Service\AutoService implement $spec->getFieldByName('email')->setRequired(TRUE); $spec->getFieldByName('on_hold')->setRequired(FALSE); $spec->getFieldByName('is_bulkmail')->setRequired(FALSE); + $spec->getFieldByName('is_primary')->setRequired(FALSE); $defaultLocationType = \CRM_Core_BAO_LocationType::getDefault()->id ?? NULL; $spec->getFieldByName('location_type_id')->setDefaultValue($defaultLocationType); diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/GroupGetSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/GroupGetSpecProvider.php new file mode 100644 index 0000000000000000000000000000000000000000..2aeb05c9b7b7ba241254fa80cc7ce8a6f8daeeb7 --- /dev/null +++ b/civicrm/Civi/Api4/Service/Spec/Provider/GroupGetSpecProvider.php @@ -0,0 +1,85 @@ +<?php + +/* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ + */ + +namespace Civi\Api4\Service\Spec\Provider; + +use Civi\Api4\Service\Spec\FieldSpec; +use Civi\Api4\Service\Spec\RequestSpec; + +/** + * @service + * @internal + */ +class GroupGetSpecProvider extends \Civi\Core\Service\AutoService implements Generic\SpecProviderInterface { + + /** + * @param \Civi\Api4\Service\Spec\RequestSpec $spec + * + * @throws \CRM_Core_Exception + */ + public function modifySpec(RequestSpec $spec): void { + // Calculated field counts contacts in group + $field = new FieldSpec('contact_count', 'Group', 'Integer'); + $field->setLabel(ts('Contact Count')) + ->setDescription(ts('Number of contacts in group')) + ->setColumnName('id') + ->setReadonly(TRUE) + ->setSqlRenderer([__CLASS__, 'countContacts']); + $spec->addFieldSpec($field); + + // Calculated field to check smart group cache status + $field = new FieldSpec('cache_expired', 'Group', 'Boolean'); + $field->setLabel(ts('Cache Expired')) + ->setDescription(ts('Is the smart group cache expired')) + ->setColumnName('cache_date') + ->setReadonly(TRUE) + ->setSqlRenderer([__CLASS__, 'getCacheExpiredSQL']); + $spec->addFieldSpec($field); + } + + /** + * @param string $entity + * @param string $action + * + * @return bool + */ + public function applies($entity, $action): bool { + return $entity === 'Group' && in_array($action, ['get', 'refresh'], TRUE); + } + + /** + * Generate SQL for counting contacts + * in static and smart groups + * + * @return string + */ + public static function countContacts(array $field): string { + return "COALESCE( + NULLIF((SELECT COUNT(contact_id) FROM `civicrm_group_contact_cache` WHERE `group_id` = {$field['sql_name']}), 0), + (SELECT COUNT(contact_id) FROM `civicrm_group_contact` WHERE `group_id` = {$field['sql_name']} AND `status` = 'Added') + )"; + } + + /** + * Generate SQL for checking cache expiration for smart groups and parent groups + * + * @return string + */ + public static function getCacheExpiredSQL(array $field): string { + $smartGroupCacheTimeoutDateTime = \CRM_Contact_BAO_GroupContactCache::getCacheInvalidDateTime(); + $cacheDate = $field['sql_name']; + $savedSearchId = substr_replace($field['sql_name'], 'saved_search_id', -11, -1); + $children = substr_replace($field['sql_name'], 'children', -11, -1); + return "IF(($savedSearchId IS NULL AND $children IS NULL) OR $cacheDate > $smartGroupCacheTimeoutDateTime, 0, 1)"; + } + +} diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/IMCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/IMCreationSpecProvider.php new file mode 100644 index 0000000000000000000000000000000000000000..f6e87ed9156735fe835d221515585595dfdf5969 --- /dev/null +++ b/civicrm/Civi/Api4/Service/Spec/Provider/IMCreationSpecProvider.php @@ -0,0 +1,37 @@ +<?php + +/* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ + */ + +namespace Civi\Api4\Service\Spec\Provider; + +use Civi\Api4\Service\Spec\RequestSpec; + +/** + * @service + * @internal + */ +class IMCreationSpecProvider extends \Civi\Core\Service\AutoService implements Generic\SpecProviderInterface { + + /** + * @inheritDoc + */ + public function modifySpec(RequestSpec $spec) { + $spec->getFieldByName('is_primary')->setRequired(FALSE); + } + + /** + * @inheritDoc + */ + public function applies($entity, $action) { + return $entity === 'IM' && $action === 'create'; + } + +} diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/PaymentProcessorCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/PaymentProcessorCreationSpecProvider.php index 5a592e5f7a90a14d646528e47cbff4733699dc15..9e11858ce02a890cfb1e10e86b9a855d59303612 100644 --- a/civicrm/Civi/Api4/Service/Spec/Provider/PaymentProcessorCreationSpecProvider.php +++ b/civicrm/Civi/Api4/Service/Spec/Provider/PaymentProcessorCreationSpecProvider.php @@ -25,13 +25,6 @@ class PaymentProcessorCreationSpecProvider extends \Civi\Core\Service\AutoServic * @inheritDoc */ public function modifySpec(RequestSpec $spec) { - // Name is autogenerated from title if missing - $spec->getFieldByName('name')->setRequired(FALSE)->setRequiredIf('empty($values.title)'); - // Title is supplied from name if missing - $spec->getFieldByName('title')->setRequired(FALSE)->setRequiredIf('empty($values.name)'); - // Frontend_title is copied from title if missing - $spec->getFieldByName('frontend_title')->setRequired(FALSE); - // Billing mode is copied across from the payment processor type field in the BAO::create function. $spec->getFieldByName('billing_mode')->setRequired(FALSE); diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/PhoneCreationSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/PhoneCreationSpecProvider.php index 60d04c7907989c6f698d64a6b551abac1ac9780b..9b93f65d10dd21888014c16b82201cf26a693c9c 100644 --- a/civicrm/Civi/Api4/Service/Spec/Provider/PhoneCreationSpecProvider.php +++ b/civicrm/Civi/Api4/Service/Spec/Provider/PhoneCreationSpecProvider.php @@ -25,6 +25,7 @@ class PhoneCreationSpecProvider extends \Civi\Core\Service\AutoService implement */ public function modifySpec(RequestSpec $spec) { $spec->getFieldByName('phone')->setRequired(TRUE); + $spec->getFieldByName('is_primary')->setRequired(FALSE); } /** diff --git a/civicrm/Civi/Api4/Service/Spec/Provider/TitleFieldSpecProvider.php b/civicrm/Civi/Api4/Service/Spec/Provider/TitleFieldSpecProvider.php new file mode 100644 index 0000000000000000000000000000000000000000..4b5810e9379032dd1d7f80ae6eb028604a7e04a9 --- /dev/null +++ b/civicrm/Civi/Api4/Service/Spec/Provider/TitleFieldSpecProvider.php @@ -0,0 +1,50 @@ +<?php + +/* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ + */ + +/** + * + * @package CRM + * @copyright CiviCRM LLC https://civicrm.org/licensing + */ + + +namespace Civi\Api4\Service\Spec\Provider; + +use Civi\Api4\Service\Spec\RequestSpec; +use Civi\Core\Service\AutoService; + +/** + * @service + * @internal + */ +class TitleFieldSpecProvider extends AutoService implements Generic\SpecProviderInterface { + + /** + * @param \Civi\Api4\Service\Spec\RequestSpec $spec + */ + public function modifySpec(RequestSpec $spec): void { + // Name is autogenerated from title if missing + $spec->getFieldByName('name')->setRequired(FALSE)->setRequiredIf('empty($values.title)'); + // Title is supplied from name if missing + $spec->getFieldByName('title')->setRequired(FALSE)->setRequiredIf('empty($values.name)'); + // Frontend_title is copied from title if missing + $spec->getFieldByName('frontend_title')->setRequired(FALSE); + } + + /** + * @inheritDoc + */ + public function applies($entity, $action): bool { + return in_array($entity, ['PaymentProcessor', 'ContributionPage']) && $action === 'create'; + } + +} diff --git a/civicrm/Civi/Api4/Utils/CoreUtil.php b/civicrm/Civi/Api4/Utils/CoreUtil.php index 24c4fb62b1c3fb2165f1d905fca8fbf33f29e131..835d1347bcda0a368cb786302d68189d3e27accb 100644 --- a/civicrm/Civi/Api4/Utils/CoreUtil.php +++ b/civicrm/Civi/Api4/Utils/CoreUtil.php @@ -113,6 +113,7 @@ class CoreUtil { public static function getOperators() { $operators = \CRM_Core_DAO::acceptedSQLOperators(); $operators[] = 'CONTAINS'; + $operators[] = 'NOT CONTAINS'; $operators[] = 'IS EMPTY'; $operators[] = 'IS NOT EMPTY'; $operators[] = 'REGEXP'; @@ -188,7 +189,7 @@ class CoreUtil { // For get actions, just run a get and ACLs will be applied to the query. // It's a cheap trick and not as efficient as not running the query at all, // but BAO::checkAccess doesn't consistently check permissions for the "get" action. - if (is_a($apiRequest, '\Civi\Api4\Generic\DAOGetAction')) { + if (is_a($apiRequest, '\Civi\Api4\Generic\AbstractGetAction')) { return (bool) $apiRequest->addSelect('id')->addWhere('id', '=', $record['id'])->execute()->count(); } diff --git a/civicrm/Civi/Core/CiviEventDispatcherInterface.php b/civicrm/Civi/Core/CiviEventDispatcherInterface.php index fdd9238009c8d18f1a5630183957724580a8e6b5..510af2748c70534ce8b6aab2488ab780e277793d 100644 --- a/civicrm/Civi/Core/CiviEventDispatcherInterface.php +++ b/civicrm/Civi/Core/CiviEventDispatcherInterface.php @@ -26,10 +26,25 @@ interface CiviEventDispatcherInterface { * * @param string $eventName The name of the event to dispatch. The name of * the event is the name of the method that is invoked on listeners. - * @param Event|null $event The event to pass to the event handlers/listeners - * If not supplied, an empty Event instance is created + * @param object|null $event The event to pass to the event handlers/listeners + * The dispatcher technically accepts any kind of event-object. * - * @return Event + * CiviCRM typically uses GenericHookEvent. Specifically: + * - For `hook_civicrm_*`, GenericHookEvent is strongly required. + * - For `civi.*`, GenericHookEvent is typical but not strongly required. + * + * Symfony also defines classes for event-objects (`Event`, `GenericEvent`). + * Historically, these types -were- mandatory, but they have had poor + * interoperability (across versions/environments). `GenericHookEvent` has + * provided easier interoperability. + * + * Looking forward, the current dispatcher does not specifically require any + * single type, and there may be use-cases where libraries or extensions + * define other types. The suitability of this is left as an exercise to the reader. + * + * If $event is a null, then an empty placeholder (`GenericHookEvent`) is used. + * @return object + * The final event object. */ public function dispatch($eventName, $event = NULL); diff --git a/civicrm/Civi/Core/Container.php b/civicrm/Civi/Core/Container.php index 5b983fb637652e658ab683a463f6d964a2db39e7..a4fb4aa275d2223832c54cc97b0335abedad07b1 100644 --- a/civicrm/Civi/Core/Container.php +++ b/civicrm/Civi/Core/Container.php @@ -5,6 +5,7 @@ use Civi\Core\Compiler\AutoServiceScannerPass; use Civi\Core\Compiler\EventScannerPass; use Civi\Core\Compiler\SpecProviderPass; use Civi\Core\Event\EventScanner; +use Civi\Core\Event\GenericHookEvent; use Civi\Core\Lock\LockManager; use Symfony\Component\Config\ConfigCache; use Symfony\Component\DependencyInjection\Compiler\PassConfig; @@ -392,6 +393,11 @@ class Container { [new Reference('action_object_provider')] ); + $container->setDefinition('esm.loader', new Definition( + 'object', + [new Reference('service_container')] + ))->setFactory([new Reference(self::SELF), 'createEsmLoader'])->setPublic(TRUE); + \CRM_Utils_Hook::container($container); return $container; @@ -574,6 +580,27 @@ class Container { return $container->get('prevnext.driver.' . $setting); } + /** + * Determine which component will load ECMAScript Modules. + * + * @param \Symfony\Component\DependencyInjection\ContainerInterface $container + * @return \object + */ + public static function createEsmLoader($container): object { + $name = \Civi::settings()->get('esm_loader'); + if ($name === 'auto') { + $name = 'shim-fast'; + \Civi::dispatcher()->dispatch('civi.esm.loader.default', GenericHookEvent::create(['default' => &$name])); + } + if ($container->has("esm.loader.$name")) { + return $container->get("esm.loader.$name"); + } + else { + \Civi::log()->warning('Invalid ESM loader: {name}', ['name' => $name]); + return $container->get("esm.loader.browser"); + } + } + /** * @return \ArrayObject */ diff --git a/civicrm/Civi/Core/SettingsBag.php b/civicrm/Civi/Core/SettingsBag.php index d14c338715cea9f9675cda38ea20495ac381a536..948ea2b96312c7fd72c6b3ec43338d0ab8c88408 100644 --- a/civicrm/Civi/Core/SettingsBag.php +++ b/civicrm/Civi/Core/SettingsBag.php @@ -248,8 +248,6 @@ class SettingsBag { return $this; } $this->setDb($key, $value); - $this->values[$key] = $value; - $this->combined = NULL; return $this; } @@ -379,6 +377,7 @@ class SettingsBag { $dao->domain_id = $this->domainId; } $dao->find(TRUE); + $oldValue = \CRM_Utils_String::unserialize($dao->value); // Call 'on_change' listeners. It would be nice to only fire when there's // a genuine change in the data. However, PHP developers have mixed @@ -388,7 +387,7 @@ class SettingsBag { foreach ($metadata['on_change'] as $callback) { call_user_func( \Civi\Core\Resolver::singleton()->get($callback), - \CRM_Utils_String::unserialize($dao->value), + $oldValue, $value, $metadata, $this->domainId @@ -425,6 +424,23 @@ class SettingsBag { // to save the field `group_name`, which is required in older schema. \CRM_Core_DAO::executeQuery(\CRM_Utils_SQL_Insert::dao($dao)->toSQL()); } + + $this->values[$name] = $value; + $this->combined = NULL; + + // Call 'post_change' listeners after the value has been saved. + // Unlike 'on_change', this will only fire if the oldValue and newValue are not equivalent (using == comparison) + if ($value != $oldValue && !empty($metadata['post_change'])) { + foreach ($metadata['post_change'] as $callback) { + call_user_func( + \Civi\Core\Resolver::singleton()->get($callback), + $oldValue, + $value, + $metadata, + $this->domainId + ); + } + } } /** diff --git a/civicrm/Civi/Core/SettingsManager.php b/civicrm/Civi/Core/SettingsManager.php index 1b1cdd50e976c0866cf5efd4cb30751995f7835f..feb3f86f66d13c06dff092d459f81d6b36e350f8 100644 --- a/civicrm/Civi/Core/SettingsManager.php +++ b/civicrm/Civi/Core/SettingsManager.php @@ -344,6 +344,7 @@ class SettingsManager { case 'domain': $defaults = [ 'installed' => FALSE, + // The default list of components should be kept in sync with "civicrm_extension.sqldata.php". 'enable_components' => ['CiviEvent', 'CiviContribute', 'CiviMember', 'CiviMail', 'CiviReport', 'CiviPledge'], 'customFileUploadDir' => '[civicrm.files]/custom/', 'imageUploadDir' => '[civicrm.files]/persist/contribute/', diff --git a/civicrm/Civi/Esm/BasicLoaderTrait.php b/civicrm/Civi/Esm/BasicLoaderTrait.php new file mode 100644 index 0000000000000000000000000000000000000000..c63a5e34f74d3d2f7030f915ab06d705397a76db --- /dev/null +++ b/civicrm/Civi/Esm/BasicLoaderTrait.php @@ -0,0 +1,154 @@ +<?php + +namespace Civi\Esm; + +use Civi; + +/** + * The AbstractLoader is a base-class BrowserLoader and ShimLoader. These are similar + * in that they load ESM's by displaying HTML, e.g. + * + * <script type="importmap"> + * { "import": {"civicrm/": "https://example.com/sites/all/modules/civicrm"}} + * </script> + * + * <script type="module"> + * import { TableWidget } from "civicrm/TableWidget.js"; + * const table = new TableWidget(); + * </script> + * + * However, subclasses may use different HTML. + */ +trait BasicLoaderTrait { + + /** + * @return array + */ + public static function getSubscribedEvents() { + return [ + '&civi.esm.useModule' => 'onUseModule', + '&civi.region.render' => 'onRegionRender', + ]; + } + + /** + * @var \Civi\Esm\ImportMap + * @inject esm.import_map + */ + protected $importMap; + + /** + * Do we need to send an import-map for the current page-view? + * + * For the moment, we figure this dynamically -- based on whether any "esm" scripts have + * been added. During the early stages (where ESMs aren't in widespread use), this seems + * safer. However, in the future, we might find some kind of race (e.g. where the system + * renders "<head>" before it decides on a specific "<script type=module"> to load. + * If that edge-case happens, then it's probably fair to switch this default + * (`$required=TRUE`). + * + * @var bool + */ + protected $required = FALSE; + + /** + * Receive a notification that an ESM is being used. + * + * @param array $snippet + * The module resource being rendered, as per "CollectionInterface::add()". + * Ex: ['type' => 'scriptUrl', 'scriptUrl' => 'https://example.com/foo.js', 'esm' => TRUE, 'region' => 'page-footer'] + * @see \CRM_Core_Resources_CollectionTrait::add() + */ + public function onUseModule(array &$snippet): void { + $this->required = TRUE; + } + + /** + * Listen to 'civi.region.render[html-header]'. + * + * If there are any active "module"s on this page, then output the "import-map". + * + * @param \CRM_Core_Region $region + */ + public function onRegionRender(\CRM_Core_Region $region): void { + if ($region->_name !== 'html-header' || !$this->required || $this !== Civi::service('esm.loader')) { + return; + } + + $importMap = $this->buildImportMap(); + $region->add([ + 'name' => 'import-map', + 'markup' => empty($importMap) ? '' : $this->renderImportMap($importMap), + 'weight' => -1000, + ]); + } + + /** + * @return array + * The import-map, as defined by the browser-vendor or browser-based polyfill. + * For BasicLoaderTrait, we do a straight-through mapping (read extension-names, generate extension-URLs). + * @link https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap + * @link https://github.com/WICG/import-maps + */ + protected function buildImportMap(): array { + $result = []; + foreach ($this->importMap->getPrefixes() as $prefix) { + $result['imports'][$prefix['prefix']] = Civi::resources()->getUrl($prefix['ext'], $prefix['relPath']); + } + return $result; + } + + /** + * Format the list of imports as an HTML tag. + * + * @param array $importMap + * Ex: ['imports' => ['square/' => 'https://example.com/square/']] + * @return string + * Ex: '<script type="importmap">{"imports": ...}</script>' + */ + abstract protected function renderImportMap(array $importMap): string; + + /** + * @param array $snippet + * The module resource being rendered, as per "CollectionInterface::add()". + * Ex: ['type' => 'scriptUrl', 'scriptUrl' => 'https://example.com/foo.js', 'esm' => TRUE] + * @return string + * HTML + * @see \CRM_Core_Resources_CollectionInterface::add() + */ + public function renderModule(array $snippet): string { + switch ($snippet['type']) { + case 'script': + return $this->renderModuleScript($snippet); + + case 'scriptUrl': + return $this->renderModuleUrl($snippet); + + default: + $class = get_class($this); + Civi::log()->warning($class . ' does not support {type}', ['type' => $snippet['type']]); + return ''; + } + } + + /** + * @param array $snippet + * The module resource being rendered, as per "CollectionInterface::add()". + * Ex: ['type' => 'scriptUrl', 'scriptUrl' => 'https://example.com/foo.js', 'esm' => TRUE] + * @return string + * HTML + * @see \CRM_Core_Resources_CollectionInterface::add() + */ + abstract protected function renderModuleScript(array $snippet): string; + + /** + * @param array $snippet + * The module resource being rendered, as per "CollectionInterface::add()". + * Ex: ['type' => 'scriptUrl', 'scriptUrl' => 'https://example.com/foo.js', 'esm' => TRUE] + * @return string + * HTML + * @see \CRM_Core_Resources_CollectionInterface::add() + */ + abstract protected function renderModuleUrl(array $snippet): string; + +} diff --git a/civicrm/Civi/Esm/BrowserLoader.php b/civicrm/Civi/Esm/BrowserLoader.php new file mode 100644 index 0000000000000000000000000000000000000000..29b9d73bcd2c7e5002acd633289839f0db46fc1f --- /dev/null +++ b/civicrm/Civi/Esm/BrowserLoader.php @@ -0,0 +1,58 @@ +<?php + +namespace Civi\Esm; + +use Civi; +use Symfony\Component\EventDispatcher\EventSubscriberInterface; + +/** + * The BrowserLoader leverages the browser's built-in support for ECMAScript Modules (ESM's). + * + * Any ESM's required by CiviCRM or its extensions are rendered like so: + * + * <script type="importmap"> + * { "import": {"civicrm/": "https://example.com/sites/all/modules/civicrm"}} + * </script> + * <script type="module"> + * import { TableWidget } from "civicrm/TableWidget.js"; + * const table = new TableWidget(); + * </script> + * + * This should be the simplest and most efficient way to load modules. However, there may be + * compatibility issues with older browsers or future UFs. + * + * For a fuller description of this mechanism, see the neighboring README. + * @see ./README.md + * + * @service esm.loader.browser + */ +class BrowserLoader extends \Civi\Core\Service\AutoService implements EventSubscriberInterface { + + use BasicLoaderTrait; + + /** + * @inheritDoc + */ + protected function renderImportMap(array $importMap): string { + $flags = JSON_UNESCAPED_SLASHES; + if (Civi::settings()->get('debug_enabled')) { + $flags |= JSON_PRETTY_PRINT; + } + return sprintf("<script type='importmap'>\n%s\n</script>", json_encode($importMap, $flags)); + } + + /** + * @inheritDoc + */ + protected function renderModuleScript(array $snippet): string { + return sprintf("<script type=\"module\">\n%s\n</script>\n", $snippet['script']); + } + + /** + * @inheritDoc + */ + protected function renderModuleUrl(array $snippet): string { + return sprintf("<script type=\"module\" src=\"%s\">\n</script>\n", $snippet['scriptUrl']); + } + +} diff --git a/civicrm/Civi/Esm/ImportMap.php b/civicrm/Civi/Esm/ImportMap.php new file mode 100644 index 0000000000000000000000000000000000000000..24d678c2a07033d0f18bc926b716b2088d2e494f --- /dev/null +++ b/civicrm/Civi/Esm/ImportMap.php @@ -0,0 +1,100 @@ +<?php + +namespace Civi\Esm; + +use Civi\Core\HookInterface; + +/** + * ECMAScript Modules (ESMs) allow you to load a JS file based on a physical-path or a + * logical-path. Compare: + * + * - import { TableWidget } from 'https://example.com/sites/all/modules/civicrm/js/table-widget.js'; + * - import { TableWidget } from 'civicrm/js/tab-widget.js'; + * + * The purpose of `Civi\Esm\ImportMap` (aka `esm.import_map`) is to build a list of all + * the logical prefixes supported by `civicrm-core` and CiviCRM extensions. + * + * This is generally consumed by BrowserLoader or a similar class. For a fuller description + * of this mechanism, see the neighboring README. + * + * @see \Civi\Esm\BrowserLoader + * @see ./README.md + * + * @service esm.import_map + */ +class ImportMap extends \Civi\Core\Service\AutoService implements HookInterface { + + /** + * @var array|null + * Ex: [['prefix' => 'lodash/', 'ext' => 'civicrm', 'relPath' => 'bower_components/lodash/']] + */ + protected $prefixes = NULL; + + /** + * @param string $prefix + * @param string $ext + * Ex: 'civicrm', 'org.example.foobar' + * @param string $relPath + * Relative path within $ext. + * Ex: '/', '/packages/foo-1.2.3/' + * @return $this + * @see \CRM_Core_Resources::getUrl() + * @see \CRM_Core_Resources::getPath() + */ + public function addPrefix(string $prefix, string $ext, string $relPath = ''): ImportMap { + $this->prefixes[$prefix] = [ + 'prefix' => $prefix, + 'ext' => $ext, + 'relPath' => $relPath, + ]; + return $this; + } + + public function getPrefixes(): array { + if ($this->prefixes === NULL) { + $this->load(); + } + return $this->prefixes; + } + + /** + * Load the list of imports, as declared by CiviCRM and its extensions. + * + * @return $this + */ + protected function load(): ImportMap { + // Just how dynamic is the import-map? Perhaps every page-view would have a different + // import-map? Perhaps there should be one static import-map used for all page-views? + // Can we cache the import-map? + + // This implementation treats the import-map as a static, cacheable document (one + // import-map serves diverse page-views). + + // This should prepare us for a few contingencies: + // - In the future, we may encourage client-side caching + // (`<script type="importmap" src="https://example.com/files/cached.importmap">`). + // This is defined by WICG but is not yet supported by all browsers. + // - In the future, we may integrate into the import-map services of various UFs. + // We cannot predict whether their approach will be static or dynamic. If our + // map is static, then we can safely feed it into UFs either way. + + $this->prefixes = \Civi::cache('long')->get('esm.import_map.prefix'); + if ($this->prefixes === NULL) { + $this->prefixes = []; + \CRM_Utils_Hook::esmImportMap($this); + \Civi::cache('long')->set('esm.import_map.prefix', $this->prefixes); + } + return $this; + } + + /** + * Register default mappings on behalf of civicrm-core. + * + * @param ImportMap $importMap + * @return void + */ + public function hook_civicrm_esmImportMap(ImportMap $importMap): void { + $importMap->addPrefix('civicrm/', 'civicrm'); + } + +} diff --git a/civicrm/Civi/Esm/README.md b/civicrm/Civi/Esm/README.md new file mode 100644 index 0000000000000000000000000000000000000000..68048ef49c27ddb7ec49a19e2faa4ce840625d88 --- /dev/null +++ b/civicrm/Civi/Esm/README.md @@ -0,0 +1,185 @@ +# CiviCRM and ECMAScript Module Loading + +(*This page serves as draft documentation for functionality introduced circa v5.63. It can be migrated to devdocs later.*) + +ECMAScript Modules (ESMs) allow you to load a JS file based on a physical-path or a logical-path. Compare: + +```js +import { TableWidget } from 'https://example.com/sites/all/modules/civicrm/js/table-widget.js'; +import { TableWidget } from 'civicrm/js/tab-widget.js'; +``` + +CiviCRM source-trees may have a variety of file-structures, based on the hosting environment and local configuration. +Consequently, writing valid `import` statements for Civi-related code is much easier with logical-paths. They are +easier to read and easier to adapt. + +Logical-paths must be defined with an import-map. For native browser-based imports, it looks like: + +```html +<script type="importmap"> +{ + "import": { + "civicrm/": "https://example.com/sites/all/modules/civicrm" + } +} +</script> +``` + +The `importmap` data-structure is described further at: + +* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script/type/importmap +* https://github.com/WICG/import-maps + +Below, we consider a few perspectives on this functionality. + +## Extension development + +If you develop an extension which includes ESM files, then you may want to add items to the import-map: + +```php +function myext_civicrm_esmImportMap(\Civi\Esm\ImportMap $importMap): void { + $importMap->addPrefix('foo/', E::LONG_NAME, 'js/foo/'); + $importMap->addPrefix('bar/', E::LONG_NAME, 'packages/bar/dist/'); +} +``` + +Then, you can write JS code which imports from these logical-paths, e.g. + +```php +Civi::resources()->addModule(' + import { FooClass } from "foo/foo.dist.js"; // Maps to MY_EXTENSION/js/foo/foo.dist.js + import { barFunc } from "bar/bar.funcs.js"; // Maps to MY_EXTENSION/packages/bar/dist/bar.funcs.js + barFunc("Hello", new FooClass()); +'); +``` + +## Loader development + +The *loader* is responsible for reading the `$importMap` and making it available to the browser. There are +currently two loader implementations. The future may require more. But before discussing details, let's consider why. + +### State of the ecosystem + +At time of writing (early/mid-2023), adoption of browser-based imports/import-maps is in a middle stage: + +* We're coming out of a period where browser support was negligble. Heretofore, module-loading has been implemented by + a rotating cast of third-party loaders (Webpack, Rollup, SystemJS, RequireJS, etc). These have been awkward to + integrate with PHP application-frameworks (CiviCRM, Drupal, WordPress, etc) due to dependency/build/workflow issues. + +* All major browsers now publish stable-releases with native support for `module` and `importmap`. This provides a + better basis for PHP application-frameworks to use ESM. This is cause for optimism. The `importmap` model should + have good (and improving) support over time. However, older browsers are still around. + +* The PHP application-frameworks that we support (Drupal, WordPress, Joomla, Backdrop) have not yet defined services or + conventions for `importmap`s. Over time, each may adopt slightly different conventions. Additionally, these + frameworks are pluggable -- in absence of a framework-convention, other plugins may adopt their own conventions. + +* The browser standards provide a common model, and we should expect this model to influence future updates throughout + the ecosystem. But it doesn't guarantee interoperability within PHP ecosystem -- future releases (of any framework + or any plugin) could introduce incompatibilities. We cannot give good solutions for incompatibilities that don't + exist yet. + +* To my mind, the major risks are: + * Multiple parties may output `<script type="importmap">` tags. The browser only loads one of them. + * Multiple parties may define the same logical-prefix. For example, `lodash/` might be mapped to contradictory versions. + * Multiple parties may enable shims (polyfills). These shims may use different versions or contradictory options. + +In this middle stage, there is both promise and risk: We can now implement a simple mechanism for loading ESM that is +extension-friendly and that works across all our environments. But going-forward, it may require more tuning to +maintain compatibility with different environments. + +### Definition + +The *loader* is responsible for two tasks: + +1. Given that a specific page-view needs a specific ECMAScript Module, render the HTML necessary to load it. For example: + ```php + echo "<script type="module" src="$specificModule"></script>\n"; + ``` +2. Given that CiviCRM (as a whole; core+extensions) has defined an import-map, ensure that the import-map is properly + loaded so that recursive-dependencies may be resolved. For example: + ```php + $civicrmImportMap = json_encode(Civi::service('esm.import_map')->get()); + echo "<script type="importmap">\n{$civicrmImportMap>}</script>\n"; + ``` + +There are a few variations on how to perform these steps. Each variant defines a service `esm.loader.XXX` +(implemented in `Civi\Esm\XXX`). For example, these two are currently implemented: + +* `esm.loader.browser` (`Civi\Esm\BrowserLoader`): Use pure, browser-based loading with `<script type="module">` and `<script type="importmap">`. +* `esm.loader.shim-fast` (`Civi\Esm\ShimLoader`): Use [es-module-shims](https://github.com/guybedford/es-module-shims) as dynamic polyfill (with preference for browser-based loading). +* `esm.loader.shim-slow` (`Civi\Esm\ShimLoader`): Use [es-module-shims](https://github.com/guybedford/es-module-shims) with more guarantees of cross-browser functionality. + +Depending on the local settings/defaults, the _active loader_ will be available as `Civi::service('esm.loader')`. + +> Note: There are some trade-offs between `esm.loader.browser` (more performant) and `esm.loader.shim` (more compatible). However, this +> is not why the system has two implementations. To understand that, see "Conflict playbook" below.) + +### Conflict playbook + +At time of writing, no real conflicts have been identified between Civi ESM and UFs. However, as mentioned in "State +of the ecosystem", there is a risk of future conflict. + +If a conflict a rises, here are some interventions to consider: + +1. Switch any affected site to the *other* loader (whichever one you aren't using), e.g. + * Via `civicrm.setting.php`: `$civicrm_setting['domain']['esm_loader'] = 'browser';` + * Via `civicrm.setting.php`: `$civicrm_setting['domain']['esm_loader'] = 'shim';` + * Via `cv`: `cv vset esm_loader=browser` + * Via `cv`: `cv vset esm_loader=shim` + * Via browser console: `CRM.api3('Setting', 'create', {esm_loader: "browser"})` + * Via browser console: `CRM.api3('Setting', 'create', {esm_loader: "shim"})` +2. Develop another loader designed for this new environment. + +For example: + +* Suppose that, in Jan 2024, Drupal releases an update which adds a vanilla `importmap` (relying on standard browser support). We now have + a conflict between `esm.loader.browser` and Drupal's new map. Ideally, we would develop a new loader specifically for Drupal + (`esm.loader.drupal`), but that may take a few weeks or months. In the interim, Drupal admin's can set `CIVICRM_ESM_LOADER` to + `esm.loader.shim`. + +* Suppose that, in Feb 2024, WordPress releases an update which adds an `importmap` with `es-module-shims`. We now have web-pages which + load two different versions of `es-module-shims.js` (one from Civi; one from WP), which sounds like a conflict. Ideally, we would + develop a new loader specifically for WP (`esm.loader.wordpress`), but that may take a few weeks or months. In the interim, WP admin's + can set `CIVICRM_ESM_LOADER` to `esm.loader.browser`. + +### Future loaders + +Let's continue the hypothetical above: In Jan 2024, Drupal adds a vanilla `importmap`. Knowing Drupal, it will also add a variety of APIs +(hooks, annotations, YAML, etc) for registering items in their `importmap`. Here are some key steps that you may need to take: + +* Review `Civi\Esm\BrowserLoader` (`esm.loader.browser`) for reference. +* Review Drupal's new APIs and workflows for reference. +* Define a new implementation (`Civi\Esm\DrupalLoader`). + * Be sure to provide a service name (eg `@service esm.loader.drupal`) + * Be sure to provide a `renderModule()` method. +* Update the `esm_loader` setting to list the `drupal` option. +* Update the Civi-Drupal integration to use the `drupal` loader by default, e.g. + ```php + // FILE: CRM/Utils/System/Drupal.php + public function initialize() { + parent::initialize(); + Civi::dispatcher()->addListener('civi.esm.loader.default', function ($e) { + if (version_compare(DRUPAL_VERSION', '12.34', '>=')) { + $e->default = 'drupal'; + } + }); + } + ``` +* Update the Civi-Drupal integration to relay the import-map. For example, if you were very luck, this might be as simple as: + + ```php + // FILE: civicrm.module + + /** + * Implements hook_import_map_alter(). + */ + function civicrm_import_map_alter(&$drupalImportMaps) { + $civiImportMaps = Civi::service('esm.import_map')->get(); + $drupalImportMaps = array_merge($drupalImportMaps, $civiImportMaps); + } + ``` + + Of course, it will probably be more involved. You will need to review the actual contracts on the Drupal side + (e.g. `hook_import_map_alter`) and the Civi side (e.g. `Civi::service('esm.import_map')->get()`) before deciding + how to merge them. diff --git a/civicrm/Civi/Esm/ShimLoader.php b/civicrm/Civi/Esm/ShimLoader.php new file mode 100644 index 0000000000000000000000000000000000000000..f273fd1cd85d8f663021d5fa822b3084f4a80104 --- /dev/null +++ b/civicrm/Civi/Esm/ShimLoader.php @@ -0,0 +1,105 @@ +<?php + +namespace Civi\Esm; + +use Civi; +use Symfony\Component\EventDispatcher\EventSubscriberInterface; + +/** + * The ShimLoader leverages `es-module-shims` for loading ECMAScript Modules (ESM's). + * + * @link https://github.com/guybedford/es-module-shims + * + * ShimLoader is very similar to BrowserLoader. It adds more backward compatibility + * (e.g. Safari 10 vs 16; Firefox 60 vs 108) and more features (e.g. "JSON Modules"), but + * it also incurs more runtime overhead. + * + * ShimLoader works by: + * + * 1. Adding the extra `es-module-shims.js` file. + * 2. Swapping HTML tags to prefer shim-loading. + * -<script type='importmap'> + * +<script type='importmap-shim'> + * -<script type='module'> + * +<script type='module-shim'> + * + * The current implementation prefers the shim-based loader regardless of the extent of browser + * support. This ensures consistent functionality on all browsers, but it also makes the overhead + * mandatory. + * + * For a fuller description of this mechanism, see the neighboring README. + * + * @see \Civi\Esm\BrowserLoader + * @see ./README.md + */ +class ShimLoader extends \Civi\Core\Service\AutoService implements EventSubscriberInterface { + + use BasicLoaderTrait; + + /** + * List of supported script types. + * + * @var array + * Ex: ['importmap' => 'importmap-shim', 'module' => 'module-shim']; + */ + protected $scriptTypes; + + /** + * Load the importmap with `es-module-shims`. Allow it to auto-detect browser support for ESM. + * + * For browsers that support ESM, this should allow faster execution. However, there may be + * small variations or missing features in specific browser implementations. + * + * @service esm.loader.shim-fast + * @return \Civi\Esm\ShimLoader + */ + public static function createFashShim() { + $loader = new static(); + $loader->scriptTypes = ['importmap' => 'importmap', 'module' => 'module']; + return $loader; + } + + /** + * In this flavor, we use `es-module-shims`. We force it to use "shim mode". + * + * This should provide the most consistent functionality across browser implementations, but + * there may be a performance penalty. + * + * @service esm.loader.shim-slow + * @return \Civi\Esm\ShimLoader + */ + public static function createSlowShim() { + $loader = new static(); + $loader->scriptTypes = ['importmap' => 'importmap-shim', 'module' => 'module-shim']; + return $loader; + } + + /** + * @inheritDoc + */ + protected function renderImportMap(array $importMap): string { + $shimUrl = Civi::paths()->getUrl('[civicrm.bower]/es-module-shims/dist/es-module-shims.js'); + $shimHtml = sprintf("<script async src='%s'></script>\n", htmlentities($shimUrl)); + + $flags = JSON_UNESCAPED_SLASHES; + if (Civi::settings()->get('debug_enabled')) { + $flags |= JSON_PRETTY_PRINT; + } + return $shimHtml . sprintf("<script type='%s'>\n%s\n</script>", htmlentities($this->scriptTypes['importmap']), json_encode($importMap, $flags)); + } + + /** + * @inheritDoc + */ + protected function renderModuleScript(array $snippet): string { + return sprintf("<script type=\"%s\">\n%s\n</script>\n", htmlentities($this->scriptTypes['module']), $snippet['script']); + } + + /** + * @inheritDoc + */ + protected function renderModuleUrl(array $snippet): string { + return sprintf("<script type=\"%s\" src=\"%s\">\n</script>\n", htmlentities($this->scriptTypes['module']), $snippet['scriptUrl']); + } + +} diff --git a/civicrm/Civi/Schema/Traits/OptionsSpecTrait.php b/civicrm/Civi/Schema/Traits/OptionsSpecTrait.php index aebe2694bfdad7c52131a1c089c7575c7fa14754..22df97adb842bc921502c8064f1dbc1e823ad087 100644 --- a/civicrm/Civi/Schema/Traits/OptionsSpecTrait.php +++ b/civicrm/Civi/Schema/Traits/OptionsSpecTrait.php @@ -35,6 +35,11 @@ trait OptionsSpecTrait { */ private $optionsCallback; + /** + * @var array + */ + private $optionsCallbackParams = []; + /** * @param array $values * @param array|bool $return @@ -45,7 +50,7 @@ trait OptionsSpecTrait { public function getOptions($values = [], $return = TRUE, $checkPermissions = TRUE) { if (!isset($this->options)) { if ($this->optionsCallback) { - $this->options = ($this->optionsCallback)($this, $values, $return, $checkPermissions); + $this->options = ($this->optionsCallback)($this, $values, $return, $checkPermissions, $this->optionsCallbackParams); } else { $this->options = FALSE; @@ -76,11 +81,15 @@ trait OptionsSpecTrait { /** * @param callable $callback - * + * Function to be called, will receive the following arguments: + * ($this, $values, $returnFormat, $checkPermissions, $params) + * @param array $params + * Array of optional extra data; sent as 5th argument to the callback * @return $this */ - public function setOptionsCallback($callback) { + public function setOptionsCallback($callback, array $params = []) { $this->optionsCallback = $callback; + $this->optionsCallbackParams = $params; return $this; } diff --git a/civicrm/Civi/Test/Api4TestTrait.php b/civicrm/Civi/Test/Api4TestTrait.php index 1f9b9e2ba73541f38f5866454b4e36562497521f..4e5cf31e696878c5bbac4303eff9e4e96648c01c 100644 --- a/civicrm/Civi/Test/Api4TestTrait.php +++ b/civicrm/Civi/Test/Api4TestTrait.php @@ -25,7 +25,7 @@ trait Api4TestTrait { * * @var array */ - private $testRecords = []; + protected $testRecords = []; /** * Inserts a test record, supplying all required values if not provided. @@ -66,6 +66,10 @@ trait Api4TestTrait { * @noinspection PhpUnhandledExceptionInspection */ public function saveTestRecords(string $entityName, array $saveParams): Result { + // Shortcut for creating a bunch of records + if (is_int($saveParams['records'])) { + $saveParams['records'] = array_fill(0, $saveParams['records'], []); + } $saveParams += [ 'checkPermissions' => FALSE, 'defaults' => [], diff --git a/civicrm/Civi/Test/ContactTestTrait.php b/civicrm/Civi/Test/ContactTestTrait.php index 0242c8380122e13892e1d9bcac9a2fd5dbd0364b..39ae9acb8ac97723df975be6bd837540ab75a701 100644 --- a/civicrm/Civi/Test/ContactTestTrait.php +++ b/civicrm/Civi/Test/ContactTestTrait.php @@ -56,18 +56,18 @@ trait ContactTestTrait { * * @param array $params * parameters for civicrm_contact_add api function call - * @param int $seq - * sequence number if creating multiple organizations + * @param int|string $identifier + * If the identifier is numeric (discouraged) it will affect which contact is loaded. + * Numeric identifiers and values for random other than FALSE are generally + * discouraged in favour if specifying data in params where variety is needed. * * @return int * id of Organisation created */ - public function organizationCreate($params = [], $seq = 0): int { - if (!$params) { - $params = []; - } + public function organizationCreate(array $params = [], $identifier = 'organization_0'): int { + $seq = is_numeric($identifier) ? $identifier : 0; $params = array_merge($this->sampleContact('Organization', $seq), $params); - return $this->_contactCreate($params); + return $this->_contactCreate($params, $identifier); } /** @@ -75,17 +75,21 @@ trait ContactTestTrait { * * @param array $params * parameters for civicrm_contact_add api function call - * @param int $seq - * sequence number if creating multiple individuals + * @param int|string $identifier + * If the identifier is numeric (discouraged) it will affect which contact is loaded. + * Numeric identifiers and values for random other than FALSE are generally + * discouraged in favour if specifying data in params where variety is needed. * @param bool $random + * Random is deprecated. * * @return int * id of Individual created */ - public function individualCreate(array $params = [], $seq = 0, $random = FALSE): int { + public function individualCreate(array $params = [], $identifier = 'individual_0', bool $random = FALSE): int { + $seq = is_numeric($identifier) ? $identifier : 0; $params = array_merge($this->sampleContact('Individual', $seq, $random), $params); - $this->ids['Contact']['individual_' . $seq] = $this->_contactCreate($params); - return $this->ids['Contact']['individual_' . $seq]; + $this->_contactCreate($params, $identifier); + return $this->ids['Contact'][$identifier]; } /** @@ -93,17 +97,18 @@ trait ContactTestTrait { * * @param array $params * parameters for civicrm_contact_add api function call - * @param int $seq - * sequence number if creating multiple households + * @param int|string $identifier + * If the identifier is numeric (discouraged) it will affect which contact is loaded. + * Numeric identifiers and values for random other than FALSE are generally + * discouraged in favour if specifying data in params where variety is needed. * * @return int * id of Household created - * - * @throws \CRM_Core_Exception */ - public function householdCreate($params = [], $seq = 0) { + public function householdCreate(array $params = [], $identifier = 'household_0'): int { + $seq = is_numeric($identifier) ? $identifier : 0; $params = array_merge($this->sampleContact('Household', $seq), $params); - return $this->_contactCreate($params); + return $this->_contactCreate($params, $identifier); } /** @@ -118,7 +123,7 @@ trait ContactTestTrait { * @return array * properties of sample contact (ie. $params for API call) */ - public function sampleContact($contact_type, $seq = 0, $random = FALSE) { + public function sampleContact(string $contact_type, int $seq = 0, bool $random = FALSE): array { $samples = [ 'Individual' => [ // The number of values in each list need to be coprime numbers to not have duplicates @@ -143,10 +148,10 @@ trait ContactTestTrait { foreach ($samples[$contact_type] as $key => $values) { $params[$key] = $values[$seq % count($values)]; if ($random) { - $params[$key] .= substr(sha1(rand()), 0, 5); + $params[$key] .= substr(sha1(mt_rand()), 0, 5); } } - if ($contact_type == 'Individual') { + if ($contact_type === 'Individual') { $params['email'] = strtolower( $params['first_name'] . '_' . $params['last_name'] . '@civicrm.org' ); @@ -161,15 +166,17 @@ trait ContactTestTrait { * * @param array $params * For civicrm_contact_add api function call. + * @param string $identifier * * @return int * id of contact created */ - private function _contactCreate(array $params): int { + private function _contactCreate(array $params, string $identifier = 'Contact'): int { $version = $this->_apiversion; $this->_apiversion = 3; - $result = $this->callAPISuccess('contact', 'create', $params); + $result = $this->callAPISuccess('Contact', 'create', $params); $this->_apiversion = $version; + $this->ids['Contact'][$identifier] = (int) $result['id']; return (int) $result['id']; } @@ -179,7 +186,7 @@ trait ContactTestTrait { * @param int $contactID * Contact ID to delete */ - public function contactDelete($contactID) { + public function contactDelete($contactID): void { $domain = new \CRM_Core_BAO_Domain(); $domain->contact_id = $contactID; if (!$domain->find(TRUE)) { diff --git a/civicrm/Civi/Test/EventTestTrait.php b/civicrm/Civi/Test/EventTestTrait.php new file mode 100644 index 0000000000000000000000000000000000000000..33b8d5e76e3506f1c81d03bd7f45209254862cbf --- /dev/null +++ b/civicrm/Civi/Test/EventTestTrait.php @@ -0,0 +1,394 @@ +<?php +/* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ + */ + +namespace Civi\Test; + +use Civi\Api4\Event; +use Civi\Api4\ExampleData; +use Civi\Api4\PriceField; +use Civi\Api4\PriceFieldValue; +use Civi\Api4\PriceSet; +use Civi\Api4\PriceSetEntity; +use Civi\Api4\UFField; +use Civi\Api4\UFGroup; +use Civi\Api4\UFJoin; + +/** + * Helper for event tests. + * + * WARNING - this trait ships with core from 5.63 but I wasn't able to resolve + * all the core tests onto it for 5.63 - hence the signatures may not yet be stable + * and it is worth assuming that they will not be stable until 5.65. + * + * This provides functions to set up valid events + * for unit tests. + * + * The primary functions in this class are + * - `eventCreatePaid` + * - `eventCreateUnpaid` + * + * Calling these function will create events with associated + * profiles and price set data as appropriate. + */ +trait EventTestTrait { + + /** + * Array of IDs created to support the test. + * + * e.g + * $this->ids = ['Event' => ['descriptive_key' => $eventID], 'Group' => [$groupID]]; + * + * @var array + */ + protected $ids = []; + + /** + * Records created which will be deleted during tearDown + * + * @var array + */ + protected $testRecords = []; + + /** + * Track tables we have modified during a test. + * + * Set up functions that add entities can register the relevant tables here for + * the cleanup process. + * + * @var array + */ + protected $tablesToCleanUp = []; + + /** + * Create a paid event. + * + * @param array $eventParameters + * Values to + * + * @param array $priceSetParameters + * + * @param string $identifier + * Index for storing event ID in ids array. + * + * @return array + */ + protected function eventCreatePaid(array $eventParameters = [], array $priceSetParameters = [], string $identifier = 'PaidEvent'): array { + $eventParameters = array_merge($this->getEventExampleData(), $eventParameters); + $event = $this->eventCreate($eventParameters, $identifier); + if (array_keys($priceSetParameters) !== ['id']) { + try { + $this->eventCreatePriceSet([], $identifier); + $this->setTestEntityID('PriceSetEntity', PriceSetEntity::create(FALSE) + ->setValues([ + 'entity_table' => 'civicrm_event', + 'entity_id' => $event['id'], + 'price_set_id' => $this->ids['PriceSet'][$identifier], + ]) + ->execute() + ->first()['id'], $identifier); + } + + catch (\CRM_Core_Exception $e) { + $this->fail('Failed to create PriceSetEntity: ' . $e->getMessage()); + } + } + return $event; + } + + /** + * Create a paid event. + * + * @param array $eventParameters + * Values to + * + * @param string $identifier + * Index for storing event ID in ids array. + * + * @return array + */ + protected function eventCreateUnpaid(array $eventParameters = [], string $identifier = 'event'): array { + $eventParameters = array_merge($this->getEventExampleData(), $eventParameters); + $eventParameters['is_monetary'] = FALSE; + return $this->eventCreate($eventParameters, $identifier); + } + + /** + * Set the test entity on the class for access. + * + * This follows the ids patter and also the api4TestTrait pattern. + * + * @param string $entity + * @param array $values + * @param string $identifier + */ + protected function setTestEntity(string $entity, array $values, string $identifier): void { + $this->ids[$entity][$identifier] = $values['id']; + $this->testRecords[] = [$entity, [[$values['id'] => $values]]]; + $tableName = \CRM_Core_DAO_AllCoreTables::getTableForEntityName($entity); + $this->tablesToCleanUp[$tableName] = $tableName; + } + + /** + * @param string $entity + * @param int $id + * @param string $identifier + */ + protected function setTestEntityID(string $entity, int $id, string $identifier): void { + $this->setTestEntity($entity, ['id' => $id], $identifier); + } + + /** + * Get the event id of the event created in set up. + * + * If only one has been created it will be selected. Otherwise + * you should pass in the appropriate identifier. + * + * @param string $identifier + * + * @return int + */ + protected function getEventID(string $identifier = 'event'): int { + if (isset($this->ids['Event'][$identifier])) { + return $this->ids['Event'][$identifier]; + } + if (count($this->ids['Event']) === 1) { + return reset($this->ids['Event']); + } + $this->fail('Could not identify event ID'); + // Unreachable but reduces IDE noise. + return 0; + } + + /** + * Get a value from an event used in setup. + * + * @param string $value + * @param string $identifier + * + * @return mixed|null + */ + protected function getEventValue(string $value, string $identifier) { + return $this->getEvent($identifier)[$value] ?? NULL; + } + + /** + * This retrieves the values used to create the event. + * + * Note this does not actually retrieve the event from the database + * although it arguably might be more useful. + * + * @param string $identifier + * + * @return array + */ + protected function getEvent(string $identifier): array { + foreach ($this->testRecords as $record) { + if ($record[0] === 'Event') { + $values = $record[1][0] ?? []; + if ($this->getEventID($identifier) === array_key_first($values)) { + return (reset($values)); + } + } + } + return []; + } + + /** + * Create an Event. + * + * Note this is not expected to be called directly - call + * - eventCreatePaid + * - eventCreateUnpaid + * + * @param array $params + * Name-value pair for an event. + * @param string $identifier + * + * @return array + */ + protected function eventCreate(array $params = [], string $identifier = 'event'): array { + try { + $event = Event::create(FALSE)->setValues($params)->execute()->first(); + $this->setTestEntity('Event', $event, $identifier); + $this->addProfilesToEvent($identifier); + return $event; + } + catch (\CRM_Core_Exception $e) { + $this->fail('Event creation failed with error ' . $e->getMessage()); + } + // Unreachable but reduces IDE noise. + return []; + } + + /** + * Get example data with which to create the event. + * + * @param string $name + * + * @return array + */ + protected function getEventExampleData(string $name = 'PaidEvent'): array { + try { + $data = ExampleData::get(FALSE) + ->addSelect('data') + ->addWhere('name', '=', 'entity/Event/' . $name) + ->execute()->first()['data']; + unset($data['id']); + return $data; + } + catch (\CRM_Core_Exception $e) { + $this->fail('Event example data retrieval failed with error ' . $e->getMessage()); + } + // Unreachable but reduces IDE noise. + return []; + } + + /** + * Add profiles to the event. + * + * This function is designed to reflect the + * normal use case where events do have profiles. + * + * Note if any classes do not want profiles, or want something different, + * the thinking is they should override this. Once that arises we can review + * making it protected rather than private & checking we are happy with the + * signature. + * + * @param string $identifier + * + * @throws \CRM_Core_Exception + */ + private function addProfilesToEvent(string $identifier = 'event'): void { + $profiles = [ + ['name' => '_pre', 'title' => 'Event Pre Profile', 'weight' => 1, 'fields' => ['email']], + ['name' => '_post', 'title' => 'Event Post Profile', 'weight' => 2, 'fields' => ['first_name', 'last_name']], + ['name' => '_post_post', 'title' => 'Event Post Post Profile', 'weight' => 3, 'fields' => ['job_title']], + ]; + foreach ($profiles as $profile) { + $this->createEventProfile($profile, $identifier); + if ($this->getEventValue('is_multiple_registrations', $identifier)) { + $this->createEventProfile($profile, $identifier, TRUE); + } + } + } + + /** + * Create a profile attached to an event. + * + * @param array $profile + * @param string $identifier + * @param bool $isAdditional + * + * @throws \CRM_Core_Exception + */ + private function createEventProfile(array $profile, string $identifier, bool $isAdditional = FALSE): void { + $profileName = $identifier . ($isAdditional ? $profile['name'] . '_additional' : $profile['name']); + $profileIdentifier = $profileName . '_' . $identifier; + $additionalSuffix = $isAdditional ? ' (Additional) ' : ''; + try { + $this->setTestEntity('UFGroup', UFGroup::create(FALSE)->setValues([ + 'group_type' => 'Individual,Contact', + 'name' => $profileName, + 'title' => $profile['title'] . $additionalSuffix, + 'frontend_title' => 'Public ' . $profile['title'] . $additionalSuffix, + ])->execute()->first(), + $profileIdentifier); + } + catch (\CRM_Core_Exception $e) { + $this->fail('UF group creation failed for ' . $profileName . ' with error ' . $e->getMessage()); + } + foreach ($profile['fields'] as $field) { + $this->setTestEntity('UFField', UFField::create(FALSE) + ->setValues([ + 'uf_group_id:name' => $profileName, + 'field_name' => $field, + 'label' => $field, + ]) + ->execute() + ->first(), $field . '_' . $profileIdentifier); + } + try { + $this->setTestEntity('UFJoin', UFJoin::create(FALSE)->setValues([ + 'module' => $additionalSuffix ? 'CiviEvent_Additional' : 'CiviEvent', + 'uf_group_id:name' => $profileName, + 'entity_id' => $this->getEventID($identifier), + ])->execute()->first(), $profileIdentifier); + } + catch (\CRM_Core_Exception $e) { + $this->fail('UF join creation failed for UF Group ' . $profileName . ' with error ' . $e->getMessage()); + } + } + + /** + * Create a price set for an event. + * + * @param array $priceSetParameters + * @param string $identifier + * + * @throws \CRM_Core_Exception + */ + private function eventCreatePriceSet(array $priceSetParameters, string $identifier): void { + $priceSetParameters = array_merge($priceSetParameters, [ + 'min_amount' => 0, + 'title' => 'Fundraising dinner', + 'name' => 'fundraising_dinner', + 'extends:name' => 'CiviEvent', + 'financial_type_id:name' => 'Event Fee', + ]); + + $this->setTestEntityID('PriceSet', PriceSet::create(FALSE)->setValues($priceSetParameters)->execute()->first()['id'], $identifier); + $this->setTestEntityID('PriceField', PriceField::create(FALSE)->setValues([ + 'label' => 'Fundraising Dinner', + 'name' => 'fundraising_dinner', + 'html_type' => 'Radio', + 'is_display_amounts' => 1, + 'options_per_line' => 1, + 'price_set_id' => $this->ids['PriceSet'][$identifier], + 'is_enter_qty' => 1, + 'financial_type_id:name' => 'Event Fee', + ])->execute()->first()['id'], $identifier); + + foreach ($this->getPriceFieldOptions() as $optionIdentifier => $priceFieldOption) { + $this->setTestEntityID('PriceFieldValue', PriceFieldValue::create(FALSE)->setValues( + array_merge([ + 'price_field_id' => $this->ids['PriceField'][$identifier], + 'financial_type_id:name' => 'Event Fee', + ], $priceFieldOption), + )->execute()->first()['id'], $identifier . '_' . $optionIdentifier); + } + } + + /** + * Get the options for the price set. + * + * @param string $identifier Optional string if we want to specify different + * options. This is not currently used but is consistent with our other + * functions and would allow over-riding. + * + * @return array[] + * + * @throws \CRM_Core_Exception + */ + protected function getPriceFieldOptions(string $identifier = 'PaidEvent'): array { + if ($identifier !== 'PaidEvent') { + throw new \CRM_Core_Exception('Only paid event currently supported'); + } + return [ + 'free' => ['name' => 'free', 'label' => 'Complementary', 'amount' => 0], + 'student' => ['name' => 'student', 'label' => 'Student Rate', 'amount' => 100], + 'student_plus' => ['name' => 'student_plus', 'label' => 'Student Deluxe', 'amount' => 200], + 'standard' => ['name' => 'standard', 'label' => 'Standard Rate', 'amount' => 300], + 'family_package' => ['name' => 'family_package', 'label' => 'Family Deal', 'amount' => 1550.55], + 'corporate_table' => ['name' => 'corporate_table', 'label' => 'Corporate Table', 'amount' => 8000.67], + ]; + } + +} diff --git a/civicrm/Civi/Test/ExampleData/Contact/Alex.php b/civicrm/Civi/Test/ExampleData/Contact/Alex.php index 9b4e155db0e61ecf544a6562a7169aad5764225b..cea8f09cd5a74128819dc7ee05cbb1f8859a3734 100644 --- a/civicrm/Civi/Test/ExampleData/Contact/Alex.php +++ b/civicrm/Civi/Test/ExampleData/Contact/Alex.php @@ -47,31 +47,9 @@ class Alex extends EntityExample { 'household_name' => NULL, 'organization_name' => NULL, 'sic_code' => NULL, - 'contact_is_deleted' => '0', - 'current_employer' => NULL, - 'address_id' => NULL, - 'street_address' => NULL, - 'supplemental_address_1' => NULL, - 'supplemental_address_2' => NULL, - 'supplemental_address_3' => NULL, - 'city' => NULL, - 'postal_code_suffix' => NULL, - 'postal_code' => NULL, - 'state_province_id' => NULL, - 'country_id' => NULL, - 'phone_id' => '7', 'phone_type_id' => '1', - 'phone' => '293-6934', - 'email_id' => '7', - 'email' => 'daz.alex67@testing.net', - 'im_id' => NULL, - 'provider_id' => NULL, - 'im' => NULL, - 'worldregion_id' => NULL, - 'world_region' => NULL, - 'state_province_name' => NULL, - 'state_province' => NULL, - 'country' => NULL, + 'phone_primary.phone' => '293-6934', + 'email_primary.email' => 'daz.alex67@testing.net', ]; } diff --git a/civicrm/Civi/Test/ExampleData/Contact/Barb.php b/civicrm/Civi/Test/ExampleData/Contact/Barb.php index 3044a098c44d5c3780e78b147e84e8e546cbda3c..902bae423245df370b3d1314ccae7a93601f1aee 100644 --- a/civicrm/Civi/Test/ExampleData/Contact/Barb.php +++ b/civicrm/Civi/Test/ExampleData/Contact/Barb.php @@ -44,30 +44,10 @@ class Barb extends EntityExample { 'birth_date' => '1999-05-11', 'is_deceased' => '0', 'deceased_date' => NULL, - 'household_name' => NULL, 'organization_name' => NULL, - 'sic_code' => NULL, - 'contact_is_deleted' => '0', - 'current_employer' => NULL, - 'address_id' => NULL, - 'street_address' => NULL, - 'supplemental_address_1' => NULL, - 'supplemental_address_2' => NULL, - 'supplemental_address_3' => NULL, - 'city' => NULL, - 'postal_code_suffix' => NULL, - 'postal_code' => NULL, - 'geo_code_1' => NULL, - 'geo_code_2' => NULL, - 'state_province_id' => NULL, - 'country_id' => NULL, - 'phone_id' => '7', - 'phone_type_id' => '1', - 'phone' => '393-7924', - 'email_id' => '7', - 'email' => 'barb@testing.net', - 'worldregion_id' => NULL, - 'world_region' => NULL, + 'phone_primary.phone_type_id' => 1, + 'phone_primary.phone' => '393-7924', + 'email_primary.email' => 'barb@testing.net', 'email_greeting_display' => 'Dear Barb', 'postal_greeting_display' => 'Dear Barb', ]; diff --git a/civicrm/Civi/Test/ExampleData/Event/PaidEvent.php b/civicrm/Civi/Test/ExampleData/Event/PaidEvent.php new file mode 100644 index 0000000000000000000000000000000000000000..39bd2c3cf74bdce0dc24f79f1bb311f2fd88fac1 --- /dev/null +++ b/civicrm/Civi/Test/ExampleData/Event/PaidEvent.php @@ -0,0 +1,44 @@ +<?php + +namespace Civi\Test\ExampleData\Event; + +use Civi\Test\EntityExample; + +class PaidEvent extends EntityExample { + + public function getExamples(): iterable { + yield [ + 'name' => 'entity/' . $this->entityName . '/' . $this->getExampleName(), + ]; + } + + public function build(array &$example): void { + $example['data'] = [ + 'id' => 0, + 'title' => 'Annual CiviCRM meet', + 'summary' => 'If you have any CiviCRM related issues or want to track where CiviCRM is heading, Sign up now', + 'description' => 'This event is intended to give brief idea about progress of CiviCRM and giving solutions to common user issues', + 'event_type_id' => 1, + 'is_public' => TRUE, + 'start_date' => 20081021, + 'end_date' => '+ 1 month', + 'is_online_registration' => TRUE, + 'registration_start_date' => 20080601, + 'registration_end_date' => '+ 1 month', + 'is_multiple_registrations' => TRUE, + 'max_participants' => 5, + 'event_full_text' => 'Sorry! We are already full', + 'is_monetary' => TRUE, + 'financial_type_id:name' => 'Event Fee', + 'is_active' => 1, + 'default_role_id' => 1, + 'is_show_location' => TRUE, + 'is_email_confirm' => 1, + 'is_pay_later' => TRUE, + 'pay_later_text' => 'Transfer funds', + 'pay_later_receipt' => 'Please transfer funds to our bank account.', + 'fee_label' => 'Event fees', + ]; + } + +} diff --git a/civicrm/Civi/Token/TokenCompatSubscriber.php b/civicrm/Civi/Token/TokenCompatSubscriber.php index b349f9c3808c4cfa2464ecf64ed38e18ae378ad4..7aad811eac0f1688a0683ba4822ae411aa5cc629 100644 --- a/civicrm/Civi/Token/TokenCompatSubscriber.php +++ b/civicrm/Civi/Token/TokenCompatSubscriber.php @@ -72,7 +72,7 @@ class TokenCompatSubscriber implements EventSubscriberInterface { foreach ($e->context['smartyTokenAlias'] ?? [] as $smartyName => $tokenName) { $tokenParts = explode('|', $tokenName); $modifier = $tokenParts[1] ?? ''; - $smartyVars[$smartyName] = \CRM_Utils_Array::pathGet($e->row->tokens, explode('.', $tokenParts[0]), $e->context['locale'] ?? NULL); + $smartyVars[$smartyName] = \CRM_Utils_Array::pathGet($e->row->tokens, explode('.', $tokenParts[0]), ''); if ($smartyVars[$smartyName] instanceof \Brick\Money\Money) { // TODO: We should reuse the filters from TokenProcessor::filterTokenValue() if ($modifier === 'crmMoney') { diff --git a/civicrm/Civi/Token/TokenProcessor.php b/civicrm/Civi/Token/TokenProcessor.php index 2472f03b4e0c72ca8d70b28bac8cf14e2fc5d98d..c19ca59aef7c170a425349ef1a2b815c2c3ffb15 100644 --- a/civicrm/Civi/Token/TokenProcessor.php +++ b/civicrm/Civi/Token/TokenProcessor.php @@ -479,11 +479,15 @@ class TokenProcessor { case 'crmMoney': return \Civi::format()->money($value->getAmount(), $value->getCurrency()); + case 'boolean': + // We resolve boolean to 0 or 1 or smarty chokes on FALSE. + return (int) $value->getAmount()->isGreaterThan(0); + case 'raw': return $value->getAmount(); default: - throw new \CRM_Core_Exception("Invalid token filter: " . json_encode($filter, JSON_UNESCAPED_SLASHES)); + throw new \CRM_Core_Exception('Invalid token filter: ' . json_encode($filter, JSON_UNESCAPED_SLASHES)); } } diff --git a/civicrm/Civi/WorkflowMessage/GenericWorkflowMessage.php b/civicrm/Civi/WorkflowMessage/GenericWorkflowMessage.php index 9d2d3bdf1a0490167899f10c5f9c3df1c203352c..7eb6a59b1cf9126a08ce0d148e5f984c6eb4dc6c 100644 --- a/civicrm/Civi/WorkflowMessage/GenericWorkflowMessage.php +++ b/civicrm/Civi/WorkflowMessage/GenericWorkflowMessage.php @@ -21,8 +21,8 @@ use Civi\WorkflowMessage\Traits\ReflectiveWorkflowTrait; /** * Generic base-class for describing the inputs for a workflow email template. * - * @method $this setContactId(int|null $contactId) - * @method int|null getContactId() + * @method $this setContactID(int|null $contactID) + * @method int|null getContactID() * @method $this setContact(array|null $contact) * @method array|null getContact() * @@ -64,10 +64,10 @@ class GenericWorkflowMessage implements WorkflowMessageInterface { * The contact receiving this message. * * @var int|null - * @scope tokenContext, tplParams as contactID + * @scope tokenContext as contactId, tplParams as contactID * @fkEntity Contact */ - protected $contactId; + protected $contactID; /** * @var array|null @@ -82,7 +82,7 @@ class GenericWorkflowMessage implements WorkflowMessageInterface { * @see ReflectiveWorkflowTrait::validate() */ protected function validateExtra_contact(array &$errors) { - if (empty($this->contactId) && empty($this->contact['id'])) { + if (empty($this->contactID) && empty($this->contact['id'])) { $errors[] = [ 'severity' => 'error', 'fields' => ['contactId', 'contact'], @@ -90,7 +90,7 @@ class GenericWorkflowMessage implements WorkflowMessageInterface { 'message' => ts('Message template requires one of these fields (%1)', ['contactId, contact']), ]; } - if (!empty($this->contactId) && !empty($this->contact)) { + if (!empty($this->contactID) && !empty($this->contact)) { $errors[] = [ 'severity' => 'warning', 'fields' => ['contactId', 'contact'], diff --git a/civicrm/ang/api4Explorer/Explorer.js b/civicrm/ang/api4Explorer/Explorer.js index 894de01ef3580a454f85d6f1ba5328915270c23e..5f031ca28b6af42136c027dfc647f918936a6a8c 100644 --- a/civicrm/ang/api4Explorer/Explorer.js +++ b/civicrm/ang/api4Explorer/Explorer.js @@ -1025,7 +1025,8 @@ } $.each(val, function(k, v) { var ts = localizable && localizable.includes(k) && _.isString(v) && v.length ? 'E::ts(' : ''; - ret += (ret ? ', ' : '') + newLine + indent + "'" + k + "' => " + ts + phpFormat(v, indentChild, indentChildren, localizable) + (ts ? ')' : ''); + var leadingComma = !ret ? '' : (newLine ? ',' : ', '); + ret += leadingComma + newLine + indent + "'" + k + "' => " + ts + phpFormat(v, indentChild, indentChildren, localizable) + (ts ? ')' : ''); }); return '[' + ret + trailingComma + newLine + baseLine + ']'; } @@ -1034,7 +1035,8 @@ return '[]'; } $.each(val, function(k, v) { - ret += (ret ? ', ' : '') + newLine + indent + phpFormat(v, indentChild, indentChildren, localizable); + var leadingComma = !ret ? '' : (newLine ? ',' : ', '); + ret += leadingComma + newLine + indent + phpFormat(v, indentChild, indentChildren, localizable); }); return '[' + ret + trailingComma + newLine + baseLine + ']'; } diff --git a/civicrm/ang/crmCaseType/edit.html b/civicrm/ang/crmCaseType/edit.html index 47e3f3c13f3acfcbe1adcd8be7e2c654122b9759..d4969d04bcc08526c73abe75dab473289d9b6e19 100644 --- a/civicrm/ang/crmCaseType/edit.html +++ b/civicrm/ang/crmCaseType/edit.html @@ -19,7 +19,7 @@ Required vars: caseType <li><a href="#acttab-statuses">{{:: ts('Case Statuses') }}</a></li> <li><a href="#acttab-actType">{{:: ts('Activity Types') }}</a></li> <li ng-repeat="activitySet in caseType.definition.activitySets"> - <a href="#acttab-{{$index}}" class="crmCaseType-editable"> + <a ng-href="#acttab-{{$index}}" class="crmCaseType-editable"> <div crm-editable-tab-title title="{{:: ts('Click to edit') }}"> <span>{{ activitySet.label }}</span> </div> diff --git a/civicrm/ang/crmMailing/Recipients.js b/civicrm/ang/crmMailing/Recipients.js index 518f6075cb8db3510b85322e93194f4b4607a070..133efacdcacb3fc7e35a1031201d637bc36833b8 100644 --- a/civicrm/ang/crmMailing/Recipients.js +++ b/civicrm/ang/crmMailing/Recipients.js @@ -222,7 +222,7 @@ break; case 'civicrm_mailing': - filterParams = { is_hidden: 0, is_active: 1 }; + filterParams = { is_hidden: 0, is_active: 1, id: {"!=": scope.$parent.mailing.id} }; break; } var params = { diff --git a/civicrm/ang/crmMailing/ViewRecipCtrl.js b/civicrm/ang/crmMailing/ViewRecipCtrl.js index d72793fdb66fe9776320e56cd346d51d46d39123..5d137ce6038f94c1db05248262ccb421633a6fb1 100644 --- a/civicrm/ang/crmMailing/ViewRecipCtrl.js +++ b/civicrm/ang/crmMailing/ViewRecipCtrl.js @@ -57,7 +57,7 @@ CRM.api3('Mailing', 'get', {'id': {"IN": mids}}).then(function(result) { _.each(result.values, function(mail) { if (_.isEmpty(_.where(civimails, {id: parseInt(mail.id)}))) { - civimails.push({id: parseInt(mail.id), name: mail.label}); + civimails.push({id: parseInt(mail.id), name: mail.name}); } }); CRM.crmMailing.civiMails = civimails; diff --git a/civicrm/ang/crmMailing/services.js b/civicrm/ang/crmMailing/services.js index f4598c5b374da4ed8043a16aff2b38f9dd20ff30..6db1484af5a9b20d49971e236fde24f5722dcb3e 100644 --- a/civicrm/ang/crmMailing/services.js +++ b/civicrm/ang/crmMailing/services.js @@ -453,6 +453,8 @@ .then(function (content) { var options = CRM.utils.adjustDialogDefaults({ autoOpen: false, + height: '90%', + width: '800px', title: ts('Subject: %1', { 1: content.subject }) diff --git a/civicrm/ang/crmMailingAB/EditCtrl/report.html b/civicrm/ang/crmMailingAB/EditCtrl/report.html index 8595172d5e14693ec1f64c538bd5fa1e363ea5e5..2ef6d146e3a7e009ddad5a9b256fce5a260bd898 100644 --- a/civicrm/ang/crmMailingAB/EditCtrl/report.html +++ b/civicrm/ang/crmMailingAB/EditCtrl/report.html @@ -122,7 +122,7 @@ </tr> <tr ng-controller="ViewRecipCtrl"> <td>{{:: ts('Recipients') }}</td> - <td ng-repeat="am in getActiveMailings()"> + <td colspan="2" ng-repeat="am in getActiveMailings()|limitTo:1"> <div ng-show="getIncludesAsString(am.mailing)"> <strong>{{:: ts('Include:') }}</strong> {{getIncludesAsString(am.mailing)}} </div> diff --git a/civicrm/ang/crmMailingAB/services.js b/civicrm/ang/crmMailingAB/services.js index eac6d84ebe8632ef7021029e746bc6359662843b..e58fc76f0bef5568a07db6abccf690282a07e441 100644 --- a/civicrm/ang/crmMailingAB/services.js +++ b/civicrm/ang/crmMailingAB/services.js @@ -193,6 +193,9 @@ return {entity_table: 'civicrm_mailing', entity_id: crmMailingAB.ab['mailing_id_' + mkey]}; }); return crmMailingAB.attachments[mkey].load(); + }).catch(function (ex){ + console.error(ex); + throw new Error('Failed to load Mailings'); }); } else { diff --git a/civicrm/ang/crmUi/tabset.html b/civicrm/ang/crmUi/tabset.html index d348197e106c1d6c6a2aaa40f35a5d02b3942b73..6030d47f02e882c13ea5001530ada4fb202aea46 100644 --- a/civicrm/ang/crmUi/tabset.html +++ b/civicrm/ang/crmUi/tabset.html @@ -1,7 +1,7 @@ <div class="crm-tabset"> <ul> <li ng-repeat="tab in tabs" class="ui-corner-all crm-tab-button crm-count-{{tab.count}}"> - <a href="#{{tab.id}}"> + <a ng-href="#{{tab.id}}"> <i ng-if="tab.crmIcon" class="crm-i {{tab.crmIcon}}" aria-hidden="true"></i> {{tab.$parent.$eval(tab.crmTitle)}} <em ng-if="tab.count">{{tab.count}}</em> diff --git a/civicrm/ang/exportui.ang.php b/civicrm/ang/exportui.ang.php index f340a018f60a02983d0f18fe8ccd25d227681e7a..cb0871ed30735901d4b58beb8aefb4708bc1dfb7 100644 --- a/civicrm/ang/exportui.ang.php +++ b/civicrm/ang/exportui.ang.php @@ -13,7 +13,6 @@ return [ 'ang/exportui', ], 'basePages' => [], - 'permissions' => ['administer CiviCRM'], 'requires' => [ 'crmUi', 'crmUtil', diff --git a/civicrm/ang/exportui/export.html b/civicrm/ang/exportui/export.html index 2cca22fc9ebbfd329bcf1f6f721c6d1e8d864ba2..8a3e0936194b887d3c75ae89feffce782d252093 100644 --- a/civicrm/ang/exportui/export.html +++ b/civicrm/ang/exportui/export.html @@ -19,7 +19,7 @@ <tr> <td colspan="6"> <input class="crm-action-menu fa-plus crm-export-add-field" crm-ui-select="{data: getFields, placeholder: ts('Add field')}" ng-model="new.col" /> - <span ng-if="data.columns.length && perms.admin"> + <span ng-if="data.columns.length"> <button type="button" ng-click="saveMappingDialog()" crm-icon="fa-save"> {{:: ts('Save Fields') }} </button> diff --git a/civicrm/ang/exportui/exportui.js b/civicrm/ang/exportui/exportui.js index b39b13b6af430feb1adf3adfbf4cc607917ccc90..33651243145d6ec9c70af1889acd817227535d5a 100644 --- a/civicrm/ang/exportui/exportui.js +++ b/civicrm/ang/exportui/exportui.js @@ -24,9 +24,6 @@ contact_type: '', columns: [] }; - $scope.perms = { - admin: CRM.checkPerm('administer CiviCRM') - }; // For the "add new field" dropdown $scope.new = {col: ''}; var contactTypes = _.transform($scope.contact_types, function (result, type) { diff --git a/civicrm/api/v3/Contribution.php b/civicrm/api/v3/Contribution.php index 61483cb9c4ba230183dadf7718a33e0ad417bd80..dd1ea77efc8a411ad6cbddb0359e17cc3723fcff 100644 --- a/civicrm/api/v3/Contribution.php +++ b/civicrm/api/v3/Contribution.php @@ -392,7 +392,6 @@ function _civicrm_api3_contribute_format_params($params, &$values) { * @throws Exception */ function civicrm_api3_contribution_sendconfirmation($params) { - $ids = []; $allowedParams = [ 'receipt_from_email', 'receipt_from_name', @@ -404,7 +403,7 @@ function civicrm_api3_contribution_sendconfirmation($params) { 'payment_processor_id', ]; $input = array_intersect_key($params, array_flip($allowedParams)); - CRM_Contribute_BAO_Contribution::sendMail($input, $ids, $params['id']); + CRM_Contribute_BAO_Contribution::sendMail($input, [], $params['id']); return []; } diff --git a/civicrm/api/v3/Payment.php b/civicrm/api/v3/Payment.php index 94cb94b6440e88b99630ec93b60fc12a47483eb6..86c6aca26005c7382f1fe71e0687a949365afbfa 100644 --- a/civicrm/api/v3/Payment.php +++ b/civicrm/api/v3/Payment.php @@ -42,9 +42,8 @@ function civicrm_api3_payment_get($params) { if (empty($eft)) { return civicrm_api3_create_success([], $params, 'Payment', 'get'); } - foreach ($eft as $entityFinancialTrxn) { - $params['financial_trxn_id']['IN'][] = $entityFinancialTrxn['financial_trxn_id']; - } + $ftIds = array_column($eft, 'financial_trxn_id'); + $params['financial_trxn_id'] = ['IN' => $ftIds]; } $financialTrxn = civicrm_api3('FinancialTrxn', 'get', array_merge($params, ['sequential' => FALSE]))['values']; diff --git a/civicrm/api/v3/examples/Setting/GetFields.ex.php b/civicrm/api/v3/examples/Setting/GetFields.ex.php index 51f9a44bef70cdff533317fa8c15338fa48701d0..803d0898f40aa08545ea18db4eda4dd9d801fe4e 100644 --- a/civicrm/api/v3/examples/Setting/GetFields.ex.php +++ b/civicrm/api/v3/examples/Setting/GetFields.ex.php @@ -1216,8 +1216,6 @@ function setting_getfields_expectedresult() { 'help_text' => '', 'on_change' => [ '0' => 'CRM_Case_Info::onToggleComponents', - '1' => 'CRM_Core_Component::flushEnabledComponents', - '2' => 'call://resources/resetCacheCode', ], 'pseudoconstant' => [ 'callback' => 'CRM_Core_SelectValues::getComponentSelectValues', diff --git a/civicrm/bin/regen.sh b/civicrm/bin/regen.sh index 46e7d6d2418e5504628f66491d742325e4582066..1542d2a1460411643bfc3b6f7b003d6575f4b98f 100755 --- a/civicrm/bin/regen.sh +++ b/civicrm/bin/regen.sh @@ -47,7 +47,7 @@ php GenerateData.php ## Prune local data $MYSQLCMD -e "DROP TABLE IF EXISTS civicrm_install_canary; DELETE FROM civicrm_cache; DELETE FROM civicrm_setting;" -$MYSQLCMD -e "DELETE FROM civicrm_extension WHERE full_name NOT IN ('sequentialcreditnotes', 'eventcart', 'greenwich', 'org.civicrm.search_kit', 'org.civicrm.flexmailer', 'financialacls', 'contributioncancelactions', 'recaptcha', 'ckeditor4', 'legacycustomsearches', 'civiimport');" +$MYSQLCMD -e "DELETE FROM civicrm_extension WHERE full_name NOT IN ('sequentialcreditnotes', 'eventcart', 'greenwich', 'org.civicrm.search_kit', 'org.civicrm.flexmailer', 'financialacls', 'contributioncancelactions', 'recaptcha', 'ckeditor4', 'legacycustomsearches', 'civiimport') and full_name NOT LIKE 'civi_%';" TABLENAMES=$( echo "show tables like 'civicrm_%'" | $MYSQLCMD | grep ^civicrm_ | xargs ) cd $CIVISOURCEDIR/sql diff --git a/civicrm/bower_components/es-module-shims/dist/.composer-downloads/es-module-shims-4b65dd2edba6490b5ccfdea659a34a88.json b/civicrm/bower_components/es-module-shims/dist/.composer-downloads/es-module-shims-4b65dd2edba6490b5ccfdea659a34a88.json new file mode 100644 index 0000000000000000000000000000000000000000..60c0459c47857c3c239fd652807e6b0e5ca33cd8 --- /dev/null +++ b/civicrm/bower_components/es-module-shims/dist/.composer-downloads/es-module-shims-4b65dd2edba6490b5ccfdea659a34a88.json @@ -0,0 +1,5 @@ +{ + "name": "civicrm/civicrm-core:es-module-shims", + "url": "https://ga.jspm.io/npm:es-module-shims@1.7.2/dist/es-module-shims.js", + "checksum": "64c0a00eeccc23ddc2bc17ac7c2025e88705361eff2b2a8f36a81219e9843a18" +} \ No newline at end of file diff --git a/civicrm/bower_components/es-module-shims/dist/es-module-shims.js b/civicrm/bower_components/es-module-shims/dist/es-module-shims.js new file mode 100644 index 0000000000000000000000000000000000000000..9caaf02d7018a2927b6aadfdcf7c649042e95aff --- /dev/null +++ b/civicrm/bower_components/es-module-shims/dist/es-module-shims.js @@ -0,0 +1,3 @@ +(function(){const e="undefined"!==typeof window;const t="undefined"!==typeof document;const noop=()=>{};const r=t?document.querySelector("script[type=esms-options]"):void 0;const s=r?JSON.parse(r.innerHTML):{};Object.assign(s,self.esmsInitOptions||{});let n=!t||!!s.shimMode;const a=globalHook(n&&s.onimport);const i=globalHook(n&&s.resolve);let c=s.fetch?globalHook(s.fetch):fetch;const f=s.meta?globalHook(n&&s.meta):noop;const ne=s.mapOverrides;let oe=s.nonce;if(!oe&&t){const e=document.querySelector("script[nonce]");e&&(oe=e.nonce||e.getAttribute("nonce"))}const ce=globalHook(s.onerror||noop);const le=s.onpolyfill?globalHook(s.onpolyfill):()=>{console.log("%c^^ Module TypeError above is polyfilled and can be ignored ^^","font-weight:900;color:#391")};const{revokeBlobURLs:fe,noLoadEventRetriggers:ue,enforceIntegrity:de}=s;function globalHook(e){return"string"===typeof e?self[e]:e}const pe=Array.isArray(s.polyfillEnable)?s.polyfillEnable:[];const he=pe.includes("css-modules");const be=pe.includes("json-modules");const me=!navigator.userAgentData&&!!navigator.userAgent.match(/Edge\/\d+\.\d+/);const ke=t?document.baseURI:`${location.protocol}//${location.host}${location.pathname.includes("/")?location.pathname.slice(0,location.pathname.lastIndexOf("/")+1):location.pathname}`;const createBlob=(e,t="text/javascript")=>URL.createObjectURL(new Blob([e],{type:t}));let{skip:we}=s;if(Array.isArray(we)){const e=we.map((e=>new URL(e,ke).href));we=t=>e.some((e=>"/"===e[e.length-1]&&t.startsWith(e)||t===e))}else if("string"===typeof we){const e=new RegExp(we);we=t=>e.test(t)}const eoop=e=>setTimeout((()=>{throw e}));const throwError=t=>{(self.reportError||e&&window.safari&&console.error||eoop)(t),void ce(t)};function fromParent(e){return e?` imported from ${e}`:""}let ge=false;function setImportMapSrcOrLazy(){ge=true}if(!n)if(document.querySelectorAll("script[type=module-shim],script[type=importmap-shim],link[rel=modulepreload-shim]").length)n=true;else{let e=false;for(const t of document.querySelectorAll("script[type=module],script[type=importmap]"))if(e){if("importmap"===t.type&&e){ge=true;break}}else"module"!==t.type||t.ep||(e=true)}const ve=/\\/g;function isURL(e){if(-1===e.indexOf(":"))return false;try{new URL(e);return true}catch(e){return false}}function resolveUrl(e,t){return resolveIfNotPlainOrUrl(e,t)||(isURL(e)?e:resolveIfNotPlainOrUrl("./"+e,t))}function resolveIfNotPlainOrUrl(e,t){const r=t.indexOf("#"),s=t.indexOf("?");r+s>-2&&(t=t.slice(0,-1===r?s:-1===s||s>r?r:s));-1!==e.indexOf("\\")&&(e=e.replace(ve,"/"));if("/"===e[0]&&"/"===e[1])return t.slice(0,t.indexOf(":")+1)+e;if("."===e[0]&&("/"===e[1]||"."===e[1]&&("/"===e[2]||2===e.length&&(e+="/"))||1===e.length&&(e+="/"))||"/"===e[0]){const r=t.slice(0,t.indexOf(":")+1);let s;if("/"===t[r.length+1])if("file:"!==r){s=t.slice(r.length+2);s=s.slice(s.indexOf("/")+1)}else s=t.slice(8);else s=t.slice(r.length+("/"===t[r.length]));if("/"===e[0])return t.slice(0,t.length-s.length-1)+e;const n=s.slice(0,s.lastIndexOf("/")+1)+e;const a=[];let i=-1;for(let e=0;e<n.length;e++)if(-1===i){if("."===n[e]){if("."===n[e+1]&&("/"===n[e+2]||e+2===n.length)){a.pop();e+=2;continue}if("/"===n[e+1]||e+1===n.length){e+=1;continue}}while("/"===n[e])e++;i=e}else if("/"===n[e]){a.push(n.slice(i,e+1));i=-1}-1!==i&&a.push(n.slice(i));return t.slice(0,t.length-s.length)+a.join("")}}function resolveAndComposeImportMap(e,t,r){const s={imports:Object.assign({},r.imports),scopes:Object.assign({},r.scopes)};e.imports&&resolveAndComposePackages(e.imports,s.imports,t,r);if(e.scopes)for(let n in e.scopes){const a=resolveUrl(n,t);resolveAndComposePackages(e.scopes[n],s.scopes[a]||(s.scopes[a]={}),t,r)}return s}function getMatch(e,t){if(t[e])return e;let r=e.length;do{const s=e.slice(0,r+1);if(s in t)return s}while(-1!==(r=e.lastIndexOf("/",r-1)))}function applyPackages(e,t){const r=getMatch(e,t);if(r){const s=t[r];if(null===s)return;return s+e.slice(r.length)}}function resolveImportMap(e,t,r){let s=r&&getMatch(r,e.scopes);while(s){const r=applyPackages(t,e.scopes[s]);if(r)return r;s=getMatch(s.slice(0,s.lastIndexOf("/")),e.scopes)}return applyPackages(t,e.imports)||-1!==t.indexOf(":")&&t}function resolveAndComposePackages(e,t,r,s){for(let a in e){const i=resolveIfNotPlainOrUrl(a,r)||a;if((!n||!ne)&&t[i]&&t[i]!==e[i])throw Error(`Rejected map override "${i}" from ${t[i]} to ${e[i]}.`);let c=e[a];if("string"!==typeof c)continue;const f=resolveImportMap(s,resolveIfNotPlainOrUrl(c,r)||c,r);f?t[i]=f:console.warn(`Mapping "${a}" -> "${e[a]}" does not resolve`)}}let ye=!t&&(0,eval)("u=>import(u)");let $e;const Oe=t&&new Promise((e=>{const t=Object.assign(document.createElement("script"),{src:createBlob("self._d=u=>import(u)"),ep:true});t.setAttribute("nonce",oe);t.addEventListener("load",(()=>{if(!($e=!!(ye=self._d))){let e;window.addEventListener("error",(t=>e=t));ye=(t,r)=>new Promise(((s,n)=>{const a=Object.assign(document.createElement("script"),{type:"module",src:createBlob(`import*as m from'${t}';self._esmsi=m`)});e=void 0;a.ep=true;oe&&a.setAttribute("nonce",oe);a.addEventListener("error",cb);a.addEventListener("load",cb);function cb(i){document.head.removeChild(a);if(self._esmsi){s(self._esmsi,ke);self._esmsi=void 0}else{n(!(i instanceof Event)&&i||e&&e.error||new Error(`Error loading ${r&&r.errUrl||t} (${a.src}).`));e=void 0}}document.head.appendChild(a)}))}document.head.removeChild(t);delete self._d;e()}));document.head.appendChild(t)}));let Se=false;let Le=false;const Ce=t&&HTMLScriptElement.supports;let Ae=Ce&&"supports"===Ce.name&&Ce("importmap");let xe=$e;const Ue="import.meta";const Ee='import"x"assert{type:"css"}';const Pe='import"x"assert{type:"json"}';let Ie=Promise.resolve(Oe).then((()=>{if($e)return t?new Promise((e=>{const t=document.createElement("iframe");t.style.display="none";t.setAttribute("nonce",oe);function cb({data:r}){const s=Array.isArray(r)&&"esms"===r[0];if(s){Ae=r[1];xe=r[2];Le=r[3];Se=r[4];e();document.head.removeChild(t);window.removeEventListener("message",cb,false)}}window.addEventListener("message",cb,false);const r=`<script nonce=${oe||""}>b=(s,type='text/javascript')=>URL.createObjectURL(new Blob([s],{type}));document.head.appendChild(Object.assign(document.createElement('script'),{type:'importmap',nonce:"${oe}",innerText:\`{"imports":{"x":"\${b('')}"}}\`}));Promise.all([${Ae?"true,true":`'x',b('${Ue}')`}, ${he?`b('${Ee}'.replace('x',b('','text/css')))`:"false"}, ${be?`b('${Pe}'.replace('x',b('{}','text/json')))`:"false"}].map(x =>typeof x==='string'?import(x).then(x =>!!x,()=>false):x)).then(a=>parent.postMessage(['esms'].concat(a),'*'))<\/script>`;let s=false,n=false;function doOnload(){if(!s){n=true;return}const e=t.contentDocument;if(e&&0===e.head.childNodes.length){const t=e.createElement("script");oe&&t.setAttribute("nonce",oe);t.innerHTML=r.slice(15+(oe?oe.length:0),-9);e.head.appendChild(t)}}t.onload=doOnload;document.head.appendChild(t);s=true;"srcdoc"in t?t.srcdoc=r:t.contentDocument.write(r);n&&doOnload()})):Promise.all([Ae||ye(createBlob(Ue)).then((()=>xe=true),noop),he&&ye(createBlob(Ee.replace("x",createBlob("","text/css")))).then((()=>Le=true),noop),be&&ye(createBlob(jsonModulescheck.replace("x",createBlob("{}","text/json")))).then((()=>Se=true),noop)])}));let Me,je,Te,Re=2<<19;const _e=1===new Uint8Array(new Uint16Array([1]).buffer)[0]?function(e,t){const r=e.length;let s=0;for(;s<r;)t[s]=e.charCodeAt(s++)}:function(e,t){const r=e.length;let s=0;for(;s<r;){const r=e.charCodeAt(s);t[s++]=(255&r)<<8|r>>>8}},Ne="xportmportlassetaromsyncunctionssertvoyiedelecontininstantybreareturdebuggeawaithrwhileforifcatcfinallels";let He,qe,Fe;function parse(e,t="@"){He=e,qe=t;const r=2*He.length+(2<<18);if(r>Re||!Me){for(;r>Re;)Re*=2;je=new ArrayBuffer(Re),_e(Ne,new Uint16Array(je,16,105)),Me=function(e,t,r){"use asm";var s=new e.Int8Array(r),n=new e.Int16Array(r),a=new e.Int32Array(r),i=new e.Uint8Array(r),c=new e.Uint16Array(r),f=1024;function b(){var e=0,t=0,r=0,i=0,ne=0,oe=0,ce=0;ce=f;f=f+10240|0;s[795]=1;n[395]=0;n[396]=0;a[67]=a[2];s[796]=0;a[66]=0;s[794]=0;a[68]=ce+2048;a[69]=ce;s[797]=0;e=(a[3]|0)+-2|0;a[70]=e;t=e+(a[64]<<1)|0;a[71]=t;e:while(1){r=e+2|0;a[70]=r;if(e>>>0>=t>>>0){ne=18;break}t:do{switch(n[r>>1]|0){case 9:case 10:case 11:case 12:case 13:case 32:break;case 101:{if((((n[396]|0)==0?H(r)|0:0)?(m(e+4|0,16,10)|0)==0:0)?(l(),(s[795]|0)==0):0){ne=9;break e}else ne=17;break}case 105:{if(H(r)|0?(m(e+4|0,26,10)|0)==0:0){k();ne=17}else ne=17;break}case 59:{ne=17;break}case 47:switch(n[e+4>>1]|0){case 47:{P();break t}case 42:{y(1);break t}default:{ne=16;break e}}default:{ne=16;break e}}}while(0);if((ne|0)==17){ne=0;a[67]=a[70]}e=a[70]|0;t=a[71]|0}if((ne|0)==9){e=a[70]|0;a[67]=e;ne=19}else if((ne|0)==16){s[795]=0;a[70]=e;ne=19}else if((ne|0)==18)if(!(s[794]|0)){e=r;ne=19}else e=0;do{if((ne|0)==19){e:while(1){t=e+2|0;a[70]=t;i=t;if(e>>>0>=(a[71]|0)>>>0){ne=82;break}t:do{switch(n[t>>1]|0){case 9:case 10:case 11:case 12:case 13:case 32:break;case 101:{if(((n[396]|0)==0?H(t)|0:0)?(m(e+4|0,16,10)|0)==0:0){l();ne=81}else ne=81;break}case 105:{if(H(t)|0?(m(e+4|0,26,10)|0)==0:0){k();ne=81}else ne=81;break}case 99:{if((H(t)|0?(m(e+4|0,36,8)|0)==0:0)?V(n[e+12>>1]|0)|0:0){s[797]=1;ne=81}else ne=81;break}case 40:{i=a[68]|0;t=n[396]|0;ne=t&65535;a[i+(ne<<3)>>2]=1;r=a[67]|0;n[396]=t+1<<16>>16;a[i+(ne<<3)+4>>2]=r;ne=81;break}case 41:{t=n[396]|0;if(!(t<<16>>16)){ne=36;break e}t=t+-1<<16>>16;n[396]=t;r=n[395]|0;if(r<<16>>16!=0?(oe=a[(a[69]|0)+((r&65535)+-1<<2)>>2]|0,(a[oe+20>>2]|0)==(a[(a[68]|0)+((t&65535)<<3)+4>>2]|0)):0){t=oe+4|0;if(!(a[t>>2]|0))a[t>>2]=i;a[oe+12>>2]=e+4;n[395]=r+-1<<16>>16;ne=81}else ne=81;break}case 123:{ne=a[67]|0;i=a[61]|0;e=ne;do{if((n[ne>>1]|0)==41&(i|0)!=0?(a[i+4>>2]|0)==(ne|0):0){t=a[62]|0;a[61]=t;if(!t){a[57]=0;break}else{a[t+28>>2]=0;break}}}while(0);i=a[68]|0;r=n[396]|0;ne=r&65535;a[i+(ne<<3)>>2]=(s[797]|0)==0?2:6;n[396]=r+1<<16>>16;a[i+(ne<<3)+4>>2]=e;s[797]=0;ne=81;break}case 125:{e=n[396]|0;if(!(e<<16>>16)){ne=49;break e}i=a[68]|0;ne=e+-1<<16>>16;n[396]=ne;if((a[i+((ne&65535)<<3)>>2]|0)==4){h();ne=81}else ne=81;break}case 39:{d(39);ne=81;break}case 34:{d(34);ne=81;break}case 47:switch(n[e+4>>1]|0){case 47:{P();break t}case 42:{y(1);break t}default:{e=a[67]|0;i=n[e>>1]|0;r:do{if(!(U(i)|0)){switch(i<<16>>16){case 41:if(D(a[(a[68]|0)+(c[396]<<3)+4>>2]|0)|0){ne=69;break r}else{ne=66;break r}case 125:break;default:{ne=66;break r}}t=a[68]|0;r=c[396]|0;if(!(p(a[t+(r<<3)+4>>2]|0)|0)?(a[t+(r<<3)>>2]|0)!=6:0)ne=66;else ne=69}else switch(i<<16>>16){case 46:if(((n[e+-2>>1]|0)+-48&65535)<10){ne=66;break r}else{ne=69;break r}case 43:if((n[e+-2>>1]|0)==43){ne=66;break r}else{ne=69;break r}case 45:if((n[e+-2>>1]|0)==45){ne=66;break r}else{ne=69;break r}default:{ne=69;break r}}}while(0);r:do{if((ne|0)==66){ne=0;if(!(o(e)|0)){switch(i<<16>>16){case 0:{ne=69;break r}case 47:{if(s[796]|0){ne=69;break r}break}default:{}}r=a[3]|0;t=i;do{if(e>>>0<=r>>>0)break;e=e+-2|0;a[67]=e;t=n[e>>1]|0}while(!(E(t)|0));if(F(t)|0){do{if(e>>>0<=r>>>0)break;e=e+-2|0;a[67]=e}while(F(n[e>>1]|0)|0);if(j(e)|0){g();s[796]=0;ne=81;break t}else e=1}else e=1}else ne=69}}while(0);if((ne|0)==69){g();e=0}s[796]=e;ne=81;break t}}case 96:{i=a[68]|0;r=n[396]|0;ne=r&65535;a[i+(ne<<3)+4>>2]=a[67];n[396]=r+1<<16>>16;a[i+(ne<<3)>>2]=3;h();ne=81;break}default:ne=81}}while(0);if((ne|0)==81){ne=0;a[67]=a[70]}e=a[70]|0}if((ne|0)==36){T();e=0;break}else if((ne|0)==49){T();e=0;break}else if((ne|0)==82){e=(s[794]|0)==0?(n[395]|n[396])<<16>>16==0:0;break}}}while(0);f=ce;return e|0}function l(){var e=0,t=0,r=0,i=0,c=0,f=0,ne=0,oe=0,ce=0,le=0,fe=0,ue=0,de=0,pe=0;oe=a[70]|0;ce=a[63]|0;pe=oe+12|0;a[70]=pe;r=w(1)|0;e=a[70]|0;if(!((e|0)==(pe|0)?!(I(r)|0):0))de=3;e:do{if((de|0)==3){t:do{switch(r<<16>>16){case 123:{a[70]=e+2;e=w(1)|0;r=a[70]|0;while(1){if(W(e)|0){d(e);e=(a[70]|0)+2|0;a[70]=e}else{q(e)|0;e=a[70]|0}w(1)|0;e=v(r,e)|0;if(e<<16>>16==44){a[70]=(a[70]|0)+2;e=w(1)|0}t=r;r=a[70]|0;if(e<<16>>16==125){de=15;break}if((r|0)==(t|0)){de=12;break}if(r>>>0>(a[71]|0)>>>0){de=14;break}}if((de|0)==12){T();break e}else if((de|0)==14){T();break e}else if((de|0)==15){a[70]=r+2;break t}break}case 42:{a[70]=e+2;w(1)|0;pe=a[70]|0;v(pe,pe)|0;break}default:{s[795]=0;switch(r<<16>>16){case 100:{oe=e+14|0;a[70]=oe;switch((w(1)|0)<<16>>16){case 97:{t=a[70]|0;if((m(t+2|0,56,8)|0)==0?(c=t+10|0,F(n[c>>1]|0)|0):0){a[70]=c;w(0)|0;de=22}break}case 102:{de=22;break}case 99:{t=a[70]|0;if(((m(t+2|0,36,8)|0)==0?(i=t+10|0,pe=n[i>>1]|0,V(pe)|0|pe<<16>>16==123):0)?(a[70]=i,f=w(1)|0,f<<16>>16!=123):0){ue=f;de=31}break}default:{}}r:do{if((de|0)==22?(ne=a[70]|0,(m(ne+2|0,64,14)|0)==0):0){r=ne+16|0;t=n[r>>1]|0;if(!(V(t)|0))switch(t<<16>>16){case 40:case 42:break;default:break r}a[70]=r;t=w(1)|0;if(t<<16>>16==42){a[70]=(a[70]|0)+2;t=w(1)|0}if(t<<16>>16!=40){ue=t;de=31}}}while(0);if((de|0)==31?(le=a[70]|0,q(ue)|0,fe=a[70]|0,fe>>>0>le>>>0):0){$(e,oe,le,fe);a[70]=(a[70]|0)+-2;break e}$(e,oe,0,0);a[70]=e+12;break e}case 97:{a[70]=e+10;w(0)|0;e=a[70]|0;de=35;break}case 102:{de=35;break}case 99:{if((m(e+2|0,36,8)|0)==0?(t=e+10|0,E(n[t>>1]|0)|0):0){a[70]=t;pe=w(1)|0;de=a[70]|0;q(pe)|0;pe=a[70]|0;$(de,pe,de,pe);a[70]=(a[70]|0)+-2;break e}e=e+4|0;a[70]=e;break}case 108:case 118:break;default:break e}if((de|0)==35){a[70]=e+16;e=w(1)|0;if(e<<16>>16==42){a[70]=(a[70]|0)+2;e=w(1)|0}de=a[70]|0;q(e)|0;pe=a[70]|0;$(de,pe,de,pe);a[70]=(a[70]|0)+-2;break e}e=e+4|0;a[70]=e;s[795]=0;r:while(1){a[70]=e+2;pe=w(1)|0;e=a[70]|0;switch((q(pe)|0)<<16>>16){case 91:case 123:break r;default:{}}t=a[70]|0;if((t|0)==(e|0))break e;$(e,t,e,t);if((w(1)|0)<<16>>16!=44)break;e=a[70]|0}a[70]=(a[70]|0)+-2;break e}}}while(0);pe=(w(1)|0)<<16>>16==102;e=a[70]|0;if(pe?(m(e+2|0,50,6)|0)==0:0){a[70]=e+8;u(oe,w(1)|0);e=(ce|0)==0?232:ce+16|0;while(1){e=a[e>>2]|0;if(!e)break e;a[e+12>>2]=0;a[e+8>>2]=0;e=e+16|0}}a[70]=e+-2}}while(0);return}function k(){var e=0,t=0,r=0,i=0,c=0,f=0;c=a[70]|0;e=c+12|0;a[70]=e;e:do{switch((w(1)|0)<<16>>16){case 40:{t=a[68]|0;f=n[396]|0;r=f&65535;a[t+(r<<3)>>2]=5;e=a[70]|0;n[396]=f+1<<16>>16;a[t+(r<<3)+4>>2]=e;if((n[a[67]>>1]|0)!=46){a[70]=e+2;f=w(1)|0;A(c,a[70]|0,0,e);t=a[61]|0;r=a[69]|0;c=n[395]|0;n[395]=c+1<<16>>16;a[r+((c&65535)<<2)>>2]=t;switch(f<<16>>16){case 39:{d(39);break}case 34:{d(34);break}default:{a[70]=(a[70]|0)+-2;break e}}e=(a[70]|0)+2|0;a[70]=e;switch((w(1)|0)<<16>>16){case 44:{a[70]=(a[70]|0)+2;w(1)|0;c=a[61]|0;a[c+4>>2]=e;f=a[70]|0;a[c+16>>2]=f;s[c+24>>0]=1;a[70]=f+-2;break e}case 41:{n[396]=(n[396]|0)+-1<<16>>16;f=a[61]|0;a[f+4>>2]=e;a[f+12>>2]=(a[70]|0)+2;s[f+24>>0]=1;n[395]=(n[395]|0)+-1<<16>>16;break e}default:{a[70]=(a[70]|0)+-2;break e}}}break}case 46:{a[70]=(a[70]|0)+2;if((w(1)|0)<<16>>16==109?(t=a[70]|0,(m(t+2|0,44,6)|0)==0):0){e=a[67]|0;if(!(G(e)|0)?(n[e>>1]|0)==46:0)break e;A(c,c,t+8|0,2)}break}case 42:case 39:case 34:{i=18;break}case 123:{e=a[70]|0;if(n[396]|0){a[70]=e+-2;break e}while(1){if(e>>>0>=(a[71]|0)>>>0)break;e=w(1)|0;if(!(W(e)|0)){if(e<<16>>16==125){i=33;break}}else d(e);e=(a[70]|0)+2|0;a[70]=e}if((i|0)==33)a[70]=(a[70]|0)+2;f=(w(1)|0)<<16>>16==102;e=a[70]|0;if(f?m(e+2|0,50,6)|0:0){T();break e}a[70]=e+8;e=w(1)|0;if(W(e)|0){u(c,e);break e}else{T();break e}}default:if((a[70]|0)==(e|0))a[70]=c+10;else i=18}}while(0);do{if((i|0)==18){if(n[396]|0){a[70]=(a[70]|0)+-2;break}e=a[71]|0;t=a[70]|0;while(1){if(t>>>0>=e>>>0){i=25;break}r=n[t>>1]|0;if(W(r)|0){i=23;break}f=t+2|0;a[70]=f;t=f}if((i|0)==23){u(c,r);break}else if((i|0)==25){T();break}}}while(0);return}function u(e,t){e=e|0;t=t|0;var r=0,s=0;r=(a[70]|0)+2|0;switch(t<<16>>16){case 39:{d(39);s=5;break}case 34:{d(34);s=5;break}default:T()}do{if((s|0)==5){A(e,r,a[70]|0,1);a[70]=(a[70]|0)+2;t=w(0)|0;e=t<<16>>16==97;if(e){r=a[70]|0;if(m(r+2|0,78,10)|0)s=11}else{r=a[70]|0;if(!(((t<<16>>16==119?(n[r+2>>1]|0)==105:0)?(n[r+4>>1]|0)==116:0)?(n[r+6>>1]|0)==104:0))s=11}if((s|0)==11){a[70]=r+-2;break}a[70]=r+((e?6:4)<<1);if((w(1)|0)<<16>>16!=123){a[70]=r;break}e=a[70]|0;t=e;e:while(1){a[70]=t+2;t=w(1)|0;switch(t<<16>>16){case 39:{d(39);a[70]=(a[70]|0)+2;t=w(1)|0;break}case 34:{d(34);a[70]=(a[70]|0)+2;t=w(1)|0;break}default:t=q(t)|0}if(t<<16>>16!=58){s=20;break}a[70]=(a[70]|0)+2;switch((w(1)|0)<<16>>16){case 39:{d(39);break}case 34:{d(34);break}default:{s=24;break e}}a[70]=(a[70]|0)+2;switch((w(1)|0)<<16>>16){case 125:{s=29;break e}case 44:break;default:{s=28;break e}}a[70]=(a[70]|0)+2;if((w(1)|0)<<16>>16==125){s=29;break}t=a[70]|0}if((s|0)==20){a[70]=r;break}else if((s|0)==24){a[70]=r;break}else if((s|0)==28){a[70]=r;break}else if((s|0)==29){s=a[61]|0;a[s+16>>2]=e;a[s+12>>2]=(a[70]|0)+2;break}}}while(0);return}function o(e){e=e|0;e:do{switch(n[e>>1]|0){case 100:switch(n[e+-2>>1]|0){case 105:{e=O(e+-4|0,88,2)|0;break e}case 108:{e=O(e+-4|0,92,3)|0;break e}default:{e=0;break e}}case 101:switch(n[e+-2>>1]|0){case 115:switch(n[e+-4>>1]|0){case 108:{e=B(e+-6|0,101)|0;break e}case 97:{e=B(e+-6|0,99)|0;break e}default:{e=0;break e}}case 116:{e=O(e+-4|0,98,4)|0;break e}case 117:{e=O(e+-4|0,106,6)|0;break e}default:{e=0;break e}}case 102:{if((n[e+-2>>1]|0)==111?(n[e+-4>>1]|0)==101:0)switch(n[e+-6>>1]|0){case 99:{e=O(e+-8|0,118,6)|0;break e}case 112:{e=O(e+-8|0,130,2)|0;break e}default:{e=0;break e}}else e=0;break}case 107:{e=O(e+-2|0,134,4)|0;break}case 110:{e=e+-2|0;if(B(e,105)|0)e=1;else e=O(e,142,5)|0;break}case 111:{e=B(e+-2|0,100)|0;break}case 114:{e=O(e+-2|0,152,7)|0;break}case 116:{e=O(e+-2|0,166,4)|0;break}case 119:switch(n[e+-2>>1]|0){case 101:{e=B(e+-4|0,110)|0;break e}case 111:{e=O(e+-4|0,174,3)|0;break e}default:{e=0;break e}}default:e=0}}while(0);return e|0}function h(){var e=0,t=0,r=0,s=0;t=a[71]|0;r=a[70]|0;e:while(1){e=r+2|0;if(r>>>0>=t>>>0){t=10;break}switch(n[e>>1]|0){case 96:{t=7;break e}case 36:{if((n[r+4>>1]|0)==123){t=6;break e}break}case 92:{e=r+4|0;break}default:{}}r=e}if((t|0)==6){e=r+4|0;a[70]=e;t=a[68]|0;s=n[396]|0;r=s&65535;a[t+(r<<3)>>2]=4;n[396]=s+1<<16>>16;a[t+(r<<3)+4>>2]=e}else if((t|0)==7){a[70]=e;r=a[68]|0;s=(n[396]|0)+-1<<16>>16;n[396]=s;if((a[r+((s&65535)<<3)>>2]|0)!=3)T()}else if((t|0)==10){a[70]=e;T()}return}function w(e){e=e|0;var t=0,r=0,s=0;r=a[70]|0;e:do{t=n[r>>1]|0;t:do{if(t<<16>>16!=47)if(e)if(V(t)|0)break;else break e;else if(F(t)|0)break;else break e;else switch(n[r+2>>1]|0){case 47:{P();break t}case 42:{y(e);break t}default:{t=47;break e}}}while(0);s=a[70]|0;r=s+2|0;a[70]=r}while(s>>>0<(a[71]|0)>>>0);return t|0}function d(e){e=e|0;var t=0,r=0,s=0,i=0;i=a[71]|0;t=a[70]|0;while(1){s=t+2|0;if(t>>>0>=i>>>0){t=9;break}r=n[s>>1]|0;if(r<<16>>16==e<<16>>16){t=10;break}if(r<<16>>16==92){r=t+4|0;if((n[r>>1]|0)==13){t=t+6|0;t=(n[t>>1]|0)==10?t:r}else t=r}else if(Z(r)|0){t=9;break}else t=s}if((t|0)==9){a[70]=s;T()}else if((t|0)==10)a[70]=s;return}function v(e,t){e=e|0;t=t|0;var r=0,s=0,i=0,c=0;r=a[70]|0;s=n[r>>1]|0;c=(e|0)==(t|0);i=c?0:e;c=c?0:t;if(s<<16>>16==97){a[70]=r+4;r=w(1)|0;e=a[70]|0;if(W(r)|0){d(r);t=(a[70]|0)+2|0;a[70]=t}else{q(r)|0;t=a[70]|0}s=w(1)|0;r=a[70]|0}if((r|0)!=(e|0))$(e,t,i,c);return s|0}function A(e,t,r,n){e=e|0;t=t|0;r=r|0;n=n|0;var i=0,c=0;i=a[65]|0;a[65]=i+32;c=a[61]|0;a[((c|0)==0?228:c+28|0)>>2]=i;a[62]=c;a[61]=i;a[i+8>>2]=e;if(2==(n|0))e=r;else e=1==(n|0)?r+2|0:0;a[i+12>>2]=e;a[i>>2]=t;a[i+4>>2]=r;a[i+16>>2]=0;a[i+20>>2]=n;s[i+24>>0]=1==(n|0)&1;a[i+28>>2]=0;return}function C(){var e=0,t=0,r=0;r=a[71]|0;t=a[70]|0;e:while(1){e=t+2|0;if(t>>>0>=r>>>0){t=6;break}switch(n[e>>1]|0){case 13:case 10:{t=6;break e}case 93:{t=7;break e}case 92:{e=t+4|0;break}default:{}}t=e}if((t|0)==6){a[70]=e;T();e=0}else if((t|0)==7){a[70]=e;e=93}return e|0}function g(){var e=0,t=0,r=0;e:while(1){e=a[70]|0;t=e+2|0;a[70]=t;if(e>>>0>=(a[71]|0)>>>0){r=7;break}switch(n[t>>1]|0){case 13:case 10:{r=7;break e}case 47:break e;case 91:{C()|0;break}case 92:{a[70]=e+4;break}default:{}}}if((r|0)==7)T();return}function p(e){e=e|0;switch(n[e>>1]|0){case 62:{e=(n[e+-2>>1]|0)==61;break}case 41:case 59:{e=1;break}case 104:{e=O(e+-2|0,200,4)|0;break}case 121:{e=O(e+-2|0,208,6)|0;break}case 101:{e=O(e+-2|0,220,3)|0;break}default:e=0}return e|0}function y(e){e=e|0;var t=0,r=0,s=0,i=0,c=0;i=(a[70]|0)+2|0;a[70]=i;r=a[71]|0;while(1){t=i+2|0;if(i>>>0>=r>>>0)break;s=n[t>>1]|0;if(!e?Z(s)|0:0)break;if(s<<16>>16==42?(n[i+4>>1]|0)==47:0){c=8;break}i=t}if((c|0)==8){a[70]=t;t=i+4|0}a[70]=t;return}function m(e,t,r){e=e|0;t=t|0;r=r|0;var n=0,a=0;e:do{if(!r)e=0;else{while(1){n=s[e>>0]|0;a=s[t>>0]|0;if(n<<24>>24!=a<<24>>24)break;r=r+-1|0;if(!r){e=0;break e}else{e=e+1|0;t=t+1|0}}e=(n&255)-(a&255)|0}}while(0);return e|0}function I(e){e=e|0;e:do{switch(e<<16>>16){case 38:case 37:case 33:{e=1;break}default:if((e&-8)<<16>>16==40|(e+-58&65535)<6)e=1;else{switch(e<<16>>16){case 91:case 93:case 94:{e=1;break e}default:{}}e=(e+-123&65535)<4}}}while(0);return e|0}function U(e){e=e|0;e:do{switch(e<<16>>16){case 38:case 37:case 33:break;default:if(!((e+-58&65535)<6|(e+-40&65535)<7&e<<16>>16!=41)){switch(e<<16>>16){case 91:case 94:break e;default:{}}return e<<16>>16!=125&(e+-123&65535)<4|0}}}while(0);return 1}function x(e){e=e|0;var t=0;t=n[e>>1]|0;e:do{if((t+-9&65535)>=5){switch(t<<16>>16){case 160:case 32:{t=1;break e}default:{}}if(I(t)|0)return t<<16>>16!=46|(G(e)|0)|0;else t=0}else t=1}while(0);return t|0}function S(e){e=e|0;var t=0,r=0,s=0,i=0;r=f;f=f+16|0;s=r;a[s>>2]=0;a[64]=e;t=a[3]|0;i=t+(e<<1)|0;e=i+2|0;n[i>>1]=0;a[s>>2]=e;a[65]=e;a[57]=0;a[61]=0;a[59]=0;a[58]=0;a[63]=0;a[60]=0;f=r;return t|0}function O(e,t,r){e=e|0;t=t|0;r=r|0;var s=0,n=0;s=e+(0-r<<1)|0;n=s+2|0;e=a[3]|0;if(n>>>0>=e>>>0?(m(n,t,r<<1)|0)==0:0)if((n|0)==(e|0))e=1;else e=x(s)|0;else e=0;return e|0}function $(e,t,r,s){e=e|0;t=t|0;r=r|0;s=s|0;var n=0,i=0;n=a[65]|0;a[65]=n+20;i=a[63]|0;a[((i|0)==0?232:i+16|0)>>2]=n;a[63]=n;a[n>>2]=e;a[n+4>>2]=t;a[n+8>>2]=r;a[n+12>>2]=s;a[n+16>>2]=0;return}function j(e){e=e|0;switch(n[e>>1]|0){case 107:{e=O(e+-2|0,134,4)|0;break}case 101:{if((n[e+-2>>1]|0)==117)e=O(e+-4|0,106,6)|0;else e=0;break}default:e=0}return e|0}function B(e,t){e=e|0;t=t|0;var r=0;r=a[3]|0;if(r>>>0<=e>>>0?(n[e>>1]|0)==t<<16>>16:0)if((r|0)==(e|0))r=1;else r=E(n[e+-2>>1]|0)|0;else r=0;return r|0}function E(e){e=e|0;e:do{if((e+-9&65535)<5)e=1;else{switch(e<<16>>16){case 32:case 160:{e=1;break e}default:{}}e=e<<16>>16!=46&(I(e)|0)}}while(0);return e|0}function P(){var e=0,t=0,r=0;e=a[71]|0;r=a[70]|0;e:while(1){t=r+2|0;if(r>>>0>=e>>>0)break;switch(n[t>>1]|0){case 13:case 10:break e;default:r=t}}a[70]=t;return}function q(e){e=e|0;while(1){if(V(e)|0)break;if(I(e)|0)break;e=(a[70]|0)+2|0;a[70]=e;e=n[e>>1]|0;if(!(e<<16>>16)){e=0;break}}return e|0}function z(){var e=0;e=a[(a[59]|0)+20>>2]|0;switch(e|0){case 1:{e=-1;break}case 2:{e=-2;break}default:e=e-(a[3]|0)>>1}return e|0}function D(e){e=e|0;if(!(O(e,180,5)|0)?!(O(e,190,3)|0):0)e=O(e,196,2)|0;else e=1;return e|0}function F(e){e=e|0;switch(e<<16>>16){case 160:case 32:case 12:case 11:case 9:{e=1;break}default:e=0}return e|0}function G(e){e=e|0;if((n[e>>1]|0)==46?(n[e+-2>>1]|0)==46:0)e=(n[e+-4>>1]|0)==46;else e=0;return e|0}function H(e){e=e|0;if((a[3]|0)==(e|0))e=1;else e=x(e+-2|0)|0;return e|0}function J(){var e=0;e=a[(a[60]|0)+12>>2]|0;if(!e)e=-1;else e=e-(a[3]|0)>>1;return e|0}function K(){var e=0;e=a[(a[59]|0)+12>>2]|0;if(!e)e=-1;else e=e-(a[3]|0)>>1;return e|0}function L(){var e=0;e=a[(a[60]|0)+8>>2]|0;if(!e)e=-1;else e=e-(a[3]|0)>>1;return e|0}function M(){var e=0;e=a[(a[59]|0)+16>>2]|0;if(!e)e=-1;else e=e-(a[3]|0)>>1;return e|0}function N(){var e=0;e=a[(a[59]|0)+4>>2]|0;if(!e)e=-1;else e=e-(a[3]|0)>>1;return e|0}function Q(){var e=0;e=a[59]|0;e=a[((e|0)==0?228:e+28|0)>>2]|0;a[59]=e;return(e|0)!=0|0}function R(){var e=0;e=a[60]|0;e=a[((e|0)==0?232:e+16|0)>>2]|0;a[60]=e;return(e|0)!=0|0}function T(){s[794]=1;a[66]=(a[70]|0)-(a[3]|0)>>1;a[70]=(a[71]|0)+2;return}function V(e){e=e|0;return(e|128)<<16>>16==160|(e+-9&65535)<5|0}function W(e){e=e|0;return e<<16>>16==39|e<<16>>16==34|0}function X(){return(a[(a[59]|0)+8>>2]|0)-(a[3]|0)>>1|0}function Y(){return(a[(a[60]|0)+4>>2]|0)-(a[3]|0)>>1|0}function Z(e){e=e|0;return e<<16>>16==13|e<<16>>16==10|0}function _(){return(a[a[59]>>2]|0)-(a[3]|0)>>1|0}function ee(){return(a[a[60]>>2]|0)-(a[3]|0)>>1|0}function ae(){return i[(a[59]|0)+24>>0]|0|0}function re(e){e=e|0;a[3]=e;return}function ie(){return(s[795]|0)!=0|0}function se(){return a[66]|0}function te(e){e=e|0;f=e+992+15&-16;return 992}return{su:te,ai:M,e:se,ee:Y,ele:J,els:L,es:ee,f:ie,id:z,ie:N,ip:ae,is:_,p:b,re:R,ri:Q,sa:S,se:K,ses:re,ss:X}}("undefined"!=typeof self?self:global,{},je),Te=Me.su(Re-(2<<17))}const s=He.length+1;Me.ses(Te),Me.sa(s-1),_e(He,new Uint16Array(je,Te,s)),Me.p()||(Fe=Me.e(),o());const n=[],a=[];for(;Me.ri();){const e=Me.is(),t=Me.ie(),r=Me.ai(),s=Me.id(),a=Me.ss(),i=Me.se();let c;Me.ip()&&(c=b(-1===s?e:e+1,He.charCodeAt(-1===s?e-1:e))),n.push({n:c,s:e,e:t,ss:a,se:i,d:s,a:r})}for(;Me.re();){const e=Me.es(),t=Me.ee(),r=Me.els(),s=Me.ele(),n=He.charCodeAt(e),i=r>=0?He.charCodeAt(r):-1;a.push({s:e,e:t,ls:r,le:s,n:34===n||39===n?b(e+1,n):He.slice(e,t),ln:r<0?void 0:34===i||39===i?b(r+1,i):He.slice(r,s)})}return[n,a,!!Me.f()]}function b(e,t){Fe=e;let r="",s=Fe;for(;;){Fe>=He.length&&o();const e=He.charCodeAt(Fe);if(e===t)break;92===e?(r+=He.slice(s,Fe),r+=l(),s=Fe):(8232===e||8233===e||u(e)&&o(),++Fe)}return r+=He.slice(s,Fe++),r}function l(){let e=He.charCodeAt(++Fe);switch(++Fe,e){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(k(2));case 117:return function(){const e=He.charCodeAt(Fe);let t;123===e?(++Fe,t=k(He.indexOf("}",Fe)-Fe),++Fe,t>1114111&&o()):t=k(4);return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t)))}();case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===He.charCodeAt(Fe)&&++Fe;case 10:return"";case 56:case 57:o();default:if(e>=48&&e<=55){let t=He.substr(Fe-1,3).match(/^[0-7]+/)[0],r=parseInt(t,8);return r>255&&(t=t.slice(0,-1),r=parseInt(t,8)),Fe+=t.length-1,e=He.charCodeAt(Fe),"0"===t&&56!==e&&57!==e||o(),String.fromCharCode(r)}return u(e)?"":String.fromCharCode(e)}}function k(e){const t=Fe;let r=0,s=0;for(let t=0;t<e;++t,++Fe){let e,n=He.charCodeAt(Fe);if(95!==n){if(n>=97)e=n-97+10;else if(n>=65)e=n-65+10;else{if(!(n>=48&&n<=57))break;e=n-48}if(e>=16)break;s=n,r=16*r+e}else 95!==s&&0!==t||o(),s=n}return 95!==s&&Fe-t===e||o(),r}function u(e){return 13===e||10===e}function o(){throw Object.assign(Error(`Parse error ${qe}:${He.slice(0,Fe).split("\n").length}:${Fe-He.lastIndexOf("\n",Fe-1)}`),{idx:Fe})}async function _resolve(e,t){const r=resolveIfNotPlainOrUrl(e,t);return{r:resolveImportMap(De,r||e,t)||throwUnresolved(e,t),b:!r&&!isURL(e)}}const Je=i?async(e,t)=>{let r=i(e,t,defaultResolve);r&&r.then&&(r=await r);return r?{r:r,b:!resolveIfNotPlainOrUrl(e,t)&&!isURL(e)}:_resolve(e,t)}:_resolve;async function importShim(e,...r){let s=r[r.length-1];"string"!==typeof s&&(s=ke);await Ve;a&&await a(e,"string"!==typeof r[1]?r[1]:{},s);if(Ke||n||!We){t&&processScriptsAndPreloads(true);n||(Ke=false)}await ze;return topLevelLoad((await Je(e,s)).r,{credentials:"same-origin"})}self.importShim=importShim;function defaultResolve(e,t){return resolveImportMap(De,resolveIfNotPlainOrUrl(e,t)||e,t)||throwUnresolved(e,t)}function throwUnresolved(e,t){throw Error(`Unable to resolve specifier '${e}'${fromParent(t)}`)}const resolveSync=(e,t=ke)=>{t=`${t}`;const r=i&&i(e,t,defaultResolve);return r&&!r.then?r:defaultResolve(e,t)};function metaResolve(e,t=this.url){return resolveSync(e,t)}importShim.resolve=resolveSync;importShim.getImportMap=()=>JSON.parse(JSON.stringify(De));importShim.addImportMap=e=>{if(!n)throw new Error("Unsupported in polyfill mode.");De=resolveAndComposeImportMap(e,ke,De)};const Be=importShim._r={};async function loadAll(e,t){if(!e.b&&!t[e.u]){t[e.u]=1;await e.L;await Promise.all(e.d.map((e=>loadAll(e,t))));e.n||(e.n=e.d.some((e=>e.n)))}}let De={imports:{},scopes:{}};let We;const Ve=Ie.then((()=>{We=true!==s.polyfillEnable&&$e&&xe&&Ae&&(!be||Se)&&(!he||Le)&&!ge;if(t){if(!Ae){const e=HTMLScriptElement.supports||(e=>"classic"===e||"module"===e);HTMLScriptElement.supports=t=>"importmap"===t||e(t)}if(n||!We){new MutationObserver((e=>{for(const t of e)if("childList"===t.type)for(const e of t.addedNodes)if("SCRIPT"===e.tagName){e.type===(n?"module-shim":"module")&&processScript(e,true);e.type===(n?"importmap-shim":"importmap")&&processImportMap(e,true)}else"LINK"===e.tagName&&e.rel===(n?"modulepreload-shim":"modulepreload")&&processPreload(e)})).observe(document,{childList:true,subtree:true});processScriptsAndPreloads();if("complete"===document.readyState)readyStateCompleteCheck();else{async function readyListener(){await Ve;processScriptsAndPreloads();if("complete"===document.readyState){readyStateCompleteCheck();document.removeEventListener("readystatechange",readyListener)}}document.addEventListener("readystatechange",readyListener)}}}}));let ze=Ve;let Ge=true;let Ke=true;async function topLevelLoad(e,t,r,s,i){n||(Ke=false);await Ve;await ze;a&&await a(e,"string"!==typeof t?t:{},"");if(!n&&We){if(s)return null;await i;return ye(r?createBlob(r):e,{errUrl:e||r})}const c=getOrCreateLoad(e,t,null,r);const f={};await loadAll(c,f);Ze=void 0;resolveDeps(c,f);await i;if(r&&!n&&!c.n){if(s)return;fe&&revokeObjectURLs(Object.keys(f));return await ye(createBlob(r),{errUrl:r})}if(Ge&&!n&&c.n&&s){le();Ge=false}const ne=await ye(n||c.n||!s?c.b:c.u,{errUrl:c.u});c.s&&(await ye(c.s)).u$_(ne);fe&&revokeObjectURLs(Object.keys(f));return ne}function revokeObjectURLs(e){let t=0;const r=e.length;const s=self.requestIdleCallback?self.requestIdleCallback:self.requestAnimationFrame;s(cleanup);function cleanup(){const n=100*t;if(!(n>r)){for(const t of e.slice(n,n+100)){const e=Be[t];e&&URL.revokeObjectURL(e.b)}t++;s(cleanup)}}}function urlJsString(e){return`'${e.replace(/'/g,"\\'")}'`}let Ze;function resolveDeps(e,t){if(e.b||!t[e.u])return;t[e.u]=0;for(const c of e.d)resolveDeps(c,t);const[r,s]=e.a;const n=e.S;let a=me&&Ze?`import '${Ze}';`:"";if(r.length){let ne=0,oe=0,ce=[];function pushStringTo(t){while(ce[ce.length-1]<t){const t=ce.pop();a+=`${n.slice(ne,t)}, ${urlJsString(e.r)}`;ne=t}a+=n.slice(ne,t);ne=t}for(const{s:le,ss:fe,se:ue,d:de}of r)if(-1===de){let pe=e.d[oe++],he=pe.b,be=!he;be&&((he=pe.s)||(he=pe.s=createBlob(`export function u$_(m){${pe.a[1].map((({s:e,e:t},r)=>{const s='"'===pe.S[e]||"'"===pe.S[e];return`e$_${r}=m${s?"[":"."}${pe.S.slice(e,t)}${s?"]":""}`})).join(",")}}${pe.a[1].length?`let ${pe.a[1].map(((e,t)=>`e$_${t}`)).join(",")};`:""}export {${pe.a[1].map((({s:e,e:t},r)=>`e$_${r} as ${pe.S.slice(e,t)}`)).join(",")}}\n//# sourceURL=${pe.r}?cycle`)));pushStringTo(le-1);a+=`/*${n.slice(le-1,ue)}*/${urlJsString(he)}`;if(!be&&pe.s){a+=`;import*as m$_${oe} from'${pe.b}';import{u$_ as u$_${oe}}from'${pe.s}';u$_${oe}(m$_${oe})`;pe.s=void 0}ne=ue}else if(-2===de){e.m={url:e.r,resolve:metaResolve};f(e.m,e.u);pushStringTo(le);a+=`importShim._r[${urlJsString(e.u)}].m`;ne=ue}else{pushStringTo(fe+6);a+="Shim(";ce.push(ue-1);ne=le}e.s&&(a+=`\n;import{u$_}from'${e.s}';try{u$_({${s.filter((e=>e.ln)).map((({s:e,e:t,ln:r})=>`${n.slice(e,t)}:${r}`)).join(",")}})}catch(_){};\n`);pushStringTo(n.length)}else a+=n;let i=false;a=a.replace(Qe,((t,r,s)=>(i=!r,t.replace(s,(()=>new URL(s,e.r))))));i||(a+="\n//# sourceURL="+e.r);e.b=Ze=createBlob(a);e.S=void 0}const Qe=/\n\/\/# source(Mapping)?URL=([^\n]+)\s*((;|\/\/[^#][^\n]*)\s*)*$/;const Xe=/^(text|application)\/(x-)?javascript(;|$)/;const Ye=/^(text|application)\/json(;|$)/;const et=/^(text|application)\/css(;|$)/;const tt=/url\(\s*(?:(["'])((?:\\.|[^\n\\"'])+)\1|((?:\\.|[^\s,"'()\\])+))\s*\)/g;let rt=[];let st=0;function pushFetchPool(){if(++st>100)return new Promise((e=>rt.push(e)))}function popFetchPool(){st--;rt.length&&rt.shift()()}async function doFetch(e,t,r){if(de&&!t.integrity)throw Error(`No integrity for ${e}${fromParent(r)}.`);const s=pushFetchPool();s&&await s;try{var n=await c(e,t)}catch(t){t.message=`Unable to fetch ${e}${fromParent(r)} - see network log for details.\n`+t.message;throw t}finally{popFetchPool()}if(!n.ok)throw Error(`${n.status} ${n.statusText} ${n.url}${fromParent(r)}`);return n}async function fetchModule(e,t,r){const s=await doFetch(e,t,r);const n=s.headers.get("content-type");if(Xe.test(n))return{r:s.url,s:await s.text(),t:"js"};if(Ye.test(n))return{r:s.url,s:`export default ${await s.text()}`,t:"json"};if(et.test(n))return{r:s.url,s:`var s=new CSSStyleSheet();s.replaceSync(${JSON.stringify((await s.text()).replace(tt,((t,r="",s,n)=>`url(${r}${resolveUrl(s||n,e)}${r})`)))});export default s;`,t:"css"};throw Error(`Unsupported Content-Type "${n}" loading ${e}${fromParent(r)}. Modules must be served with a valid MIME type like application/javascript.`)}function getOrCreateLoad(e,t,r,s){let a=Be[e];if(a&&!s)return a;a={u:e,r:s?e:void 0,f:void 0,S:void 0,L:void 0,a:void 0,d:void 0,b:void 0,s:void 0,n:false,t:null,m:null};if(Be[e]){let e=0;while(Be[a.u+ ++e]);a.u+=e}Be[a.u]=a;a.f=(async()=>{if(!s){let i;({r:a.r,s:s,t:i}=await(ot[e]||fetchModule(e,t,r)));if(i&&!n){if("css"===i&&!he||"json"===i&&!be)throw Error(`${i}-modules require <script type="esms-options">{ "polyfillEnable": ["${i}-modules"] }<\/script>`);("css"===i&&!Le||"json"===i&&!Se)&&(a.n=true)}}try{a.a=parse(s,a.u)}catch(e){throwError(e);a.a=[[],[],false]}a.S=s;return a})();a.L=a.f.then((async()=>{let e=t;a.d=(await Promise.all(a.a[0].map((async({n:t,d:r})=>{(r>=0&&!$e||-2===r&&!xe)&&(a.n=true);if(-1!==r||!t)return;const{r:s,b:n}=await Je(t,a.r||a.u);!n||Ae&&!ge||(a.n=true);if(-1===r){if(we&&we(s))return{b:s};e.integrity&&(e=Object.assign({},e,{integrity:void 0}));return getOrCreateLoad(s,e,a.r).f}})))).filter((e=>e))}));return a}function processScriptsAndPreloads(e=false){if(!e)for(const e of document.querySelectorAll(n?"link[rel=modulepreload-shim]":"link[rel=modulepreload]"))processPreload(e);for(const e of document.querySelectorAll(n?"script[type=importmap-shim]":"script[type=importmap]"))processImportMap(e);if(!e)for(const e of document.querySelectorAll(n?"script[type=module-shim]":"script[type=module]"))processScript(e)}function getFetchOpts(e){const t={};e.integrity&&(t.integrity=e.integrity);e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy);"use-credentials"===e.crossOrigin?t.credentials="include":"anonymous"===e.crossOrigin?t.credentials="omit":t.credentials="same-origin";return t}let nt=Promise.resolve();let at=1;function domContentLoadedCheck(){0!==--at||ue||!n&&We||document.dispatchEvent(new Event("DOMContentLoaded"))}t&&document.addEventListener("DOMContentLoaded",(async()=>{await Ve;domContentLoadedCheck()}));let it=1;function readyStateCompleteCheck(){0!==--it||ue||!n&&We||document.dispatchEvent(new Event("readystatechange"))}const hasNext=e=>e.nextSibling||e.parentNode&&hasNext(e.parentNode);const epCheck=(e,t)=>e.ep||!t&&(!e.src&&!e.innerHTML||!hasNext(e))||null!==e.getAttribute("noshim")||!(e.ep=true);function processImportMap(e,t=it>0){if(!epCheck(e,t)){if(e.src){if(!n)return;setImportMapSrcOrLazy()}if(Ke){ze=ze.then((async()=>{De=resolveAndComposeImportMap(e.src?await(await doFetch(e.src,getFetchOpts(e))).json():JSON.parse(e.innerHTML),e.src||ke,De)})).catch((t=>{console.log(t);t instanceof SyntaxError&&(t=new Error(`Unable to parse import map ${t.message} in: ${e.src||e.innerHTML}`));throwError(t)}));n||(Ke=false)}}}function processScript(e,t=it>0){if(epCheck(e,t))return;const r=null===e.getAttribute("async")&&it>0;const s=at>0;r&&it++;s&&at++;const a=topLevelLoad(e.src||ke,getFetchOpts(e),!e.src&&e.innerHTML,!n,r&&nt).then((()=>{n&&e.dispatchEvent(new Event("load"))})).catch(throwError);r&&(nt=a.then(readyStateCompleteCheck));s&&a.then(domContentLoadedCheck)}const ot={};function processPreload(e){if(!e.ep){e.ep=true;ot[e.href]||(ot[e.href]=fetchModule(e.href,getFetchOpts(e)))}}})(); + +//# sourceMappingURL=es-module-shims.js.map \ No newline at end of file diff --git a/civicrm/civicrm-version.php b/civicrm/civicrm-version.php index df07560bb6755f5f43677705bd3361a9d3f7036c..d89badf6fbfbf12244f5067be52e3a6374c5c303 100644 --- a/civicrm/civicrm-version.php +++ b/civicrm/civicrm-version.php @@ -1,7 +1,7 @@ <?php /** @deprecated */ function civicrmVersion( ) { - return array( 'version' => '5.62.1', + return array( 'version' => '5.63.0', 'cms' => 'Wordpress', 'revision' => '' ); } diff --git a/civicrm/composer.json b/civicrm/composer.json index a6f683694d6cc822dd0fe14790933d1835d75b2a..3c1eb851922a64c13f8794025e0ed182b7b882e3 100644 --- a/civicrm/composer.json +++ b/civicrm/composer.json @@ -197,6 +197,11 @@ "url": "https://github.com/NickQiZhu/dc.js/archive/2.1.10.zip", "ignore": [".*", "style", "web", "*.json", "regression", "scripts", "spec", "src", "docs", "grunt", "Gruntfile.js", "Changelog.md", "welcome.md", "class-hierarchy.dot", "index.js", "CONTRIBUTING.md", "LICENSE_BANNER", "AUTHORS"] }, + "es-module-shims": { + "url": "https://ga.jspm.io/npm:es-module-shims@1.7.2/dist/es-module-shims.js", + "path": "bower_components/es-module-shims/dist/es-module-shims.js", + "_comment": "See also https://github.com/guybedford/es-module-shims/. MIT license." + }, "es6-promise": { "url": "https://github.com/components/es6-promise/archive/v4.2.4.zip" }, diff --git a/civicrm/composer.lock b/civicrm/composer.lock index 5cb7c4ec27a29f7a11cd1a1c7ab7e6cee9481630..5ecb51d70fc293d0b5b943239cacb9b2bcd2a261 100644 --- a/civicrm/composer.lock +++ b/civicrm/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e9694f117c3731e497ceb58d2fbf0d0d", + "content-hash": "d4769b4b0e2f12a788978d616edb74b1", "packages": [ { "name": "adrienrn/php-mimetyper", @@ -5587,5 +5587,5 @@ "platform-overrides": { "php": "7.3.0" }, - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.2.0" } diff --git a/civicrm/css/civicrm.css b/civicrm/css/civicrm.css index fa52f86e9c6712c68725e98c4ad210f0047f49df..9e39faf6a9a926282aa62f7308f1831a8be82639 100644 --- a/civicrm/css/civicrm.css +++ b/civicrm/css/civicrm.css @@ -697,10 +697,19 @@ input.crm-form-entityref { color: #3e3e3e; } +.crm-container .status.crm-status-none { + background-color: inherit; +} + .crm-container .crm-footer { font-size: 0.8em; } +.crm-footer .status { + padding: 4px; + border: 0px; +} + #civicrm-footer { margin-top: 2em; border-top: 1px solid #ddd; diff --git a/civicrm/ext/afform/admin/ang/afAdmin/afAdminList.html b/civicrm/ext/afform/admin/ang/afAdmin/afAdminList.html index f7cfff679f61dd98a99910b35442d67141acaa9c..b74450e4b88e5a30ee356d8a19d285bf3c1bbdd7 100644 --- a/civicrm/ext/afform/admin/ang/afAdmin/afAdminList.html +++ b/civicrm/ext/afform/admin/ang/afAdmin/afAdminList.html @@ -14,7 +14,7 @@ <label for="afform-list-filter">{{:: ts('Filter:') }}</label> <input class="form-control" type="search" id="afform-list-filter" ng-model="$ctrl.searchAfformList" placeholder=""> <div class="btn-group pull-right" ng-if="types[$ctrl.tab].options !== false" af-gui-menu> - <a ng-if="types[$ctrl.tab].default" href="{{ types[$ctrl.tab].default }}" class="btn btn-primary"> + <a ng-if="types[$ctrl.tab].default" ng-href="{{ types[$ctrl.tab].default }}" class="btn btn-primary"> {{ ts('New %1', {1: types[$ctrl.tab].label }) }} </a> <button type="button" ng-click="$ctrl.createLinks()" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> @@ -28,7 +28,7 @@ <a href ng-if="types[$ctrl.tab].options && !types[$ctrl.tab].options.length">{{:: ts('None Found') }}</a> </li> <li ng-repeat="link in types[$ctrl.tab].options | filter:searchCreateLinks" class="{{:: link.class }}"> - <a ng-if=":: link.url" href="{{:: link.url }}"> + <a ng-if=":: link.url" ng-href="{{:: link.url }}"> <i class="crm-i {{:: link.icon }}"></i> {{:: link.label }} </a> @@ -98,8 +98,8 @@ {{:: afform['base_module:label'] }} </td> <td class="text-right"> - <a ng-if="afform.type !== 'system'" href="#/edit/{{:: afform.name }}" class="btn btn-xs btn-primary">{{:: ts('Edit') }}</a> - <a ng-if="afform.type !== 'system'" href="#/clone/{{:: afform.name }}" class="btn btn-xs btn-secondary">{{:: ts('Clone') }}</a> + <a ng-if="afform.type !== 'system'" ng-href="#/edit/{{:: afform.name }}" class="btn btn-xs btn-primary">{{:: ts('Edit') }}</a> + <a ng-if="afform.type !== 'system'" ng-href="#/clone/{{:: afform.name }}" class="btn btn-xs btn-secondary">{{:: ts('Clone') }}</a> <a href ng-if="afform.has_local" class="btn btn-xs btn-{{ afform.has_base ? 'warning' : 'danger' }}" crm-confirm="{type: afform.has_base ? 'revert' : 'delete', obj: afform}" on-yes="$ctrl.revert(afform)"> {{ afform.has_base ? ts('Revert') : ts('Delete') }} </a> diff --git a/civicrm/ext/afform/admin/ang/afGuiEditor/afGuiEditorCanvas.html b/civicrm/ext/afform/admin/ang/afGuiEditor/afGuiEditorCanvas.html index 1a7212666df32282d037dd3c1e505e13e26b65e0..f5bbe603dc3fe72c3626939e64e819b2f6170779 100644 --- a/civicrm/ext/afform/admin/ang/afGuiEditor/afGuiEditorCanvas.html +++ b/civicrm/ext/afform/admin/ang/afGuiEditor/afGuiEditorCanvas.html @@ -12,7 +12,7 @@ </div> <div class="form-inline pull-right"> <div class="form-group" ng-if="editor.isSaved() && !saving && editor.afform.server_route"> - <a target="_blank" href="{{ editor.getLink() }}"> + <a target="_blank" ng-href="{{ editor.getLink() }}"> <i class="crm-i fa-external-link"></i> {{:: ts('View Page') }} </a> diff --git a/civicrm/ext/afform/admin/ang/afGuiEditor/afGuiEntity.component.js b/civicrm/ext/afform/admin/ang/afGuiEditor/afGuiEntity.component.js index 3b031a4165592a9826a71e75fbfd28ecdb03e4b1..8c2110e809ad3320f7e5dbb64cd51694d91f9a92 100644 --- a/civicrm/ext/afform/admin/ang/afGuiEditor/afGuiEntity.component.js +++ b/civicrm/ext/afform/admin/ang/afGuiEditor/afGuiEntity.component.js @@ -103,6 +103,7 @@ item['af-join'] = block.join_entity; item['#children'] = [{"#tag": directive}]; item['af-repeat'] = ts('Add'); + item['af-copy'] = ts('Copy'); item.min = '1'; if (typeof joinEntity.repeat_max === 'number') { item.max = '' + joinEntity.repeat_max; diff --git a/civicrm/ext/afform/admin/ang/afGuiEditor/elements/afGuiContainer.component.js b/civicrm/ext/afform/admin/ang/afGuiEditor/elements/afGuiContainer.component.js index 79382e2ba4d71c8207943beae737f1e53c399849..9853d7fbe98bb5c6bc49b1eccabd09a0171eb34f 100644 --- a/civicrm/ext/afform/admin/ang/afGuiEditor/elements/afGuiContainer.component.js +++ b/civicrm/ext/afform/admin/ang/afGuiEditor/elements/afGuiContainer.component.js @@ -127,9 +127,13 @@ delete ctrl.node.min; delete ctrl.node['af-repeat']; delete ctrl.node['add-icon']; + delete ctrl.node['af-copy']; + delete ctrl.node['copy-icon']; + } else { ctrl.node.min = '1'; ctrl.node['af-repeat'] = ts('Add'); + ctrl.node['af-copy'] = ts('Copy'); delete ctrl.node.data; } }; @@ -188,6 +192,12 @@ }); }; + $scope.pickCopyIcon = function() { + afGui.pickIcon().then(function(val) { + ctrl.node['copy-icon'] = val; + }); + }; + function getBlockNode() { return !ctrl.join ? ctrl.node : (ctrl.node['#children'] && ctrl.node['#children'].length === 1 ? ctrl.node['#children'][0] : null); } diff --git a/civicrm/ext/afform/admin/ang/afGuiEditor/elements/afGuiContainer.html b/civicrm/ext/afform/admin/ang/afGuiEditor/elements/afGuiContainer.html index 9d6431cc08eeaf31ee915fc1dad90519388359b5..c0503327a24237c2470859df98b27fc46a53835a 100644 --- a/civicrm/ext/afform/admin/ang/afGuiEditor/elements/afGuiContainer.html +++ b/civicrm/ext/afform/admin/ang/afGuiEditor/elements/afGuiContainer.html @@ -46,3 +46,11 @@ <span crm-ui-editable ng-model="$ctrl.node['af-repeat']">{{ $ctrl.node['af-repeat'] }}</span> </button> </div> +<div ng-if="$ctrl.node['af-copy'] || $ctrl.node['af-copy'] === ''" class="af-gui-button"> + <button type="button" class="btn btn-xs btn-primary disabled"> + <span class="crm-editable-enabled" ng-click="pickCopyIcon()" > + <i class="crm-i {{ $ctrl.node['copy-icon'] || 'fa-copy' }}"></i> + </span> + <span crm-ui-editable ng-model="$ctrl.node['af-copy']">{{ $ctrl.node['af-copy'] }}</span> + </button> +</div> diff --git a/civicrm/ext/afform/admin/ang/afGuiEditor/elements/afGuiField.component.js b/civicrm/ext/afform/admin/ang/afGuiEditor/elements/afGuiField.component.js index d5fa1149a1c4158d7c46c5f9385bfdfe30928709..087b27832ea61fe216b6b32022314089cfa0c4a7 100644 --- a/civicrm/ext/afform/admin/ang/afGuiEditor/elements/afGuiField.component.js +++ b/civicrm/ext/afform/admin/ang/afGuiEditor/elements/afGuiField.component.js @@ -353,6 +353,7 @@ '>=': '≥', '<=': '≤', 'CONTAINS': ts('Contains'), + 'NOT CONTAINS': ts("Doesn't Contain"), 'IN': ts('Is One Of'), 'NOT IN': ts('Not One Of'), 'LIKE': ts('Is Like'), diff --git a/civicrm/ext/afform/admin/ang/afGuiEditor/elements/afGuiSearchDisplay.html b/civicrm/ext/afform/admin/ang/afGuiEditor/elements/afGuiSearchDisplay.html index 90b5fdeede7a591e8728c1e9e1d8ca6e8c8d374d..87d814a11fca4809bdf3fd8ca26c9ad10a8a27c3 100644 --- a/civicrm/ext/afform/admin/ang/afGuiEditor/elements/afGuiSearchDisplay.html +++ b/civicrm/ext/afform/admin/ang/afGuiEditor/elements/afGuiSearchDisplay.html @@ -7,7 +7,7 @@ </button> <ul class="dropdown-menu" ng-if="menu.open"> <li> - <a target="_blank" href="{{:: $ctrl.editUrl }}"> + <a target="_blank" ng-href="{{:: $ctrl.editUrl }}"> <i class="crm-i fa-external-link"></i> {{:: ts('Edit Saved Search') }} </a> </li> diff --git a/civicrm/ext/afform/admin/info.xml b/civicrm/ext/afform/admin/info.xml index aea2cc2c6be3cda0de6e20da6e39ee65a10dcc2c..8c27287e5781056e42b6bfdd929341b18405b0bb 100644 --- a/civicrm/ext/afform/admin/info.xml +++ b/civicrm/ext/afform/admin/info.xml @@ -13,10 +13,10 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2020-01-09</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <develStage>beta</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <comments>FormBuilder provides a UI to administer and edit forms. It is an optional admin tool and not required for the forms to function.</comments> <requires> diff --git a/civicrm/ext/afform/core/ang/af/afRepeat.directive.js b/civicrm/ext/afform/core/ang/af/afRepeat.directive.js index f294c206309705e407fb1e6fa06459c203555d6b..697ce10a7550857fe792c1c615fc532088d6b2b8 100644 --- a/civicrm/ext/afform/core/ang/af/afRepeat.directive.js +++ b/civicrm/ext/afform/core/ang/af/afRepeat.directive.js @@ -10,7 +10,9 @@ min: '=', max: '=', addLabel: '@afRepeat', - addIcon: '@' + addIcon: '@', + copyLabel: '@afCopy', + copyIcon: '@' }, templateUrl: '~/af/afRepeat.html', link: function($scope, $el, $attr, ctrls) { @@ -40,6 +42,12 @@ $scope.getItems().push(getRepeatType() === 'join' ? {} : {fields: {}}); }; + $scope.copyItem = function() { + var data = $scope.getItems(); + var last = data[data.length-1]; + data.push(getRepeatType() === 'join' ? angular.copy(last) : {fields: angular.copy(last.fields)}); + }; + $scope.removeItem = function(index) { $scope.getItems().splice(index, 1); }; diff --git a/civicrm/ext/afform/core/ang/af/afRepeat.html b/civicrm/ext/afform/core/ang/af/afRepeat.html index 63cc10257ef7cf13d22484be343bdf9728fd7ca6..e4a7502edef1e3df3a812068d08c7bb64131d1bb 100644 --- a/civicrm/ext/afform/core/ang/af/afRepeat.html +++ b/civicrm/ext/afform/core/ang/af/afRepeat.html @@ -3,3 +3,4 @@ <button crm-icon="fa-ban" class="btn btn-xs af-repeat-remove-btn" ng-if="canRemove()" ng-click="removeItem($index)"></button> </div> <button crm-icon="{{ addIcon || 'fa-plus' }}" class="btn btn-sm af-repeat-add-btn" ng-if="canAdd()" ng-click="addItem()">{{ addLabel }}</button> +<button crm-icon="{{ copyIcon || 'fa-copy' }}" class="btn btn-sm af-repeat-copy-btn" ng-if="canAdd()" ng-click="copyItem()">{{ copyLabel }}</button> diff --git a/civicrm/ext/afform/core/ang/af/fields/CheckBox.html b/civicrm/ext/afform/core/ang/af/fields/CheckBox.html index ba9b8aac933631fa0c69935d6133213b4db39cda..14c9249ffd620181f44f06c52d106a3a107850f3 100644 --- a/civicrm/ext/afform/core/ang/af/fields/CheckBox.html +++ b/civicrm/ext/afform/core/ang/af/fields/CheckBox.html @@ -1,6 +1,6 @@ <ul class="crm-checkbox-list" id="{{ fieldId }}" ng-if="$ctrl.defn.options"> <li ng-repeat="opt in $ctrl.defn.options track by opt.id" > - <input type="checkbox" checklist-model="dataProvider.getFieldData()[$ctrl.fieldName]" id="{{ fieldId + opt.id }}" checklist-value="opt.id" /> + <input type="checkbox" checklist-model="dataProvider.getFieldData()[$ctrl.fieldName]" ng-required="$ctrl.defn.required && !dataProvider.getFieldData()[$ctrl.fieldName].length" id="{{ fieldId + opt.id }}" checklist-value="opt.id" /> <label for="{{ fieldId + opt.id }}">{{:: opt.label }}</label> </li> </ul> diff --git a/civicrm/ext/afform/core/ang/af/fields/Radio.html b/civicrm/ext/afform/core/ang/af/fields/Radio.html index 189fa309fd667d9233b8adeebb92ed65cb04ff42..e32ef716df83e41bd3c0500de7245667bca43815 100644 --- a/civicrm/ext/afform/core/ang/af/fields/Radio.html +++ b/civicrm/ext/afform/core/ang/af/fields/Radio.html @@ -1,5 +1,5 @@ <label ng-repeat="opt in getOptions() track by opt.id" > - <input class="crm-form-radio" type="radio" ng-model="getSetValue" ng-model-options="{getterSetter: true}" ng-value="opt.id" /> + <input class="crm-form-radio" name="{{:: fieldId }}" type="radio" ng-model="getSetValue" ng-required="$ctrl.defn.required" ng-model-options="{getterSetter: true}" ng-value="opt.id" /> {{:: opt.label }} </label> <a ng-if="!$ctrl.defn.required" class="crm-hover-button" title="{{:: ts('Clear') }}" ng-show="!!dataProvider.getFieldData()[$ctrl.fieldName] || dataProvider.getFieldData()[$ctrl.fieldName] === false || dataProvider.getFieldData()[$ctrl.fieldName] === 0" ng-click="dataProvider.getFieldData()[$ctrl.fieldName] = null"> diff --git a/civicrm/ext/afform/core/info.xml b/civicrm/ext/afform/core/info.xml index 722b61b4572fe36c7d1d61966bb07184bc8d122b..d205dff0811a68e6c662acfbab74d8ab102ae3c1 100644 --- a/civicrm/ext/afform/core/info.xml +++ b/civicrm/ext/afform/core/info.xml @@ -13,10 +13,10 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2020-01-09</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <develStage>beta</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <comments>The Form Core extension is required to use any dynamic form. To administer and edit forms, also install the FormBuilder extension.</comments> <civix> diff --git a/civicrm/ext/afform/html/info.xml b/civicrm/ext/afform/html/info.xml index 08fa606b9f95c34d6f808a7c03e1545a0c893427..b4e0c18c8985c72e962a3d67a738333a8c301b6b 100644 --- a/civicrm/ext/afform/html/info.xml +++ b/civicrm/ext/afform/html/info.xml @@ -13,10 +13,10 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2020-01-09</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <develStage>alpha</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <requires> <ext>org.civicrm.afform</ext> diff --git a/civicrm/ext/afform/mock/info.xml b/civicrm/ext/afform/mock/info.xml index 063eee130ad24f79b47a63ca10a1414eede16759..93a270483ec2010ffce9efef6dff5a04432ba445 100644 --- a/civicrm/ext/afform/mock/info.xml +++ b/civicrm/ext/afform/mock/info.xml @@ -12,13 +12,13 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2020-01-09</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <tags> <tag>mgmt:hidden</tag> </tags> <develStage>alpha</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <requires> <ext>org.civicrm.afform</ext> diff --git a/civicrm/ext/authx/Civi/Api4/Action/AuthxCredential/Create.php b/civicrm/ext/authx/Civi/Api4/Action/AuthxCredential/Create.php new file mode 100644 index 0000000000000000000000000000000000000000..d8fe37ce19b54c36a4197f686124d0f21345e9e2 --- /dev/null +++ b/civicrm/ext/authx/Civi/Api4/Action/AuthxCredential/Create.php @@ -0,0 +1,57 @@ +<?php + +/* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ + */ + +namespace Civi\Api4\Action\AuthxCredential; + +use Civi\Api4\Generic\Result; + +/** + * Generate a security checksum for anonymous access to CiviCRM. + * + * @method int getContactId() Get contact ID param (required) + * @method $this setContactId(int $contactId) Set the Contact Id + * @method $this setTtl(int $ttl) Set TTL param + * @method int getTtl() get the TTL param; + */ +class Create extends \Civi\Api4\Generic\AbstractAction { + + /** + * ID of contact + * + * @var int + * @required + */ + protected $contactId; + + /** + * Expiration time (in seconds). Defaults to 300 seconds + * + * @var int + */ + protected $ttl = 300; + + /** + * @param \Civi\Api4\Generic\Result $result + */ + public function _run(Result $result) { + $token = \Civi::service('crypto.jwt')->encode([ + 'exp' => time() + $this->ttl, + 'sub' => 'cid:' . $this->contactId, + 'scope' => 'authx', + ]); + + $result[] = [ + 'cred' => 'Bearer ' . $token, + ]; + } + +} diff --git a/civicrm/ext/authx/Civi/Api4/Action/AuthxCredential/Validate.php b/civicrm/ext/authx/Civi/Api4/Action/AuthxCredential/Validate.php new file mode 100644 index 0000000000000000000000000000000000000000..55d50245b79d1cf9a557cced8ea4086d0486f2ab --- /dev/null +++ b/civicrm/ext/authx/Civi/Api4/Action/AuthxCredential/Validate.php @@ -0,0 +1,57 @@ +<?php + +/* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ + */ + +namespace Civi\Api4\Action\AuthxCredential; + +use Civi\Api4\Generic\Result; + +/** + * Validate that a credential is still valid and can be used in CiviCRM. + * + * @method string getCred() Get Token to validate (required) + * @method Validate setCred(string $token) Get contact ID param (required) + */ +class Validate extends \Civi\Api4\Generic\AbstractAction { + + /** + * Identify the login-flow. Used for policy enforcement. + * + * @var string + */ + protected $flow = 'script'; + + /** + * Credential to validate + * + * @var string + * Ex: 'Bearer ABCD1234' + * @required + */ + protected $cred; + + /** + * @param \Civi\Api4\Generic\Result $result + * @throws \Civi\Authx\AuthxException + */ + public function _run(Result $result) { + $details = [ + 'flow' => $this->flow, + 'cred' => $this->cred, + 'siteKey' => NULL, /* Old school. Hopefully, we don't need to expose this. */ + 'useSession' => FALSE, + ]; + $auth = new \Civi\Authx\Authenticator(); + $auth->setRejectMode('exception'); + $result[] = $auth->validate($details); + } + +} diff --git a/civicrm/ext/authx/Civi/Api4/AuthxCredential.php b/civicrm/ext/authx/Civi/Api4/AuthxCredential.php new file mode 100644 index 0000000000000000000000000000000000000000..14d5397cd419b2c9f74f22cafa5d6d1ce83678ed --- /dev/null +++ b/civicrm/ext/authx/Civi/Api4/AuthxCredential.php @@ -0,0 +1,60 @@ +<?php + +/* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ + */ +namespace Civi\Api4; + +/** + * Methods of handling (JWT) authx credentialss + * + * @searchable none + * @since 5.62 + * @package Authx + */ +class AuthxCredential extends Generic\AbstractEntity { + + /** + * @param bool $checkPermissions + * @return Action\AuthxCredential\create + */ + public static function create($checkPermissions = TRUE) { + return (new Action\AuthxCredential\Create(__CLASS__, __FUNCTION__)) + ->setCheckPermissions($checkPermissions); + } + + /** + * @param bool $checkPermissions + * @return Action\AuthxCredential\validate + */ + public static function validate($checkPermissions = TRUE) { + return (new Action\AuthxCredential\Validate(__CLASS__, __FUNCTION__)) + ->setCheckPermissions($checkPermissions); + } + + /** + * @param bool $checkPermissions + * @return Generic\BasicGetFieldsAction + */ + public static function getFields($checkPermissions = TRUE) { + return (new Generic\BasicGetFieldsAction(__CLASS__, __FUNCTION__, function() { + return []; + }))->setCheckPermissions($checkPermissions); + } + + public static function permissions() { + return [ + 'meta' => ['access CiviCRM'], + 'default' => ['administer CiviCRM'], + 'create' => ['generate any authx credential'], + 'validate' => ['validate any authx credential'], + ]; + } + +} diff --git a/civicrm/ext/authx/Civi/Authx/Authenticator.php b/civicrm/ext/authx/Civi/Authx/Authenticator.php index d38bc985dd553e146c3a9cf58daa79a1096bda72..b30fbf2ab3812c5b45620be97271958f07362c8a 100644 --- a/civicrm/ext/authx/Civi/Authx/Authenticator.php +++ b/civicrm/ext/authx/Civi/Authx/Authenticator.php @@ -142,6 +142,35 @@ class Authenticator extends AutoService implements HookInterface { return TRUE; } + /** + * Determine whether credentials are valid. This is similar to `auth()` + * but stops short of performing an actual login. + * + * @param array $details + * @return array{flow: string, credType: string, jwt: ?array, useSession: bool, userId: ?int, contactId: ?int} + * Description of the validated principal (redacted). + * @throws \Civi\Authx\AuthxException + */ + public function validate(array $details): array { + if (!isset($details['flow'])) { + $this->reject('Authentication logic error: Must specify "flow".'); + } + + $tgt = AuthenticatorTarget::create([ + 'flow' => $details['flow'], + 'cred' => $details['cred'] ?? NULL, + 'siteKey' => $details['siteKey'] ?? NULL, + 'useSession' => $details['useSession'] ?? FALSE, + ]); + + if ($principal = $this->checkCredential($tgt)) { + $tgt->setPrincipal($principal); + } + + $this->checkPolicy($tgt); + return $tgt->createRedacted(); + } + /** * Assess the credential ($tgt->cred) and determine the matching principal. * diff --git a/civicrm/ext/authx/authx.php b/civicrm/ext/authx/authx.php index 432afe1d893e25f051027f91557db48bb4bb01d2..d8a1f13b32c1f1478ea2a7d0983d1b270f044199 100644 --- a/civicrm/ext/authx/authx.php +++ b/civicrm/ext/authx/authx.php @@ -124,6 +124,8 @@ function authx_civicrm_enable() { function authx_civicrm_permission(&$permissions) { $permissions['authenticate with password'] = E::ts('AuthX: Authenticate to services with password'); $permissions['authenticate with api key'] = E::ts('AuthX: Authenticate to services with API key'); + $permissions['generate any authx credential'] = E::ts('Authx: Generate new JWT credentials for other users via the API'); + $permissions['validate any authx credential'] = E::ts('Authx: Validate credentials for other users via the API'); } // --- Functions below this ship commented out. Uncomment as required. --- diff --git a/civicrm/ext/authx/info.xml b/civicrm/ext/authx/info.xml index bc39ac1213243f7b51cd0276a25419085ed5db14..5c38be24ef185fc1177bb0ef3bba9f4b19c7096c 100644 --- a/civicrm/ext/authx/info.xml +++ b/civicrm/ext/authx/info.xml @@ -15,10 +15,10 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2021-02-11</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <develStage>stable</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <comments>AuthX enables remote applications to connect to CiviCRM. Use it to enable and disable different forms of authentication (such as username-password, API key, and/or JWT).</comments> <classloader> diff --git a/civicrm/ext/authx/tests/phpunit/api/v4/AuthxCredentialTest.php b/civicrm/ext/authx/tests/phpunit/api/v4/AuthxCredentialTest.php new file mode 100644 index 0000000000000000000000000000000000000000..a91c81649b83d6c97c8fcfcf158256a39a6f7caa --- /dev/null +++ b/civicrm/ext/authx/tests/phpunit/api/v4/AuthxCredentialTest.php @@ -0,0 +1,91 @@ +<?php + +namespace api\v4\Authx; + +use Civi\Api4\AuthxCredential; +use Civi\Authx\AuthxException; +use Civi\Test\HeadlessInterface; +use Civi\Test\TransactionalInterface; +use Firebase\JWT\JWT; +use PHPUnit\Framework\TestCase; + +/** + * Test AuthxCredential API methods + * @group headless + */ +class AuthxCredentialTest extends TestCase implements HeadlessInterface, TransactionalInterface { + + use \Civi\Test\Api4TestTrait; + use \Civi\Test\Api3TestTrait; + use \Civi\Test\ContactTestTrait; + + public function setUpHeadless() { + return \Civi\Test::headless() + ->installMe(__DIR__) + ->apply(); + } + + public function testGenerateToken(): void { + $this->_apiversion = 4; + $contactRecord = $this->createTestRecord('Contact', ['contact_type' => 'Individual']); + $this->createLoggedInUser(); + $this->setPermissions([ + 'access CiviCRM', + ]); + try { + AuthxCredential::create()->setContactId($contactRecord['id'])->execute(); + $this->fail('AuthxCredential Should not be created as permission is not granted'); + } + catch (\Exception $e) { + } + $this->setPermissions([ + 'access CiviCRM', + 'generate any authx credential', + ]); + $jwt = AuthxCredential::create()->setContactId($contactRecord['id'])->execute(); + $this->assertNotEmpty($jwt[0]['cred']); + } + + public function testValidation(): void { + $this->_apiversion = 4; + $contactRecord = $this->createTestRecord('Contact', ['contact_type' => 'Individual']); + $this->createLoggedInUser(); + $this->setPermissions([ + 'access CiviCRM', + 'generate any authx credential', + ]); + $jwt = AuthxCredential::create()->setContactId($contactRecord['id'])->execute(); + + $this->setPermissions([ + 'access CiviCRM', + 'validate any authx credential', + ]); + $validate = AuthxCredential::validate()->setCred($jwt[0]['cred'])->execute(); + $this->assertEquals('jwt', $validate[0]['credType']); + $this->assertEquals($contactRecord['id'], $validate[0]['contactId']); + $this->assertEquals('cid:' . $contactRecord['id'], $validate[0]['jwt']['sub']); + + try { + JWT::$timestamp = time() + 360; + AuthxCredential::validate()->setCred($jwt[0]['cred'])->execute(); + $this->fail('Expected exception for expired token'); + } + catch (AuthxException $e) { + $this->assertEquals('Expired token', $e->getMessage()); + } + finally { + JWT::$timestamp = NULL; + } + } + + /** + * Set ACL permissions, overwriting any existing ones. + * + * @param array $permissions + * Array of permissions e.g ['access CiviCRM','access CiviContribute'], + */ + protected function setPermissions(array $permissions): void { + \CRM_Core_Config::singleton()->userPermissionClass->permissions = $permissions; + } + +} diff --git a/civicrm/ext/civi_campaign/civi_campaign.civix.php b/civicrm/ext/civi_campaign/civi_campaign.civix.php new file mode 100644 index 0000000000000000000000000000000000000000..442c2451325cb61a9e0009869b253db4129447b8 --- /dev/null +++ b/civicrm/ext/civi_campaign/civi_campaign.civix.php @@ -0,0 +1,200 @@ +<?php + +// AUTO-GENERATED FILE -- Civix may overwrite any changes made to this file + +/** + * The ExtensionUtil class provides small stubs for accessing resources of this + * extension. + */ +class CRM_Campaign_ExtensionUtil { + const SHORT_NAME = 'civi_campaign'; + const LONG_NAME = 'civi_campaign'; + const CLASS_PREFIX = 'CRM_Campaign'; + + /** + * Translate a string using the extension's domain. + * + * If the extension doesn't have a specific translation + * for the string, fallback to the default translations. + * + * @param string $text + * Canonical message text (generally en_US). + * @param array $params + * @return string + * Translated text. + * @see ts + */ + public static function ts($text, $params = []): string { + if (!array_key_exists('domain', $params)) { + $params['domain'] = [self::LONG_NAME, NULL]; + } + return ts($text, $params); + } + + /** + * Get the URL of a resource file (in this extension). + * + * @param string|NULL $file + * Ex: NULL. + * Ex: 'css/foo.css'. + * @return string + * Ex: 'http://example.org/sites/default/ext/org.example.foo'. + * Ex: 'http://example.org/sites/default/ext/org.example.foo/css/foo.css'. + */ + public static function url($file = NULL): string { + if ($file === NULL) { + return rtrim(CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME), '/'); + } + return CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME, $file); + } + + /** + * Get the path of a resource file (in this extension). + * + * @param string|NULL $file + * Ex: NULL. + * Ex: 'css/foo.css'. + * @return string + * Ex: '/var/www/example.org/sites/default/ext/org.example.foo'. + * Ex: '/var/www/example.org/sites/default/ext/org.example.foo/css/foo.css'. + */ + public static function path($file = NULL) { + // return CRM_Core_Resources::singleton()->getPath(self::LONG_NAME, $file); + return __DIR__ . ($file === NULL ? '' : (DIRECTORY_SEPARATOR . $file)); + } + + /** + * Get the name of a class within this extension. + * + * @param string $suffix + * Ex: 'Page_HelloWorld' or 'Page\\HelloWorld'. + * @return string + * Ex: 'CRM_Foo_Page_HelloWorld'. + */ + public static function findClass($suffix) { + return self::CLASS_PREFIX . '_' . str_replace('\\', '_', $suffix); + } + +} + +use CRM_Campaign_ExtensionUtil as E; + +/** + * (Delegated) Implements hook_civicrm_config(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_config + */ +function _civi_campaign_civix_civicrm_config($config = NULL) { + static $configured = FALSE; + if ($configured) { + return; + } + $configured = TRUE; + + $extRoot = __DIR__ . DIRECTORY_SEPARATOR; + $include_path = $extRoot . PATH_SEPARATOR . get_include_path(); + set_include_path($include_path); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * Implements hook_civicrm_install(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_install + */ +function _civi_campaign_civix_civicrm_install() { + _civi_campaign_civix_civicrm_config(); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * (Delegated) Implements hook_civicrm_enable(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_enable + */ +function _civi_campaign_civix_civicrm_enable(): void { + _civi_campaign_civix_civicrm_config(); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * Inserts a navigation menu item at a given place in the hierarchy. + * + * @param array $menu - menu hierarchy + * @param string $path - path to parent of this item, e.g. 'my_extension/submenu' + * 'Mailing', or 'Administer/System Settings' + * @param array $item - the item to insert (parent/child attributes will be + * filled for you) + * + * @return bool + */ +function _civi_campaign_civix_insert_navigation_menu(&$menu, $path, $item) { + // If we are done going down the path, insert menu + if (empty($path)) { + $menu[] = [ + 'attributes' => array_merge([ + 'label' => $item['name'] ?? NULL, + 'active' => 1, + ], $item), + ]; + return TRUE; + } + else { + // Find an recurse into the next level down + $found = FALSE; + $path = explode('/', $path); + $first = array_shift($path); + foreach ($menu as $key => &$entry) { + if ($entry['attributes']['name'] == $first) { + if (!isset($entry['child'])) { + $entry['child'] = []; + } + $found = _civi_campaign_civix_insert_navigation_menu($entry['child'], implode('/', $path), $item); + } + } + return $found; + } +} + +/** + * (Delegated) Implements hook_civicrm_navigationMenu(). + */ +function _civi_campaign_civix_navigationMenu(&$nodes) { + if (!is_callable(['CRM_Core_BAO_Navigation', 'fixNavigationMenu'])) { + _civi_campaign_civix_fixNavigationMenu($nodes); + } +} + +/** + * Given a navigation menu, generate navIDs for any items which are + * missing them. + */ +function _civi_campaign_civix_fixNavigationMenu(&$nodes) { + $maxNavID = 1; + array_walk_recursive($nodes, function($item, $key) use (&$maxNavID) { + if ($key === 'navID') { + $maxNavID = max($maxNavID, $item); + } + }); + _civi_campaign_civix_fixNavigationMenuItems($nodes, $maxNavID, NULL); +} + +function _civi_campaign_civix_fixNavigationMenuItems(&$nodes, &$maxNavID, $parentID) { + $origKeys = array_keys($nodes); + foreach ($origKeys as $origKey) { + if (!isset($nodes[$origKey]['attributes']['parentID']) && $parentID !== NULL) { + $nodes[$origKey]['attributes']['parentID'] = $parentID; + } + // If no navID, then assign navID and fix key. + if (!isset($nodes[$origKey]['attributes']['navID'])) { + $newKey = ++$maxNavID; + $nodes[$origKey]['attributes']['navID'] = $newKey; + $nodes[$newKey] = $nodes[$origKey]; + unset($nodes[$origKey]); + $origKey = $newKey; + } + if (isset($nodes[$origKey]['child']) && is_array($nodes[$origKey]['child'])) { + _civi_campaign_civix_fixNavigationMenuItems($nodes[$origKey]['child'], $maxNavID, $nodes[$origKey]['attributes']['navID']); + } + } +} diff --git a/civicrm/ext/civi_campaign/civi_campaign.php b/civicrm/ext/civi_campaign/civi_campaign.php new file mode 100644 index 0000000000000000000000000000000000000000..6b7713484ebc80ca4034ebbd6121d5f209b3c92b --- /dev/null +++ b/civicrm/ext/civi_campaign/civi_campaign.php @@ -0,0 +1,3 @@ +<?php + +require_once 'civi_campaign.civix.php'; diff --git a/civicrm/ext/civi_campaign/info.xml b/civicrm/ext/civi_campaign/info.xml new file mode 100644 index 0000000000000000000000000000000000000000..ed44df3fcc9c29c664e41a80ac0d8bdd97357bdb --- /dev/null +++ b/civicrm/ext/civi_campaign/info.xml @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<extension key="civi_campaign" type="module"> + <file>civi_campaign</file> + <name>CiviCampaign</name> + <description>CiviCampaign can link together events, mailings, activities, and contributions with campaigns.</description> + <license>AGPL-3.0</license> + <maintainer> + <author>CiviCRM</author> + <email>info@civicrm.org</email> + </maintainer> + <urls> + <url desc="Documentation">https://docs.civicrm.org/user/en/latest/campaign/what-is-civicampaign/</url> + <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> + </urls> + <releaseDate>2023-04-08</releaseDate> + <version>5.63.0</version> + <develStage>stable</develStage> + <tags> + <tag>component</tag> + </tags> + <compatibility> + <ver>5.63</ver> + </compatibility> + <comments>Core Component</comments> + <upgrader>CRM_Extension_Upgrader_Component</upgrader> + <classloader> + <psr0 prefix="CRM_" path="."/> + <psr4 prefix="Civi\" path="Civi"/> + </classloader> + <civix> + <namespace>CRM/Campaign</namespace> + <format>23.02.1</format> + <angularModule>civiCampaign</angularModule> + </civix> +</extension> diff --git a/civicrm/ext/civi_case/civi_case.civix.php b/civicrm/ext/civi_case/civi_case.civix.php new file mode 100644 index 0000000000000000000000000000000000000000..12da1fbcb2d1d0fa2ad67ce9626fc73a3be83537 --- /dev/null +++ b/civicrm/ext/civi_case/civi_case.civix.php @@ -0,0 +1,200 @@ +<?php + +// AUTO-GENERATED FILE -- Civix may overwrite any changes made to this file + +/** + * The ExtensionUtil class provides small stubs for accessing resources of this + * extension. + */ +class CRM_Case_ExtensionUtil { + const SHORT_NAME = 'civi_case'; + const LONG_NAME = 'civi_case'; + const CLASS_PREFIX = 'CRM_Case'; + + /** + * Translate a string using the extension's domain. + * + * If the extension doesn't have a specific translation + * for the string, fallback to the default translations. + * + * @param string $text + * Canonical message text (generally en_US). + * @param array $params + * @return string + * Translated text. + * @see ts + */ + public static function ts($text, $params = []): string { + if (!array_key_exists('domain', $params)) { + $params['domain'] = [self::LONG_NAME, NULL]; + } + return ts($text, $params); + } + + /** + * Get the URL of a resource file (in this extension). + * + * @param string|NULL $file + * Ex: NULL. + * Ex: 'css/foo.css'. + * @return string + * Ex: 'http://example.org/sites/default/ext/org.example.foo'. + * Ex: 'http://example.org/sites/default/ext/org.example.foo/css/foo.css'. + */ + public static function url($file = NULL): string { + if ($file === NULL) { + return rtrim(CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME), '/'); + } + return CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME, $file); + } + + /** + * Get the path of a resource file (in this extension). + * + * @param string|NULL $file + * Ex: NULL. + * Ex: 'css/foo.css'. + * @return string + * Ex: '/var/www/example.org/sites/default/ext/org.example.foo'. + * Ex: '/var/www/example.org/sites/default/ext/org.example.foo/css/foo.css'. + */ + public static function path($file = NULL) { + // return CRM_Core_Resources::singleton()->getPath(self::LONG_NAME, $file); + return __DIR__ . ($file === NULL ? '' : (DIRECTORY_SEPARATOR . $file)); + } + + /** + * Get the name of a class within this extension. + * + * @param string $suffix + * Ex: 'Page_HelloWorld' or 'Page\\HelloWorld'. + * @return string + * Ex: 'CRM_Foo_Page_HelloWorld'. + */ + public static function findClass($suffix) { + return self::CLASS_PREFIX . '_' . str_replace('\\', '_', $suffix); + } + +} + +use CRM_Case_ExtensionUtil as E; + +/** + * (Delegated) Implements hook_civicrm_config(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_config + */ +function _civi_case_civix_civicrm_config($config = NULL) { + static $configured = FALSE; + if ($configured) { + return; + } + $configured = TRUE; + + $extRoot = __DIR__ . DIRECTORY_SEPARATOR; + $include_path = $extRoot . PATH_SEPARATOR . get_include_path(); + set_include_path($include_path); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * Implements hook_civicrm_install(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_install + */ +function _civi_case_civix_civicrm_install() { + _civi_case_civix_civicrm_config(); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * (Delegated) Implements hook_civicrm_enable(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_enable + */ +function _civi_case_civix_civicrm_enable(): void { + _civi_case_civix_civicrm_config(); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * Inserts a navigation menu item at a given place in the hierarchy. + * + * @param array $menu - menu hierarchy + * @param string $path - path to parent of this item, e.g. 'my_extension/submenu' + * 'Mailing', or 'Administer/System Settings' + * @param array $item - the item to insert (parent/child attributes will be + * filled for you) + * + * @return bool + */ +function _civi_case_civix_insert_navigation_menu(&$menu, $path, $item) { + // If we are done going down the path, insert menu + if (empty($path)) { + $menu[] = [ + 'attributes' => array_merge([ + 'label' => $item['name'] ?? NULL, + 'active' => 1, + ], $item), + ]; + return TRUE; + } + else { + // Find an recurse into the next level down + $found = FALSE; + $path = explode('/', $path); + $first = array_shift($path); + foreach ($menu as $key => &$entry) { + if ($entry['attributes']['name'] == $first) { + if (!isset($entry['child'])) { + $entry['child'] = []; + } + $found = _civi_case_civix_insert_navigation_menu($entry['child'], implode('/', $path), $item); + } + } + return $found; + } +} + +/** + * (Delegated) Implements hook_civicrm_navigationMenu(). + */ +function _civi_case_civix_navigationMenu(&$nodes) { + if (!is_callable(['CRM_Core_BAO_Navigation', 'fixNavigationMenu'])) { + _civi_case_civix_fixNavigationMenu($nodes); + } +} + +/** + * Given a navigation menu, generate navIDs for any items which are + * missing them. + */ +function _civi_case_civix_fixNavigationMenu(&$nodes) { + $maxNavID = 1; + array_walk_recursive($nodes, function($item, $key) use (&$maxNavID) { + if ($key === 'navID') { + $maxNavID = max($maxNavID, $item); + } + }); + _civi_case_civix_fixNavigationMenuItems($nodes, $maxNavID, NULL); +} + +function _civi_case_civix_fixNavigationMenuItems(&$nodes, &$maxNavID, $parentID) { + $origKeys = array_keys($nodes); + foreach ($origKeys as $origKey) { + if (!isset($nodes[$origKey]['attributes']['parentID']) && $parentID !== NULL) { + $nodes[$origKey]['attributes']['parentID'] = $parentID; + } + // If no navID, then assign navID and fix key. + if (!isset($nodes[$origKey]['attributes']['navID'])) { + $newKey = ++$maxNavID; + $nodes[$origKey]['attributes']['navID'] = $newKey; + $nodes[$newKey] = $nodes[$origKey]; + unset($nodes[$origKey]); + $origKey = $newKey; + } + if (isset($nodes[$origKey]['child']) && is_array($nodes[$origKey]['child'])) { + _civi_case_civix_fixNavigationMenuItems($nodes[$origKey]['child'], $maxNavID, $nodes[$origKey]['attributes']['navID']); + } + } +} diff --git a/civicrm/ext/civi_case/civi_case.php b/civicrm/ext/civi_case/civi_case.php new file mode 100644 index 0000000000000000000000000000000000000000..444ef886e7dd2381ad6a596079265ef96352446b --- /dev/null +++ b/civicrm/ext/civi_case/civi_case.php @@ -0,0 +1,3 @@ +<?php + +require_once 'civi_case.civix.php'; diff --git a/civicrm/ext/civi_case/info.xml b/civicrm/ext/civi_case/info.xml new file mode 100644 index 0000000000000000000000000000000000000000..af69c4574973dcec5b775e44424c71cae0c1e59b --- /dev/null +++ b/civicrm/ext/civi_case/info.xml @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<extension key="civi_case" type="module"> + <file>civi_case</file> + <name>CiviCase</name> + <description>CiviCase is a tool for tracking and managing sequences of activities.</description> + <license>AGPL-3.0</license> + <maintainer> + <author>CiviCRM</author> + <email>info@civicrm.org</email> + </maintainer> + <urls> + <url desc="Documentation">https://docs.civicrm.org/user/en/latest/case-management/what-is-civicase/</url> + <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> + </urls> + <releaseDate>2023-04-08</releaseDate> + <version>5.63.0</version> + <develStage>stable</develStage> + <tags> + <tag>component</tag> + </tags> + <compatibility> + <ver>5.63</ver> + </compatibility> + <comments>Core Component</comments> + <upgrader>CRM_Extension_Upgrader_Component</upgrader> + <classloader> + <psr0 prefix="CRM_" path="."/> + <psr4 prefix="Civi\" path="Civi"/> + </classloader> + <civix> + <namespace>CRM/Case</namespace> + <format>23.02.1</format> + <angularModule>civiCase</angularModule> + </civix> +</extension> diff --git a/civicrm/ext/civi_contribute/civi_contribute.civix.php b/civicrm/ext/civi_contribute/civi_contribute.civix.php new file mode 100644 index 0000000000000000000000000000000000000000..215801a0d6f0a9b807b5b1b7f1118ac1d35ee29a --- /dev/null +++ b/civicrm/ext/civi_contribute/civi_contribute.civix.php @@ -0,0 +1,200 @@ +<?php + +// AUTO-GENERATED FILE -- Civix may overwrite any changes made to this file + +/** + * The ExtensionUtil class provides small stubs for accessing resources of this + * extension. + */ +class CRM_Contribute_ExtensionUtil { + const SHORT_NAME = 'civi_contribute'; + const LONG_NAME = 'civi_contribute'; + const CLASS_PREFIX = 'CRM_Contribute'; + + /** + * Translate a string using the extension's domain. + * + * If the extension doesn't have a specific translation + * for the string, fallback to the default translations. + * + * @param string $text + * Canonical message text (generally en_US). + * @param array $params + * @return string + * Translated text. + * @see ts + */ + public static function ts($text, $params = []): string { + if (!array_key_exists('domain', $params)) { + $params['domain'] = [self::LONG_NAME, NULL]; + } + return ts($text, $params); + } + + /** + * Get the URL of a resource file (in this extension). + * + * @param string|NULL $file + * Ex: NULL. + * Ex: 'css/foo.css'. + * @return string + * Ex: 'http://example.org/sites/default/ext/org.example.foo'. + * Ex: 'http://example.org/sites/default/ext/org.example.foo/css/foo.css'. + */ + public static function url($file = NULL): string { + if ($file === NULL) { + return rtrim(CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME), '/'); + } + return CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME, $file); + } + + /** + * Get the path of a resource file (in this extension). + * + * @param string|NULL $file + * Ex: NULL. + * Ex: 'css/foo.css'. + * @return string + * Ex: '/var/www/example.org/sites/default/ext/org.example.foo'. + * Ex: '/var/www/example.org/sites/default/ext/org.example.foo/css/foo.css'. + */ + public static function path($file = NULL) { + // return CRM_Core_Resources::singleton()->getPath(self::LONG_NAME, $file); + return __DIR__ . ($file === NULL ? '' : (DIRECTORY_SEPARATOR . $file)); + } + + /** + * Get the name of a class within this extension. + * + * @param string $suffix + * Ex: 'Page_HelloWorld' or 'Page\\HelloWorld'. + * @return string + * Ex: 'CRM_Foo_Page_HelloWorld'. + */ + public static function findClass($suffix) { + return self::CLASS_PREFIX . '_' . str_replace('\\', '_', $suffix); + } + +} + +use CRM_Contribute_ExtensionUtil as E; + +/** + * (Delegated) Implements hook_civicrm_config(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_config + */ +function _civi_contribute_civix_civicrm_config($config = NULL) { + static $configured = FALSE; + if ($configured) { + return; + } + $configured = TRUE; + + $extRoot = __DIR__ . DIRECTORY_SEPARATOR; + $include_path = $extRoot . PATH_SEPARATOR . get_include_path(); + set_include_path($include_path); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * Implements hook_civicrm_install(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_install + */ +function _civi_contribute_civix_civicrm_install() { + _civi_contribute_civix_civicrm_config(); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * (Delegated) Implements hook_civicrm_enable(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_enable + */ +function _civi_contribute_civix_civicrm_enable(): void { + _civi_contribute_civix_civicrm_config(); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * Inserts a navigation menu item at a given place in the hierarchy. + * + * @param array $menu - menu hierarchy + * @param string $path - path to parent of this item, e.g. 'my_extension/submenu' + * 'Mailing', or 'Administer/System Settings' + * @param array $item - the item to insert (parent/child attributes will be + * filled for you) + * + * @return bool + */ +function _civi_contribute_civix_insert_navigation_menu(&$menu, $path, $item) { + // If we are done going down the path, insert menu + if (empty($path)) { + $menu[] = [ + 'attributes' => array_merge([ + 'label' => $item['name'] ?? NULL, + 'active' => 1, + ], $item), + ]; + return TRUE; + } + else { + // Find an recurse into the next level down + $found = FALSE; + $path = explode('/', $path); + $first = array_shift($path); + foreach ($menu as $key => &$entry) { + if ($entry['attributes']['name'] == $first) { + if (!isset($entry['child'])) { + $entry['child'] = []; + } + $found = _civi_contribute_civix_insert_navigation_menu($entry['child'], implode('/', $path), $item); + } + } + return $found; + } +} + +/** + * (Delegated) Implements hook_civicrm_navigationMenu(). + */ +function _civi_contribute_civix_navigationMenu(&$nodes) { + if (!is_callable(['CRM_Core_BAO_Navigation', 'fixNavigationMenu'])) { + _civi_contribute_civix_fixNavigationMenu($nodes); + } +} + +/** + * Given a navigation menu, generate navIDs for any items which are + * missing them. + */ +function _civi_contribute_civix_fixNavigationMenu(&$nodes) { + $maxNavID = 1; + array_walk_recursive($nodes, function($item, $key) use (&$maxNavID) { + if ($key === 'navID') { + $maxNavID = max($maxNavID, $item); + } + }); + _civi_contribute_civix_fixNavigationMenuItems($nodes, $maxNavID, NULL); +} + +function _civi_contribute_civix_fixNavigationMenuItems(&$nodes, &$maxNavID, $parentID) { + $origKeys = array_keys($nodes); + foreach ($origKeys as $origKey) { + if (!isset($nodes[$origKey]['attributes']['parentID']) && $parentID !== NULL) { + $nodes[$origKey]['attributes']['parentID'] = $parentID; + } + // If no navID, then assign navID and fix key. + if (!isset($nodes[$origKey]['attributes']['navID'])) { + $newKey = ++$maxNavID; + $nodes[$origKey]['attributes']['navID'] = $newKey; + $nodes[$newKey] = $nodes[$origKey]; + unset($nodes[$origKey]); + $origKey = $newKey; + } + if (isset($nodes[$origKey]['child']) && is_array($nodes[$origKey]['child'])) { + _civi_contribute_civix_fixNavigationMenuItems($nodes[$origKey]['child'], $maxNavID, $nodes[$origKey]['attributes']['navID']); + } + } +} diff --git a/civicrm/ext/civi_contribute/civi_contribute.php b/civicrm/ext/civi_contribute/civi_contribute.php new file mode 100644 index 0000000000000000000000000000000000000000..2402844a72f8b5b15b06bb0ac64f86e22982b895 --- /dev/null +++ b/civicrm/ext/civi_contribute/civi_contribute.php @@ -0,0 +1,3 @@ +<?php + +require_once 'civi_contribute.civix.php'; diff --git a/civicrm/ext/civi_contribute/info.xml b/civicrm/ext/civi_contribute/info.xml new file mode 100644 index 0000000000000000000000000000000000000000..36f929eac0f7048533a63f42efc783275273e24f --- /dev/null +++ b/civicrm/ext/civi_contribute/info.xml @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<extension key="civi_contribute" type="module"> + <file>civi_contribute</file> + <name>CiviContribute</name> + <description>CiviContribute records and reports on financial and in-kind contributions.</description> + <license>AGPL-3.0</license> + <maintainer> + <author>CiviCRM</author> + <email>info@civicrm.org</email> + </maintainer> + <urls> + <url desc="Documentation">https://docs.civicrm.org/user/en/latest/contributions/what-is-civicontribute/</url> + <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> + </urls> + <releaseDate>2023-04-08</releaseDate> + <version>5.63.0</version> + <develStage>stable</develStage> + <tags> + <tag>component</tag> + </tags> + <compatibility> + <ver>5.63</ver> + </compatibility> + <comments>Core Component</comments> + <upgrader>CRM_Extension_Upgrader_Component</upgrader> + <classloader> + <psr0 prefix="CRM_" path="."/> + <psr4 prefix="Civi\" path="Civi"/> + </classloader> + <civix> + <namespace>CRM/Contribute</namespace> + <format>23.02.1</format> + <angularModule>civiContribute</angularModule> + </civix> +</extension> diff --git a/civicrm/ext/civi_event/civi_event.civix.php b/civicrm/ext/civi_event/civi_event.civix.php new file mode 100644 index 0000000000000000000000000000000000000000..5a8787ae40cddf6dd9820971fd961b4dd67b717c --- /dev/null +++ b/civicrm/ext/civi_event/civi_event.civix.php @@ -0,0 +1,200 @@ +<?php + +// AUTO-GENERATED FILE -- Civix may overwrite any changes made to this file + +/** + * The ExtensionUtil class provides small stubs for accessing resources of this + * extension. + */ +class CRM_Event_ExtensionUtil { + const SHORT_NAME = 'civi_event'; + const LONG_NAME = 'civi_event'; + const CLASS_PREFIX = 'CRM_Event'; + + /** + * Translate a string using the extension's domain. + * + * If the extension doesn't have a specific translation + * for the string, fallback to the default translations. + * + * @param string $text + * Canonical message text (generally en_US). + * @param array $params + * @return string + * Translated text. + * @see ts + */ + public static function ts($text, $params = []): string { + if (!array_key_exists('domain', $params)) { + $params['domain'] = [self::LONG_NAME, NULL]; + } + return ts($text, $params); + } + + /** + * Get the URL of a resource file (in this extension). + * + * @param string|NULL $file + * Ex: NULL. + * Ex: 'css/foo.css'. + * @return string + * Ex: 'http://example.org/sites/default/ext/org.example.foo'. + * Ex: 'http://example.org/sites/default/ext/org.example.foo/css/foo.css'. + */ + public static function url($file = NULL): string { + if ($file === NULL) { + return rtrim(CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME), '/'); + } + return CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME, $file); + } + + /** + * Get the path of a resource file (in this extension). + * + * @param string|NULL $file + * Ex: NULL. + * Ex: 'css/foo.css'. + * @return string + * Ex: '/var/www/example.org/sites/default/ext/org.example.foo'. + * Ex: '/var/www/example.org/sites/default/ext/org.example.foo/css/foo.css'. + */ + public static function path($file = NULL) { + // return CRM_Core_Resources::singleton()->getPath(self::LONG_NAME, $file); + return __DIR__ . ($file === NULL ? '' : (DIRECTORY_SEPARATOR . $file)); + } + + /** + * Get the name of a class within this extension. + * + * @param string $suffix + * Ex: 'Page_HelloWorld' or 'Page\\HelloWorld'. + * @return string + * Ex: 'CRM_Foo_Page_HelloWorld'. + */ + public static function findClass($suffix) { + return self::CLASS_PREFIX . '_' . str_replace('\\', '_', $suffix); + } + +} + +use CRM_Event_ExtensionUtil as E; + +/** + * (Delegated) Implements hook_civicrm_config(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_config + */ +function _civi_event_civix_civicrm_config($config = NULL) { + static $configured = FALSE; + if ($configured) { + return; + } + $configured = TRUE; + + $extRoot = __DIR__ . DIRECTORY_SEPARATOR; + $include_path = $extRoot . PATH_SEPARATOR . get_include_path(); + set_include_path($include_path); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * Implements hook_civicrm_install(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_install + */ +function _civi_event_civix_civicrm_install() { + _civi_event_civix_civicrm_config(); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * (Delegated) Implements hook_civicrm_enable(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_enable + */ +function _civi_event_civix_civicrm_enable(): void { + _civi_event_civix_civicrm_config(); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * Inserts a navigation menu item at a given place in the hierarchy. + * + * @param array $menu - menu hierarchy + * @param string $path - path to parent of this item, e.g. 'my_extension/submenu' + * 'Mailing', or 'Administer/System Settings' + * @param array $item - the item to insert (parent/child attributes will be + * filled for you) + * + * @return bool + */ +function _civi_event_civix_insert_navigation_menu(&$menu, $path, $item) { + // If we are done going down the path, insert menu + if (empty($path)) { + $menu[] = [ + 'attributes' => array_merge([ + 'label' => $item['name'] ?? NULL, + 'active' => 1, + ], $item), + ]; + return TRUE; + } + else { + // Find an recurse into the next level down + $found = FALSE; + $path = explode('/', $path); + $first = array_shift($path); + foreach ($menu as $key => &$entry) { + if ($entry['attributes']['name'] == $first) { + if (!isset($entry['child'])) { + $entry['child'] = []; + } + $found = _civi_event_civix_insert_navigation_menu($entry['child'], implode('/', $path), $item); + } + } + return $found; + } +} + +/** + * (Delegated) Implements hook_civicrm_navigationMenu(). + */ +function _civi_event_civix_navigationMenu(&$nodes) { + if (!is_callable(['CRM_Core_BAO_Navigation', 'fixNavigationMenu'])) { + _civi_event_civix_fixNavigationMenu($nodes); + } +} + +/** + * Given a navigation menu, generate navIDs for any items which are + * missing them. + */ +function _civi_event_civix_fixNavigationMenu(&$nodes) { + $maxNavID = 1; + array_walk_recursive($nodes, function($item, $key) use (&$maxNavID) { + if ($key === 'navID') { + $maxNavID = max($maxNavID, $item); + } + }); + _civi_event_civix_fixNavigationMenuItems($nodes, $maxNavID, NULL); +} + +function _civi_event_civix_fixNavigationMenuItems(&$nodes, &$maxNavID, $parentID) { + $origKeys = array_keys($nodes); + foreach ($origKeys as $origKey) { + if (!isset($nodes[$origKey]['attributes']['parentID']) && $parentID !== NULL) { + $nodes[$origKey]['attributes']['parentID'] = $parentID; + } + // If no navID, then assign navID and fix key. + if (!isset($nodes[$origKey]['attributes']['navID'])) { + $newKey = ++$maxNavID; + $nodes[$origKey]['attributes']['navID'] = $newKey; + $nodes[$newKey] = $nodes[$origKey]; + unset($nodes[$origKey]); + $origKey = $newKey; + } + if (isset($nodes[$origKey]['child']) && is_array($nodes[$origKey]['child'])) { + _civi_event_civix_fixNavigationMenuItems($nodes[$origKey]['child'], $maxNavID, $nodes[$origKey]['attributes']['navID']); + } + } +} diff --git a/civicrm/ext/civi_event/civi_event.php b/civicrm/ext/civi_event/civi_event.php new file mode 100644 index 0000000000000000000000000000000000000000..f201f3421e3e7d9c5c1b57c616491d710a49b2f6 --- /dev/null +++ b/civicrm/ext/civi_event/civi_event.php @@ -0,0 +1,3 @@ +<?php + +require_once 'civi_event.civix.php'; diff --git a/civicrm/ext/civi_event/info.xml b/civicrm/ext/civi_event/info.xml new file mode 100644 index 0000000000000000000000000000000000000000..98bd6f55dc5d4cdc1e33795f2fba5845760bd4e4 --- /dev/null +++ b/civicrm/ext/civi_event/info.xml @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<extension key="civi_event" type="module"> + <file>civi_event</file> + <name>CiviEvent</name> + <description>Event management functionality for CiviCRM</description> + <license>AGPL-3.0</license> + <maintainer> + <author>CiviCRM</author> + <email>info@civicrm.org</email> + </maintainer> + <urls> + <url desc="Documentation">https://docs.civicrm.org/user/en/latest/events/what-is-civievent</url> + <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> + </urls> + <releaseDate>2023-04-08</releaseDate> + <version>5.63.0</version> + <develStage>stable</develStage> + <tags> + <tag>component</tag> + </tags> + <compatibility> + <ver>5.63</ver> + </compatibility> + <comments>Core Component</comments> + <upgrader>CRM_Extension_Upgrader_Component</upgrader> + <classloader> + <psr0 prefix="CRM_" path="."/> + <psr4 prefix="Civi\" path="Civi"/> + </classloader> + <civix> + <namespace>CRM/Event</namespace> + <format>23.02.1</format> + <angularModule>civiEvent</angularModule> + </civix> +</extension> diff --git a/civicrm/ext/civi_mail/civi_mail.civix.php b/civicrm/ext/civi_mail/civi_mail.civix.php new file mode 100644 index 0000000000000000000000000000000000000000..6031c7e60fe274c812f51b667fe7cc1a4b972d7e --- /dev/null +++ b/civicrm/ext/civi_mail/civi_mail.civix.php @@ -0,0 +1,200 @@ +<?php + +// AUTO-GENERATED FILE -- Civix may overwrite any changes made to this file + +/** + * The ExtensionUtil class provides small stubs for accessing resources of this + * extension. + */ +class CRM_Mailing_ExtensionUtil { + const SHORT_NAME = 'civi_mail'; + const LONG_NAME = 'civi_mail'; + const CLASS_PREFIX = 'CRM_Mailing'; + + /** + * Translate a string using the extension's domain. + * + * If the extension doesn't have a specific translation + * for the string, fallback to the default translations. + * + * @param string $text + * Canonical message text (generally en_US). + * @param array $params + * @return string + * Translated text. + * @see ts + */ + public static function ts($text, $params = []): string { + if (!array_key_exists('domain', $params)) { + $params['domain'] = [self::LONG_NAME, NULL]; + } + return ts($text, $params); + } + + /** + * Get the URL of a resource file (in this extension). + * + * @param string|NULL $file + * Ex: NULL. + * Ex: 'css/foo.css'. + * @return string + * Ex: 'http://example.org/sites/default/ext/org.example.foo'. + * Ex: 'http://example.org/sites/default/ext/org.example.foo/css/foo.css'. + */ + public static function url($file = NULL): string { + if ($file === NULL) { + return rtrim(CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME), '/'); + } + return CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME, $file); + } + + /** + * Get the path of a resource file (in this extension). + * + * @param string|NULL $file + * Ex: NULL. + * Ex: 'css/foo.css'. + * @return string + * Ex: '/var/www/example.org/sites/default/ext/org.example.foo'. + * Ex: '/var/www/example.org/sites/default/ext/org.example.foo/css/foo.css'. + */ + public static function path($file = NULL) { + // return CRM_Core_Resources::singleton()->getPath(self::LONG_NAME, $file); + return __DIR__ . ($file === NULL ? '' : (DIRECTORY_SEPARATOR . $file)); + } + + /** + * Get the name of a class within this extension. + * + * @param string $suffix + * Ex: 'Page_HelloWorld' or 'Page\\HelloWorld'. + * @return string + * Ex: 'CRM_Foo_Page_HelloWorld'. + */ + public static function findClass($suffix) { + return self::CLASS_PREFIX . '_' . str_replace('\\', '_', $suffix); + } + +} + +use CRM_Mailing_ExtensionUtil as E; + +/** + * (Delegated) Implements hook_civicrm_config(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_config + */ +function _civi_mail_civix_civicrm_config($config = NULL) { + static $configured = FALSE; + if ($configured) { + return; + } + $configured = TRUE; + + $extRoot = __DIR__ . DIRECTORY_SEPARATOR; + $include_path = $extRoot . PATH_SEPARATOR . get_include_path(); + set_include_path($include_path); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * Implements hook_civicrm_install(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_install + */ +function _civi_mail_civix_civicrm_install() { + _civi_mail_civix_civicrm_config(); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * (Delegated) Implements hook_civicrm_enable(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_enable + */ +function _civi_mail_civix_civicrm_enable(): void { + _civi_mail_civix_civicrm_config(); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * Inserts a navigation menu item at a given place in the hierarchy. + * + * @param array $menu - menu hierarchy + * @param string $path - path to parent of this item, e.g. 'my_extension/submenu' + * 'Mailing', or 'Administer/System Settings' + * @param array $item - the item to insert (parent/child attributes will be + * filled for you) + * + * @return bool + */ +function _civi_mail_civix_insert_navigation_menu(&$menu, $path, $item) { + // If we are done going down the path, insert menu + if (empty($path)) { + $menu[] = [ + 'attributes' => array_merge([ + 'label' => $item['name'] ?? NULL, + 'active' => 1, + ], $item), + ]; + return TRUE; + } + else { + // Find an recurse into the next level down + $found = FALSE; + $path = explode('/', $path); + $first = array_shift($path); + foreach ($menu as $key => &$entry) { + if ($entry['attributes']['name'] == $first) { + if (!isset($entry['child'])) { + $entry['child'] = []; + } + $found = _civi_mail_civix_insert_navigation_menu($entry['child'], implode('/', $path), $item); + } + } + return $found; + } +} + +/** + * (Delegated) Implements hook_civicrm_navigationMenu(). + */ +function _civi_mail_civix_navigationMenu(&$nodes) { + if (!is_callable(['CRM_Core_BAO_Navigation', 'fixNavigationMenu'])) { + _civi_mail_civix_fixNavigationMenu($nodes); + } +} + +/** + * Given a navigation menu, generate navIDs for any items which are + * missing them. + */ +function _civi_mail_civix_fixNavigationMenu(&$nodes) { + $maxNavID = 1; + array_walk_recursive($nodes, function($item, $key) use (&$maxNavID) { + if ($key === 'navID') { + $maxNavID = max($maxNavID, $item); + } + }); + _civi_mail_civix_fixNavigationMenuItems($nodes, $maxNavID, NULL); +} + +function _civi_mail_civix_fixNavigationMenuItems(&$nodes, &$maxNavID, $parentID) { + $origKeys = array_keys($nodes); + foreach ($origKeys as $origKey) { + if (!isset($nodes[$origKey]['attributes']['parentID']) && $parentID !== NULL) { + $nodes[$origKey]['attributes']['parentID'] = $parentID; + } + // If no navID, then assign navID and fix key. + if (!isset($nodes[$origKey]['attributes']['navID'])) { + $newKey = ++$maxNavID; + $nodes[$origKey]['attributes']['navID'] = $newKey; + $nodes[$newKey] = $nodes[$origKey]; + unset($nodes[$origKey]); + $origKey = $newKey; + } + if (isset($nodes[$origKey]['child']) && is_array($nodes[$origKey]['child'])) { + _civi_mail_civix_fixNavigationMenuItems($nodes[$origKey]['child'], $maxNavID, $nodes[$origKey]['attributes']['navID']); + } + } +} diff --git a/civicrm/ext/civi_mail/civi_mail.php b/civicrm/ext/civi_mail/civi_mail.php new file mode 100644 index 0000000000000000000000000000000000000000..54ab9ba24ba76fe64afbe9b95e9318aec1cd912e --- /dev/null +++ b/civicrm/ext/civi_mail/civi_mail.php @@ -0,0 +1,3 @@ +<?php + +require_once 'civi_mail.civix.php'; diff --git a/civicrm/ext/civi_mail/info.xml b/civicrm/ext/civi_mail/info.xml new file mode 100644 index 0000000000000000000000000000000000000000..96562fa632c5f618fc3404c492f574d1263e0acd --- /dev/null +++ b/civicrm/ext/civi_mail/info.xml @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<extension key="civi_mail" type="module"> + <file>civi_mail</file> + <name>CiviMail</name> + <description>CiviMail is a sophisticated tool for handling mass email campaigns.</description> + <license>AGPL-3.0</license> + <maintainer> + <author>CiviCRM</author> + <email>info@civicrm.org</email> + </maintainer> + <urls> + <url desc="Documentation">https://docs.civicrm.org/user/en/latest/email/what-is-civimail/</url> + <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> + </urls> + <releaseDate>2023-04-08</releaseDate> + <version>5.63.0</version> + <develStage>stable</develStage> + <tags> + <tag>component</tag> + </tags> + <compatibility> + <ver>5.63</ver> + </compatibility> + <comments>Core Component</comments> + <upgrader>CRM_Extension_Upgrader_Component</upgrader> + <classloader> + <psr0 prefix="CRM_" path="."/> + <psr4 prefix="Civi\" path="Civi"/> + </classloader> + <civix> + <namespace>CRM/Mailing</namespace> + <format>23.02.1</format> + <angularModule>civiMail</angularModule> + </civix> +</extension> diff --git a/civicrm/ext/civi_member/civi_member.civix.php b/civicrm/ext/civi_member/civi_member.civix.php new file mode 100644 index 0000000000000000000000000000000000000000..21fe9cbd23905a888462118bf8c346161061cb26 --- /dev/null +++ b/civicrm/ext/civi_member/civi_member.civix.php @@ -0,0 +1,200 @@ +<?php + +// AUTO-GENERATED FILE -- Civix may overwrite any changes made to this file + +/** + * The ExtensionUtil class provides small stubs for accessing resources of this + * extension. + */ +class CRM_Member_ExtensionUtil { + const SHORT_NAME = 'civi_member'; + const LONG_NAME = 'civi_member'; + const CLASS_PREFIX = 'CRM_Member'; + + /** + * Translate a string using the extension's domain. + * + * If the extension doesn't have a specific translation + * for the string, fallback to the default translations. + * + * @param string $text + * Canonical message text (generally en_US). + * @param array $params + * @return string + * Translated text. + * @see ts + */ + public static function ts($text, $params = []): string { + if (!array_key_exists('domain', $params)) { + $params['domain'] = [self::LONG_NAME, NULL]; + } + return ts($text, $params); + } + + /** + * Get the URL of a resource file (in this extension). + * + * @param string|NULL $file + * Ex: NULL. + * Ex: 'css/foo.css'. + * @return string + * Ex: 'http://example.org/sites/default/ext/org.example.foo'. + * Ex: 'http://example.org/sites/default/ext/org.example.foo/css/foo.css'. + */ + public static function url($file = NULL): string { + if ($file === NULL) { + return rtrim(CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME), '/'); + } + return CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME, $file); + } + + /** + * Get the path of a resource file (in this extension). + * + * @param string|NULL $file + * Ex: NULL. + * Ex: 'css/foo.css'. + * @return string + * Ex: '/var/www/example.org/sites/default/ext/org.example.foo'. + * Ex: '/var/www/example.org/sites/default/ext/org.example.foo/css/foo.css'. + */ + public static function path($file = NULL) { + // return CRM_Core_Resources::singleton()->getPath(self::LONG_NAME, $file); + return __DIR__ . ($file === NULL ? '' : (DIRECTORY_SEPARATOR . $file)); + } + + /** + * Get the name of a class within this extension. + * + * @param string $suffix + * Ex: 'Page_HelloWorld' or 'Page\\HelloWorld'. + * @return string + * Ex: 'CRM_Foo_Page_HelloWorld'. + */ + public static function findClass($suffix) { + return self::CLASS_PREFIX . '_' . str_replace('\\', '_', $suffix); + } + +} + +use CRM_Member_ExtensionUtil as E; + +/** + * (Delegated) Implements hook_civicrm_config(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_config + */ +function _civi_member_civix_civicrm_config($config = NULL) { + static $configured = FALSE; + if ($configured) { + return; + } + $configured = TRUE; + + $extRoot = __DIR__ . DIRECTORY_SEPARATOR; + $include_path = $extRoot . PATH_SEPARATOR . get_include_path(); + set_include_path($include_path); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * Implements hook_civicrm_install(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_install + */ +function _civi_member_civix_civicrm_install() { + _civi_member_civix_civicrm_config(); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * (Delegated) Implements hook_civicrm_enable(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_enable + */ +function _civi_member_civix_civicrm_enable(): void { + _civi_member_civix_civicrm_config(); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * Inserts a navigation menu item at a given place in the hierarchy. + * + * @param array $menu - menu hierarchy + * @param string $path - path to parent of this item, e.g. 'my_extension/submenu' + * 'Mailing', or 'Administer/System Settings' + * @param array $item - the item to insert (parent/child attributes will be + * filled for you) + * + * @return bool + */ +function _civi_member_civix_insert_navigation_menu(&$menu, $path, $item) { + // If we are done going down the path, insert menu + if (empty($path)) { + $menu[] = [ + 'attributes' => array_merge([ + 'label' => $item['name'] ?? NULL, + 'active' => 1, + ], $item), + ]; + return TRUE; + } + else { + // Find an recurse into the next level down + $found = FALSE; + $path = explode('/', $path); + $first = array_shift($path); + foreach ($menu as $key => &$entry) { + if ($entry['attributes']['name'] == $first) { + if (!isset($entry['child'])) { + $entry['child'] = []; + } + $found = _civi_member_civix_insert_navigation_menu($entry['child'], implode('/', $path), $item); + } + } + return $found; + } +} + +/** + * (Delegated) Implements hook_civicrm_navigationMenu(). + */ +function _civi_member_civix_navigationMenu(&$nodes) { + if (!is_callable(['CRM_Core_BAO_Navigation', 'fixNavigationMenu'])) { + _civi_member_civix_fixNavigationMenu($nodes); + } +} + +/** + * Given a navigation menu, generate navIDs for any items which are + * missing them. + */ +function _civi_member_civix_fixNavigationMenu(&$nodes) { + $maxNavID = 1; + array_walk_recursive($nodes, function($item, $key) use (&$maxNavID) { + if ($key === 'navID') { + $maxNavID = max($maxNavID, $item); + } + }); + _civi_member_civix_fixNavigationMenuItems($nodes, $maxNavID, NULL); +} + +function _civi_member_civix_fixNavigationMenuItems(&$nodes, &$maxNavID, $parentID) { + $origKeys = array_keys($nodes); + foreach ($origKeys as $origKey) { + if (!isset($nodes[$origKey]['attributes']['parentID']) && $parentID !== NULL) { + $nodes[$origKey]['attributes']['parentID'] = $parentID; + } + // If no navID, then assign navID and fix key. + if (!isset($nodes[$origKey]['attributes']['navID'])) { + $newKey = ++$maxNavID; + $nodes[$origKey]['attributes']['navID'] = $newKey; + $nodes[$newKey] = $nodes[$origKey]; + unset($nodes[$origKey]); + $origKey = $newKey; + } + if (isset($nodes[$origKey]['child']) && is_array($nodes[$origKey]['child'])) { + _civi_member_civix_fixNavigationMenuItems($nodes[$origKey]['child'], $maxNavID, $nodes[$origKey]['attributes']['navID']); + } + } +} diff --git a/civicrm/ext/civi_member/civi_member.php b/civicrm/ext/civi_member/civi_member.php new file mode 100644 index 0000000000000000000000000000000000000000..41ad6469a8688c31f04e3d5d5fb54106723bec9c --- /dev/null +++ b/civicrm/ext/civi_member/civi_member.php @@ -0,0 +1,3 @@ +<?php + +require_once 'civi_member.civix.php'; diff --git a/civicrm/ext/civi_member/info.xml b/civicrm/ext/civi_member/info.xml new file mode 100644 index 0000000000000000000000000000000000000000..8449d3b9ad3503d91bc12cc41a0006cb7ddacc0e --- /dev/null +++ b/civicrm/ext/civi_member/info.xml @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<extension key="civi_member" type="module"> + <file>civi_member</file> + <name>CiviMember</name> + <description>CiviMember provides functionality to support and automate the management of memberships.</description> + <license>AGPL-3.0</license> + <maintainer> + <author>CiviCRM</author> + <email>info@civicrm.org</email> + </maintainer> + <urls> + <url desc="Documentation">https://docs.civicrm.org/user/en/latest/membership/what-is-civimember/</url> + <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> + </urls> + <releaseDate>2023-04-08</releaseDate> + <version>5.63.0</version> + <develStage>stable</develStage> + <tags> + <tag>component</tag> + </tags> + <compatibility> + <ver>5.63</ver> + </compatibility> + <comments>Core Component</comments> + <upgrader>CRM_Extension_Upgrader_Component</upgrader> + <classloader> + <psr0 prefix="CRM_" path="."/> + <psr4 prefix="Civi\" path="Civi"/> + </classloader> + <civix> + <namespace>CRM/Member</namespace> + <format>23.02.1</format> + <angularModule>civiMember</angularModule> + </civix> +</extension> diff --git a/civicrm/ext/civi_pledge/civi_pledge.civix.php b/civicrm/ext/civi_pledge/civi_pledge.civix.php new file mode 100644 index 0000000000000000000000000000000000000000..136301b427181dd7b280ff25c1ec39d8be7ff8a7 --- /dev/null +++ b/civicrm/ext/civi_pledge/civi_pledge.civix.php @@ -0,0 +1,200 @@ +<?php + +// AUTO-GENERATED FILE -- Civix may overwrite any changes made to this file + +/** + * The ExtensionUtil class provides small stubs for accessing resources of this + * extension. + */ +class CRM_Pledge_ExtensionUtil { + const SHORT_NAME = 'civi_pledge'; + const LONG_NAME = 'civi_pledge'; + const CLASS_PREFIX = 'CRM_Pledge'; + + /** + * Translate a string using the extension's domain. + * + * If the extension doesn't have a specific translation + * for the string, fallback to the default translations. + * + * @param string $text + * Canonical message text (generally en_US). + * @param array $params + * @return string + * Translated text. + * @see ts + */ + public static function ts($text, $params = []): string { + if (!array_key_exists('domain', $params)) { + $params['domain'] = [self::LONG_NAME, NULL]; + } + return ts($text, $params); + } + + /** + * Get the URL of a resource file (in this extension). + * + * @param string|NULL $file + * Ex: NULL. + * Ex: 'css/foo.css'. + * @return string + * Ex: 'http://example.org/sites/default/ext/org.example.foo'. + * Ex: 'http://example.org/sites/default/ext/org.example.foo/css/foo.css'. + */ + public static function url($file = NULL): string { + if ($file === NULL) { + return rtrim(CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME), '/'); + } + return CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME, $file); + } + + /** + * Get the path of a resource file (in this extension). + * + * @param string|NULL $file + * Ex: NULL. + * Ex: 'css/foo.css'. + * @return string + * Ex: '/var/www/example.org/sites/default/ext/org.example.foo'. + * Ex: '/var/www/example.org/sites/default/ext/org.example.foo/css/foo.css'. + */ + public static function path($file = NULL) { + // return CRM_Core_Resources::singleton()->getPath(self::LONG_NAME, $file); + return __DIR__ . ($file === NULL ? '' : (DIRECTORY_SEPARATOR . $file)); + } + + /** + * Get the name of a class within this extension. + * + * @param string $suffix + * Ex: 'Page_HelloWorld' or 'Page\\HelloWorld'. + * @return string + * Ex: 'CRM_Foo_Page_HelloWorld'. + */ + public static function findClass($suffix) { + return self::CLASS_PREFIX . '_' . str_replace('\\', '_', $suffix); + } + +} + +use CRM_Pledge_ExtensionUtil as E; + +/** + * (Delegated) Implements hook_civicrm_config(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_config + */ +function _civi_pledge_civix_civicrm_config($config = NULL) { + static $configured = FALSE; + if ($configured) { + return; + } + $configured = TRUE; + + $extRoot = __DIR__ . DIRECTORY_SEPARATOR; + $include_path = $extRoot . PATH_SEPARATOR . get_include_path(); + set_include_path($include_path); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * Implements hook_civicrm_install(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_install + */ +function _civi_pledge_civix_civicrm_install() { + _civi_pledge_civix_civicrm_config(); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * (Delegated) Implements hook_civicrm_enable(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_enable + */ +function _civi_pledge_civix_civicrm_enable(): void { + _civi_pledge_civix_civicrm_config(); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * Inserts a navigation menu item at a given place in the hierarchy. + * + * @param array $menu - menu hierarchy + * @param string $path - path to parent of this item, e.g. 'my_extension/submenu' + * 'Mailing', or 'Administer/System Settings' + * @param array $item - the item to insert (parent/child attributes will be + * filled for you) + * + * @return bool + */ +function _civi_pledge_civix_insert_navigation_menu(&$menu, $path, $item) { + // If we are done going down the path, insert menu + if (empty($path)) { + $menu[] = [ + 'attributes' => array_merge([ + 'label' => $item['name'] ?? NULL, + 'active' => 1, + ], $item), + ]; + return TRUE; + } + else { + // Find an recurse into the next level down + $found = FALSE; + $path = explode('/', $path); + $first = array_shift($path); + foreach ($menu as $key => &$entry) { + if ($entry['attributes']['name'] == $first) { + if (!isset($entry['child'])) { + $entry['child'] = []; + } + $found = _civi_pledge_civix_insert_navigation_menu($entry['child'], implode('/', $path), $item); + } + } + return $found; + } +} + +/** + * (Delegated) Implements hook_civicrm_navigationMenu(). + */ +function _civi_pledge_civix_navigationMenu(&$nodes) { + if (!is_callable(['CRM_Core_BAO_Navigation', 'fixNavigationMenu'])) { + _civi_pledge_civix_fixNavigationMenu($nodes); + } +} + +/** + * Given a navigation menu, generate navIDs for any items which are + * missing them. + */ +function _civi_pledge_civix_fixNavigationMenu(&$nodes) { + $maxNavID = 1; + array_walk_recursive($nodes, function($item, $key) use (&$maxNavID) { + if ($key === 'navID') { + $maxNavID = max($maxNavID, $item); + } + }); + _civi_pledge_civix_fixNavigationMenuItems($nodes, $maxNavID, NULL); +} + +function _civi_pledge_civix_fixNavigationMenuItems(&$nodes, &$maxNavID, $parentID) { + $origKeys = array_keys($nodes); + foreach ($origKeys as $origKey) { + if (!isset($nodes[$origKey]['attributes']['parentID']) && $parentID !== NULL) { + $nodes[$origKey]['attributes']['parentID'] = $parentID; + } + // If no navID, then assign navID and fix key. + if (!isset($nodes[$origKey]['attributes']['navID'])) { + $newKey = ++$maxNavID; + $nodes[$origKey]['attributes']['navID'] = $newKey; + $nodes[$newKey] = $nodes[$origKey]; + unset($nodes[$origKey]); + $origKey = $newKey; + } + if (isset($nodes[$origKey]['child']) && is_array($nodes[$origKey]['child'])) { + _civi_pledge_civix_fixNavigationMenuItems($nodes[$origKey]['child'], $maxNavID, $nodes[$origKey]['attributes']['navID']); + } + } +} diff --git a/civicrm/ext/civi_pledge/civi_pledge.php b/civicrm/ext/civi_pledge/civi_pledge.php new file mode 100644 index 0000000000000000000000000000000000000000..bbe0403bb3b6e206e38548db53f642e01aa742e8 --- /dev/null +++ b/civicrm/ext/civi_pledge/civi_pledge.php @@ -0,0 +1,3 @@ +<?php + +require_once 'civi_pledge.civix.php'; diff --git a/civicrm/ext/civi_pledge/info.xml b/civicrm/ext/civi_pledge/info.xml new file mode 100644 index 0000000000000000000000000000000000000000..55edb5b3d89555f0eaeb856aad683445e36d5055 --- /dev/null +++ b/civicrm/ext/civi_pledge/info.xml @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<extension key="civi_pledge" type="module"> + <file>civi_pledge</file> + <name>CiviPledge</name> + <description>A Pledge is the promise to give a donation at a pre-arranged time in the future.</description> + <license>AGPL-3.0</license> + <maintainer> + <author>CiviCRM</author> + <email>info@civicrm.org</email> + </maintainer> + <urls> + <url desc="Documentation">https://docs.civicrm.org/user/en/latest/pledges/what-is-civipledge/</url> + <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> + </urls> + <releaseDate>2023-04-08</releaseDate> + <version>5.63.0</version> + <develStage>stable</develStage> + <tags> + <tag>component</tag> + </tags> + <compatibility> + <ver>5.63</ver> + </compatibility> + <comments>Core Component</comments> + <upgrader>CRM_Extension_Upgrader_Component</upgrader> + <classloader> + <psr0 prefix="CRM_" path="."/> + <psr4 prefix="Civi\" path="Civi"/> + </classloader> + <civix> + <namespace>CRM/Pledge</namespace> + <format>23.02.1</format> + <angularModule>civiPledge</angularModule> + </civix> +</extension> diff --git a/civicrm/ext/civi_report/civi_report.civix.php b/civicrm/ext/civi_report/civi_report.civix.php new file mode 100644 index 0000000000000000000000000000000000000000..bc9eb1dfa34b940a4d7af35aee26dcb1d3c494f9 --- /dev/null +++ b/civicrm/ext/civi_report/civi_report.civix.php @@ -0,0 +1,200 @@ +<?php + +// AUTO-GENERATED FILE -- Civix may overwrite any changes made to this file + +/** + * The ExtensionUtil class provides small stubs for accessing resources of this + * extension. + */ +class CRM_Report_ExtensionUtil { + const SHORT_NAME = 'civi_report'; + const LONG_NAME = 'civi_report'; + const CLASS_PREFIX = 'CRM_Report'; + + /** + * Translate a string using the extension's domain. + * + * If the extension doesn't have a specific translation + * for the string, fallback to the default translations. + * + * @param string $text + * Canonical message text (generally en_US). + * @param array $params + * @return string + * Translated text. + * @see ts + */ + public static function ts($text, $params = []): string { + if (!array_key_exists('domain', $params)) { + $params['domain'] = [self::LONG_NAME, NULL]; + } + return ts($text, $params); + } + + /** + * Get the URL of a resource file (in this extension). + * + * @param string|NULL $file + * Ex: NULL. + * Ex: 'css/foo.css'. + * @return string + * Ex: 'http://example.org/sites/default/ext/org.example.foo'. + * Ex: 'http://example.org/sites/default/ext/org.example.foo/css/foo.css'. + */ + public static function url($file = NULL): string { + if ($file === NULL) { + return rtrim(CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME), '/'); + } + return CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME, $file); + } + + /** + * Get the path of a resource file (in this extension). + * + * @param string|NULL $file + * Ex: NULL. + * Ex: 'css/foo.css'. + * @return string + * Ex: '/var/www/example.org/sites/default/ext/org.example.foo'. + * Ex: '/var/www/example.org/sites/default/ext/org.example.foo/css/foo.css'. + */ + public static function path($file = NULL) { + // return CRM_Core_Resources::singleton()->getPath(self::LONG_NAME, $file); + return __DIR__ . ($file === NULL ? '' : (DIRECTORY_SEPARATOR . $file)); + } + + /** + * Get the name of a class within this extension. + * + * @param string $suffix + * Ex: 'Page_HelloWorld' or 'Page\\HelloWorld'. + * @return string + * Ex: 'CRM_Foo_Page_HelloWorld'. + */ + public static function findClass($suffix) { + return self::CLASS_PREFIX . '_' . str_replace('\\', '_', $suffix); + } + +} + +use CRM_Report_ExtensionUtil as E; + +/** + * (Delegated) Implements hook_civicrm_config(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_config + */ +function _civi_report_civix_civicrm_config($config = NULL) { + static $configured = FALSE; + if ($configured) { + return; + } + $configured = TRUE; + + $extRoot = __DIR__ . DIRECTORY_SEPARATOR; + $include_path = $extRoot . PATH_SEPARATOR . get_include_path(); + set_include_path($include_path); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * Implements hook_civicrm_install(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_install + */ +function _civi_report_civix_civicrm_install() { + _civi_report_civix_civicrm_config(); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * (Delegated) Implements hook_civicrm_enable(). + * + * @link https://docs.civicrm.org/dev/en/latest/hooks/hook_civicrm_enable + */ +function _civi_report_civix_civicrm_enable(): void { + _civi_report_civix_civicrm_config(); + // Based on <compatibility>, this does not currently require mixin/polyfill.php. +} + +/** + * Inserts a navigation menu item at a given place in the hierarchy. + * + * @param array $menu - menu hierarchy + * @param string $path - path to parent of this item, e.g. 'my_extension/submenu' + * 'Mailing', or 'Administer/System Settings' + * @param array $item - the item to insert (parent/child attributes will be + * filled for you) + * + * @return bool + */ +function _civi_report_civix_insert_navigation_menu(&$menu, $path, $item) { + // If we are done going down the path, insert menu + if (empty($path)) { + $menu[] = [ + 'attributes' => array_merge([ + 'label' => $item['name'] ?? NULL, + 'active' => 1, + ], $item), + ]; + return TRUE; + } + else { + // Find an recurse into the next level down + $found = FALSE; + $path = explode('/', $path); + $first = array_shift($path); + foreach ($menu as $key => &$entry) { + if ($entry['attributes']['name'] == $first) { + if (!isset($entry['child'])) { + $entry['child'] = []; + } + $found = _civi_report_civix_insert_navigation_menu($entry['child'], implode('/', $path), $item); + } + } + return $found; + } +} + +/** + * (Delegated) Implements hook_civicrm_navigationMenu(). + */ +function _civi_report_civix_navigationMenu(&$nodes) { + if (!is_callable(['CRM_Core_BAO_Navigation', 'fixNavigationMenu'])) { + _civi_report_civix_fixNavigationMenu($nodes); + } +} + +/** + * Given a navigation menu, generate navIDs for any items which are + * missing them. + */ +function _civi_report_civix_fixNavigationMenu(&$nodes) { + $maxNavID = 1; + array_walk_recursive($nodes, function($item, $key) use (&$maxNavID) { + if ($key === 'navID') { + $maxNavID = max($maxNavID, $item); + } + }); + _civi_report_civix_fixNavigationMenuItems($nodes, $maxNavID, NULL); +} + +function _civi_report_civix_fixNavigationMenuItems(&$nodes, &$maxNavID, $parentID) { + $origKeys = array_keys($nodes); + foreach ($origKeys as $origKey) { + if (!isset($nodes[$origKey]['attributes']['parentID']) && $parentID !== NULL) { + $nodes[$origKey]['attributes']['parentID'] = $parentID; + } + // If no navID, then assign navID and fix key. + if (!isset($nodes[$origKey]['attributes']['navID'])) { + $newKey = ++$maxNavID; + $nodes[$origKey]['attributes']['navID'] = $newKey; + $nodes[$newKey] = $nodes[$origKey]; + unset($nodes[$origKey]); + $origKey = $newKey; + } + if (isset($nodes[$origKey]['child']) && is_array($nodes[$origKey]['child'])) { + _civi_report_civix_fixNavigationMenuItems($nodes[$origKey]['child'], $maxNavID, $nodes[$origKey]['attributes']['navID']); + } + } +} diff --git a/civicrm/ext/civi_report/civi_report.php b/civicrm/ext/civi_report/civi_report.php new file mode 100644 index 0000000000000000000000000000000000000000..1a49342b2285cbbec76619bc2e35b70fc31678b6 --- /dev/null +++ b/civicrm/ext/civi_report/civi_report.php @@ -0,0 +1,3 @@ +<?php + +require_once 'civi_report.civix.php'; diff --git a/civicrm/ext/civi_report/info.xml b/civicrm/ext/civi_report/info.xml new file mode 100644 index 0000000000000000000000000000000000000000..a02b25cdaea65d408a8db5c46e2d33b431369e5a --- /dev/null +++ b/civicrm/ext/civi_report/info.xml @@ -0,0 +1,35 @@ +<?xml version="1.0"?> +<extension key="civi_report" type="module"> + <file>civi_report</file> + <name>CiviReport</name> + <description>The original reporting component for CiviCRM, which is being phased out by SearchKit.</description> + <license>AGPL-3.0</license> + <maintainer> + <author>CiviCRM</author> + <email>info@civicrm.org</email> + </maintainer> + <urls> + <url desc="Documentation">https://docs.civicrm.org/user/en/latest/reporting/what-is-civireport/</url> + <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> + </urls> + <releaseDate>2023-04-08</releaseDate> + <version>5.63.0</version> + <develStage>stable</develStage> + <tags> + <tag>component</tag> + </tags> + <compatibility> + <ver>5.63</ver> + </compatibility> + <comments>Core Component</comments> + <upgrader>CRM_Extension_Upgrader_Component</upgrader> + <classloader> + <psr0 prefix="CRM_" path="."/> + <psr4 prefix="Civi\" path="Civi"/> + </classloader> + <civix> + <namespace>CRM/Report</namespace> + <format>23.02.1</format> + <angularModule>civiReport</angularModule> + </civix> +</extension> diff --git a/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminCustomFields.aff.html b/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminCustomFields.aff.html index d34a79642ca092635d2453371748bcbbcb1196d2..9196548df15538643b738a522f48102107904486 100644 --- a/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminCustomFields.aff.html +++ b/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminCustomFields.aff.html @@ -1,3 +1,6 @@ <div af-fieldset=""> + <div class="af-container af-layout-inline"> + <af-field name="label" defn="{label: 'Field', input_attrs: {}, required: false}" /> + </div> <crm-search-display-table search-name="Administer_Custom_Fields" display-name="Table" filters="{custom_group_id: routeParams.gid}"></crm-search-display-table> </div> diff --git a/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminCustomFields.aff.json b/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminCustomFields.aff.json index e879778b043f764eeea54e20909f66714d4c8fe6..185667191eaf10a5c9886d71941b8217ca65e150 100644 --- a/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminCustomFields.aff.json +++ b/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminCustomFields.aff.json @@ -1,8 +1,19 @@ { "type": "search", "requires": [], + "entity_type": null, + "join_entity": null, "title": "Fields", "description": "Administer custom fields list", + "is_dashlet": false, + "is_public": false, + "is_token": false, + "contact_summary": null, + "summary_contact_type": null, + "icon": "fa-list-alt", "server_route": "civicrm/admin/custom/group/fields", - "permission": "administer CiviCRM data" + "permission": "administer CiviCRM data", + "redirect": null, + "create_submission": false, + "navigation": null } diff --git a/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminCustomGroups.aff.html b/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminCustomGroups.aff.html index ed0b0688ff20b9c8a4d05278f70ca56ee13cdec9..b4ce20e8f04159190086c59e5cb32c59298bf331 100644 --- a/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminCustomGroups.aff.html +++ b/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminCustomGroups.aff.html @@ -4,12 +4,17 @@ {{:: ts('Custom data is stored in custom fields. Custom fields are organized into logically related custom data sets (e.g. Volunteer Info). Use custom fields to collect and store custom data which are not included in the standard CiviCRM forms. You can create one or many sets of custom fields.') }} <a href="https://docs.civicrm.org/user/en/latest/organising-your-data/creating-custom-fields" target="_blank" class="crm-doc-link no-popup">{{:: ts('Learn more...') }}</a> </div> - <div> + </div> + <div class="af-container af-layout-inline"> + <af-field name="title" defn="{required: false, input_attrs: {}, label: 'Group'}" /> + <af-field name="extends" defn="{input_attrs: {multiple: true}, label: 'Used For'}" /> + <af-field name="CustomGroup_CustomField_custom_group_id_01.label" defn="{required: false, input_attrs: {}, label: 'Field'}" /> + </div> + <div class="btn-group pull-right"> <a class="btn btn-primary" ng-href="{{:: crmUrl('civicrm/admin/custom/group/edit', {reset: 1}) }}"> - <i class="crm-i fa-plus-circle"></i> + <i class="crm-i fa-plus"/> {{:: ts('Add Set of Custom Fields') }} </a> - </div> </div> <crm-search-display-table search-name="Administer_Custom_Groups" display-name="Table"></crm-search-display-table> </div> diff --git a/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminCustomGroups.aff.json b/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminCustomGroups.aff.json index 870edb7c153ed1f60450020992d8ccc0ec2b8a17..449a7e5f6583f124b6edfde770cc6e4396081e60 100644 --- a/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminCustomGroups.aff.json +++ b/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminCustomGroups.aff.json @@ -1,8 +1,19 @@ { "type": "search", "requires": [], + "entity_type": null, + "join_entity": null, "title": "Custom Field Groups", "description": "Administer custom field groups list", + "is_dashlet": false, + "is_public": false, + "is_token": false, + "contact_summary": null, + "summary_contact_type": null, + "icon": "fa-list-alt", "server_route": "civicrm/admin/custom/group", - "permission": "administer CiviCRM data" + "permission": "administer CiviCRM data", + "redirect": null, + "create_submission": false, + "navigation": null } diff --git a/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminFinancialTypes.aff.html b/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminFinancialTypes.aff.html index 0b0ab455f95630bc43727659617f8c0484507c19..8adf6a99d8eb551571347ac205adce4bfe2f989f 100644 --- a/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminFinancialTypes.aff.html +++ b/civicrm/ext/civicrm_admin_ui/ang/afsearchAdminFinancialTypes.aff.html @@ -4,11 +4,11 @@ <p> {{:: ts('Financial types are used to categorize contributions for reporting and accounting purposes. You may set up as many as needed, including commonly used types such as Donation, Campaign Contribution or Membership Dues.') }} {{:: ts('Additionally, financial types can account for the inventory and expense of premiums.') }} - <a href="{{ crmUrl('civicrm/admin/contribute/managePremiums') }}">{{:: ts('View Premiums') }}</a> + <a ng-href="{{ crmUrl('civicrm/admin/contribute/managePremiums') }}">{{:: ts('View Premiums') }}</a> </p> <p> {{:: ts('Each financial type relates to a number of financial accounts to track income, accounts receivable, and fees.') }} - <a href="{{ crmUrl('civicrm/admin/financial/financialAccount') }}">{{:: ts('View Financial Accounts') }}</a> + <a ng-href="{{ crmUrl('civicrm/admin/financial/financialAccount') }}">{{:: ts('View Financial Accounts') }}</a> </p> </div> diff --git a/civicrm/ext/civicrm_admin_ui/ang/afsearchFinancialAccounts.aff.html b/civicrm/ext/civicrm_admin_ui/ang/afsearchFinancialAccounts.aff.html index 242140f770612fd87edd9d2e2f84a495f717a0f9..5f6e4922e1f9db1a145acc2fe24af1a849aaaf36 100644 --- a/civicrm/ext/civicrm_admin_ui/ang/afsearchFinancialAccounts.aff.html +++ b/civicrm/ext/civicrm_admin_ui/ang/afsearchFinancialAccounts.aff.html @@ -3,10 +3,10 @@ <div class="help"> {{:: ts('Financial accounts correspond to those in your accounting system.') }} {{:: ts('The following are associated with financial accounts so that they can result in the proper double-entry transactions to export to your accounting system:') }} - <a href="{{:: crmUrl('civicrm/admin/financial/financialType?reset=1') }}">{{:: ts('Financial types') }}</a>, - <a href="{{:: crmUrl('civicrm/admin/options/payment_instrument?reset=1') }}">{{:: ts('payment methods') }}</a>, + <a ng-href="{{:: crmUrl('civicrm/admin/financial/financialType?reset=1') }}">{{:: ts('Financial types') }}</a>, + <a ng-href="{{:: crmUrl('civicrm/admin/options/payment_instrument?reset=1') }}">{{:: ts('payment methods') }}</a>, {{:: ts('and') }} - <a href="{{:: crmUrl('civicrm/admin/contribute/managePremiums?reset=1') }}">{{:: ts('contribution premiums.') }}</a> + <a ng-href="{{:: crmUrl('civicrm/admin/contribute/managePremiums?reset=1') }}">{{:: ts('contribution premiums.') }}</a> </div> </div> <crm-search-display-table search-name="Administer_Financial_Accounts" display-name="Administer_Financial_Accounts_Table_1"></crm-search-display-table> diff --git a/civicrm/ext/civicrm_admin_ui/ang/afsearchManageContributionPages.aff.html b/civicrm/ext/civicrm_admin_ui/ang/afsearchManageContributionPages.aff.html new file mode 100644 index 0000000000000000000000000000000000000000..7c8cde1dcc7efb6ba248b221b335531175df0c88 --- /dev/null +++ b/civicrm/ext/civicrm_admin_ui/ang/afsearchManageContributionPages.aff.html @@ -0,0 +1,20 @@ +<div class="af-markup"> + <div class="help">{{:: ts('CiviContribute allows you to create and maintain any number of Online Contribution Pages. You can create different pages for different programs or campaigns, and you can customize text, amounts, types of information collected from contributors, etc.') }} </div> +</div> +<div af-fieldset=""> + <div class="af-container af-layout-inline"> + <af-field name="title" defn="{label: 'Title', input_attrs: {}, help_post: 'Complete OR partial Contribution Page Title'}" /> + <af-field name="financial_type_id" defn="{input_type: 'CheckBox', input_attrs: {}}" /> + </div> + <div class="btn-group pull-right"> + <a class="btn btn-primary" ng-href="{{:: crmUrl('civicrm/admin/pcp', {reset: 1}) }}"> + <i class="crm-i fa-plus"/> + {{:: ts('Manage Personal Campaign Pages') }} + </a> + <a class="btn btn-primary" ng-href="{{:: crmUrl('civicrm/admin/contribute/add', {reset: 1, action: 'add'}) }}"> + <i class="crm-i fa-plus"/> + {{:: ts('Add Contribution Page') }} + </a> + </div> + <crm-search-display-table search-name="Manage_Contribution_Pages" display-name="Manage_Contribution_Pages_Table_1"></crm-search-display-table> +</div> diff --git a/civicrm/ext/civicrm_admin_ui/ang/afsearchManageContributionPages.aff.json b/civicrm/ext/civicrm_admin_ui/ang/afsearchManageContributionPages.aff.json new file mode 100644 index 0000000000000000000000000000000000000000..06408ef48c21fc430beb5c70e60a7da93ed71ba4 --- /dev/null +++ b/civicrm/ext/civicrm_admin_ui/ang/afsearchManageContributionPages.aff.json @@ -0,0 +1,19 @@ +{ + "type": "search", + "requires": [], + "entity_type": null, + "join_entity": null, + "title": "Manage Contribution Pages", + "description": "", + "is_dashlet": false, + "is_public": false, + "is_token": false, + "contact_summary": null, + "summary_contact_type": null, + "icon": "fa-list-alt", + "server_route": "civicrm/admin/contribute", + "permission": "access CiviContribute", + "redirect": null, + "create_submission": false, + "navigation": null +} diff --git a/civicrm/ext/civicrm_admin_ui/ang/afsearchManageGroups.aff.html b/civicrm/ext/civicrm_admin_ui/ang/afsearchManageGroups.aff.html new file mode 100644 index 0000000000000000000000000000000000000000..722d822c1e0060d14175aefb5f82c4d2c6f6b2d0 --- /dev/null +++ b/civicrm/ext/civicrm_admin_ui/ang/afsearchManageGroups.aff.html @@ -0,0 +1,9 @@ +<div af-fieldset=""> + <div class="af-container af-layout-inline"> + <af-field name="title" defn="{label: 'Title', input_attrs: {}}" /> + <af-field name="visibility" defn="{label: 'Visibility', input_attrs: {multiple: true}}" /> + <af-field name="is_active" defn="{input_type: 'Radio', label: 'Enabled', afform_default: true}" /> + <af-field name="parents" /> + </div> + <crm-search-display-table search-name="Manage_groups" display-name="Manage_groups"></crm-search-display-table> +</div> diff --git a/civicrm/ext/civicrm_admin_ui/ang/afsearchManageGroups.aff.json b/civicrm/ext/civicrm_admin_ui/ang/afsearchManageGroups.aff.json new file mode 100644 index 0000000000000000000000000000000000000000..cd904460ade222399f7f1b775439494663d5c994 --- /dev/null +++ b/civicrm/ext/civicrm_admin_ui/ang/afsearchManageGroups.aff.json @@ -0,0 +1,19 @@ +{ + "type": "search", + "title": "Manage Groups", + "icon": "fa-list-alt", + "server_route": "civicrm/group", + "permission": "access CiviCRM", + "requires": [], + "description": "", + "is_dashlet": false, + "is_public": false, + "is_token": false, + "entity_type": null, + "join_entity": null, + "contact_summary": null, + "summary_contact_type": null, + "redirect": null, + "create_submission": null, + "navigation": null +} diff --git a/civicrm/ext/civicrm_admin_ui/ang/afsearchManageScheduledJobs.aff.html b/civicrm/ext/civicrm_admin_ui/ang/afsearchManageScheduledJobs.aff.html new file mode 100644 index 0000000000000000000000000000000000000000..15cfe161e99a0bfc84a2cc5cd65116821b5b26bb --- /dev/null +++ b/civicrm/ext/civicrm_admin_ui/ang/afsearchManageScheduledJobs.aff.html @@ -0,0 +1,21 @@ +<div class="af-markup"> + <div class="help">{{:: ts('You can configure scheduled jobs (cron tasks) for your CiviCRM installation. For most sites, your system administrator should set up one or more "cron" tasks to run the enabled jobs. However, you can also run all scheduled jobs manually using the button below, or specific jobs from this screen using the "Execute Now" buttons.')}} <a class="crm-doc-link no-popup" href="https://docs.civicrm.org/sysadmin/en/latest/setup/jobs" target="_blank" title="Opens documentation in a new window.">(Job parameters and command line syntax documentation...)</a></div> +</div> +<div af-fieldset=""> + <div class="af-container af-layout-inline"> + <af-field name="name" /> + <af-field name="description" defn="{input_type: 'Text', input_attrs: {}}" /> + <af-field name="is_active" defn="{input_type: 'Radio', input_attrs: {}}" /> + </div> + <div class="btn-group pull-right"> + <a class="btn btn-primary" ng-href="{{:: crmUrl('civicrm/admin/runjobs', {reset: 1}) }}"> + <i class="crm-i fa-forward"/> + {{:: ts('Execute All Scheduled Jobs Now') }} + </a> + <a class="btn btn-primary" ng-href="{{:: crmUrl('civicrm/admin/joblog', {reset: 1}) }}"> + <i class="crm-i fa-list-alt"/> + {{:: ts('View Log (all jobs)') }} + </a> + </div> + <crm-search-display-table search-name="Scheduled_Jobs" display-name="Scheduled_Jobs_Table_2"></crm-search-display-table> +</div> diff --git a/civicrm/ext/civicrm_admin_ui/ang/afsearchManageScheduledJobs.aff.json b/civicrm/ext/civicrm_admin_ui/ang/afsearchManageScheduledJobs.aff.json new file mode 100644 index 0000000000000000000000000000000000000000..4aebf05131b4166196c6ed2fe29021a005947c06 --- /dev/null +++ b/civicrm/ext/civicrm_admin_ui/ang/afsearchManageScheduledJobs.aff.json @@ -0,0 +1,7 @@ +{ + "type": "search", + "title": "Manage Scheduled Jobs", + "icon": "fa-list-alt", + "server_route": "civicrm/admin/job", + "permission": "access CiviCRM" +} diff --git a/civicrm/ext/civicrm_admin_ui/info.xml b/civicrm/ext/civicrm_admin_ui/info.xml index 991550a7bc127df00d93113f4b3957a28427185d..b7a096004d979e2be0b27f870affbcefa914886b 100644 --- a/civicrm/ext/civicrm_admin_ui/info.xml +++ b/civicrm/ext/civicrm_admin_ui/info.xml @@ -15,10 +15,10 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2022-01-02</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <develStage>alpha</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <requires> <ext>org.civicrm.search_kit</ext> diff --git a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Assigned_Financial_Accounts.mgd.php b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Assigned_Financial_Accounts.mgd.php index da27c6ddc50ca2aa4af6416936892286ed058b1c..3db5c377aa38395d1ae75525ade823a7cf96e778 100644 --- a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Assigned_Financial_Accounts.mgd.php +++ b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Assigned_Financial_Accounts.mgd.php @@ -70,6 +70,7 @@ return [ 'pager' => [ 'show_count' => TRUE, 'expose_limit' => TRUE, + 'hide_single' => TRUE, ], 'placeholder' => 5, 'sort' => [], diff --git a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Contact_Types.mgd.php b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Contact_Types.mgd.php index e6a578db37ed5122210689717bac335324541c76..50264c35c8b557859a905c82243a52c092291d8b 100644 --- a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Contact_Types.mgd.php +++ b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Contact_Types.mgd.php @@ -56,6 +56,7 @@ return [ 'pager' => [ 'show_count' => TRUE, 'expose_limit' => TRUE, + 'hide_single' => TRUE, ], 'placeholder' => 5, 'sort' => [ diff --git a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Custom_Fields.mgd.php b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Custom_Fields.mgd.php index 49829b1bd431c58b30b0dca11a7f3ec1a8c6a7fa..e53e178a8d8135a385ac95c667611a95df1cd609 100644 --- a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Custom_Fields.mgd.php +++ b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Custom_Fields.mgd.php @@ -13,6 +13,7 @@ return [ 'name' => 'Administer_Custom_Fields', 'label' => E::ts('Administer Custom Fields'), 'form_values' => NULL, + 'mapping_id' => NULL, 'search_custom_id' => NULL, 'api_entity' => 'CustomField', 'api_params' => [ @@ -35,7 +36,9 @@ return [ ], 'expires_date' => NULL, 'description' => NULL, - 'mapping_id' => NULL, + ], + 'match' => [ + 'name', ], ], ], @@ -61,6 +64,7 @@ return [ 'pager' => [ 'show_count' => TRUE, 'expose_limit' => TRUE, + 'hide_single' => TRUE, ], 'sort' => [], 'columns' => [ @@ -127,7 +131,7 @@ return [ 'alignment' => 'text-right', ], [ - 'text' => E::ts('Actions'), + 'text' => '', 'style' => 'default', 'size' => 'btn-xs', 'icon' => 'fa-bars', @@ -198,9 +202,14 @@ return [ 'text' => E::ts('Add Custom Field'), 'icon' => 'fa-plus', ], + 'placeholder' => 5, ], 'acl_bypass' => FALSE, ], + 'match' => [ + 'name', + 'saved_search_id', + ], ], ], ]; diff --git a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Custom_Groups.mgd.php b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Custom_Groups.mgd.php index ee74c167054f31c428eb3f93d99b842bf90111f1..293f579751a77d72b5cbd0cdd22b78ac4fac84e9 100644 --- a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Custom_Groups.mgd.php +++ b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Custom_Groups.mgd.php @@ -13,6 +13,7 @@ return [ 'name' => 'Administer_Custom_Groups', 'label' => E::ts('Administer Custom Groups'), 'form_values' => NULL, + 'mapping_id' => NULL, 'search_custom_id' => NULL, 'api_entity' => 'CustomGroup', 'api_params' => [ @@ -25,6 +26,7 @@ return [ 'extends_entity_column_id:label', 'style:label', 'COUNT(CustomGroup_CustomField_custom_group_id_01.id) AS COUNT_CustomGroup_CustomField_custom_group_id_01_id', + 'GROUP_CONCAT(DISTINCT CustomGroup_CustomField_custom_group_id_01.label) AS GROUP_CONCAT_CustomGroup_CustomField_custom_group_id_01_label', ], 'orderBy' => [], 'where' => [], @@ -46,7 +48,9 @@ return [ ], 'expires_date' => NULL, 'description' => NULL, - 'mapping_id' => NULL, + ], + 'match' => [ + 'name', ], ], ], @@ -72,6 +76,7 @@ return [ 'pager' => [ 'show_count' => TRUE, 'expose_limit' => TRUE, + 'hide_single' => TRUE, ], 'sort' => [], 'columns' => [ @@ -89,6 +94,14 @@ return [ 'label' => E::ts('Group Title'), 'sortable' => TRUE, ], + [ + 'type' => 'field', + 'key' => 'extends_entity_column_id:label', + 'dataType' => 'Integer', + 'label' => E::ts('Used for'), + 'sortable' => TRUE, + 'empty_value' => '[extends:label]', + ], [ 'type' => 'field', 'key' => 'is_active', @@ -99,18 +112,18 @@ return [ ], [ 'type' => 'field', - 'key' => 'extends_entity_column_id:label', - 'dataType' => 'Integer', - 'label' => E::ts('Used for'), + 'key' => 'style:label', + 'dataType' => 'String', + 'label' => E::ts('Style'), 'sortable' => TRUE, - 'empty_value' => '[extends:label]', ], [ - 'type' => 'field', - 'key' => 'style:label', + 'type' => 'html', + 'key' => 'GROUP_CONCAT_CustomGroup_CustomField_custom_group_id_01_label', 'dataType' => 'String', - 'label' => E::ts('Style'), + 'label' => E::ts('Fields'), 'sortable' => TRUE, + 'rewrite' => "{capture assign=fields}[GROUP_CONCAT_CustomGroup_CustomField_custom_group_id_01_label]{/capture}{ \$fields|replace:',':'<br>'}", ], [ 'size' => 'btn-xs', @@ -124,6 +137,7 @@ return [ 'text' => E::ts('Fields (%1)', [1 => '[COUNT_CustomGroup_CustomField_custom_group_id_01_id]']), 'style' => 'default', 'path' => 'civicrm/admin/custom/group/fields#/?gid=[id]', + 'condition' => [], ], [ 'entity' => 'CustomGroup', @@ -133,6 +147,8 @@ return [ 'icon' => 'fa-pencil', 'text' => E::ts('Settings'), 'style' => 'default', + 'path' => '', + 'condition' => [], ], ], 'type' => 'buttons', @@ -140,7 +156,7 @@ return [ ], [ 'text' => '', - 'style' => 'default-outline', + 'style' => 'default', 'size' => 'btn-xs', 'icon' => 'fa-bars', 'links' => [ @@ -152,6 +168,8 @@ return [ 'icon' => 'fa-eye', 'text' => E::ts('Preview Group'), 'style' => 'default', + 'path' => '', + 'condition' => [], ], [ 'entity' => 'CustomGroup', @@ -161,6 +179,8 @@ return [ 'icon' => 'fa-trash', 'text' => E::ts('Delete Group'), 'style' => 'danger', + 'path' => '', + 'condition' => [], ], ], 'type' => 'menu', @@ -176,9 +196,14 @@ return [ FALSE, ], ], + 'placeholder' => 5, ], 'acl_bypass' => FALSE, ], + 'match' => [ + 'name', + 'saved_search_id', + ], ], ], ]; diff --git a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Financial_Accounts.mgd.php b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Financial_Accounts.mgd.php index f58ff713e6f50b69bca561bafd9e1f8bd9988bda..266cb98cb548d4d9d8196adf5507a11d00ab37bd 100644 --- a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Financial_Accounts.mgd.php +++ b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Financial_Accounts.mgd.php @@ -62,6 +62,7 @@ return [ 'pager' => [ 'show_count' => TRUE, 'expose_limit' => TRUE, + 'hide_single' => TRUE, ], 'placeholder' => 5, 'sort' => [ diff --git a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Financial_Types.mgd.php b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Financial_Types.mgd.php index 988711ca94462666ab6c7d1a1a68e894d8f12d91..ce6dd6194f140f926fa043ca5a7af6d0e3cd6664 100644 --- a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Financial_Types.mgd.php +++ b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Financial_Types.mgd.php @@ -78,6 +78,7 @@ return [ 'pager' => [ 'show_count' => TRUE, 'expose_limit' => TRUE, + 'hide_single' => TRUE, ], 'placeholder' => 5, 'sort' => [ diff --git a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Location_Types.mgd.php b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Location_Types.mgd.php index 170b97227a19e0efa6cc6fc16da5a8907a9c13a9..fa7b5050565abbdbf21e66f0c964ccb6419e85f0 100644 --- a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Location_Types.mgd.php +++ b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Location_Types.mgd.php @@ -60,6 +60,7 @@ return [ 'pager' => [ 'show_count' => TRUE, 'expose_limit' => TRUE, + 'hide_single' => TRUE, ], 'placeholder' => 5, 'sort' => [ diff --git a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Manage_Group.mgd.php b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Manage_Group.mgd.php new file mode 100644 index 0000000000000000000000000000000000000000..a55948c135f1faf0dbf2ea9df35ef2ab4c9e54df --- /dev/null +++ b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Manage_Group.mgd.php @@ -0,0 +1,280 @@ +<?php + +use CRM_CivicrmAdminUi_ExtensionUtil as E; + +return [ + [ + 'name' => 'SavedSearch_Manage_groups', + 'entity' => 'SavedSearch', + 'cleanup' => 'always', + 'update' => 'unmodified', + 'params' => [ + 'version' => 4, + 'values' => [ + 'name' => 'Manage_groups', + 'label' => E::ts('Manage groups'), + 'form_values' => NULL, + 'mapping_id' => NULL, + 'search_custom_id' => NULL, + 'api_entity' => 'Group', + 'api_params' => [ + 'version' => 4, + 'select' => [ + 'id', + 'title', + 'created_id.display_name', + 'description', + 'group_type:label', + 'visibility:label', + 'COUNT(Group_GroupContact_Contact_01.display_name) AS COUNT_Group_GroupContact_Contact_01_display_name', + 'saved_search_id', + 'is_active', + 'frontend_title', + 'name', + 'parents:label', + ], + 'orderBy' => [], + 'where' => [ + [ + 'is_hidden', + '=', + FALSE, + ], + ], + 'groupBy' => [ + 'id', + ], + 'join' => [ + [ + 'Contact AS Group_GroupContact_Contact_01', + 'LEFT', + 'GroupContact', + [ + 'id', + '=', + 'Group_GroupContact_Contact_01.group_id', + ], + [ + 'Group_GroupContact_Contact_01.status:name', + '=', + '"Added"', + ], + ], + ], + 'having' => [], + ], + 'expires_date' => NULL, + 'description' => NULL, + ], + 'match' => [ + 'name', + ], + ], + ], + [ + 'name' => 'SavedSearch_Manage_groups_SearchDisplay_Manage_groups', + 'entity' => 'SearchDisplay', + 'cleanup' => 'unused', + 'update' => 'unmodified', + 'params' => [ + 'version' => 4, + 'values' => [ + 'name' => 'Manage_groups', + 'label' => E::ts('Manage groups'), + 'saved_search_id.name' => 'Manage_groups', + 'type' => 'table', + 'settings' => [ + 'description' => NULL, + 'sort' => [ + [ + 'title', + 'ASC', + ], + ], + 'limit' => 50, + 'pager' => [ + 'show_count' => TRUE, + 'expose_limit' => TRUE, + 'hide_single' => TRUE, + ], + 'placeholder' => 5, + 'columns' => [ + [ + 'type' => 'field', + 'key' => 'title', + 'dataType' => 'String', + 'label' => E::ts('Title'), + 'sortable' => TRUE, + 'rewrite' => '', + 'editable' => TRUE, + 'icons' => [ + [ + 'icon' => 'fa-wpforms', + 'side' => 'left', + 'if' => [ + 'saved_search_id', + 'IS NOT EMPTY', + ], + ], + ], + ], + [ + 'type' => 'field', + 'key' => 'frontend_title', + 'dataType' => 'String', + 'label' => E::ts('Public Title'), + 'sortable' => TRUE, + 'rewrite' => '', + 'editable' => TRUE, + ], + [ + 'type' => 'field', + 'key' => 'is_active', + 'dataType' => 'Boolean', + 'label' => E::ts('Enabled'), + 'sortable' => TRUE, + 'editable' => TRUE, + ], + [ + 'type' => 'field', + 'key' => 'COUNT_Group_GroupContact_Contact_01_display_name', + 'dataType' => 'Integer', + 'label' => E::ts('Count'), + 'sortable' => TRUE, + 'rewrite' => '{if "[saved_search_id]"}{else}[COUNT_Group_GroupContact_Contact_01_display_name]{/if}', + 'icons' => [ + [ + 'icon' => 'fa-question', + 'side' => 'left', + 'if' => [ + 'saved_search_id', + 'IS NOT EMPTY', + ], + ], + ], + ], + [ + 'type' => 'field', + 'key' => 'created_id.display_name', + 'dataType' => 'String', + 'label' => E::ts('Created By'), + 'sortable' => TRUE, + 'link' => [ + 'path' => '', + 'entity' => 'Contact', + 'action' => 'view', + 'join' => 'created_id', + 'target' => '_blank', + ], + 'title' => E::ts('View Contact'), + ], + [ + 'type' => 'field', + 'key' => 'description', + 'dataType' => 'Text', + 'label' => E::ts('Description'), + 'sortable' => TRUE, + 'editable' => TRUE, + ], + [ + 'type' => 'field', + 'key' => 'group_type:label', + 'dataType' => 'String', + 'label' => E::ts('Group Type'), + 'sortable' => TRUE, + 'editable' => TRUE, + ], + [ + 'type' => 'field', + 'key' => 'visibility:label', + 'dataType' => 'String', + 'label' => E::ts('Visibility'), + 'sortable' => TRUE, + 'editable' => TRUE, + ], + [ + 'type' => 'field', + 'key' => 'parents:label', + 'dataType' => 'Text', + 'label' => E::ts('Parents'), + 'sortable' => TRUE, + 'editable' => TRUE, + ], + [ + 'links' => [ + [ + 'entity' => '', + 'action' => '', + 'join' => '', + 'target' => '', + 'icon' => 'fa-external-link', + 'text' => E::ts('Contacts'), + 'style' => 'default', + 'path' => 'civicrm/group/search?reset=1&force=1&context=smog&gid=[id]&component_mode=1', + 'condition' => [], + ], + [ + 'path' => 'civicrm/group/edit?reset=1&action=update&id=[id]', + 'icon' => 'fa-cog', + 'text' => E::ts('Settings'), + 'style' => 'default', + 'condition' => [], + 'entity' => '', + 'action' => '', + 'join' => '', + 'target' => 'crm-popup', + ], + ], + 'type' => 'links', + 'alignment' => 'text-right', + ], + [ + 'text' => '', + 'style' => 'default', + 'size' => 'btn-xs', + 'icon' => 'fa-bars', + 'links' => [ + [ + 'entity' => 'Group', + 'action' => 'delete', + 'join' => '', + 'target' => 'crm-popup', + 'icon' => 'fa-trash', + 'text' => E::ts('Remove Group'), + 'style' => 'danger', + 'path' => '', + 'condition' => [], + ], + ], + 'type' => 'menu', + 'alignment' => 'text-right', + ], + ], + 'actions' => FALSE, + 'classes' => [ + 'table', + 'table-striped', + ], + 'addButton' => [ + 'path' => 'civicrm/group/add?reset=1', + 'text' => E::ts('Add Group'), + 'icon' => 'fa-plus', + ], + 'cssRules' => [ + [ + 'disabled', + 'is_active', + '=', + FALSE, + ], + ], + ], + 'acl_bypass' => FALSE, + ], + 'match' => [ + 'saved_search_id', + 'name', + ], + ], + ], +]; diff --git a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Payment_Processors.mgd.php b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Payment_Processors.mgd.php index a06f3a9bf30bda55a0a0f573e840e9f3f41a0377..ed14230c57562835d1b964ebb61c91a5d3ea81a8 100644 --- a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Payment_Processors.mgd.php +++ b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Payment_Processors.mgd.php @@ -85,6 +85,7 @@ return [ 'pager' => [ 'show_count' => TRUE, 'expose_limit' => TRUE, + 'hide_single' => TRUE, ], 'placeholder' => 5, 'sort' => [], diff --git a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_ProfileFields.mgd.php b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_ProfileFields.mgd.php index 52aa80c7324433ec160aa5ee68c184e2501ad914..e7b55d55dc8c58660a797208600e08a612d1ab1b 100644 --- a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_ProfileFields.mgd.php +++ b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_ProfileFields.mgd.php @@ -61,6 +61,7 @@ return [ 'pager' => [ 'show_count' => TRUE, 'expose_limit' => TRUE, + 'hide_single' => TRUE, ], 'placeholder' => 5, 'sort' => [], diff --git a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Profiles.mgd.php b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Profiles.mgd.php index 109599233b0671fce2a813ea44f0ef50241a3950..7c422e2adc95f529b68ba5a109b29ef32ae58cca 100644 --- a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Profiles.mgd.php +++ b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Profiles.mgd.php @@ -74,6 +74,7 @@ return [ 'pager' => [ 'show_count' => TRUE, 'expose_limit' => TRUE, + 'hide_single' => TRUE, ], 'placeholder' => 5, 'sort' => [], @@ -177,7 +178,7 @@ return [ ], [ 'text' => '', - 'style' => 'default-outline', + 'style' => 'default', 'size' => 'btn-xs', 'icon' => 'fa-bars', 'links' => [ diff --git a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Relationship_Types.mgd.php b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Relationship_Types.mgd.php index e45ef1a0e86893aad0d2015445fb14987d5bf7ea..118ffe232fdfa91bcb53774b38775bcdbe95f655 100644 --- a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Relationship_Types.mgd.php +++ b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Administer_Relationship_Types.mgd.php @@ -58,6 +58,7 @@ return [ 'pager' => [ 'show_count' => TRUE, 'expose_limit' => TRUE, + 'hide_single' => TRUE, ], 'placeholder' => 5, 'sort' => [], diff --git a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Manage_Contribution_Pages.mgd.php b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Manage_Contribution_Pages.mgd.php new file mode 100644 index 0000000000000000000000000000000000000000..6898d3eff2aecb36c3e21d48c3098f71c6bf27cb --- /dev/null +++ b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Manage_Contribution_Pages.mgd.php @@ -0,0 +1,232 @@ +<?php +use CRM_CivicrmAdminUi_ExtensionUtil as E; + +return [ + [ + 'name' => 'SavedSearch_Manage_Contribution_Pages', + 'entity' => 'SavedSearch', + 'cleanup' => 'always', + 'update' => 'unmodified', + 'params' => [ + 'version' => 4, + 'values' => [ + 'name' => 'Manage_Contribution_Pages', + 'label' => E::ts('Manage Contribution Pages'), + 'form_values' => NULL, + 'mapping_id' => NULL, + 'search_custom_id' => NULL, + 'api_entity' => 'ContributionPage', + 'api_params' => [ + 'version' => 4, + 'select' => [ + 'title', + 'id', + 'is_active', + 'financial_type_id:label', + ], + 'orderBy' => [], + 'where' => [], + 'groupBy' => [], + 'join' => [], + 'having' => [], + ], + 'expires_date' => NULL, + 'description' => NULL, + ], + ], + ], + [ + 'name' => 'SavedSearch_Manage_Contribution_Pages_SearchDisplay_Manage_Contribution_Pages_Table_1', + 'entity' => 'SearchDisplay', + 'cleanup' => 'always', + 'update' => 'unmodified', + 'params' => [ + 'version' => 4, + 'values' => [ + 'name' => 'Manage_Contribution_Pages_Table_1', + 'label' => E::ts('Manage Contribution Pages Table 1'), + 'saved_search_id.name' => 'Manage_Contribution_Pages', + 'type' => 'table', + 'settings' => [ + 'actions' => FALSE, + 'limit' => 50, + 'classes' => [ + 'table', + 'table-striped', + ], + 'pager' => [ + 'show_count' => TRUE, + 'expose_limit' => TRUE, + 'hide_single' => TRUE, + ], + 'placeholder' => 5, + 'sort' => [ + [ + 'is_active', + 'DESC', + ], + [ + 'title', + 'ASC', + ], + ], + 'columns' => [ + [ + 'type' => 'field', + 'key' => 'title', + 'dataType' => 'String', + 'label' => E::ts('Title'), + 'sortable' => TRUE, + 'cssRules' => [ + [ + 'disabled', + 'is_active', + '=', + FALSE, + ], + ], + ], + [ + 'type' => 'field', + 'key' => 'id', + 'dataType' => 'Integer', + 'label' => E::ts('ID'), + 'sortable' => TRUE, + 'cssRules' => [ + [ + 'disabled', + 'is_active', + '=', + FALSE, + ], + ], + ], + [ + 'type' => 'field', + 'key' => 'is_active', + 'dataType' => 'Boolean', + 'label' => E::ts('Enabled?'), + 'sortable' => TRUE, + 'editable' => TRUE, + 'cssRules' => [ + [ + 'disabled', + 'is_active', + '=', + FALSE, + ], + ], + ], + [ + 'type' => 'field', + 'key' => 'financial_type_id:label', + 'dataType' => 'Integer', + 'label' => E::ts('Financial Type'), + 'sortable' => TRUE, + 'cssRules' => [ + [ + 'disabled', + 'is_active', + '=', + FALSE, + ], + ], + ], + [ + 'text' => E::ts('Links'), + 'style' => 'default', + 'size' => 'btn-xs', + 'icon' => 'fa-bars', + 'links' => [ + [ + 'entity' => '', + 'action' => '', + 'join' => '', + 'target' => '', + 'icon' => 'fa-external-link', + 'text' => E::ts('Live Page'), + 'style' => 'default', + 'path' => 'civicrm/contribute/transact?reset=1&id=[id]', + 'condition' => [], + ], + [ + 'entity' => '', + 'action' => '', + 'join' => '', + 'target' => '', + 'icon' => 'fa-external-link', + 'text' => E::ts('Test-drive'), + 'style' => 'default', + 'path' => 'civicrm/contribute/transact?reset=1&id=[id]&action=preview', + 'condition' => [], + ], + ], + 'type' => 'menu', + 'alignment' => 'text-right', + ], + [ + 'size' => 'btn-xs', + 'links' => [ + [ + 'entity' => '', + 'action' => '', + 'join' => '', + 'target' => '', + 'icon' => 'fa-search', + 'text' => E::ts('Find Contributions'), + 'style' => 'default', + 'path' => 'civicrm/contribute/search?contribution_page_id=[id]&force=1&reset=1', + 'condition' => [], + ], + ], + 'type' => 'buttons', + 'alignment' => 'text-right', + ], + [ + 'size' => 'btn-xs', + 'links' => [ + [ + 'entity' => 'ContributionPage', + 'action' => 'update', + 'join' => '', + 'target' => '', + 'icon' => 'fa-pencil', + 'text' => E::ts('Edit'), + 'style' => 'default', + 'path' => '', + 'condition' => [], + ], + [ + 'path' => 'civicrm/admin/contribute?action=copy&gid=[id]', + 'icon' => 'fa-clone', + 'text' => E::ts('Clone'), + 'style' => 'secondary', + 'condition' => [], + 'entity' => '', + 'action' => '', + 'join' => '', + 'target' => '', + ], + [ + 'entity' => 'ContributionPage', + 'action' => 'delete', + 'join' => '', + 'target' => 'crm-popup', + 'icon' => 'fa-trash', + 'text' => E::ts('Delete'), + 'style' => 'danger', + 'path' => '', + 'condition' => [], + ], + ], + 'type' => 'buttons', + 'alignment' => 'text-right', + ], + ], + 'button' => NULL, + ], + 'acl_bypass' => FALSE, + ], + ], + ], +]; diff --git a/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Manage_Scheduled_Jobs.mgd.php b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Manage_Scheduled_Jobs.mgd.php new file mode 100644 index 0000000000000000000000000000000000000000..059775f0fa16e4be8579ce23b3890aa0376e3d18 --- /dev/null +++ b/civicrm/ext/civicrm_admin_ui/managed/SavedSearch_Manage_Scheduled_Jobs.mgd.php @@ -0,0 +1,235 @@ +<?php +use CRM_CivicrmAdminUi_ExtensionUtil as E; + +return [ + [ + 'name' => 'SavedSearch_Scheduled_Jobs', + 'entity' => 'SavedSearch', + 'cleanup' => 'always', + 'update' => 'unmodified', + 'params' => [ + 'version' => 4, + 'values' => [ + 'name' => 'Scheduled_Jobs', + 'label' => E::ts('Scheduled Jobs'), + 'form_values' => NULL, + 'mapping_id' => NULL, + 'search_custom_id' => NULL, + 'api_entity' => 'Job', + 'api_params' => [ + 'version' => 4, + 'select' => [ + 'id', + 'name', + 'description', + 'run_frequency:label', + 'parameters', + 'last_run', + 'is_active', + 'api_entity', + 'api_action', + ], + 'orderBy' => [], + 'where' => [], + 'groupBy' => [], + 'join' => [], + 'having' => [], + ], + 'expires_date' => NULL, + 'description' => NULL, + ], + 'match' => [ + 'name', + ], + ], + ], + [ + 'name' => 'SavedSearch_Scheduled_Jobs_SearchDisplay_Scheduled_Jobs_Table_2', + 'entity' => 'SearchDisplay', + 'cleanup' => 'always', + 'update' => 'unmodified', + 'params' => [ + 'version' => 4, + 'values' => [ + 'name' => 'Scheduled_Jobs_Table_2', + 'label' => E::ts('Scheduled Jobs Table 2'), + 'saved_search_id.name' => 'Scheduled_Jobs', + 'type' => 'table', + 'settings' => [ + 'description' => NULL, + 'sort' => [ + [ + 'is_active', + 'DESC', + ], + [ + 'name', + 'ASC', + ], + ], + 'limit' => 50, + 'pager' => [ + 'show_count' => TRUE, + 'expose_limit' => TRUE, + 'hide_single' => TRUE, + ], + 'placeholder' => 5, + 'columns' => [ + [ + 'type' => 'html', + 'key' => 'name', + 'dataType' => 'String', + 'label' => E::ts('Job'), + 'sortable' => TRUE, + 'cssRules' => [ + [ + 'disabled', + 'is_active', + '=', + FALSE, + ], + ], + 'rewrite' => '<b>[name]</b><br>[description]', + ], + [ + 'type' => 'field', + 'key' => 'run_frequency:label', + 'dataType' => 'String', + 'label' => E::ts('Frequency'), + 'sortable' => TRUE, + 'cssRules' => [ + [ + 'disabled', + 'is_active', + '=', + FALSE, + ], + ], + ], + [ + 'type' => 'field', + 'key' => 'last_run', + 'dataType' => 'Timestamp', + 'label' => E::ts('Last Run'), + 'sortable' => TRUE, + 'cssRules' => [ + [ + 'disabled', + 'is_active', + '=', + FALSE, + ], + ], + ], + [ + 'type' => 'field', + 'key' => 'is_active', + 'dataType' => 'Boolean', + 'label' => E::ts('Enabled'), + 'sortable' => TRUE, + 'editable' => TRUE, + 'cssRules' => [ + [ + 'disabled', + 'is_active', + '=', + FALSE, + ], + ], + ], + [ + 'type' => 'field', + 'key' => 'api_entity', + 'dataType' => 'String', + 'label' => E::ts('API'), + 'sortable' => TRUE, + 'cssRules' => [ + [ + 'disabled', + 'is_active', + '=', + FALSE, + ], + ], + 'rewrite' => '[api_entity].[api_action]', + ], + [ + 'text' => '', + 'style' => 'default', + 'size' => 'btn-xs', + 'icon' => 'fa-bars', + 'links' => [ + [ + 'entity' => '', + 'action' => '', + 'join' => '', + 'target' => '', + 'icon' => 'fa-file-o', + 'text' => E::ts('View joblog'), + 'style' => 'default', + 'path' => 'civicrm/admin/joblog?jid=[id]&reset=1', + 'condition' => [], + ], + [ + 'entity' => '', + 'action' => '', + 'join' => '', + 'target' => '', + 'icon' => 'fa-play', + 'text' => E::ts('Execute now'), + 'style' => 'default', + 'path' => 'civicrm/admin/job/edit?action=view&id=[id]&reset=1', + 'condition' => [], + ], + [ + 'entity' => 'Job', + 'action' => 'update', + 'join' => '', + 'target' => 'crm-popup', + 'icon' => 'fa-pencil', + 'text' => E::ts('Edit Job'), + 'style' => 'default', + 'path' => '', + 'condition' => [], + ], + [ + 'entity' => '', + 'action' => '', + 'join' => '', + 'target' => '', + 'icon' => 'fa-clone', + 'text' => E::ts('Clone'), + 'style' => 'secondary', + 'path' => 'civicrm/admin/job/edit?action=copy&id=[id]', + 'condition' => [], + ], + [ + 'entity' => 'Job', + 'action' => 'delete', + 'join' => '', + 'target' => 'crm-popup', + 'icon' => 'fa-trash', + 'text' => E::ts('Delete Job'), + 'style' => 'danger', + 'path' => '', + 'condition' => [], + ], + ], + 'type' => 'menu', + 'alignment' => 'text-right', + ], + ], + 'actions' => FALSE, + 'classes' => [ + 'table', + 'table-striped', + ], + ], + 'acl_bypass' => FALSE, + ], + 'match' => [ + 'name', + ], + ], + ], +]; diff --git a/civicrm/ext/civigrant/CRM/Grant/BAO/Grant.php b/civicrm/ext/civigrant/CRM/Grant/BAO/Grant.php index 0c9916e2db7a869b6c961c95addbecdf3926e2f3..27538b042806025811882eb2539c7662f027befa 100644 --- a/civicrm/ext/civigrant/CRM/Grant/BAO/Grant.php +++ b/civicrm/ext/civigrant/CRM/Grant/BAO/Grant.php @@ -110,6 +110,7 @@ class CRM_Grant_BAO_Grant extends CRM_Grant_DAO_Grant { $title = CRM_Contact_BAO_Contact::displayName($grant->contact_id) . ' - ' . ts('Grant') . ': ' . $grantTypes[$grant->grant_type_id]; civicrm_api4('RecentItem', 'create', [ + 'checkPermissions' => FALSE, 'values' => [ 'entity_type' => 'Grant', 'entity_id' => $grant->id, diff --git a/civicrm/ext/civigrant/CRM/Grant/DAO/Grant.php b/civicrm/ext/civigrant/CRM/Grant/DAO/Grant.php index a9a90d8cbfae25fa90a5d3b23337f9625d27eb8f..f25269dc930d9f89ec32c69a1c990a9482026355 100644 --- a/civicrm/ext/civigrant/CRM/Grant/DAO/Grant.php +++ b/civicrm/ext/civigrant/CRM/Grant/DAO/Grant.php @@ -6,7 +6,7 @@ * * Generated from civigrant/xml/schema/CRM/Grant/Grant.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:bd866aa053f6871792fdecfc4aa3c92a) + * (GenCodeChecksum:c3ae6f29f7956693f952034cb68e75a0) */ use CRM_Grant_ExtensionUtil as E; @@ -242,6 +242,12 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'title' => E::ts('Grant ID'), 'description' => E::ts('Unique Grant id'), 'required' => TRUE, + 'usage' => [ + 'import' => TRUE, + 'export' => TRUE, + 'duplicate_matching' => TRUE, + 'token' => FALSE, + ], 'import' => TRUE, 'where' => 'civicrm_grant.id', 'export' => TRUE, @@ -261,6 +267,12 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'title' => E::ts('Contact ID'), 'description' => E::ts('Contact ID of contact record given grant belongs to.'), 'required' => TRUE, + 'usage' => [ + 'import' => FALSE, + 'export' => TRUE, + 'duplicate_matching' => FALSE, + 'token' => FALSE, + ], 'where' => 'civicrm_grant.contact_id', 'export' => TRUE, 'table_name' => 'civicrm_grant', @@ -279,6 +291,12 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE, 'title' => E::ts('Application received date'), 'description' => E::ts('Date on which grant application was received by donor.'), + 'usage' => [ + 'import' => TRUE, + 'export' => TRUE, + 'duplicate_matching' => TRUE, + 'token' => FALSE, + ], 'import' => TRUE, 'where' => 'civicrm_grant.application_received_date', 'export' => TRUE, @@ -297,6 +315,12 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE, 'title' => E::ts('Decision date'), 'description' => E::ts('Date on which grant decision was made.'), + 'usage' => [ + 'import' => TRUE, + 'export' => TRUE, + 'duplicate_matching' => TRUE, + 'token' => FALSE, + ], 'import' => TRUE, 'where' => 'civicrm_grant.decision_date', 'export' => TRUE, @@ -315,6 +339,12 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE, 'title' => E::ts('Grant Money transfer date'), 'description' => E::ts('Date on which grant money transfer was made.'), + 'usage' => [ + 'import' => TRUE, + 'export' => TRUE, + 'duplicate_matching' => TRUE, + 'token' => FALSE, + ], 'import' => TRUE, 'where' => 'civicrm_grant.money_transfer_date', 'export' => TRUE, @@ -333,6 +363,12 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_DATE, 'title' => E::ts('Grant Report Due Date'), 'description' => E::ts('Date on which grant report is due.'), + 'usage' => [ + 'import' => TRUE, + 'export' => TRUE, + 'duplicate_matching' => TRUE, + 'token' => FALSE, + ], 'import' => TRUE, 'where' => 'civicrm_grant.grant_due_date', 'export' => TRUE, @@ -351,6 +387,12 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_BOOLEAN, 'title' => E::ts('Grant report received'), 'description' => E::ts('Yes/No field stating whether grant report was received by donor.'), + 'usage' => [ + 'import' => TRUE, + 'export' => TRUE, + 'duplicate_matching' => TRUE, + 'token' => FALSE, + ], 'import' => TRUE, 'where' => 'civicrm_grant.grant_report_received', 'export' => TRUE, @@ -369,6 +411,12 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'title' => E::ts('Grant Type'), 'description' => E::ts('Type of grant. Implicit FK to civicrm_option_value in grant_type option_group.'), 'required' => TRUE, + 'usage' => [ + 'import' => FALSE, + 'export' => TRUE, + 'duplicate_matching' => FALSE, + 'token' => FALSE, + ], 'where' => 'civicrm_grant.grant_type_id', 'export' => TRUE, 'table_name' => 'civicrm_grant', @@ -394,6 +442,12 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 20, 2, ], + 'usage' => [ + 'import' => TRUE, + 'export' => TRUE, + 'duplicate_matching' => TRUE, + 'token' => FALSE, + ], 'import' => TRUE, 'where' => 'civicrm_grant.amount_total', 'dataPattern' => '/^\d+(\.\d{2})?$/', @@ -416,6 +470,12 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 20, 2, ], + 'usage' => [ + 'import' => FALSE, + 'export' => FALSE, + 'duplicate_matching' => FALSE, + 'token' => FALSE, + ], 'where' => 'civicrm_grant.amount_requested', 'dataPattern' => '/^\d+(\.\d{2})?$/', 'table_name' => 'civicrm_grant', @@ -436,6 +496,12 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 20, 2, ], + 'usage' => [ + 'import' => TRUE, + 'export' => TRUE, + 'duplicate_matching' => TRUE, + 'token' => FALSE, + ], 'import' => TRUE, 'where' => 'civicrm_grant.amount_granted', 'dataPattern' => '/^\d+(\.\d{2})?$/', @@ -457,6 +523,12 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'required' => TRUE, 'maxlength' => 3, 'size' => CRM_Utils_Type::FOUR, + 'usage' => [ + 'import' => FALSE, + 'export' => FALSE, + 'duplicate_matching' => FALSE, + 'token' => FALSE, + ], 'where' => 'civicrm_grant.currency', 'table_name' => 'civicrm_grant', 'entity' => 'Grant', @@ -481,6 +553,12 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'description' => E::ts('Grant rationale.'), 'rows' => 4, 'cols' => 60, + 'usage' => [ + 'import' => TRUE, + 'export' => TRUE, + 'duplicate_matching' => TRUE, + 'token' => FALSE, + ], 'import' => TRUE, 'where' => 'civicrm_grant.rationale', 'export' => TRUE, @@ -499,6 +577,12 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'title' => E::ts('Grant Status'), 'description' => E::ts('ID of Grant status.'), 'required' => TRUE, + 'usage' => [ + 'import' => TRUE, + 'export' => FALSE, + 'duplicate_matching' => TRUE, + 'token' => FALSE, + ], 'import' => TRUE, 'where' => 'civicrm_grant.status_id', 'export' => FALSE, @@ -520,6 +604,12 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => E::ts('Financial Type ID'), 'description' => E::ts('FK to Financial Type.'), + 'usage' => [ + 'import' => FALSE, + 'export' => FALSE, + 'duplicate_matching' => FALSE, + 'token' => FALSE, + ], 'where' => 'civicrm_grant.financial_type_id', 'default' => NULL, 'table_name' => 'civicrm_grant', @@ -528,6 +618,7 @@ class CRM_Grant_DAO_Grant extends CRM_Core_DAO { 'localizable' => 0, 'FKClassName' => 'CRM_Financial_DAO_FinancialType', 'html' => [ + 'type' => 'Select', 'label' => E::ts("Financial Type"), ], 'pseudoconstant' => [ diff --git a/civicrm/ext/civigrant/CRM/Grant/Selector/Search.php b/civicrm/ext/civigrant/CRM/Grant/Selector/Search.php index 565d6ce8bfefc6ca73b0a0d3e9e65b49eea5ea11..b3187e1096f95c84e322bde8a182cea5435c2879 100644 --- a/civicrm/ext/civigrant/CRM/Grant/Selector/Search.php +++ b/civicrm/ext/civigrant/CRM/Grant/Selector/Search.php @@ -174,12 +174,14 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co 'url' => 'civicrm/contact/view/grant', 'qs' => 'reset=1&id=%%id%%&cid=%%cid%%&action=view&context=%%cxt%%&selectedChild=grant' . $extraParams, 'title' => ts('View Grant'), + 'weight' => -20, ], CRM_Core_Action::UPDATE => [ 'name' => ts('Edit'), 'url' => 'civicrm/contact/view/grant', 'qs' => 'reset=1&action=update&id=%%id%%&cid=%%cid%%&context=%%cxt%%' . $extraParams, 'title' => ts('Edit Grant'), + 'weight' => -10, ], ]; @@ -190,6 +192,7 @@ class CRM_Grant_Selector_Search extends CRM_Core_Selector_Base implements CRM_Co 'url' => 'civicrm/contact/view/grant', 'qs' => 'action=delete&reset=1&cid=%%cid%%&id=%%id%%&selectedChild=grant' . $extraParams, 'title' => ts('Delete Grant'), + 'weight' => 100, ], ]; self::$_links = self::$_links + $delLink; diff --git a/civicrm/ext/civigrant/CRM/Grant/StateMachine/Search.php b/civicrm/ext/civigrant/CRM/Grant/StateMachine/Search.php index 1fec37f322cea416498438e54d1176a4ae62102f..9aed2fa42cf9f8d8756b75ca40e085b53947256d 100644 --- a/civicrm/ext/civigrant/CRM/Grant/StateMachine/Search.php +++ b/civicrm/ext/civigrant/CRM/Grant/StateMachine/Search.php @@ -51,7 +51,7 @@ class CRM_Grant_StateMachine_Search extends CRM_Core_StateMachine { $this->_pages['CRM_Grant_Form_Task_Result'] = NULL; } - $this->addSequentialPages($this->_pages, $action); + $this->addSequentialPages($this->_pages); } /** diff --git a/civicrm/ext/civigrant/civigrant.civix.php b/civicrm/ext/civigrant/civigrant.civix.php index 2b49bd6d7a27a118f5a7bdd42e521a2b2640b52e..ecde1e5197aa422852380716a63d6a192989368e 100644 --- a/civicrm/ext/civigrant/civigrant.civix.php +++ b/civicrm/ext/civigrant/civigrant.civix.php @@ -133,8 +133,8 @@ function _civigrant_civix_insert_navigation_menu(&$menu, $path, $item) { if (empty($path)) { $menu[] = [ 'attributes' => array_merge([ - 'label' => CRM_Utils_Array::value('name', $item), - 'active' => 1, + 'label' => $item['name'] ?? NULL, + 'active' => 1, ], $item), ]; return TRUE; diff --git a/civicrm/ext/civigrant/info.xml b/civicrm/ext/civigrant/info.xml index c033ea0169c4a57554429fcfb98069566767f905..769f6cdcd694590569afcc954f38295ac73f9401 100644 --- a/civicrm/ext/civigrant/info.xml +++ b/civicrm/ext/civigrant/info.xml @@ -13,10 +13,10 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2021-11-11</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <develStage>stable</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <comments>CiviGrant was originally a core component before migrating to an extension</comments> <requires> @@ -32,11 +32,11 @@ <mixin>menu-xml@1.0.0</mixin> <mixin>mgd-php@1.0.0</mixin> <mixin>afform-entity-php@1.0.0</mixin> - <mixin>smarty-v2@1.0.0</mixin> + <mixin>smarty-v2@1.0.1</mixin> <mixin>entity-types-php@1.0.0</mixin> </mixins> <civix> <namespace>CRM/Grant</namespace> - <format>23.02.0</format> + <format>23.02.1</format> </civix> </extension> diff --git a/civicrm/ext/civigrant/templates/CRM/Grant/Form/Grant.tpl b/civicrm/ext/civigrant/templates/CRM/Grant/Form/Grant.tpl index 6fa4d9f9ac1f5aa423c08dd957056003d1f34cdc..22d7865e5cb621607be8d909ed07c6b90a30a03a 100644 --- a/civicrm/ext/civigrant/templates/CRM/Grant/Form/Grant.tpl +++ b/civicrm/ext/civigrant/templates/CRM/Grant/Form/Grant.tpl @@ -37,7 +37,7 @@ </tr> <tr class="crm-grant-form-block-amount_requested"> <td class="label">{$form.amount_requested.label}</td> - <td>{$form.amount_requested.html}<br /><span class="description">{ts}Amount requested for grant in original currency (if different).{/ts}</span></td> + <td>{$form.amount_requested.html}</td> </tr> <tr class="crm-grant-form-block-amount_granted"> <td class="label">{$form.amount_granted.label}</td> @@ -50,16 +50,12 @@ <tr class="crm-grant-form-block-decision_date"> <td class="label">{$form.decision_date.label}</td> <td> - {$form.decision_date.html}<br /> - <span class="description">{ts}Date on which the grant decision was finalized.{/ts}</span> - </td> + {$form.decision_date.html}</td> </tr> <tr class="crm-grant-form-block-money_transfer_date"> <td class="label">{$form.money_transfer_date.label}</td> <td> - {$form.money_transfer_date.html}<br /> - <span class="description">{ts}Date on which the grant money was transferred.{/ts}</span> - </td> + {$form.money_transfer_date.html}</td> </tr> <tr class="crm-grant-form-block-grant_due_date"> <td class="label">{$form.grant_due_date.label}</td> diff --git a/civicrm/ext/civigrant/xml/schema/CRM/Grant/Grant.xml b/civicrm/ext/civigrant/xml/schema/CRM/Grant/Grant.xml index b6955d43990459fea132a49914b53ca749dbd094..e3db6baafa184ab51789464f50d795395b83dbe9 100644 --- a/civicrm/ext/civigrant/xml/schema/CRM/Grant/Grant.xml +++ b/civicrm/ext/civigrant/xml/schema/CRM/Grant/Grant.xml @@ -238,6 +238,7 @@ <comment>FK to Financial Type.</comment> <html> <label>Financial Type</label> + <type>Select</type> </html> <add>4.3</add> </field> diff --git a/civicrm/ext/civiimport/info.xml b/civicrm/ext/civiimport/info.xml index 997e75eae3122d09ed0159afcf7df030667823a2..1110db1ab82733c0242b91aba47b4ec298ba6842 100644 --- a/civicrm/ext/civiimport/info.xml +++ b/civicrm/ext/civiimport/info.xml @@ -15,10 +15,10 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2022-08-11</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <develStage>alpha</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <comments>Core extension for us to start moving import logic into, has more functionality</comments> <requires> diff --git a/civicrm/ext/civiimport/tests/phpunit/CiviApiImportTest.php b/civicrm/ext/civiimport/tests/phpunit/CiviApiImportTest.php index 47e35784e510e7f90fd2286a07ea9b736cf15efd..0273a4e2d2a364e66327b8b7b7000ea21de3a836 100644 --- a/civicrm/ext/civiimport/tests/phpunit/CiviApiImportTest.php +++ b/civicrm/ext/civiimport/tests/phpunit/CiviApiImportTest.php @@ -58,7 +58,7 @@ class CiviApiImportTest extends TestCase implements HeadlessInterface, HookInter $this->createUserJobTable(); $userJobParameters = [ 'metadata' => [ - 'DataSource' => ['table_name' => 'abc', 'column_headers' => ['External Identifier', 'Amount Given', 'Date Received', 'Financial Type', 'In honor']], + 'DataSource' => ['table_name' => 'abc', 'column_headers' => ['External Identifier', 'Amount Given', 'Contribution Date', 'Financial Type', 'In honor']], 'submitted_values' => [ 'contactType' => 'Individual', 'contactSubType' => '', diff --git a/civicrm/ext/ckeditor4/info.xml b/civicrm/ext/ckeditor4/info.xml index bc855d14eaffbe92ef45c20354a9a38297b72bab..9941d5222cb1108536e7cf540da614f71d5c9612 100644 --- a/civicrm/ext/ckeditor4/info.xml +++ b/civicrm/ext/ckeditor4/info.xml @@ -15,10 +15,10 @@ <url desc="Licensing">https://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2021-05-23</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <develStage>stable</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <comments>This is the version of CKEditor that originally shipped with CiviCRM core</comments> <classloader> diff --git a/civicrm/ext/contributioncancelactions/info.xml b/civicrm/ext/contributioncancelactions/info.xml index eeb0b2d305145226951555cbe811aff857ed06c8..ee3d927937a8fe44a1dac535780abaa54e78af01 100644 --- a/civicrm/ext/contributioncancelactions/info.xml +++ b/civicrm/ext/contributioncancelactions/info.xml @@ -15,10 +15,10 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2020-10-12</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <develStage>stable</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <comments>This code has been moved from core to a separate extension in 5.32. Note that if you disable it failed or cancelled contributions will not cause related memberships and participant records to be updated</comments> <classloader> diff --git a/civicrm/ext/contributioncancelactions/tests/phpunit/CancelTest.php b/civicrm/ext/contributioncancelactions/tests/phpunit/CancelTest.php index 39b199c8984ab518d8dcda2c3459c2bad75c623f..66a37805fc958ceda0e03cb56e4f31e0400ae309 100644 --- a/civicrm/ext/contributioncancelactions/tests/phpunit/CancelTest.php +++ b/civicrm/ext/contributioncancelactions/tests/phpunit/CancelTest.php @@ -227,8 +227,8 @@ class CancelTest extends TestCase implements HeadlessInterface, HookInterface, T 'contributionID' => $orderID, 'module' => 'event', 'invoice' => 123, - 'eventID' => $this->ids['event'][0], - 'participantID' => Participant::get()->addWhere('event_id', '=', $this->ids['event'][0])->addSelect('id')->execute()->first()['id'], + 'eventID' => $this->ids['Event'][0], + 'participantID' => Participant::get()->addWhere('event_id', '=', $this->ids['Event'][0])->addSelect('id')->execute()->first()['id'], 'payment_status' => 'Refunded', 'processor_id' => $this->createPaymentProcessor(['payment_processor_type_id' => 'PayPal_Standard']), ]); @@ -312,7 +312,7 @@ class CancelTest extends TestCase implements HeadlessInterface, HookInterface, T * @return int */ protected function getEventID(): int { - return $this->ids['event'][0]; + return $this->ids['Event'][0]; } /** @@ -322,7 +322,7 @@ class CancelTest extends TestCase implements HeadlessInterface, HookInterface, T * @throws CRM_Core_Exception */ protected function createEventOrder(): int { - $this->ids['event'][0] = (int) Event::create()->setValues(['title' => 'Event', 'start_date' => 'tomorrow', 'event_type_id:name' => 'Workshop'])->execute()->first()['id']; + $this->ids['Event'][0] = (int) Event::create()->setValues(['title' => 'Event', 'start_date' => 'tomorrow', 'event_type_id:name' => 'Workshop'])->execute()->first()['id']; $order = $this->callAPISuccess('Order', 'create', [ 'contact_id' => $this->ids['contact'][0], 'financial_type_id' => 'Donation', @@ -340,7 +340,7 @@ class CancelTest extends TestCase implements HeadlessInterface, HookInterface, T ], 'params' => [ 'contact_id' => $this->ids['contact'][0], - 'event_id' => $this->ids['event'][0], + 'event_id' => $this->ids['Event'][0], ], ], ], diff --git a/civicrm/ext/elavon/info.xml b/civicrm/ext/elavon/info.xml index fb4eb4ca523d7435769f8b64bd25d9edb66577ec..9e4af0ee5fb8072f759b6aec0f7460f481357282 100644 --- a/civicrm/ext/elavon/info.xml +++ b/civicrm/ext/elavon/info.xml @@ -15,10 +15,10 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2022-08-05</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <develStage>stable</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <comments/> <classloader> diff --git a/civicrm/ext/eventcart/CRM/Event/Cart/StateMachine/Checkout.php b/civicrm/ext/eventcart/CRM/Event/Cart/StateMachine/Checkout.php index bff2b8adb04743beb59f6a111bae0d1286561d1c..bb705f83fcb2ea1f2e585f479e2f66e611b87a1c 100644 --- a/civicrm/ext/eventcart/CRM/Event/Cart/StateMachine/Checkout.php +++ b/civicrm/ext/eventcart/CRM/Event/Cart/StateMachine/Checkout.php @@ -32,7 +32,7 @@ class CRM_Event_Cart_StateMachine_Checkout extends CRM_Core_StateMachine { } $pages["CRM_Event_Cart_Form_Checkout_Payment"] = NULL; $pages["CRM_Event_Cart_Form_Checkout_ThankYou"] = NULL; - $this->addSequentialPages($pages, $action); + $this->addSequentialPages($pages); } } diff --git a/civicrm/ext/eventcart/info.xml b/civicrm/ext/eventcart/info.xml index 7a6d32397ca811b4a860ff81be19ad938526e7ad..964d9bf718b2a8250c4244d6037db4ce8806058d 100644 --- a/civicrm/ext/eventcart/info.xml +++ b/civicrm/ext/eventcart/info.xml @@ -13,13 +13,13 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2020-08-03</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <tags> <tag>mgmt:hidden</tag> </tags> <develStage>stable</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <classloader> <psr0 prefix="CRM_" path="."/> diff --git a/civicrm/ext/ewaysingle/info.xml b/civicrm/ext/ewaysingle/info.xml index 9d1cef723902338a8a1a0b1286c339caf234f6f8..71aed8d988835624ab8727373bece4e0691bd1e8 100644 --- a/civicrm/ext/ewaysingle/info.xml +++ b/civicrm/ext/ewaysingle/info.xml @@ -15,13 +15,13 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2020-10-07</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <tags> <tag>mgmt:hidden</tag> </tags> <develStage>stable</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <comments>This is an extension to contain the eWAY Single Currency Payment Processor</comments> <classloader> diff --git a/civicrm/ext/financialacls/info.xml b/civicrm/ext/financialacls/info.xml index de3a14b58e0e1888ee368e48ac50d1e370e39727..6b670251cf931b201b1d25f5e0e3aed9e3ec8952 100644 --- a/civicrm/ext/financialacls/info.xml +++ b/civicrm/ext/financialacls/info.xml @@ -15,10 +15,10 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2020-08-27</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <develStage>stable</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <tags> <tag>mgmt:hidden</tag> diff --git a/civicrm/ext/flexmailer/flexmailer.php b/civicrm/ext/flexmailer/flexmailer.php index 7397be2abf1b0cb52a00268e0fa4d7cbbf8d7f21..c4d8b490b3806ede5c69d326f8f60d2682ba03c5 100644 --- a/civicrm/ext/flexmailer/flexmailer.php +++ b/civicrm/ext/flexmailer/flexmailer.php @@ -41,24 +41,6 @@ function flexmailer_civicrm_enable() { _flexmailer_civix_civicrm_enable(); } -/** - * Implements hook_civicrm_navigationMenu(). - * - * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_navigationMenu - */ -function flexmailer_civicrm_navigationMenu(&$menu) { - _flexmailer_civix_insert_navigation_menu($menu, 'Administer/CiviMail', [ - 'label' => E::ts('Flexmailer Settings'), - 'name' => 'flexmailer_settings', - 'permission' => 'administer CiviCRM', - 'child' => [], - 'operator' => 'AND', - 'separator' => 0, - 'url' => CRM_Utils_System::url('civicrm/admin/setting/flexmailer', 'reset=1', TRUE), - ]); - _flexmailer_civix_navigationMenu($menu); -} - /** * Implements hook_civicrm_container(). */ @@ -66,17 +48,3 @@ function flexmailer_civicrm_container($container) { $container->addResource(new \Symfony\Component\Config\Resource\FileResource(__FILE__)); \Civi\FlexMailer\Services::registerServices($container); } - -/** - * Get a list of delivery options for traditional mailings. - * - * @return array - * Array (string $machineName => string $label). - */ -function _flexmailer_traditional_options() { - return array( - 'auto' => E::ts('Automatic'), - 'bao' => E::ts('CiviMail BAO'), - 'flexmailer' => E::ts('Flexmailer Pipeline'), - ); -} diff --git a/civicrm/ext/flexmailer/info.xml b/civicrm/ext/flexmailer/info.xml index 4165deab478efb2e798eee4ea16017f2f78b7b74..55ec7f77f9d7fa569b7e9f050a3569638340e36b 100644 --- a/civicrm/ext/flexmailer/info.xml +++ b/civicrm/ext/flexmailer/info.xml @@ -15,7 +15,7 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2020-08-05</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <develStage>stable</develStage> <comments> FlexMailer is an email delivery engine which replaces the internal guts @@ -23,7 +23,7 @@ to provide richer email features. </comments> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <tags> <tag>mgmt:required</tag> diff --git a/civicrm/ext/greenwich/info.xml b/civicrm/ext/greenwich/info.xml index 546f09a6f53ad18ba77538e8299534e6582e60ce..7eaa0cff01634a444ae34050ee160a46c1c747b0 100644 --- a/civicrm/ext/greenwich/info.xml +++ b/civicrm/ext/greenwich/info.xml @@ -15,13 +15,13 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2020-07-21</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <tags> <tag>mgmt:hidden</tag> </tags> <develStage>stable</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <classloader> <psr0 prefix="CRM_" path="."/> diff --git a/civicrm/ext/legacycustomsearches/CRM/Contact/Form/Search/Custom/Base.php b/civicrm/ext/legacycustomsearches/CRM/Contact/Form/Search/Custom/Base.php index 2ff571d5a26521a4c04c2d9c43b8520663c91a22..fa5eddcd282a1c60897d7bb24ae0ddcf0a2cbcec 100644 --- a/civicrm/ext/legacycustomsearches/CRM/Contact/Form/Search/Custom/Base.php +++ b/civicrm/ext/legacycustomsearches/CRM/Contact/Form/Search/Custom/Base.php @@ -22,6 +22,16 @@ class CRM_Contact_Form_Search_Custom_Base { protected $_stateID; + /** + * Does the search class handle the prev next cache saving. + * + * This can be set to yes as long as a UI test works, and the deprecation + * notice will disappear. + * + * @var bool + */ + public $searchClassHandlesPrevNextCache = FALSE; + /** * The title of this form * @var string @@ -185,10 +195,8 @@ class CRM_Contact_Form_Search_Custom_Base { /** * @param $sql * @param bool $onlyWhere - * - * @throws Exception */ - public function validateUserSQL(&$sql, $onlyWhere = FALSE) { + public function validateUserSQL($sql, $onlyWhere = FALSE): void { $includeStrings = ['contact_a']; $excludeStrings = ['insert', 'delete', 'update']; @@ -260,4 +268,29 @@ class CRM_Contact_Form_Search_Custom_Base { return []; } + /** + * Fill the prevNextCache with the found contacts + * + * @return bool TRUE if the search was able to process it. + */ + public function fillPrevNextCache($cacheKey, $start, $end, $sort): bool { + if ($this->searchClassHandlesPrevNextCache) { + $sql = $this->sql( + '"' . $cacheKey . '" as cache_key, contact_a.id as id, contact_a.sort_name', + $start, + $end, + $sort + ); + $this->validateUserSQL($sql); + Civi::service('prevnext')->fillWithSql($cacheKey, $sql); + if (Civi::service('prevnext') instanceof CRM_Core_PrevNextCache_Sql) { + // SQL-backed prevnext cache uses an extra record for pruning the cache. + // Also ensure that caches stay alive for 2 days as per previous code + Civi::cache('prevNextCache')->set($cacheKey, $cacheKey, 60 * 60 * 24 * CRM_Core_PrevNextCache_Sql::cacheDays); + } + return TRUE; + } + return FALSE; + } + } diff --git a/civicrm/ext/legacycustomsearches/CRM/Contact/Form/Search/Custom/PriceSet.php b/civicrm/ext/legacycustomsearches/CRM/Contact/Form/Search/Custom/PriceSet.php index 007845840d3baeb68ce738fad7c5ede9e6fd7269..e23b4d5cf7d5e094cd0d6ad65bc9427462cc53c8 100644 --- a/civicrm/ext/legacycustomsearches/CRM/Contact/Form/Search/Custom/PriceSet.php +++ b/civicrm/ext/legacycustomsearches/CRM/Contact/Form/Search/Custom/PriceSet.php @@ -9,6 +9,9 @@ +--------------------------------------------------------------------+ */ +use Civi\Api4\PriceFieldValue; +use Civi\Api4\PriceSetEntity; + /** * * @package CRM @@ -16,12 +19,22 @@ */ class CRM_Contact_Form_Search_Custom_PriceSet extends CRM_Contact_Form_Search_Custom_Base implements CRM_Contact_Form_Search_Interface { - protected $_eventID = NULL; - protected $_aclFrom = NULL; - protected $_aclWhere = NULL; - protected $_tableName = NULL; + protected $eventID; + protected $_aclFrom; + protected $_aclWhere; + protected $_tableName; public $_permissionedComponent; + /** + * Does the search class handle the prev next cache saving. + * + * This can be set to yes as long as a UI test works, and the deprecation + * notice will disappear. + * + * @var bool + */ + public $searchClassHandlesPrevNextCache = TRUE; + /** * Class constructor. * @@ -30,37 +43,26 @@ class CRM_Contact_Form_Search_Custom_PriceSet extends CRM_Contact_Form_Search_Cu public function __construct(&$formValues) { parent::__construct($formValues); - $this->_eventID = CRM_Utils_Array::value('event_id', + $this->eventID = (int) CRM_Utils_Array::value('event_id', $this->_formValues ); $this->setColumns(); - if ($this->_eventID) { - $this->buildTempTable(); - $this->fillTable(); - } + $this->buildTempTable(); + $this->fillTable(); // define component access permission needed $this->_permissionedComponent = 'CiviEvent'; } - public function __destruct() { - /* - if ( $this->_eventID ) { - $sql = "DROP TEMPORARY TABLE {$this->_tableName}"; - CRM_Core_DAO::executeQuery( $sql ); - } - */ - } - - public function buildTempTable() { - $sql = "id int unsigned NOT NULL AUTO_INCREMENT, + public function buildTempTable(): void { + $sql = 'id int unsigned NOT NULL AUTO_INCREMENT, contact_id int unsigned NOT NULL, participant_id int unsigned NOT NULL, -"; +'; - foreach ($this->_columns as $dontCare => $fieldName) { + foreach ($this->_columns as $fieldName) { if (in_array($fieldName, [ 'contact_id', 'participant_id', @@ -71,14 +73,14 @@ class CRM_Contact_Form_Search_Custom_PriceSet extends CRM_Contact_Form_Search_Cu $sql .= "{$fieldName} int default 0,\n"; } - $sql .= " + $sql .= ' PRIMARY KEY ( id ), - UNIQUE INDEX unique_participant_id ( participant_id )"; + UNIQUE INDEX unique_participant_id ( participant_id )'; $this->_tableName = CRM_Utils_SQL_TempTable::build()->setCategory('priceset')->setMemory()->createWithColumns($sql)->getName(); } - public function fillTable() { + public function fillTable(): void { $sql = " REPLACE INTO {$this->_tableName} ( contact_id, participant_id ) @@ -91,7 +93,7 @@ WHERE p.contact_id = c.id AND p.status_id NOT IN (4,11,12) AND ( c.is_deleted = 0 OR c.is_deleted IS NULL ) "; - CRM_Core_DAO::executeQuery($sql, [1 => [$this->_eventID, 'Positive']]); + CRM_Core_DAO::executeQuery($sql, [1 => [$this->eventID, 'Positive']]); $sql = " SELECT c.id as contact_id, @@ -113,12 +115,11 @@ WHERE p.contact_id = c.id ORDER BY c.id, l.price_field_value_id; "; - $dao = CRM_Core_DAO::executeQuery($sql, [1 => [$this->_eventID, 'Positive']]); + $dao = CRM_Core_DAO::executeQuery($sql, [1 => [$this->eventID, 'Positive']]); // first store all the information by option value id $rows = []; while ($dao->fetch()) { - $contactID = $dao->contact_id; $participantID = $dao->participant_id; if (!isset($rows[$participantID])) { $rows[$participantID] = []; @@ -141,11 +142,10 @@ WHERE participant_id = $participantID; } /** - * @param int $eventID * * @return Object */ - public function priceSetDAO($eventID = NULL) { + public function priceSetDAO() { // get all the events that have a price set associated with it $sql = " @@ -158,17 +158,7 @@ FROM civicrm_event e, WHERE p.entity_table = 'civicrm_event' AND p.entity_id = e.id "; - - $params = []; - if ($eventID) { - $params[1] = [$eventID, 'Integer']; - $sql .= " AND e.id = $eventID"; - } - - $dao = CRM_Core_DAO::executeQuery($sql, - $params - ); - return $dao; + return CRM_Core_DAO::executeQuery($sql); } /** @@ -207,42 +197,36 @@ AND p.entity_id = e.id $form->assign('elements', ['event_id']); } - public function setColumns() { + /** + * @throws \Civi\API\Exception\UnauthorizedException + * @throws \CRM_Core_Exception + */ + public function setColumns(): void { $this->_columns = [ ts('Contact ID') => 'contact_id', ts('Participant ID') => 'participant_id', ts('Name') => 'display_name', ]; - if (!$this->_eventID) { - return; - } - // for the selected event, find the price set and all the columns associated with it. // create a column for each field and option group within it - $dao = $this->priceSetDAO($this->_formValues['event_id']); - - if ($dao->fetch() && - !$dao->price_set_id - ) { - throw new CRM_Core_Exception(ts('There are no events with Price Sets')); - } - - // get all the fields and all the option values associated with it - $priceSet = CRM_Price_BAO_PriceSet::getSetDetail($dao->price_set_id); - if (is_array($priceSet[$dao->price_set_id])) { - foreach ($priceSet[$dao->price_set_id]['fields'] as $key => $value) { - if (is_array($value['options'])) { - foreach ($value['options'] as $oKey => $oValue) { - $columnHeader = $value['label'] ?? NULL; - if (CRM_Utils_Array::value('html_type', $value) != 'Text') { - $columnHeader .= ' - ' . $oValue['label']; - } - - $this->_columns[$columnHeader] = "price_field_{$oValue['id']}"; - } - } + $priceSetEntity = PriceSetEntity::get() + ->addWhere('entity_table', '=', 'civicrm_event') + ->addWhere('entity_id', '=', $this->eventID) + ->addSelect('price_set_id') + ->execute()->first(); + $priceSetID = $priceSetEntity['price_set_id']; + $priceFieldValues = PriceFieldValue::get() + ->addWhere('price_field_id.price_set_id', '=', $priceSetID) + ->addSelect('label', 'price_field_id.html_type', 'price_field_id.label') + ->execute(); + + foreach ($priceFieldValues as $value) { + $columnHeader = $value['price_field_id.label'] ?? NULL; + if ($value['price_field_id.html_type'] !== 'Text') { + $columnHeader .= ' - ' . $value['label']; } + $this->_columns[$columnHeader] = "price_field_{$value['id']}"; } } @@ -294,7 +278,7 @@ contact_a.display_name as display_name"; /** * @return string */ - public function from() { + public function from(): string { $this->buildACLClause('contact_a'); $from = " FROM civicrm_contact contact_a @@ -343,7 +327,7 @@ INNER JOIN {$this->_tableName} tempTable ON ( tempTable.contact_id = contact_a.i * @param string $tableAlias */ public function buildACLClause($tableAlias = 'contact') { - list($this->_aclFrom, $this->_aclWhere) = CRM_Contact_BAO_Contact_Permission::cacheClause($tableAlias); + [$this->_aclFrom, $this->_aclWhere] = CRM_Contact_BAO_Contact_Permission::cacheClause($tableAlias); } } diff --git a/civicrm/ext/legacycustomsearches/CRM/Contact/Selector/Custom.php b/civicrm/ext/legacycustomsearches/CRM/Contact/Selector/Custom.php index 7c0a3b50f39c09658701a0e0675a9ada830766ea..b58922b0e50b1387c752d25edf1bcd30db055e68 100644 --- a/civicrm/ext/legacycustomsearches/CRM/Contact/Selector/Custom.php +++ b/civicrm/ext/legacycustomsearches/CRM/Contact/Selector/Custom.php @@ -74,8 +74,9 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector { protected $_fields; /** - * The object that implements the search interface - * @var object + * The object that implements the search interface. + * + * @var CRM_Contact_Form_Search_Custom_Base */ protected $_search; @@ -425,6 +426,9 @@ class CRM_Contact_Selector_Custom extends CRM_Contact_Selector { * @throws \CRM_Core_Exception */ public function fillPrevNextCache($sort, $cacheKey, $start = 0, $end = self::CACHE_SIZE): void { + if ($this->_search->fillPrevNextCache($cacheKey, $start, $end, $sort)) { + return; + } $sql = $this->_search->contactIDs($start, $end, $sort, TRUE); // CRM-9096 diff --git a/civicrm/ext/legacycustomsearches/CRM/Legacycustomsearches/StateMachine/Search.php b/civicrm/ext/legacycustomsearches/CRM/Legacycustomsearches/StateMachine/Search.php index 46a18ee942c405b4c60e892036b53af1a54b0271..ad7b4958332385f05236056df69ee1160004deb2 100644 --- a/civicrm/ext/legacycustomsearches/CRM/Legacycustomsearches/StateMachine/Search.php +++ b/civicrm/ext/legacycustomsearches/CRM/Legacycustomsearches/StateMachine/Search.php @@ -50,7 +50,7 @@ class CRM_Legacycustomsearches_StateMachine_Search extends CRM_Core_StateMachine $this->_pages['CRM_Contact_Form_Task_Result'] = NULL; } - $this->addSequentialPages($this->_pages, $action); + $this->addSequentialPages($this->_pages); } /** diff --git a/civicrm/ext/legacycustomsearches/info.xml b/civicrm/ext/legacycustomsearches/info.xml index ae6fd5afebf381c94d1945b37eb06ee074b43bfd..33625ed9fdd9623d7053ec1a953164a0735321e1 100644 --- a/civicrm/ext/legacycustomsearches/info.xml +++ b/civicrm/ext/legacycustomsearches/info.xml @@ -15,13 +15,13 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2021-07-25</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <develStage>stable</develStage> <tags> <tag>mgmt:hidden</tag> </tags> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <comments>This is hidden on install to give extensions that require it time to add it to their requires and to allow us to get it out of GroupContact load</comments> <classloader> diff --git a/civicrm/ext/legacycustomsearches/templates/CRM/Contact/Form/Search/Custom.tpl b/civicrm/ext/legacycustomsearches/templates/CRM/Contact/Form/Search/Custom.tpl index 4a1a7bfdf9a6445d844ef6e2b0ad8645a3761f69..89d6c23cfe6fe8b19d711b377d814674f6eb9abd 100644 --- a/civicrm/ext/legacycustomsearches/templates/CRM/Contact/Form/Search/Custom.tpl +++ b/civicrm/ext/legacycustomsearches/templates/CRM/Contact/Form/Search/Custom.tpl @@ -54,7 +54,7 @@ {include file="CRM/common/pager.tpl" location="top"} {* Include alpha pager if defined. *} - {if $atoZ} + {if $aToZ} {include file="CRM/common/pagerAToZ.tpl"} {/if} diff --git a/civicrm/ext/legacycustomsearches/templates/CRM/Contact/Form/Search/Custom/FullText.tpl b/civicrm/ext/legacycustomsearches/templates/CRM/Contact/Form/Search/Custom/FullText.tpl index bc0f884a67ca61b96be2e62ab01326b64634d3f5..1c58d077f2750521edd1f92a40cd06c1b93da203 100644 --- a/civicrm/ext/legacycustomsearches/templates/CRM/Contact/Form/Search/Custom/FullText.tpl +++ b/civicrm/ext/legacycustomsearches/templates/CRM/Contact/Form/Search/Custom/FullText.tpl @@ -209,8 +209,8 @@ <th class='link'>{ts}Contributor's Name{/ts}</th> <th class="currency">{ts}Amount{/ts}</th> <th>{ts}Financial Type{/ts}</th> - <th>{ts}Source{/ts}</th> - <th class="received_date">{ts}Received{/ts}</th> + <th>{ts}Contribution Source{/ts}</th> + <th class="received_date">{ts}Contribution Date{/ts}</th> <th>{ts}Status{/ts}</th> {if $allowFileSearch}<th>{ts}File{/ts}</th>{/if} <th></th> @@ -265,7 +265,7 @@ <th>{ts}Fee Level{/ts}</th> <th class="currency">{ts}Fee Amount{/ts}</th> <th class="register_date">{ts}Register Date{/ts}</th> - <th>{ts}Source{/ts}</th> + <th>{ts}Participant Source{/ts}</th> <th>{ts}Status{/ts}</th> <th>{ts}Role{/ts}</th> {if $allowFileSearch}<th>{ts}File{/ts}</th>{/if} @@ -321,7 +321,7 @@ <th class="currency">{ts}Membership Fee{/ts}</th> <th class="start_date">{ts}Membership Start Date{/ts}</th> <th class="end_date">{ts}Membership Expiration Date{/ts}</th> - <th>{ts}Source{/ts}</th> + <th>{ts}Membership Source{/ts}</th> <th>{ts}Status{/ts}</th> {if $allowFileSearch}<th>{ts}File{/ts}</th>{/if} <th></th> diff --git a/civicrm/ext/legacycustomsearches/tests/phpunit/Civi/Searches/PriceSetTest.php b/civicrm/ext/legacycustomsearches/tests/phpunit/Civi/Searches/PriceSetTest.php new file mode 100644 index 0000000000000000000000000000000000000000..7be1112653800cd4dab258a533933083c012cca6 --- /dev/null +++ b/civicrm/ext/legacycustomsearches/tests/phpunit/Civi/Searches/PriceSetTest.php @@ -0,0 +1,104 @@ +<?php +/** + * File for the CRM_Contact_Form_Search_Custom_PriceSetTest class + * + * (PHP 5) + * + * @author Walt Haas <walt@dharmatech.org> (801) 534-1262 + * @copyright Copyright CiviCRM LLC (C) 2009 + * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html + * GNU Affero General Public License version 3 + * @package CiviCRM + * + * This file is part of CiviCRM + * + * CiviCRM is free software; you can redistribute it and/or + * modify it under the terms of the GNU Affero General Public License + * as published by the Free Software Foundation; either version 3 of + * the License, or (at your option) any later version. + * + * CiviCRM is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public + * License along with this program. If not, see + * <http://www.gnu.org/licenses/>. + */ + +use Civi\Test; +use Civi\Test\Api3TestTrait; +use Civi\Test\ContactTestTrait; +use Civi\Test\EventTestTrait; +use Civi\Test\HeadlessInterface; +use Civi\Test\HookInterface; +use Civi\Test\TransactionalInterface; +use PHPUnit\Framework\TestCase; + +/** + * Test contact custom search functions + * + * @group headless + */ +class CRM_Contact_Form_Search_Custom_PriceSetTest extends TestCase implements HeadlessInterface, HookInterface, TransactionalInterface { + + use EventTestTrait; + use Api3TestTrait; + use ContactTestTrait; + + /** + * Civi\Test has many helpers, like install(), uninstall(), sql(), and + * sqlFile(). See: + * https://github.com/civicrm/org.civicrm.testapalooza/blob/master/civi-test.md + */ + public function setUpHeadless(): Test\CiviEnvBuilder { + return Test::headless() + ->install(['legacycustomsearches']) + ->apply(); + } + + /** + * @throws \Civi\Core\Exception\DBQueryException + */ + public function testRunSearch(): void { + $this->eventCreatePaid(); + $contactID = $this->individualCreate(); + $this->callAPISuccess('Order', 'create', [ + 'total_amount' => 100, + 'currency' => 'USD', + 'contact_id' => $contactID, + 'financial_type_id' => 4, + 'line_items' => [ + [ + 'line_item' => [ + [ + 'price_field_value_id' => $this->ids['PriceFieldValue']['PaidEvent_student'], + 'price_field_id' => $this->ids['PriceField']['PaidEvent'], + 'qty' => 1, + 'line_total' => 100, + 'entity_table' => 'civicrm_participant', + ], + ], + 'params' => [ + 'financial_type_id' => 4, + 'event_id' => $this->getEventID(), + 'role_id' => 1, + 'status_id' => 14, + 'fee_currency' => 'USD', + 'contact_id' => $contactID , + ], + ], + ], + ]); + $formValues = ['event_id' => $this->getEventID()]; + $form = new CRM_Contact_Form_Search_Custom_PriceSet($formValues); + $sql = $form->all(); + // Assert that we have created a standard temp table + $this->assertStringContainsString('civicrm_tmp_e_priceset', $sql); + // Check that the temp table has been populated. + $result = CRM_Core_DAO::executeQuery($sql)->fetchAll(); + $this->assertNotEmpty($result); + } + +} diff --git a/civicrm/ext/message_admin/info.xml b/civicrm/ext/message_admin/info.xml index a983646f1fa5f674b1b10e67a8949a191f846ecc..05431d3b07afb763d039f3ce56327f55b11c5b98 100644 --- a/civicrm/ext/message_admin/info.xml +++ b/civicrm/ext/message_admin/info.xml @@ -15,10 +15,10 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2021-06-12</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <develStage>alpha</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <requires> <ext>org.civicrm.afform</ext> diff --git a/civicrm/ext/oauth-client/info.xml b/civicrm/ext/oauth-client/info.xml index ca9604b249a9f10d815745a16843f89b5768a6d3..b1809cf8b724b851a36c44cb08bb31cb12e624dd 100644 --- a/civicrm/ext/oauth-client/info.xml +++ b/civicrm/ext/oauth-client/info.xml @@ -15,10 +15,10 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2020-10-23</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <develStage>stable</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <requires> <ext version="~4.5">org.civicrm.afform</ext> diff --git a/civicrm/ext/payflowpro/info.xml b/civicrm/ext/payflowpro/info.xml index 831b34bf28dfa02cdb7fa474d5c450fc83f23db4..598c19c7e2ca26fa61d957c511786c197ed4cfc6 100644 --- a/civicrm/ext/payflowpro/info.xml +++ b/civicrm/ext/payflowpro/info.xml @@ -15,10 +15,10 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2021-04-13</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <develStage>stable</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <comments>This extension is extraction of the original Core Payflow Pro Payment Processor</comments> <classloader> diff --git a/civicrm/ext/recaptcha/info.xml b/civicrm/ext/recaptcha/info.xml index 18c9307b8f4b2eeb3a9c67af5354eea10980b189..fb55f29df6867fc710619234949813197277f75f 100644 --- a/civicrm/ext/recaptcha/info.xml +++ b/civicrm/ext/recaptcha/info.xml @@ -13,13 +13,13 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2021-04-03</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <tags> <tag>mgmt:hidden</tag> </tags> <develStage>stable</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <classloader> <psr0 prefix="CRM_" path="."/> diff --git a/civicrm/ext/search_kit/Civi/Api4/Action/SKEntity/GetRefreshDate.php b/civicrm/ext/search_kit/Civi/Api4/Action/SKEntity/GetRefreshDate.php new file mode 100644 index 0000000000000000000000000000000000000000..c6da7a45faad0763678c48327a552122c156099b --- /dev/null +++ b/civicrm/ext/search_kit/Civi/Api4/Action/SKEntity/GetRefreshDate.php @@ -0,0 +1,34 @@ +<?php + +namespace Civi\Api4\Action\SKEntity; + +use Civi\Api4\Generic\AbstractAction; +use Civi\Api4\Generic\Result; + +/** + * Get the date the stored data was last refreshed for $ENTITY + * + * @package Civi\Api4\Action\SKEntity + */ +class GetRefreshDate extends AbstractAction { + + /** + * @param \Civi\Api4\Generic\Result $result + * @throws \CRM_Core_Exception + */ + public function _run(Result $result) { + [, $displayName] = explode('_', $this->getEntityName(), 2); + $tableName = _getSearchKitDisplayTableName($displayName); + $dbPath = explode('/', parse_url(CIVICRM_DSN, PHP_URL_PATH)); + $dbName = end($dbPath); + + $result[] = [ + 'refresh_date' => \CRM_Core_DAO::singleValueQuery(" + SELECT UPDATE_TIME + FROM information_schema.tables + WHERE TABLE_SCHEMA = '$dbName' + AND TABLE_NAME = '$tableName'"), + ]; + } + +} diff --git a/civicrm/ext/search_kit/Civi/Api4/Action/SKEntity/Refresh.php b/civicrm/ext/search_kit/Civi/Api4/Action/SKEntity/Refresh.php new file mode 100644 index 0000000000000000000000000000000000000000..1e5a732e285cfb69a5a56517fb1ae0d68fc1128f --- /dev/null +++ b/civicrm/ext/search_kit/Civi/Api4/Action/SKEntity/Refresh.php @@ -0,0 +1,50 @@ +<?php + +namespace Civi\Api4\Action\SKEntity; + +use Civi\API\Request; +use Civi\Api4\Generic\AbstractAction; +use Civi\Api4\Generic\Result; +use Civi\Api4\Query\Api4SelectQuery; + +/** + * Store the results of a SearchDisplay as a SQL table. + * + * For displays of type `entity` which save to a DB table + * rather than outputting anything to the user. + * + * @package Civi\Api4\Action\SKEntity + */ +class Refresh extends AbstractAction { + + /** + * @param \Civi\Api4\Generic\Result $result + * @throws \CRM_Core_Exception + */ + public function _run(Result $result) { + [, $displayName] = explode('_', $this->getEntityName(), 2); + $display = \Civi\Api4\SearchDisplay::get(FALSE) + ->setSelect(['settings', 'saved_search_id.api_entity', 'saved_search_id.api_params']) + ->addWhere('type', '=', 'entity') + ->addWhere('name', '=', $displayName) + ->execute()->single(); + + $apiParams = $display['saved_search_id.api_params']; + foreach ($display['settings']['sort'] ?? [] as $item) { + $apiParams['orderBy'][$item[0]] = $item[1]; + } + $api = Request::create($display['saved_search_id.api_entity'], 'get', $apiParams); + $query = new Api4SelectQuery($api); + $query->forceSelectId = FALSE; + $select = $query->getSql(); + $tableName = _getSearchKitDisplayTableName($displayName); + $columnSpecs = array_column($display['settings']['columns'], 'spec'); + $columns = implode(', ', array_column($columnSpecs, 'name')); + \CRM_Core_DAO::executeQuery("TRUNCATE TABLE `$tableName`"); + \CRM_Core_DAO::executeQuery("INSERT INTO `$tableName` ($columns) $select"); + $result[] = [ + 'refresh_date' => \CRM_Core_DAO::singleValueQuery("SELECT NOW()"), + ]; + } + +} diff --git a/civicrm/ext/search_kit/Civi/Api4/Action/SearchDisplay/AbstractRunAction.php b/civicrm/ext/search_kit/Civi/Api4/Action/SearchDisplay/AbstractRunAction.php index 476b116109ca09e6cbf523f5c8efc074b6f9f220..2c557f58db0af0a462a421815a8d2a84898f3a6e 100644 --- a/civicrm/ext/search_kit/Civi/Api4/Action/SearchDisplay/AbstractRunAction.php +++ b/civicrm/ext/search_kit/Civi/Api4/Action/SearchDisplay/AbstractRunAction.php @@ -207,7 +207,8 @@ abstract class AbstractRunAction extends \Civi\Api4\Generic\AbstractAction { $out['val'] = $this->rewrite($column, $data); } else { - $out['val'] = $this->formatViewValue($column['key'], $rawValue, $data); + $dataType = $this->getSelectExpression($column['key'])['dataType'] ?? NULL; + $out['val'] = $this->formatViewValue($column['key'], $rawValue, $data, $dataType); } if ($this->hasValue($column['label']) && (!empty($column['forceLabel']) || $this->hasValue($out['val']))) { $out['label'] = $this->replaceTokens($column['label'], $data, 'view'); @@ -736,7 +737,8 @@ abstract class AbstractRunAction extends \Civi\Api4\Generic\AbstractAction { foreach ($this->getTokens($tokenExpr) as $token) { $val = $data[$token] ?? NULL; if (isset($val) && $format === 'view') { - $val = $this->formatViewValue($token, $val, $data); + $dataType = $this->getSelectExpression($token)['dataType'] ?? NULL; + $val = $this->formatViewValue($token, $val, $data, $dataType); } if (!(is_null($index))) { $replacement = is_array($val) ? $val[$index] ?? '' : $val; @@ -759,17 +761,16 @@ abstract class AbstractRunAction extends \Civi\Api4\Generic\AbstractAction { * @param string $key * @param mixed $rawValue * @param array $data + * @param string $dataType * @return array|string */ - protected function formatViewValue($key, $rawValue, $data) { + protected function formatViewValue($key, $rawValue, $data, $dataType) { if (is_array($rawValue)) { - return array_map(function($val) use ($key, $data) { - return $this->formatViewValue($key, $val, $data); + return array_map(function($val) use ($key, $data, $dataType) { + return $this->formatViewValue($key, $val, $data, $dataType); }, $rawValue); } - $dataType = $this->getSelectExpression($key)['dataType'] ?? NULL; - $formatted = $rawValue; switch ($dataType) { @@ -1216,7 +1217,7 @@ abstract class AbstractRunAction extends \Civi\Api4\Generic\AbstractAction { $labelField = CoreUtil::getInfoItem($field['fk_entity'], 'label_field'); if ($labelField) { $records = civicrm_api4($field['fk_entity'], 'get', [ - 'checkPermissions' => $this->checkPermissions, + 'checkPermissions' => $this->checkPermissions && empty($this->display['acl_bypass']), 'where' => [[$idField, 'IN', (array) $value]], 'select' => [$labelField], ]); diff --git a/civicrm/ext/search_kit/Civi/Api4/Action/SearchDisplay/Download.php b/civicrm/ext/search_kit/Civi/Api4/Action/SearchDisplay/Download.php index 9429a176045b094e0529e82b9371b7f5f2c8b91c..34da8c8c763cb3c444c69c25185aa024a582cce9 100644 --- a/civicrm/ext/search_kit/Civi/Api4/Action/SearchDisplay/Download.php +++ b/civicrm/ext/search_kit/Civi/Api4/Action/SearchDisplay/Download.php @@ -54,6 +54,13 @@ class Download extends AbstractRunAction { $apiParams =& $this->_apiParams; $settings = $this->display['settings']; + // checking permissions for menu, link or button columns is costly, so remove them early + foreach ($this->display['settings']['columns'] as $index => $col) { + if (empty($col['key'])) { + unset($this->display['settings']['columns'][$index]); + } + } + // Displays are only exportable if they have actions enabled if (empty($settings['actions'])) { \CRM_Utils_System::permissionDenied(); @@ -75,9 +82,7 @@ class Download extends AbstractRunAction { $columns = []; foreach ($this->display['settings']['columns'] as $index => $col) { $col += ['type' => NULL, 'label' => '', 'rewrite' => FALSE]; - if (!empty($col['key'])) { - $columns[$index] = $col; - } + $columns[$index] = $col; // Convert html to plain text if ($col['type'] === 'html') { foreach ($rows as $i => $row) { @@ -111,6 +116,23 @@ class Download extends AbstractRunAction { \CRM_Utils_System::civiExit(); } + /** + * Return raw value if it is a single date, otherwise return parent + * {@inheritDoc} + */ + protected function formatViewValue($key, $rawValue, $data, $dataType) { + if (is_array($rawValue)) { + return parent::formatViewValue($key, $rawValue, $data, $dataType); + } + + if (($dataType === 'Date' || $dataType === 'Timestamp') && in_array($this->format, ['csv', 'xlsx', 'ods'])) { + return $rawValue; + } + else { + return parent::formatViewValue($key, $rawValue, $data, $dataType); + } + } + /** * Outputs headers and CSV directly to browser for download * @param array $rows diff --git a/civicrm/ext/search_kit/Civi/Api4/Action/SearchDisplay/GetSearchTasks.php b/civicrm/ext/search_kit/Civi/Api4/Action/SearchDisplay/GetSearchTasks.php index f1fb340a889fba9a142308e8104c7bec5c848621..9676e096d33768db8c350686d4c6ac2073a15731 100644 --- a/civicrm/ext/search_kit/Civi/Api4/Action/SearchDisplay/GetSearchTasks.php +++ b/civicrm/ext/search_kit/Civi/Api4/Action/SearchDisplay/GetSearchTasks.php @@ -135,6 +135,24 @@ class GetSearchTasks extends \Civi\Api4\Generic\AbstractAction { ]; } + /* + * ENTITY-SPECIFIC TASKS BELOW + * FIXME: Move these somewhere? + */ + + if ($entity['name'] === 'Group') { + $tasks['Group']['refresh'] = [ + 'title' => E::ts('Refresh Group Cache'), + 'icon' => 'fa-refresh', + 'apiBatch' => [ + 'action' => 'refresh', + 'runMsg' => E::ts('Refreshing %1 %2...'), + 'successMsg' => E::ts('%1 %2 Refreshed.'), + 'errorMsg' => E::ts('An error occurred while attempting to refresh %1 %2.'), + ], + ]; + } + if ($entity['name'] === 'Contact') { // Add contact tasks which support standalone mode $contactTasks = $this->checkPermissions ? \CRM_Contact_Task::permissionedTaskTitles(\CRM_Core_Permission::getPermission()) : NULL; @@ -193,7 +211,10 @@ class GetSearchTasks extends \Civi\Api4\Generic\AbstractAction { // FIXME: tasks() function always checks permissions, should respect `$this->checkPermissions` foreach (\CRM_Contribute_Task::tasks() as $id => $task) { if (!empty($task['url'])) { - $key = \CRM_Core_Key::get('CRM_Contribute_Controller_Task', TRUE); + $path = explode('?', $task['url'], 2)[0]; + $menu = \CRM_Core_Menu::get($path); + $key = \CRM_Core_Key::get($menu['page_callback'], TRUE); + $tasks[$entity['name']]['contribution.' . $id] = [ 'title' => $task['title'], 'icon' => $task['icon'] ?? 'fa-gear', diff --git a/civicrm/ext/search_kit/Civi/Api4/Event/Subscriber/SKEntitySubscriber.php b/civicrm/ext/search_kit/Civi/Api4/Event/Subscriber/SKEntitySubscriber.php new file mode 100644 index 0000000000000000000000000000000000000000..66952b29a19630f5bd7fa0b218ba22c701cbfaee --- /dev/null +++ b/civicrm/ext/search_kit/Civi/Api4/Event/Subscriber/SKEntitySubscriber.php @@ -0,0 +1,230 @@ +<?php +/* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ + */ + +namespace Civi\Api4\Event\Subscriber; + +use Civi\Api4\Generic\Traits\SavedSearchInspectorTrait; +use Civi\Api4\Job; +use Civi\Api4\SKEntity; +use Civi\Api4\Utils\CoreUtil; +use Civi\Core\Event\GenericHookEvent; +use Civi\Core\Event\PostEvent; +use Civi\Core\Event\PreEvent; +use Civi\Core\Service\AutoService; +use Symfony\Component\EventDispatcher\EventSubscriberInterface; + +/** + * Manages tables and API entities created from search displays of type "entity" + * @service + * @internal + */ +class SKEntitySubscriber extends AutoService implements EventSubscriberInterface { + + use SavedSearchInspectorTrait; + + /** + * @return array + */ + public static function getSubscribedEvents(): array { + return [ + 'civi.api4.entityTypes' => 'on_civi_api4_entityTypes', + 'hook_civicrm_pre' => 'onPreSaveDisplay', + 'hook_civicrm_post' => 'onPostSaveDisplay', + ]; + } + + /** + * Register SearchDisplays of type 'entity' + * + * @param \Civi\Core\Event\GenericHookEvent $event + */ + public static function on_civi_api4_entityTypes(GenericHookEvent $event): void { + // Can't use the API to fetch search displays because this hook is called when the API boots + foreach (_getSearchKitEntityDisplays() as $display) { + $event->entities[$display['entityName']] = [ + 'name' => $display['entityName'], + 'title' => $display['label'], + 'title_plural' => $display['label'], + 'description' => $display['settings']['description'] ?? NULL, + 'primary_key' => ['_row'], + 'type' => ['SavedSearch'], + 'table_name' => $display['tableName'], + 'class_args' => [$display['name']], + 'label_field' => NULL, + 'searchable' => 'secondary', + 'class' => SKEntity::class, + 'icon' => 'fa-search-plus', + ]; + } + } + + /** + * @param \Civi\Core\Event\PreEvent $event + */ + public function onPreSaveDisplay(PreEvent $event): void { + if (!$this->applies($event)) { + return; + } + $oldName = $event->id ? \CRM_Core_DAO::getFieldValue('CRM_Search_DAO_SearchDisplay', $event->id) : NULL; + $newName = $event->params['name'] ?? $oldName; + $newSettings = $event->params['settings'] ?? NULL; + // No changes made, nothing to do + if (!$newSettings && $oldName === $newName && $event->action !== 'delete') { + return; + } + // Drop the old table if it exists + if ($oldName) { + \CRM_Core_BAO_SchemaHandler::dropTable(_getSearchKitDisplayTableName($oldName)); + } + if ($event->action === 'delete') { + // Delete scheduled jobs when deleting entity + Job::delete(FALSE) + ->addWhere('api_entity', '=', 'SK_' . $oldName) + ->execute(); + return; + } + // Build the new table + $savedSearchID = $event->params['saved_search_id'] ?? \CRM_Core_DAO::getFieldValue('CRM_Search_DAO_SearchDisplay', $event->id, 'saved_search_id'); + $this->loadSavedSearch($savedSearchID); + $table = [ + 'name' => _getSearchKitDisplayTableName($newName), + 'is_multiple' => FALSE, + 'attributes' => 'ENGINE=InnoDB', + 'fields' => [], + ]; + // Primary key field + $table['fields'][] = [ + 'name' => '_row', + 'type' => 'int unsigned', + 'primary' => TRUE, + 'required' => TRUE, + 'attributes' => 'AUTO_INCREMENT', + 'comment' => 'Row number', + ]; + foreach ($newSettings['columns'] as &$column) { + $expr = $this->getSelectExpression($column['key']); + if (!$expr) { + continue; + } + $column['spec'] = $this->formatFieldSpec($column, $expr); + $table['fields'][] = $this->formatSQLSpec($column, $expr); + } + // Store new settings with added column spec + $event->params['settings'] = $newSettings; + $sql = \CRM_Core_BAO_SchemaHandler::buildTableSQL($table); + // do not i18n-rewrite + \CRM_Core_DAO::executeQuery($sql, [], TRUE, NULL, FALSE, FALSE); + } + + /** + * @param array $column + * @param array{fields: array, expr: SqlExpression, dataType: string} $expr + * @return array + */ + private function formatFieldSpec(array $column, array $expr): array { + // Strip the pseuoconstant suffix + [$name, $suffix] = array_pad(explode(':', $column['key']), 2, NULL); + // Sanitize the name + $name = \CRM_Utils_String::munge($name, '_', 255); + $spec = [ + 'name' => $name, + 'data_type' => $expr['dataType'], + 'suffixes' => $suffix ? ['id', $suffix] : NULL, + 'options' => FALSE, + ]; + if ($expr['expr']->getType() === 'SqlField') { + $field = \CRM_Utils_Array::first($expr['fields']); + $spec['fk_entity'] = $field['fk_entity'] ?? NULL; + $spec['original_field_name'] = $field['name']; + $spec['original_field_entity'] = $field['entity']; + if ($suffix) { + // Options will be looked up by SKEntitySpecProvider::getOptionsForSKEntityField + $spec['options'] = TRUE; + } + } + elseif ($expr['expr']->getType() === 'SqlFunction') { + if ($suffix) { + $spec['options'] = CoreUtil::formatOptionList($expr['expr']::getOptions(), $spec['suffixes']); + } + } + return $spec; + } + + /** + * @param array $column + * @param array{fields: array, expr: SqlExpression, dataType: string} $expr + * @return array + */ + private function formatSQLSpec(array $column, array $expr): array { + // Try to use the exact sql column type as the original field + $field = \CRM_Utils_Array::first($expr['fields']); + if (!empty($field['column_name']) && !empty($field['table_name'])) { + $columns = \CRM_Core_DAO::executeQuery("DESCRIBE `{$field['table_name']}`") + ->fetchMap('Field', 'Type'); + $type = $columns[$field['column_name']] ?? NULL; + } + // If we can't get the exact data type from the column, take an educated guess + if (empty($type) || + ($expr['expr']->getType() !== 'SqlField' && $field['data_type'] !== $expr['dataType']) + ) { + $map = [ + 'Array' => 'text', + 'Boolean' => 'tinyint', + 'Date' => 'date', + 'Float' => 'double', + 'Integer' => 'int', + 'String' => 'text', + 'Text' => 'text', + 'Timestamp' => 'datetime', + ]; + $type = $map[$expr['dataType']] ?? $type; + } + $defn = [ + 'name' => $column['spec']['name'], + 'type' => $type, + // Adds an index to non-fk fields + 'searchable' => TRUE, + ]; + // Add FK indexes + if ($expr['expr']->getType() === 'SqlField' && !empty($field['fk_entity'])) { + $defn['fk_table_name'] = CoreUtil::getTableName($field['fk_entity']); + // FIXME look up fk_field_name from schema, don't assume it's always "id" + $defn['fk_field_name'] = 'id'; + $defn['fk_attributes'] = ' ON DELETE SET NULL'; + } + return $defn; + } + + /** + * @param \Civi\Core\Event\PostEvent $event + */ + public function onPostSaveDisplay(PostEvent $event): void { + if ($this->applies($event)) { + \CRM_Core_DAO_AllCoreTables::flush(); + \Civi::cache('metadata')->clear(); + } + } + + /** + * Check if pre/post hook applies to a SearchDisplay type 'entity' + * + * @param \Civi\Core\Event\PreEvent|\Civi\Core\Event\PostEvent $event + * @return bool + */ + private function applies(GenericHookEvent $event): bool { + if ($event->entity !== 'SearchDisplay') { + return FALSE; + } + $type = $event->params['type'] ?? $event->object->type ?? \CRM_Core_DAO::getFieldValue('CRM_Search_DAO_SearchDisplay', $event->id, 'type'); + return $type === 'entity'; + } + +} diff --git a/civicrm/ext/search_kit/Civi/Api4/SKEntity.php b/civicrm/ext/search_kit/Civi/Api4/SKEntity.php new file mode 100644 index 0000000000000000000000000000000000000000..1a80f55dd247799b3374409329ae6052ae048dc8 --- /dev/null +++ b/civicrm/ext/search_kit/Civi/Api4/SKEntity.php @@ -0,0 +1,85 @@ +<?php + +namespace Civi\Api4; + +/** + * Virtual API entities provided by SearchDisplays of type "entity" + * @package Civi\Api4 + */ +class SKEntity { + + /** + * @param string $displayEntity + * @param bool $checkPermissions + * + * @return \Civi\Api4\Generic\DAOGetFieldsAction + */ + public static function getFields(string $displayEntity, bool $checkPermissions = TRUE): Generic\DAOGetFieldsAction { + return (new Generic\DAOGetFieldsAction('SK_' . $displayEntity, __FUNCTION__)) + ->setCheckPermissions($checkPermissions); + } + + /** + * @param string $displayEntity + * @param bool $checkPermissions + * @return \Civi\Api4\Generic\DAOGetAction + * @throws \CRM_Core_Exception + */ + public static function get(string $displayEntity, bool $checkPermissions = TRUE): Generic\DAOGetAction { + return (new Generic\DAOGetAction('SK_' . $displayEntity, __FUNCTION__)) + ->setCheckPermissions($checkPermissions); + } + + /** + * @param string $displayEntity + * @param bool $checkPermissions + * @return \Civi\Api4\Action\SKEntity\Refresh + * @throws \CRM_Core_Exception + */ + public static function refresh(string $displayEntity, bool $checkPermissions = TRUE): Action\SKEntity\Refresh { + return (new Action\SKEntity\Refresh('SK_' . $displayEntity, __FUNCTION__)) + ->setCheckPermissions($checkPermissions); + } + + /** + * @param string $displayEntity + * @param bool $checkPermissions + * @return \Civi\Api4\Action\SKEntity\GetRefreshDate + * @throws \CRM_Core_Exception + */ + public static function getRefreshDate(string $displayEntity, bool $checkPermissions = TRUE): Action\SKEntity\GetRefreshDate { + return (new Action\SKEntity\GetRefreshDate('SK_' . $displayEntity, __FUNCTION__)) + ->setCheckPermissions($checkPermissions); + } + + /** + * @param string $displayEntity + * @param bool $checkPermissions + * @return \Civi\Api4\Action\GetActions + */ + public static function getActions(string $displayEntity, bool $checkPermissions = TRUE): Action\GetActions { + return (new Action\GetActions('SK_' . $displayEntity, __FUNCTION__)) + ->setCheckPermissions($checkPermissions); + } + + /** + * @param string $displayEntity + * @return \Civi\Api4\Generic\CheckAccessAction + * @throws \CRM_Core_Exception + */ + public static function checkAccess(string $displayEntity): Generic\CheckAccessAction { + return new Generic\CheckAccessAction('SK_' . $displayEntity, __FUNCTION__); + } + + /** + * @return array + */ + public static function permissions(): array { + return [ + 'meta' => ['access CiviCRM'], + 'refresh' => [['administer CiviCRM data', 'administer search_kit']], + 'getRefreshDate' => [['administer CiviCRM data', 'administer search_kit']], + ]; + } + +} diff --git a/civicrm/ext/search_kit/Civi/Api4/Service/Spec/Provider/SKEntitySpecProvider.php b/civicrm/ext/search_kit/Civi/Api4/Service/Spec/Provider/SKEntitySpecProvider.php new file mode 100644 index 0000000000000000000000000000000000000000..7b101e82d229fb9a69ff0cd3f850726cc2fe3998 --- /dev/null +++ b/civicrm/ext/search_kit/Civi/Api4/Service/Spec/Provider/SKEntitySpecProvider.php @@ -0,0 +1,92 @@ +<?php + +/* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ + */ + +namespace Civi\Api4\Service\Spec\Provider; + +use Civi\Api4\Service\Spec\FieldSpec; +use Civi\Api4\Service\Spec\Provider\Generic\SpecProviderInterface; +use Civi\Api4\Service\Spec\RequestSpec; +use Civi\Core\Service\AutoService; +use CRM_Search_ExtensionUtil as E; + +/** + * @service + * @internal + */ +class SKEntitySpecProvider extends AutoService implements SpecProviderInterface { + + /** + * @inheritDoc + * @throws \CRM_Core_Exception + */ + public function modifySpec(RequestSpec $spec): void { + $entityName = $spec->getEntity(); + foreach (_getSearchKitEntityDisplays() as $entityDisplay) { + if ($entityDisplay['entityName'] !== $entityName) { + continue; + } + // Primary key field + $field = new FieldSpec('_row', $entityName, 'Int'); + $field->setTitle(E::ts('Row')); + $field->setLabel(E::ts('Row')); + $field->setType('Field'); + $field->setDescription('Search result row number'); + $field->setColumnName('_row'); + $spec->addFieldSpec($field); + + foreach ($entityDisplay['settings']['columns'] as $column) { + $field = new FieldSpec($column['spec']['name'], $entityName, $column['spec']['data_type']); + $field->setTitle($column['label']); + $field->setLabel($column['label']); + $field->setType('Field'); + $field->setFkEntity($column['spec']['fk_entity']); + $field->setColumnName($column['spec']['name']); + $field->setSuffixes($column['spec']['suffixes']); + if (!empty($column['spec']['options'])) { + if (is_array($column['spec']['options'])) { + $field->setOptions($column['spec']['options']); + } + else { + $field->setOptionsCallback([__CLASS__, 'getOptionsForSKEntityField'], $column['spec']); + } + } + $spec->addFieldSpec($field); + } + } + } + + /** + * @inheritDoc + */ + public function applies($entity, $action): bool { + return strpos($entity, 'SK_') === 0; + } + + /** + * Callback function retrieve options from original field. + * + * @param \Civi\Api4\Service\Spec\FieldSpec $spec + * @param array $values + * @param bool|array $returnFormat + * @param bool $checkPermissions + * @param array $params + * @return array|false + */ + public static function getOptionsForSKEntityField($spec, $values, $returnFormat, $checkPermissions, $params) { + return civicrm_api4($params['original_field_entity'], 'getFields', [ + 'where' => [['name', '=', $params['original_field_name']]], + 'loadOptions' => $returnFormat, + 'checkPermissions' => FALSE, + ])->first()['options']; + } + +} diff --git a/civicrm/ext/search_kit/Civi/BAO/SK_Entity.php b/civicrm/ext/search_kit/Civi/BAO/SK_Entity.php new file mode 100644 index 0000000000000000000000000000000000000000..787ac96ddfacd4952f22253fa7a8a8abd78e3f96 --- /dev/null +++ b/civicrm/ext/search_kit/Civi/BAO/SK_Entity.php @@ -0,0 +1,73 @@ +<?php +/* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ + */ + +namespace Civi\BAO; + +use CRM_Core_DAO; + +/** + * + * @package CRM + * @copyright CiviCRM LLC https://civicrm.org/licensing + */ +class SK_Entity extends CRM_Core_DAO { + + /** + * This is the primary key - it has an underscore to prevent possible conflicts with other columns. + * + * @var int + */ + protected $_row; + + /** + * Primary key field. + * + * @var string[] + */ + public static $_primaryKey = ['_row']; + + /** + * Over-ride the parent to prevent a NULL return. + * + * @return array + */ + public static function &fields(): array { + $result = []; + return $result; + } + + /** + * @return bool + */ + public static function tableHasBeenAdded(): bool { + return TRUE; + } + + /** + * Defines the primary key(s). + * + * @return array + */ + public function keys() { + return ['_row']; + } + + /** + * Tells DB_DataObject which keys use autoincrement. + * Overrides the default 'id'. + * + * @return array + */ + public function sequenceKey() { + return ['_row', TRUE]; + } + +} diff --git a/civicrm/ext/search_kit/Civi/Search/Admin.php b/civicrm/ext/search_kit/Civi/Search/Admin.php index b8866bdfc37373a6b199620b6a6c4ef4f0816cf0..1ebf8660166fa45f5409fb2da5b276909eef5485 100644 --- a/civicrm/ext/search_kit/Civi/Search/Admin.php +++ b/civicrm/ext/search_kit/Civi/Search/Admin.php @@ -51,6 +51,10 @@ class Admin { 'modules' => $extensions, 'defaultContactType' => \CRM_Contact_BAO_ContactType::basicTypeInfo()['Individual']['name'] ?? NULL, 'defaultDistanceUnit' => \CRM_Utils_Address::getDefaultDistanceUnit(), + 'jobFrequency' => \Civi\Api4\Job::getFields() + ->addWhere('name', '=', 'run_frequency') + ->setLoadOptions(['id', 'label']) + ->execute()->first()['options'], 'tags' => Tag::get() ->addSelect('id', 'name', 'color', 'is_selectable', 'description') ->addWhere('used_for', 'CONTAINS', 'civicrm_saved_search') @@ -87,6 +91,7 @@ class Admin { '>=' => '≥', '<=' => '≤', 'CONTAINS' => E::ts('Contains'), + 'NOT CONTAINS' => E::ts("Doesn't Contain"), 'IN' => E::ts('Is One Of'), 'NOT IN' => E::ts('Not One Of'), 'LIKE' => E::ts('Is Like'), @@ -366,6 +371,24 @@ class Admin { } } } + // Custom EntityRef joins + foreach ($fields as $field) { + if ($field['type'] === 'Custom' && $field['input_type'] === 'EntityRef') { + $targetEntity = $allowedEntities[$field['fk_entity']]; + // Add the EntityRef join + [, $bareFieldName] = explode('.', $field['name']); + $alias = $entity['name'] . '_' . $field['fk_entity'] . '_' . $bareFieldName; + $joins[$entity['name']][] = [ + 'label' => $entity['title'] . ' ' . $field['title'], + 'description' => $field['description'], + 'entity' => $field['fk_entity'], + 'conditions' => self::getJoinConditions($field['name'], $alias . '.id'), + 'defaults' => [], + 'alias' => $alias, + 'multi' => FALSE, + ]; + } + } } } return $joins; diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js b/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js index d5dde6b1e3ab4b3bac1bca4fa3fada491099f92d..51f3bc0145811626b16068720080bd700a59214a 100644 --- a/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js +++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js @@ -1,720 +1,754 @@ (function(angular, $, _) { "use strict"; - angular.module('crmSearchAdmin').component('crmSearchAdmin', { - bindings: { - savedSearch: '<' - }, - templateUrl: '~/crmSearchAdmin/crmSearchAdmin.html', - controller: function($scope, $element, $location, $timeout, crmApi4, dialogService, searchMeta, crmUiHelp) { - var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'), - ctrl = this, - afformLoad, - fieldsForJoinGetters = {}; - $scope.hs = crmUiHelp({file: 'CRM/Search/Help/Compose'}); - - this.afformEnabled = 'org.civicrm.afform' in CRM.crmSearchAdmin.modules; - this.afformAdminEnabled = (CRM.checkPerm('administer CiviCRM') || CRM.checkPerm('administer afform')) && - 'org.civicrm.afform_admin' in CRM.crmSearchAdmin.modules; - this.displayTypes = _.indexBy(CRM.crmSearchAdmin.displayTypes, 'id'); - this.searchDisplayPath = CRM.url('civicrm/search'); - this.afformPath = CRM.url('civicrm/admin/afform'); - - $scope.controls = {tab: 'compose', joinType: 'LEFT'}; - $scope.joinTypes = [ - {k: 'LEFT', v: ts('With (optional)')}, - {k: 'INNER', v: ts('With (required)')}, - {k: 'EXCLUDE', v: ts('Without')}, - ]; - $scope.getEntity = searchMeta.getEntity; - $scope.getField = searchMeta.getField; - this.perm = { - editGroups: CRM.checkPerm('edit groups') - }; - - this.$onInit = function() { - this.entityTitle = searchMeta.getEntity(this.savedSearch.api_entity).title_plural; - - this.savedSearch.displays = this.savedSearch.displays || []; - this.savedSearch.groups = this.savedSearch.groups || []; - this.savedSearch.tag_id = this.savedSearch.tag_id || []; - this.groupExists = !!this.savedSearch.groups.length; - - if (!this.savedSearch.id) { - var defaults = { - version: 4, - select: getDefaultSelect(), - orderBy: {}, - where: [], - }; - _.each(['groupBy', 'join', 'having'], function(param) { - if (ctrl.paramExists(param)) { - defaults[param] = []; - } - }); - // Default to Individuals - if (this.savedSearch.api_entity === 'Contact' && CRM.crmSearchAdmin.defaultContactType) { - defaults.where.push(['contact_type:name', '=', CRM.crmSearchAdmin.defaultContactType]); + // Hooks allow code outside this component to modify behaviors. + // Register a hook by decorating "crmSearchAdminDirective". Ex: + // angular.module('myModule').decorator('crmSearchAdminDirective', function($delegate) { + // $delegate[0].controller.hook.postSaveDisplay.push(function(display) { + // console.log(display); + // }); + // return $delegate; + // }); + var hook = { + preSaveDisplay: [], + postSaveDisplay: [] + }; + + // Controller function for main crmSearchAdmin component + var ctrl = function($scope, $element, $location, $timeout, crmApi4, dialogService, searchMeta, crmUiHelp) { + var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'), + ctrl = this, + afformLoad, + fieldsForJoinGetters = {}; + $scope.hs = crmUiHelp({file: 'CRM/Search/Help/Compose'}); + + this.afformEnabled = 'org.civicrm.afform' in CRM.crmSearchAdmin.modules; + this.afformAdminEnabled = (CRM.checkPerm('administer CiviCRM') || CRM.checkPerm('administer afform')) && + 'org.civicrm.afform_admin' in CRM.crmSearchAdmin.modules; + this.displayTypes = _.indexBy(CRM.crmSearchAdmin.displayTypes, 'id'); + this.searchDisplayPath = CRM.url('civicrm/search'); + this.afformPath = CRM.url('civicrm/admin/afform'); + + $scope.controls = {tab: 'compose', joinType: 'LEFT'}; + $scope.joinTypes = [ + {k: 'LEFT', v: ts('With (optional)')}, + {k: 'INNER', v: ts('With (required)')}, + {k: 'EXCLUDE', v: ts('Without')}, + ]; + $scope.getEntity = searchMeta.getEntity; + $scope.getField = searchMeta.getField; + this.perm = { + editGroups: CRM.checkPerm('edit groups') + }; + + this.$onInit = function() { + this.entityTitle = searchMeta.getEntity(this.savedSearch.api_entity).title_plural; + + this.savedSearch.displays = this.savedSearch.displays || []; + this.savedSearch.groups = this.savedSearch.groups || []; + this.savedSearch.tag_id = this.savedSearch.tag_id || []; + this.groupExists = !!this.savedSearch.groups.length; + + if (!this.savedSearch.id) { + var defaults = { + version: 4, + select: getDefaultSelect(), + orderBy: {}, + where: [], + }; + _.each(['groupBy', 'join', 'having'], function(param) { + if (ctrl.paramExists(param)) { + defaults[param] = []; } + }); + // Default to Individuals + if (this.savedSearch.api_entity === 'Contact' && CRM.crmSearchAdmin.defaultContactType) { + defaults.where.push(['contact_type:name', '=', CRM.crmSearchAdmin.defaultContactType]); + } - $scope.$bindToRoute({ - param: 'params', - expr: '$ctrl.savedSearch.api_params', - deep: true, - default: defaults - }); + $scope.$bindToRoute({ + param: 'params', + expr: '$ctrl.savedSearch.api_params', + deep: true, + default: defaults + }); - $scope.$bindToRoute({ - param: 'label', - expr: '$ctrl.savedSearch.label', - format: 'raw', - default: '' - }); - } + $scope.$bindToRoute({ + param: 'label', + expr: '$ctrl.savedSearch.label', + format: 'raw', + default: '' + }); + } - $scope.mainEntitySelect = searchMeta.getPrimaryAndSecondaryEntitySelect(); + $scope.mainEntitySelect = searchMeta.getPrimaryAndSecondaryEntitySelect(); - $scope.$watchCollection('$ctrl.savedSearch.api_params.select', onChangeSelect); + $scope.$watchCollection('$ctrl.savedSearch.api_params.select', onChangeSelect); - $scope.$watch('$ctrl.savedSearch', onChangeAnything, true); + $scope.$watch('$ctrl.savedSearch', onChangeAnything, true); - // After watcher runs for the first time and messes up the status, set it correctly - $timeout(function() { - $scope.status = ctrl.savedSearch && ctrl.savedSearch.id ? 'saved' : 'unsaved'; - }); + // After watcher runs for the first time and messes up the status, set it correctly + $timeout(function() { + $scope.status = ctrl.savedSearch && ctrl.savedSearch.id ? 'saved' : 'unsaved'; + }); - loadFieldOptions(); - loadAfforms(); - }; + loadFieldOptions(); + loadAfforms(); + }; - function onChangeAnything() { - $scope.status = 'unsaved'; - } + function onChangeAnything() { + $scope.status = 'unsaved'; + } - this.save = function() { - if (!validate()) { - return; + this.save = function() { + if (!validate()) { + return; + } + $scope.status = 'saving'; + var params = _.cloneDeep(ctrl.savedSearch), + apiCalls = {}, + chain = {}; + if (ctrl.groupExists) { + chain.groups = ['Group', 'save', {defaults: {saved_search_id: '$id'}, records: params.groups}]; + delete params.groups; + } else if (params.id) { + apiCalls.deleteGroup = ['Group', 'delete', {where: [['saved_search_id', '=', params.id]]}]; + } + _.remove(params.displays, {trashed: true}); + if (params.displays && params.displays.length) { + // Call preSaveDisplay hook + if (hook.preSaveDisplay.length) { + params.displays.forEach(function(display) { + hook.preSaveDisplay.forEach(function(callback) { + callback(display, apiCalls); + }); + }); } - $scope.status = 'saving'; - var params = _.cloneDeep(ctrl.savedSearch), - apiCalls = {}, - chain = {}; - if (ctrl.groupExists) { - chain.groups = ['Group', 'save', {defaults: {saved_search_id: '$id'}, records: params.groups}]; - delete params.groups; - } else if (params.id) { - apiCalls.deleteGroup = ['Group', 'delete', {where: [['saved_search_id', '=', params.id]]}]; + chain.displays = ['SearchDisplay', 'replace', {where: [['saved_search_id', '=', '$id']], records: params.displays}]; + } else if (params.id) { + apiCalls.deleteDisplays = ['SearchDisplay', 'delete', {where: [['saved_search_id', '=', params.id]]}]; + } + delete params.displays; + if (params.tag_id && params.tag_id.length) { + chain.tag_id = ['EntityTag', 'replace', { + where: [['entity_id', '=', '$id'], ['entity_table', '=', 'civicrm_saved_search']], + match: ['entity_id', 'entity_table', 'tag_id'], + records: _.transform(params.tag_id, function(records, id) {records.push({tag_id: id});}) + }]; + } else if (params.id) { + chain.tag_id = ['EntityTag', 'delete', { + where: [['entity_id', '=', '$id'], ['entity_table', '=', 'civicrm_saved_search']] + }]; + } + delete params.tag_id; + apiCalls.saved = ['SavedSearch', 'save', {records: [params], chain: chain}, 0]; + crmApi4(apiCalls).then(function(results) { + // Call postSaveDisplay hook + if (chain.displays && hook.postSaveDisplay.length) { + results.saved.displays.forEach(function(display) { + hook.postSaveDisplay.forEach(function(callback) { + callback(display, results); + }); + }); } - _.remove(params.displays, {trashed: true}); - if (params.displays && params.displays.length) { - chain.displays = ['SearchDisplay', 'replace', {where: [['saved_search_id', '=', '$id']], records: params.displays}]; - } else if (params.id) { - apiCalls.deleteDisplays = ['SearchDisplay', 'delete', {where: [['saved_search_id', '=', params.id]]}]; + // After saving a new search, redirect to the edit url + if (!ctrl.savedSearch.id) { + $location.url('edit/' + results.saved.id); } - delete params.displays; - if (params.tag_id && params.tag_id.length) { - chain.tag_id = ['EntityTag', 'replace', { - where: [['entity_id', '=', '$id'], ['entity_table', '=', 'civicrm_saved_search']], - match: ['entity_id', 'entity_table', 'tag_id'], - records: _.transform(params.tag_id, function(records, id) {records.push({tag_id: id});}) - }]; - } else if (params.id) { - chain.tag_id = ['EntityTag', 'delete', { - where: [['entity_id', '=', '$id'], ['entity_table', '=', 'civicrm_saved_search']] - }]; + // Set new status to saved unless the user changed something in the interim + var newStatus = $scope.status === 'unsaved' ? 'unsaved' : 'saved'; + if (results.saved.groups && results.saved.groups.length) { + ctrl.savedSearch.groups[0].id = results.saved.groups[0].id; } - delete params.tag_id; - apiCalls.saved = ['SavedSearch', 'save', {records: [params], chain: chain}, 0]; - crmApi4(apiCalls).then(function(results) { - // After saving a new search, redirect to the edit url - if (!ctrl.savedSearch.id) { - $location.url('edit/' + results.saved.id); - } - // Set new status to saved unless the user changed something in the interim - var newStatus = $scope.status === 'unsaved' ? 'unsaved' : 'saved'; - if (results.saved.groups && results.saved.groups.length) { - ctrl.savedSearch.groups[0].id = results.saved.groups[0].id; - } - ctrl.savedSearch.displays = results.saved.displays || []; - // Wait until after onChangeAnything to update status - $timeout(function() { - $scope.status = newStatus; - }); - }); - }; - - this.paramExists = function(param) { - return _.includes(searchMeta.getEntity(ctrl.savedSearch.api_entity).params, param); - }; - - this.hasFunction = function(expr) { - return expr.indexOf('(') > -1; - }; - - this.addDisplay = function(type) { - var count = _.filter(ctrl.savedSearch.displays, {type: type}).length, - searchLabel = ctrl.savedSearch.label || searchMeta.getEntity(ctrl.savedSearch.api_entity).title_plural; - ctrl.savedSearch.displays.push({ - type: type, - label: searchLabel + ' ' + ctrl.displayTypes[type].label + ' ' + (count + 1), + ctrl.savedSearch.displays = results.saved.displays || []; + // Wait until after onChangeAnything to update status + $timeout(function() { + $scope.status = newStatus; }); - $scope.selectTab('display_' + (ctrl.savedSearch.displays.length - 1)); - }; - - this.removeDisplay = function(index) { - var display = ctrl.savedSearch.displays[index]; - if (display.id) { - display.trashed = !display.trashed; - if ($scope.controls.tab === ('display_' + index) && display.trashed) { - $scope.selectTab('compose'); - } else if (!display.trashed) { - $scope.selectTab('display_' + index); - } - if (display.trashed && afformLoad) { - afformLoad.then(function() { - var displayForms = _.filter(ctrl.afforms, function(form) { - return _.includes(form.displays, ctrl.savedSearch.name + '.' + display.name); - }); - if (displayForms.length) { - var msg = displayForms.length === 1 ? - ts('Form "%1" will be deleted if the embedded display "%2" is deleted.', {1: displayForms[0].title, 2: display.label}) : - ts('%1 forms will be deleted if the embedded display "%2" is deleted.', {1: displayForms.length, 2: display.label}); - CRM.alert(msg, ts('Display embedded'), 'alert'); - } - }); - } - } else { + }); + }; + + this.paramExists = function(param) { + return _.includes(searchMeta.getEntity(ctrl.savedSearch.api_entity).params, param); + }; + + this.hasFunction = function(expr) { + return expr.indexOf('(') > -1; + }; + + this.addDisplay = function(type) { + var count = _.filter(ctrl.savedSearch.displays, {type: type}).length, + searchLabel = ctrl.savedSearch.label || searchMeta.getEntity(ctrl.savedSearch.api_entity).title_plural; + ctrl.savedSearch.displays.push({ + type: type, + label: searchLabel + ' ' + ctrl.displayTypes[type].label + ' ' + (count + 1), + }); + $scope.selectTab('display_' + (ctrl.savedSearch.displays.length - 1)); + }; + + this.removeDisplay = function(index) { + var display = ctrl.savedSearch.displays[index]; + if (display.id) { + display.trashed = !display.trashed; + if ($scope.controls.tab === ('display_' + index) && display.trashed) { $scope.selectTab('compose'); - ctrl.savedSearch.displays.splice(index, 1); + } else if (!display.trashed) { + $scope.selectTab('display_' + index); } - }; - - this.cloneDisplay = function(display) { - var newDisplay = angular.copy(display); - delete newDisplay.name; - delete newDisplay.id; - newDisplay.label += ts(' (copy)'); - ctrl.savedSearch.displays.push(newDisplay); - $scope.selectTab('display_' + (ctrl.savedSearch.displays.length - 1)); - }; - - this.addGroup = function() { - ctrl.savedSearch.groups.push({ - title: '', - description: '', - visibility: 'User and User Admin Only', - group_type: [] - }); - ctrl.groupExists = true; - $scope.selectTab('group'); - }; - - $scope.selectTab = function(tab) { - if (tab === 'group') { - loadFieldOptions('Group'); - $scope.smartGroupColumns = searchMeta.getSmartGroupColumns(ctrl.savedSearch.api_entity, ctrl.savedSearch.api_params); - var smartGroupColumns = _.map($scope.smartGroupColumns, 'id'); - if (smartGroupColumns.length && !_.includes(smartGroupColumns, ctrl.savedSearch.api_params.select[0])) { - ctrl.savedSearch.api_params.select.unshift(smartGroupColumns[0]); - } - } - ctrl.savedSearch.api_params.select = _.uniq(ctrl.savedSearch.api_params.select); - $scope.controls.tab = tab; - }; - - this.removeGroup = function() { - ctrl.groupExists = !ctrl.groupExists; - $scope.status = 'unsaved'; - if (!ctrl.groupExists && (!ctrl.savedSearch.groups.length || !ctrl.savedSearch.groups[0].id)) { - ctrl.savedSearch.groups.length = 0; + if (display.trashed && afformLoad) { + afformLoad.then(function() { + var displayForms = _.filter(ctrl.afforms, function(form) { + return _.includes(form.displays, ctrl.savedSearch.name + '.' + display.name); + }); + if (displayForms.length) { + var msg = displayForms.length === 1 ? + ts('Form "%1" will be deleted if the embedded display "%2" is deleted.', {1: displayForms[0].title, 2: display.label}) : + ts('%1 forms will be deleted if the embedded display "%2" is deleted.', {1: displayForms.length, 2: display.label}); + CRM.alert(msg, ts('Display embedded'), 'alert'); + } + }); } - if ($scope.controls.tab === 'group') { - $scope.selectTab('compose'); + } else { + $scope.selectTab('compose'); + ctrl.savedSearch.displays.splice(index, 1); + } + }; + + this.cloneDisplay = function(display) { + var newDisplay = angular.copy(display); + delete newDisplay.name; + delete newDisplay.id; + newDisplay.label += ts(' (copy)'); + ctrl.savedSearch.displays.push(newDisplay); + $scope.selectTab('display_' + (ctrl.savedSearch.displays.length - 1)); + }; + + this.addGroup = function() { + ctrl.savedSearch.groups.push({ + title: '', + description: '', + visibility: 'User and User Admin Only', + group_type: [] + }); + ctrl.groupExists = true; + $scope.selectTab('group'); + }; + + $scope.selectTab = function(tab) { + if (tab === 'group') { + loadFieldOptions('Group'); + $scope.smartGroupColumns = searchMeta.getSmartGroupColumns(ctrl.savedSearch.api_entity, ctrl.savedSearch.api_params); + var smartGroupColumns = _.map($scope.smartGroupColumns, 'id'); + if (smartGroupColumns.length && !_.includes(smartGroupColumns, ctrl.savedSearch.api_params.select[0])) { + ctrl.savedSearch.api_params.select.unshift(smartGroupColumns[0]); } - }; - - function addNum(name, num) { - return name + (num < 10 ? '_0' : '_') + num; } - - function getExistingJoins() { - return _.transform(ctrl.savedSearch.api_params.join || [], function(joins, join) { - joins[join[0].split(' AS ')[1]] = searchMeta.getJoin(join[0]); - }, {}); + ctrl.savedSearch.api_params.select = _.uniq(ctrl.savedSearch.api_params.select); + $scope.controls.tab = tab; + }; + + this.removeGroup = function() { + ctrl.groupExists = !ctrl.groupExists; + $scope.status = 'unsaved'; + if (!ctrl.groupExists && (!ctrl.savedSearch.groups.length || !ctrl.savedSearch.groups[0].id)) { + ctrl.savedSearch.groups.length = 0; } + if ($scope.controls.tab === 'group') { + $scope.selectTab('compose'); + } + }; - $scope.getJoin = searchMeta.getJoin; - - $scope.getJoinEntities = function() { - var existingJoins = getExistingJoins(); + function addNum(name, num) { + return name + (num < 10 ? '_0' : '_') + num; + } - function addEntityJoins(entity, stack, baseEntity) { - return _.transform(CRM.crmSearchAdmin.joins[entity], function(joinEntities, join) { - var num = 0; - if ( - // Exclude joins that singly point back to the original entity - !(baseEntity === join.entity && !join.multi) && - // Exclude joins to bridge tables - !searchMeta.getEntity(join.entity).bridge - ) { - do { - appendJoin(joinEntities, join, ++num, stack, entity); - } while (addNum((stack ? stack + '_' : '') + join.alias, num) in existingJoins); - } - }, []); - } + function getExistingJoins() { + return _.transform(ctrl.savedSearch.api_params.join || [], function(joins, join) { + joins[join[0].split(' AS ')[1]] = searchMeta.getJoin(join[0]); + }, {}); + } - function appendJoin(collection, join, num, stack, baseEntity) { - var alias = addNum((stack ? stack + '_' : '') + join.alias, num), - opt = { - id: join.entity + ' AS ' + alias, - description: join.description, - text: join.label + (num > 1 ? ' ' + num : ''), - icon: searchMeta.getEntity(join.entity).icon, - disabled: alias in existingJoins - }; - if (alias in existingJoins) { - opt.children = addEntityJoins(join.entity, alias, baseEntity); + $scope.getJoin = searchMeta.getJoin; + + $scope.getJoinEntities = function() { + var existingJoins = getExistingJoins(); + + function addEntityJoins(entity, stack, baseEntity) { + return _.transform(CRM.crmSearchAdmin.joins[entity], function(joinEntities, join) { + var num = 0; + if ( + // Exclude joins that singly point back to the original entity + !(baseEntity === join.entity && !join.multi) && + // Exclude joins to bridge tables + !searchMeta.getEntity(join.entity).bridge + ) { + do { + appendJoin(joinEntities, join, ++num, stack, entity); + } while (addNum((stack ? stack + '_' : '') + join.alias, num) in existingJoins); } - collection.push(opt); - } - - return {results: addEntityJoins(ctrl.savedSearch.api_entity)}; - }; + }, []); + } - this.addJoin = function(value) { - if (value) { - ctrl.savedSearch.api_params.join = ctrl.savedSearch.api_params.join || []; - var join = searchMeta.getJoin(value), - entity = searchMeta.getEntity(join.entity), - params = [value, $scope.controls.joinType || 'LEFT']; - _.each(_.cloneDeep(join.conditions), function(condition) { - params.push(condition); - }); - _.each(_.cloneDeep(join.defaults), function(condition) { - params.push(condition); - }); - ctrl.savedSearch.api_params.join.push(params); - if (entity.label_field && $scope.controls.joinType !== 'EXCLUDE') { - ctrl.savedSearch.api_params.select.push(join.alias + '.' + entity.label_field); - } - loadFieldOptions(); + function appendJoin(collection, join, num, stack, baseEntity) { + var alias = addNum((stack ? stack + '_' : '') + join.alias, num), + opt = { + id: join.entity + ' AS ' + alias, + description: join.description, + text: join.label + (num > 1 ? ' ' + num : ''), + icon: searchMeta.getEntity(join.entity).icon, + disabled: alias in existingJoins + }; + if (alias in existingJoins) { + opt.children = addEntityJoins(join.entity, alias, baseEntity); } - }; - - // Remove an explicit join + all SELECT, WHERE & other JOINs that use it - this.removeJoin = function(index) { - var alias = searchMeta.getJoin(ctrl.savedSearch.api_params.join[index][0]).alias; - ctrl.clearParam('join', index); - removeJoinStuff(alias); - }; + collection.push(opt); + } - function removeJoinStuff(alias) { - _.remove(ctrl.savedSearch.api_params.select, function(item) { - var pattern = new RegExp('\\b' + alias + '\\.'); - return pattern.test(item.split(' AS ')[0]); - }); - _.remove(ctrl.savedSearch.api_params.where, function(clause) { - return clauseUsesJoin(clause, alias); + return {results: addEntityJoins(ctrl.savedSearch.api_entity)}; + }; + + this.addJoin = function(value) { + if (value) { + ctrl.savedSearch.api_params.join = ctrl.savedSearch.api_params.join || []; + var join = searchMeta.getJoin(value), + entity = searchMeta.getEntity(join.entity), + params = [value, $scope.controls.joinType || 'LEFT']; + _.each(_.cloneDeep(join.conditions), function(condition) { + params.push(condition); }); - _.eachRight(ctrl.savedSearch.api_params.join, function(item, i) { - var joinAlias = searchMeta.getJoin(item[0]).alias; - if (joinAlias !== alias && joinAlias.indexOf(alias) === 0) { - ctrl.removeJoin(i); - } + _.each(_.cloneDeep(join.defaults), function(condition) { + params.push(condition); }); + ctrl.savedSearch.api_params.join.push(params); + if (entity.label_field && $scope.controls.joinType !== 'EXCLUDE') { + ctrl.savedSearch.api_params.select.push(join.alias + '.' + entity.label_field); + } + loadFieldOptions(); } + }; + + // Remove an explicit join + all SELECT, WHERE & other JOINs that use it + this.removeJoin = function(index) { + var alias = searchMeta.getJoin(ctrl.savedSearch.api_params.join[index][0]).alias; + ctrl.clearParam('join', index); + removeJoinStuff(alias); + }; + + function removeJoinStuff(alias) { + _.remove(ctrl.savedSearch.api_params.select, function(item) { + var pattern = new RegExp('\\b' + alias + '\\.'); + return pattern.test(item.split(' AS ')[0]); + }); + _.remove(ctrl.savedSearch.api_params.where, function(clause) { + return clauseUsesJoin(clause, alias); + }); + _.eachRight(ctrl.savedSearch.api_params.join, function(item, i) { + var joinAlias = searchMeta.getJoin(item[0]).alias; + if (joinAlias !== alias && joinAlias.indexOf(alias) === 0) { + ctrl.removeJoin(i); + } + }); + } - this.changeJoinType = function(join) { - if (join[1] === 'EXCLUDE') { - removeJoinStuff(searchMeta.getJoin(join[0]).alias); - } - }; + this.changeJoinType = function(join) { + if (join[1] === 'EXCLUDE') { + removeJoinStuff(searchMeta.getJoin(join[0]).alias); + } + }; - $scope.changeGroupBy = function(idx) { - // When clearing a selection - if (!ctrl.savedSearch.api_params.groupBy[idx]) { - ctrl.clearParam('groupBy', idx); + $scope.changeGroupBy = function(idx) { + // When clearing a selection + if (!ctrl.savedSearch.api_params.groupBy[idx]) { + ctrl.clearParam('groupBy', idx); + } + reconcileAggregateColumns(); + }; + + function reconcileAggregateColumns() { + _.each(ctrl.savedSearch.api_params.select, function(col, pos) { + var info = searchMeta.parseExpr(col), + fieldExpr = (_.findWhere(info.args, {type: 'field'}) || {}).value; + if (ctrl.canAggregate(col)) { + // Ensure all non-grouped columns are aggregated if using GROUP BY + if (!info.fn || info.fn.category !== 'aggregate') { + var dflFn = searchMeta.getDefaultAggregateFn(info) || 'GROUP_CONCAT', + flagBefore = dflFn === 'GROUP_CONCAT' ? 'DISTINCT ' : ''; + ctrl.savedSearch.api_params.select[pos] = dflFn + '(' + flagBefore + fieldExpr + ') AS ' + dflFn + '_' + fieldExpr.replace(/[.:]/g, '_'); + } + } else { + // Remove aggregate functions when no grouping + if (info.fn && info.fn.category === 'aggregate') { + ctrl.savedSearch.api_params.select[pos] = fieldExpr; + } } - reconcileAggregateColumns(); - }; + }); + } - function reconcileAggregateColumns() { - _.each(ctrl.savedSearch.api_params.select, function(col, pos) { - var info = searchMeta.parseExpr(col), - fieldExpr = (_.findWhere(info.args, {type: 'field'}) || {}).value; - if (ctrl.canAggregate(col)) { - // Ensure all non-grouped columns are aggregated if using GROUP BY - if (!info.fn || info.fn.category !== 'aggregate') { - var dflFn = searchMeta.getDefaultAggregateFn(info) || 'GROUP_CONCAT', - flagBefore = dflFn === 'GROUP_CONCAT' ? 'DISTINCT ' : ''; - ctrl.savedSearch.api_params.select[pos] = dflFn + '(' + flagBefore + fieldExpr + ') AS ' + dflFn + '_' + fieldExpr.replace(/[.:]/g, '_'); - } - } else { - // Remove aggregate functions when no grouping - if (info.fn && info.fn.category === 'aggregate') { - ctrl.savedSearch.api_params.select[pos] = fieldExpr; - } - } + function clauseUsesJoin(clause, alias) { + if (clause[0].indexOf(alias + '.') === 0) { + return true; + } + if (_.isArray(clause[1])) { + return clause[1].some(function(subClause) { + return clauseUsesJoin(subClause, alias); }); } + return false; + } - function clauseUsesJoin(clause, alias) { - if (clause[0].indexOf(alias + '.') === 0) { - return true; - } - if (_.isArray(clause[1])) { - return clause[1].some(function(subClause) { - return clauseUsesJoin(subClause, alias); - }); - } + // Returns true if a clause contains one of the + function clauseUsesFields(clause, fields) { + if (!fields || !fields.length) { return false; } - - // Returns true if a clause contains one of the - function clauseUsesFields(clause, fields) { - if (!fields || !fields.length) { - return false; - } - if (_.includes(fields, clause[0])) { - return true; - } - if (_.isArray(clause[1])) { - return clause[1].some(function(subClause) { - return clauseUsesField(subClause, fields); - }); - } - return false; + if (_.includes(fields, clause[0])) { + return true; } - - function validate() { - var errors = [], - errorEl, - label, - tab; - if (!ctrl.savedSearch.label) { - errorEl = '#crm-saved-search-label'; - label = ts('Search Label'); - errors.push(ts('%1 is a required field.', {1: label})); - } - if (ctrl.groupExists && !ctrl.savedSearch.groups[0].title) { - errorEl = '#crm-search-admin-group-title'; - label = ts('Group Title'); - errors.push(ts('%1 is a required field.', {1: label})); - tab = 'group'; - } - _.each(ctrl.savedSearch.displays, function(display, index) { - if (!display.trashed && !display.label) { - errorEl = '#crm-search-admin-display-label'; - label = ts('Display Label'); - errors.push(ts('%1 is a required field.', {1: label})); - tab = 'display_' + index; - } + if (_.isArray(clause[1])) { + return clause[1].some(function(subClause) { + return clauseUsesField(subClause, fields); }); - if (errors.length) { - if (tab) { - $scope.selectTab(tab); - } - $(errorEl).crmError(errors.join('<br>'), ts('Error Saving'), {expires: 5000}); - } - return !errors.length; } + return false; + } - this.addParam = function(name, value) { - if (value && !_.contains(ctrl.savedSearch.api_params[name], value)) { - ctrl.savedSearch.api_params[name].push(value); - // This needs to be called when adding a field as well as changing groupBy - reconcileAggregateColumns(); - } - }; - - // Deletes an item from an array param - this.clearParam = function(name, idx) { - if (name === 'select') { - // Function selectors use `ng-repeat` with `track by $index` so must be refreshed when splicing the array - ctrl.hideFuncitons(); - } - ctrl.savedSearch.api_params[name].splice(idx, 1); - }; - - this.hideFuncitons = function() { - $scope.controls.showFunctions = false; - }; - - function onChangeSelect(newSelect, oldSelect) { - // When removing a column from SELECT, also remove from ORDER BY & HAVING - _.each(_.difference(oldSelect, newSelect), function(col) { - col = _.last(col.split(' AS ')); - delete ctrl.savedSearch.api_params.orderBy[col]; - _.remove(ctrl.savedSearch.api_params.having, function(clause) { - return clauseUsesFields(clause, [col]); - }); - }); + function validate() { + var errors = [], + errorEl, + label, + tab; + if (!ctrl.savedSearch.label) { + errorEl = '#crm-saved-search-label'; + label = ts('Search Label'); + errors.push(ts('%1 is a required field.', {1: label})); } - - this.getFieldLabel = searchMeta.getDefaultLabel; - - // Is a column eligible to use an aggregate function? - this.canAggregate = function(col) { - // If the query does not use grouping, never - if (!ctrl.savedSearch.api_params.groupBy || !ctrl.savedSearch.api_params.groupBy.length) { - return false; - } - var arg = _.findWhere(searchMeta.parseExpr(col).args, {type: 'field'}) || {}; - // If the column is not a database field, no - if (!arg.field || !arg.field.entity || !_.includes(['Field', 'Custom', 'Extra'], arg.field.type)) { - return false; + if (ctrl.groupExists && !ctrl.savedSearch.groups[0].title) { + errorEl = '#crm-search-admin-group-title'; + label = ts('Group Title'); + errors.push(ts('%1 is a required field.', {1: label})); + tab = 'group'; + } + _.each(ctrl.savedSearch.displays, function(display, index) { + if (!display.trashed && !display.label) { + errorEl = '#crm-search-admin-display-label'; + label = ts('Display Label'); + errors.push(ts('%1 is a required field.', {1: label})); + tab = 'display_' + index; } - // If the column is used for a groupBy, no - if (ctrl.savedSearch.api_params.groupBy.indexOf(arg.path) > -1) { - return false; + }); + if (errors.length) { + if (tab) { + $scope.selectTab(tab); } - // If the entity this column belongs to is being grouped by primary key, then also no - var idField = searchMeta.getEntity(arg.field.entity).primary_key[0]; - return ctrl.savedSearch.api_params.groupBy.indexOf(arg.prefix + idField) < 0; - }; + $(errorEl).crmError(errors.join('<br>'), ts('Error Saving'), {expires: 5000}); + } + return !errors.length; + } - $scope.fieldsForGroupBy = function() { - return {results: ctrl.getAllFields('', ['Field', 'Custom', 'Extra'], function(key) { - return _.contains(ctrl.savedSearch.api_params.groupBy, key); - }) - }; - }; + this.addParam = function(name, value) { + if (value && !_.contains(ctrl.savedSearch.api_params[name], value)) { + ctrl.savedSearch.api_params[name].push(value); + // This needs to be called when adding a field as well as changing groupBy + reconcileAggregateColumns(); + } + }; - function getFieldsForJoin(joinEntity) { - return {results: ctrl.getAllFields(':name', ['Field', 'Extra'], null, joinEntity)}; + // Deletes an item from an array param + this.clearParam = function(name, idx) { + if (name === 'select') { + // Function selectors use `ng-repeat` with `track by $index` so must be refreshed when splicing the array + ctrl.hideFuncitons(); } + ctrl.savedSearch.api_params[name].splice(idx, 1); + }; + + this.hideFuncitons = function() { + $scope.controls.showFunctions = false; + }; + + function onChangeSelect(newSelect, oldSelect) { + // When removing a column from SELECT, also remove from ORDER BY & HAVING + _.each(_.difference(oldSelect, newSelect), function(col) { + col = _.last(col.split(' AS ')); + delete ctrl.savedSearch.api_params.orderBy[col]; + _.remove(ctrl.savedSearch.api_params.having, function(clause) { + return clauseUsesFields(clause, [col]); + }); + }); + } - // @return {function} - $scope.fieldsForJoin = function(joinEntity) { - if (!fieldsForJoinGetters[joinEntity]) { - fieldsForJoinGetters[joinEntity] = _.wrap(joinEntity, getFieldsForJoin); - } - return fieldsForJoinGetters[joinEntity]; - }; + this.getFieldLabel = searchMeta.getDefaultLabel; - $scope.fieldsForWhere = function() { - return {results: ctrl.getAllFields(':name')}; + // Is a column eligible to use an aggregate function? + this.canAggregate = function(col) { + // If the query does not use grouping, never + if (!ctrl.savedSearch.api_params.groupBy || !ctrl.savedSearch.api_params.groupBy.length) { + return false; + } + var arg = _.findWhere(searchMeta.parseExpr(col).args, {type: 'field'}) || {}; + // If the column is not a database field, no + if (!arg.field || !arg.field.entity || !_.includes(['Field', 'Custom', 'Extra'], arg.field.type)) { + return false; + } + // If the column is used for a groupBy, no + if (ctrl.savedSearch.api_params.groupBy.indexOf(arg.path) > -1) { + return false; + } + // If the entity this column belongs to is being grouped by primary key, then also no + var idField = searchMeta.getEntity(arg.field.entity).primary_key[0]; + return ctrl.savedSearch.api_params.groupBy.indexOf(arg.prefix + idField) < 0; + }; + + $scope.fieldsForGroupBy = function() { + return {results: ctrl.getAllFields('', ['Field', 'Custom', 'Extra'], function(key) { + return _.contains(ctrl.savedSearch.api_params.groupBy, key); + }) }; + }; - $scope.fieldsForHaving = function() { - return {results: ctrl.getSelectFields()}; - }; + function getFieldsForJoin(joinEntity) { + return {results: ctrl.getAllFields(':name', ['Field', 'Extra'], null, joinEntity)}; + } - // Sets the default select clause based on commonly-named fields - function getDefaultSelect() { - var entity = searchMeta.getEntity(ctrl.savedSearch.api_entity); - return _.transform(entity.fields, function(defaultSelect, field) { - if (field.name === 'id' || field.name === entity.label_field) { - defaultSelect.push(field.name); - } - }); + // @return {function} + $scope.fieldsForJoin = function(joinEntity) { + if (!fieldsForJoinGetters[joinEntity]) { + fieldsForJoinGetters[joinEntity] = _.wrap(joinEntity, getFieldsForJoin); } + return fieldsForJoinGetters[joinEntity]; + }; - this.getAllFields = function(suffix, allowedTypes, disabledIf, topJoin) { - disabledIf = disabledIf || _.noop; - allowedTypes = allowedTypes || ['Field', 'Custom', 'Extra', 'Filter']; + $scope.fieldsForWhere = function() { + return {results: ctrl.getAllFields(':name')}; + }; - function formatEntityFields(entityName, join) { - var prefix = join ? join.alias + '.' : '', - result = []; + $scope.fieldsForHaving = function() { + return {results: ctrl.getSelectFields()}; + }; - // Add extra searchable fields from bridge entity - if (join && join.bridge) { - formatFields(_.filter(searchMeta.getEntity(join.bridge).fields, function(field) { - return (field.name !== 'id' && field.name !== 'entity_id' && field.name !== 'entity_table' && field.fk_entity !== entityName); - }), result, prefix); - } - - formatFields(searchMeta.getEntity(entityName).fields, result, prefix); - return result; + // Sets the default select clause based on commonly-named fields + function getDefaultSelect() { + var entity = searchMeta.getEntity(ctrl.savedSearch.api_entity); + return _.transform(entity.fields, function(defaultSelect, field) { + if (field.name === 'id' || field.name === entity.label_field) { + defaultSelect.push(field.name); } + }); + } - function formatFields(fields, result, prefix) { - prefix = typeof prefix === 'undefined' ? '' : prefix; - _.each(fields, function(field) { - var item = { - // Use options suffix if available. - id: prefix + field.name + (_.includes(field.suffixes || [], suffix.replace(':', '')) ? suffix : ''), - text: field.label, - description: field.description - }; - if (disabledIf(item.id)) { - item.disabled = true; - } - if (_.includes(allowedTypes, field.type)) { - result.push(item); - } - }); - return result; - } + this.getAllFields = function(suffix, allowedTypes, disabledIf, topJoin) { + disabledIf = disabledIf || _.noop; + allowedTypes = allowedTypes || ['Field', 'Custom', 'Extra', 'Filter']; - var mainEntity = searchMeta.getEntity(ctrl.savedSearch.api_entity), - joinEntities = _.map(ctrl.savedSearch.api_params.join, 0), + function formatEntityFields(entityName, join) { + var prefix = join ? join.alias + '.' : '', result = []; - function addJoin(join) { - var joinInfo = searchMeta.getJoin(join), - joinEntity = searchMeta.getEntity(joinInfo.entity); - result.push({ - text: joinInfo.label, - description: joinInfo.description, - icon: joinEntity.icon, - children: formatEntityFields(joinEntity.name, joinInfo) - }); - } - - // Place specified join at top of list - if (topJoin) { - addJoin(topJoin); - _.pull(joinEntities, topJoin); + // Add extra searchable fields from bridge entity + if (join && join.bridge) { + formatFields(_.filter(searchMeta.getEntity(join.bridge).fields, function(field) { + return (field.name !== 'id' && field.name !== 'entity_id' && field.name !== 'entity_table' && field.fk_entity !== entityName); + }), result, prefix); } - result.push({ - text: mainEntity.title_plural, - icon: mainEntity.icon, - children: formatEntityFields(ctrl.savedSearch.api_entity) - }); - - // Include SearchKit's pseudo-fields if specifically requested - if (_.includes(allowedTypes, 'Pseudo')) { - result.push({ - text: ts('Extra'), - icon: 'fa-gear', - children: formatFields(CRM.crmSearchAdmin.pseudoFields, []) - }); - } - - _.each(joinEntities, addJoin); + formatFields(searchMeta.getEntity(entityName).fields, result, prefix); return result; - }; + } - this.getSelectFields = function(disabledIf) { - disabledIf = disabledIf || _.noop; - return _.transform(ctrl.savedSearch.api_params.select, function(fields, name) { - var info = searchMeta.parseExpr(name); + function formatFields(fields, result, prefix) { + prefix = typeof prefix === 'undefined' ? '' : prefix; + _.each(fields, function(field) { var item = { - id: info.alias, - text: ctrl.getFieldLabel(name), - description: info.fn ? info.fn.description : info.args[0].field && info.args[0].field.description + // Use options suffix if available. + id: prefix + field.name + (_.includes(field.suffixes || [], suffix.replace(':', '')) ? suffix : ''), + text: field.label, + description: field.description }; if (disabledIf(item.id)) { item.disabled = true; } - fields.push(item); + if (_.includes(allowedTypes, field.type)) { + result.push(item); + } }); - }; + return result; + } - this.isPseudoField = function(name) { - return _.findIndex(CRM.crmSearchAdmin.pseudoFields, {name: name}) >= 0; - }; + var mainEntity = searchMeta.getEntity(ctrl.savedSearch.api_entity), + joinEntities = _.map(ctrl.savedSearch.api_params.join, 0), + result = []; - // Ensure options are loaded for main entity + joined entities - // And an optional additional entity - function loadFieldOptions(entity) { - // Main entity - var entitiesToLoad = [ctrl.savedSearch.api_entity]; - - // Join entities + bridge entities - _.each(ctrl.savedSearch.api_params.join, function(join) { - var joinInfo = searchMeta.getJoin(join[0]); - entitiesToLoad.push(joinInfo.entity); - if (joinInfo.bridge) { - entitiesToLoad.push(joinInfo.bridge); - } + function addJoin(join) { + var joinInfo = searchMeta.getJoin(join), + joinEntity = searchMeta.getEntity(joinInfo.entity); + result.push({ + text: joinInfo.label, + description: joinInfo.description, + icon: joinEntity.icon, + children: formatEntityFields(joinEntity.name, joinInfo) }); + } - // Optional additional entity - if (entity) { - entitiesToLoad.push(entity); - } + // Place specified join at top of list + if (topJoin) { + addJoin(topJoin); + _.pull(joinEntities, topJoin); + } - searchMeta.loadFieldOptions(entitiesToLoad); + result.push({ + text: mainEntity.title_plural, + icon: mainEntity.icon, + children: formatEntityFields(ctrl.savedSearch.api_entity) + }); + + // Include SearchKit's pseudo-fields if specifically requested + if (_.includes(allowedTypes, 'Pseudo')) { + result.push({ + text: ts('Extra'), + icon: 'fa-gear', + children: formatFields(CRM.crmSearchAdmin.pseudoFields, []) + }); } - // Build a list of all possible links to main entity & join entities - // @return {Array} - this.buildLinks = function() { - function addTitle(link, entityName) { - link.text = link.text.replace('%1', entityName); - } + _.each(joinEntities, addJoin); + return result; + }; + + this.getSelectFields = function(disabledIf) { + disabledIf = disabledIf || _.noop; + return _.transform(ctrl.savedSearch.api_params.select, function(fields, name) { + var info = searchMeta.parseExpr(name); + var item = { + id: info.alias, + text: ctrl.getFieldLabel(name), + description: info.fn ? info.fn.description : info.args[0].field && info.args[0].field.description + }; + if (disabledIf(item.id)) { + item.disabled = true; + } + fields.push(item); + }); + }; + + this.isPseudoField = function(name) { + return _.findIndex(CRM.crmSearchAdmin.pseudoFields, {name: name}) >= 0; + }; + + // Ensure options are loaded for main entity + joined entities + // And an optional additional entity + function loadFieldOptions(entity) { + // Main entity + var entitiesToLoad = [ctrl.savedSearch.api_entity]; + + // Join entities + bridge entities + _.each(ctrl.savedSearch.api_params.join, function(join) { + var joinInfo = searchMeta.getJoin(join[0]); + entitiesToLoad.push(joinInfo.entity); + if (joinInfo.bridge) { + entitiesToLoad.push(joinInfo.bridge); + } + }); + + // Optional additional entity + if (entity) { + entitiesToLoad.push(entity); + } + + searchMeta.loadFieldOptions(entitiesToLoad); + } + + // Build a list of all possible links to main entity & join entities + // @return {Array} + this.buildLinks = function() { + function addTitle(link, entityName) { + link.text = link.text.replace('%1', entityName); + } - // Links to main entity - var mainEntity = searchMeta.getEntity(ctrl.savedSearch.api_entity), - links = _.cloneDeep(mainEntity.links || []); - _.each(links, function(link) { - link.join = ''; - addTitle(link, mainEntity.title); + // Links to main entity + var mainEntity = searchMeta.getEntity(ctrl.savedSearch.api_entity), + links = _.cloneDeep(mainEntity.links || []); + _.each(links, function(link) { + link.join = ''; + addTitle(link, mainEntity.title); + }); + // Links to explicitly joined entities + _.each(ctrl.savedSearch.api_params.join, function(joinClause) { + var join = searchMeta.getJoin(joinClause[0]), + joinEntity = searchMeta.getEntity(join.entity), + bridgeEntity = _.isString(joinClause[2]) ? searchMeta.getEntity(joinClause[2]) : null; + _.each(_.cloneDeep(joinEntity.links), function(link) { + link.join = join.alias; + addTitle(link, join.label); + links.push(link); }); - // Links to explicitly joined entities - _.each(ctrl.savedSearch.api_params.join, function(joinClause) { - var join = searchMeta.getJoin(joinClause[0]), - joinEntity = searchMeta.getEntity(join.entity), - bridgeEntity = _.isString(joinClause[2]) ? searchMeta.getEntity(joinClause[2]) : null; - _.each(_.cloneDeep(joinEntity.links), function(link) { - link.join = join.alias; - addTitle(link, join.label); - links.push(link); - }); - _.each(_.cloneDeep(bridgeEntity && bridgeEntity.links), function(link) { - link.join = join.alias; - addTitle(link, join.label + (bridgeEntity.bridge_title ? ' ' + bridgeEntity.bridge_title : '')); - links.push(link); - }); + _.each(_.cloneDeep(bridgeEntity && bridgeEntity.links), function(link) { + link.join = join.alias; + addTitle(link, join.label + (bridgeEntity.bridge_title ? ' ' + bridgeEntity.bridge_title : '')); + links.push(link); }); - // Links to implicit joins - _.each(ctrl.savedSearch.api_params.select, function(fieldName) { - if (!_.includes(fieldName, ' AS ')) { - var info = searchMeta.parseExpr(fieldName).args[0]; - if (info.field && !info.suffix && !info.fn && info.field.type === 'Field' && (info.field.fk_entity || info.field.name !== info.field.fieldName)) { - var idFieldName = info.field.fk_entity ? fieldName : fieldName.substr(0, fieldName.lastIndexOf('.')), - idField = searchMeta.parseExpr(idFieldName).args[0].field; - if (!ctrl.canAggregate(idFieldName)) { - var joinEntity = searchMeta.getEntity(idField.fk_entity), - label = (idField.join ? idField.join.label + ': ' : '') + (idField.input_attrs && idField.input_attrs.label || idField.label); - _.each(_.cloneDeep(joinEntity && joinEntity.links), function(link) { - link.join = idFieldName; - addTitle(link, label); - links.push(link); - }); - } + }); + // Links to implicit joins + _.each(ctrl.savedSearch.api_params.select, function(fieldName) { + if (!_.includes(fieldName, ' AS ')) { + var info = searchMeta.parseExpr(fieldName).args[0]; + if (info.field && !info.suffix && !info.fn && info.field.type === 'Field' && (info.field.fk_entity || info.field.name !== info.field.fieldName)) { + var idFieldName = info.field.fk_entity ? fieldName : fieldName.substr(0, fieldName.lastIndexOf('.')), + idField = searchMeta.parseExpr(idFieldName).args[0].field; + if (!ctrl.canAggregate(idFieldName)) { + var joinEntity = searchMeta.getEntity(idField.fk_entity), + label = (idField.join ? idField.join.label + ': ' : '') + (idField.input_attrs && idField.input_attrs.label || idField.label); + _.each(_.cloneDeep(joinEntity && joinEntity.links), function(link) { + link.join = idFieldName; + addTitle(link, label); + links.push(link); + }); } } - }); - return links; - }; + } + }); + return links; + }; - function loadAfforms() { - ctrl.afforms = null; - if (ctrl.afformEnabled && ctrl.savedSearch.id) { - var findDisplays = _.transform(ctrl.savedSearch.displays, function(findDisplays, display) { - if (display.id && display.name) { - findDisplays.push(['search_displays', 'CONTAINS', ctrl.savedSearch.name + '.' + display.name]); - } - }, [['search_displays', 'CONTAINS', ctrl.savedSearch.name]]); - afformLoad = crmApi4('Afform', 'get', { - select: ['name', 'title', 'search_displays'], - where: [['OR', findDisplays]] - }).then(function(afforms) { - ctrl.afforms = []; - _.each(afforms, function(afform) { - ctrl.afforms.push({ - title: afform.title, - displays: afform.search_displays, - link: ctrl.afformAdminEnabled ? CRM.url('civicrm/admin/afform#/edit/' + afform.name) : '', - }); + function loadAfforms() { + ctrl.afforms = null; + if (ctrl.afformEnabled && ctrl.savedSearch.id) { + var findDisplays = _.transform(ctrl.savedSearch.displays, function(findDisplays, display) { + if (display.id && display.name) { + findDisplays.push(['search_displays', 'CONTAINS', ctrl.savedSearch.name + '.' + display.name]); + } + }, [['search_displays', 'CONTAINS', ctrl.savedSearch.name]]); + afformLoad = crmApi4('Afform', 'get', { + select: ['name', 'title', 'search_displays'], + where: [['OR', findDisplays]] + }).then(function(afforms) { + ctrl.afforms = []; + _.each(afforms, function(afform) { + ctrl.afforms.push({ + title: afform.title, + displays: afform.search_displays, + link: ctrl.afformAdminEnabled ? CRM.url('civicrm/admin/afform#/edit/' + afform.name) : '', }); - ctrl.afformCount = ctrl.afforms.length; }); - } + ctrl.afformCount = ctrl.afforms.length; + }); } + } - // Creating an Afform opens a new tab, so when switching back after > 10 sec, re-check for Afforms - $(window).on('focus', _.debounce(function() { - $scope.$apply(loadAfforms); - }, 10000, {leading: true, trailing: false})); + // Creating an Afform opens a new tab, so when switching back after > 10 sec, re-check for Afforms + $(window).on('focus', _.debounce(function() { + $scope.$apply(loadAfforms); + }, 10000, {leading: true, trailing: false})); - } + }; + + ctrl.hook = hook; + + angular.module('crmSearchAdmin').component('crmSearchAdmin', { + bindings: { + savedSearch: '<' + }, + templateUrl: '~/crmSearchAdmin/crmSearchAdmin.html', + controller: ctrl }); })(angular, CRM.$, CRM._); diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.component.js b/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.component.js index c951df207975e47128e8e7a75d7fd7a3776e37ac..e6e9bbdc06836cda0e590afc8e18b19ed2ae54f6 100644 --- a/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.component.js +++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.component.js @@ -62,9 +62,9 @@ label: ts('Menu'), icon: 'fa-bars', defaults: { - text: ts('Actions'), + text: '', style: 'default', - size: 'btn-sm', + size: 'btn-xs', icon: 'fa-bars', links: [] } diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminExport.component.js b/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminExport.component.js index 7f1448835f0fbc3638a600899ff3ffe517c74a55..a307b60ddfd2e035a4b7e28500ba068c33e4d0be 100644 --- a/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminExport.component.js +++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchAdminExport.component.js @@ -34,8 +34,10 @@ crmApi4(apiCalls) .then(function(result) { _.each(ctrl.types, function (type) { - type.values = _.pluck(_.pluck(_.where(result[0], {entity: type.entity}), 'params'), 'values'); - type.enabled = !!type.values.length; + var params = _.pluck(_.where(result[0], {entity: type.entity}), 'params'); + type.values = _.pluck(params, 'values'); + type.match = params[0] && params[0].match; + type.enabled = !!params.length; }); // Afforms are not included in the export and are fetched separately if (ctrl.afformEnabled) { @@ -50,10 +52,8 @@ _.each(ctrl.types, function(type) { if (type.enabled) { var params = {records: type.values}; - // Afform always matches on 'name', no need to add it to the API 'save' params - if (type.entity !== 'Afform') { - // Group and SavedSearch match by 'name', SearchDisplay also matches by 'saved_search_id'. - params.match = type.entity === 'SearchDisplay' ? ['name', 'saved_search_id'] : ['name']; + if (type.match && type.match.length) { + params.match = type.match; } data.push([type.entity, 'save', params]); } diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchCondition.component.js b/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchCondition.component.js index 2e112b612048d15c8dd0ba0335a72527c6dd6ace..aa90a53f26a63764a215b9cc2491940835b7c5ff 100644 --- a/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchCondition.component.js +++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/crmSearchCondition.component.js @@ -64,6 +64,9 @@ if (!allowedOps && _.includes(['Boolean', 'Float', 'Date'], field.data_type)) { allowedOps = ['=', '!=', '<', '>', '<=', '>=', 'IN', 'NOT IN', 'BETWEEN', 'NOT BETWEEN', 'IS EMPTY', 'IS NOT EMPTY']; } + if (!allowedOps && (field.data_type === 'Array' || field.serialize)) { + allowedOps = ['CONTAINS', 'NOT CONTAINS', 'IS EMPTY', 'IS NOT EMPTY']; + } if (!allowedOps) { return CRM.crmSearchAdmin.operators; } diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/colType/menu.html b/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/colType/menu.html index 9b0e15e7cd75b976b7bddcf052ac33237cfe752b..d26a95b4a84c03849e520c7126574565100592ac 100644 --- a/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/colType/menu.html +++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/colType/menu.html @@ -26,6 +26,7 @@ <i class="{{ col.icon ? 'crm-i ' + col.icon : '' }}"></i> </span> <span crm-ui-editable ng-model="col.text">{{ col.text }}</span> + <span class="caret disabled"></span> </button> </div> <crm-search-admin-token-select model="col" field="text" suffix=":label"></crm-search-admin-token-select> diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/common/searchAdminPagerConfig.html b/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/common/searchAdminPagerConfig.html index c2edebe9dd3cc7140fc059903bb54b339bc0e84f..0b074cd06194bbb3252164129d43ff34aa82d63c 100644 --- a/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/common/searchAdminPagerConfig.html +++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/common/searchAdminPagerConfig.html @@ -17,6 +17,12 @@ {{:: ts('Page Size') }} </label> <input id="crm-search-admin-display-limit" type="number" min="1" step="1" class="form-control" ng-model="$ctrl.display.settings.limit" ng-model-options="{updateOn: 'blur'}" ng-change="$ctrl.onChangeLimit()"> + <div class="checkbox-inline form-control"> + <label> + <input type="checkbox" ng-model="$ctrl.display.settings.pager.expose_limit" > + <span>{{:: ts('Adjustable Page Size') }}</span> + </label> + </div> <div class="checkbox-inline form-control"> <label> <input type="checkbox" ng-model="$ctrl.display.settings.pager.show_count" > @@ -25,8 +31,8 @@ </div> <div class="checkbox-inline form-control"> <label> - <input type="checkbox" ng-model="$ctrl.display.settings.pager.expose_limit" > - <span>{{:: ts('Adjustable Page Size') }}</span> + <input type="checkbox" ng-model="$ctrl.display.settings.pager.hide_single"> + <span>{{:: ts('Hide Pager if One Page') }}</span> </label> </div> </div> diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/crmSearchDisplayAutocomplete.component.js b/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/crmSearchDisplayAutocomplete.component.js index 4d1261f28f36812971940aa5271ad7b144b0474a..1326f1aa55ec4efcfc05474171fe0f28c6abccf3 100644 --- a/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/crmSearchDisplayAutocomplete.component.js +++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/crmSearchDisplayAutocomplete.component.js @@ -11,7 +11,6 @@ templateUrl: '~/crmSearchAdmin/displays/searchDisplayAutocomplete.html', controller: function($scope, searchMeta) { var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'), - // Mix in properties of searchDisplayBaseTrait ctrl = this; this.$onInit = function() { diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/crmSearchDisplayEntity.component.js b/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/crmSearchDisplayEntity.component.js new file mode 100644 index 0000000000000000000000000000000000000000..5ee7e6329450268aa74c96c0ae10232332ddad70 --- /dev/null +++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/crmSearchDisplayEntity.component.js @@ -0,0 +1,31 @@ +(function(angular, $, _) { + "use strict"; + + // This isn't a real display type, it's only used for preview purposes on the Admin screen + angular.module('crmSearchAdmin').component('crmSearchDisplayEntity', { + bindings: { + apiEntity: '@', + search: '<', + display: '<', + settings: '<', + }, + + templateUrl: '~/crmSearchDisplayTable/crmSearchDisplayTable.html', + controller: function($scope, $element, searchDisplayBaseTrait) { + var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'), + // Mix in traits to this controller + ctrl = angular.extend(this, searchDisplayBaseTrait); + + this.$onInit = function() { + // Adding this stuff for the sake of preview, but pollutes the display settings + // so it gets removed by preSaveDisplay hook + this.settings.limit = 50; + this.settings.pager = {expose_limit: true}; + this.settings.classes = ['table', 'table-striped']; + this.initializeDisplay($scope, $element); + }; + + } + }); + +})(angular, CRM.$, CRM._); diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayEntity.component.js b/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayEntity.component.js new file mode 100644 index 0000000000000000000000000000000000000000..bf1ffc98f8f390ed6c51e2b58d841495e01ca54d --- /dev/null +++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayEntity.component.js @@ -0,0 +1,69 @@ +(function(angular, $, _) { + "use strict"; + + angular.module('crmSearchAdmin').component('searchAdminDisplayEntity', { + bindings: { + display: '<', + apiEntity: '<', + apiParams: '<' + }, + require: { + parent: '^crmSearchAdminDisplay' + }, + templateUrl: '~/crmSearchAdmin/displays/searchAdminDisplayEntity.html', + controller: function($scope, crmApi4) { + var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'), + ctrl = this, + colTypes = []; + + this.getColTypes = function() { + return colTypes; + }; + + this.$onInit = function () { + ctrl.jobFrequency = CRM.crmSearchAdmin.jobFrequency; + if (!ctrl.display.settings) { + ctrl.display.settings = { + sort: ctrl.parent.getDefaultSort() + }; + } + if (ctrl.display.id && !ctrl.display._job) { + crmApi4({ + ref: ['SK_' + ctrl.display.name, 'getRefreshDate', {}, 0], + job: ['Job', 'get', {where: [['api_entity', '=', 'SK_' + ctrl.display.name,], ['api_action', '=', 'refresh']]}, 0], + }).then(function(result) { + ctrl.display._refresh_date = result.ref.refresh_date ? CRM.utils.formatDate(result.ref.refresh_date, null, true) : ts('never'); + if (result.job && result.job.id) { + ctrl.display._job = result.job; + } else { + ctrl.display._job = defaultJobParams(); + } + }); + } + if (!ctrl.display.id && !ctrl.display._job) { + ctrl.display._job = defaultJobParams(); + } + ctrl.parent.initColumns({label: true}); + }; + + function defaultJobParams() { + return { + parameters: 'version=4', + is_active: false, + run_frequency: 'Hourly', + }; + } + + $scope.$watch('$ctrl.display.name', function(newVal, oldVal) { + if (!newVal) { + newVal = ctrl.display.label; + } + if (newVal !== oldVal) { + ctrl.display.name = _.capitalize(_.camelCase(newVal)); + } + }); + + } + }); + +})(angular, CRM.$, CRM._); diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayEntity.decorator.js b/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayEntity.decorator.js new file mode 100644 index 0000000000000000000000000000000000000000..c8565aa4e0c34178bec381d0069c544811da1613 --- /dev/null +++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayEntity.decorator.js @@ -0,0 +1,41 @@ +(function(angular, $, _) { + "use strict"; + + // Register hooks on the crmSearchAdmin component + angular.module('crmSearchAdmin').decorator('crmSearchAdminDirective', function($delegate, crmApi4) { + // Register callback for preSaveDisplay hook + $delegate[0].controller.hook.preSaveDisplay.push(function(display, apiCalls) { + if (display.type === 'entity') { + // Unset vars added by the preview (see `crmSearchDisplayEntity`) + delete display.settings.limit; + delete display.settings.pager; + delete display.settings.classes; + } + if (display.type === 'entity' && display._job) { + // Add/update scheduled job + display._job.api_entity = 'SK_' + display.name; + display._job.api_action = 'refresh'; + display._job.name = ts('Refresh %1 Table', {1: display.label}); + display._job.description = ts('Refresh contents of the %1 SearchKit entity', {1: display.label}); + apiCalls['job_' + display.name] = ['Job', 'save', { + records: [display._job], + match: ['api_entity', 'api_action'] + }, 0]; + } + }); + // Register callback for postSaveDisplay hook + $delegate[0].controller.hook.postSaveDisplay.push(function(display, apiResults) { + if (display.type === 'entity') { + // Refresh entity displays which write to SQL tables. Do this asynchronously because it can be slow. + crmApi4('SK_' + display.name, 'refresh', {}, 0).then(function(result) { + display._refresh_date = CRM.utils.formatDate(result.refresh_date, null, true); + }); + if (apiResults['job_' + display.name]) { + display._job = apiResults['job_' + display.name]; + } + } + }); + return $delegate; + }); + +})(angular, CRM.$, CRM._); diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayEntity.html b/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayEntity.html new file mode 100644 index 0000000000000000000000000000000000000000..168f182bfe0aee679a3fbca7c948215922eefda7 --- /dev/null +++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayEntity.html @@ -0,0 +1,53 @@ +<div class="form-inline"> + <label for="crm-search-admin-display-label">{{:: ts('Label') }} <span class="crm-marker">*</span></label> + <input id="crm-search-admin-display-label" type="text" class="form-control" ng-model="$ctrl.display.label" required placeholder="{{:: ts('Untitled') }}"/> +</div> +<div> + <textarea class="form-control" placeholder="{{:: ts('Description') }}" ng-model="$ctrl.display.settings.description"></textarea> +</div> +<div class="form-inline"> + <label for="crm-search-admin-display-api">{{:: ts('API Name') }} <span class="crm-marker">*</span></label> + <div class="input-group"> + <span class="input-group-addon" id="basic-addon1">SK_</span> + <input id="crm-search-admin-display-api" type="text" class="form-control" ng-model="$ctrl.display.name" required /> + </div> +</div> +<p ng-if="$ctrl.display.id"> + <i class="crm-i fa-clock-o"></i> + <strong ng-if="$ctrl.display._refresh_date">{{:: ts('Last refreshed: %1. Click "Save" to refresh now.', {1: $ctrl.display._refresh_date}) }}</strong> + <strong ng-if="!$ctrl.display._refresh_date">{{:: ts('Checking last refresh date...') }}</strong> +</p> +<div class="form-inline" ng-if="$ctrl.display._job"> + <div class="checkbox-inline form-control"> + <label> + <input type="checkbox" ng-model="$ctrl.display._job.is_active"> + <span>{{:: ts('Auto-Refresh') }}</span> + </label> + </div> + <select class="form-control" ng-if="$ctrl.display._job.is_active" ng-model="$ctrl.display._job.run_frequency"> + <option ng-repeat="opt in $ctrl.jobFrequency" value="{{:: opt.id }}">{{:: opt.label }}</option> + </select> +</div> +<fieldset ng-include="'~/crmSearchAdmin/crmSearchAdminDisplaySort.html'"></fieldset> + +<fieldset class="crm-search-admin-edit-columns-wrapper"> + <legend> + {{:: ts('Columns') }} + <div ng-if="$ctrl.parent.hiddenColumns.length" ng-include="'~/crmSearchAdmin/displays/common/addColMenu.html'" class="btn-group btn-group-xs"></div> + </legend> + <div class="crm-search-admin-edit-columns" ng-model="$ctrl.display.settings.columns" ui-sortable="$ctrl.parent.sortableOptions"> + <fieldset ng-repeat="col in $ctrl.display.settings.columns" class="crm-draggable"> + <legend> + <i class="crm-i fa-arrows crm-search-move-icon"></i> + {{ $ctrl.parent.getColLabel(col) }} + </legend> + <div class="form-inline crm-search-admin-flex-row"> + <label for="crm-search-admin-edit-col-{{ $index }}">{{:: ts('Label') }}</label> + <input id="crm-search-admin-edit-col-{{ $index }}" class="form-control crm-flex-1" type="text" ng-model="col.label" > + <button type="button" class="btn-xs" ng-click="$ctrl.parent.removeCol($index)" title="{{:: ts('Remove') }}"> + <i class="crm-i fa-ban"></i> + </button> + </div> + </fieldset> + </div> +</fieldset> diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayTable.component.js b/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayTable.component.js index b31260e9f8abc6f568b87be7f711cc744e8c6c24..759b2afafb0494bbea710df79d346a2613f36817 100644 --- a/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayTable.component.js +++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/displays/searchAdminDisplayTable.component.js @@ -19,7 +19,8 @@ this.tableClasses = [ {name: 'table', label: ts('Row Borders')}, {name: 'table-bordered', label: ts('Column Borders')}, - {name: 'table-striped', label: ts('Even/Odd Stripes')} + {name: 'table-striped', label: ts('Even/Odd Stripes')}, + {name: 'crm-sticky-header', label: ts('Sticky Header')} ]; // Check if array contains item diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/resultsTable/crmSearchAdminResultsTable.component.js b/civicrm/ext/search_kit/ang/crmSearchAdmin/resultsTable/crmSearchAdminResultsTable.component.js index 0744b7aff048bf169940038cee3aceefa7c965b0..38940d9fbef5fdec466d49b402480252c8c9cd70 100644 --- a/civicrm/ext/search_kit/ang/crmSearchAdmin/resultsTable/crmSearchAdminResultsTable.component.js +++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/resultsTable/crmSearchAdminResultsTable.component.js @@ -29,6 +29,7 @@ ctrl.results = null; ctrl.rowCount = null; ctrl.page = 1; + ctrl.selectNone(); } this.$onInit = function() { diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/searchListing/afforms.html b/civicrm/ext/search_kit/ang/crmSearchAdmin/searchListing/afforms.html index 9912d36d5ce86d623e07135d541b8905c3713072..a1fccf16b4d253727fb2f55e88c210aa6a0fa2a0 100644 --- a/civicrm/ext/search_kit/ang/crmSearchAdmin/searchListing/afforms.html +++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/searchListing/afforms.html @@ -5,12 +5,12 @@ </button> <ul class="dropdown-menu" ng-if=":: row.openAfformMenu"> <li ng-if="::$ctrl.afformAdminEnabled"> - <a target="_blank" href="{{:: $ctrl.afformPath + '#/create/search/' + row.data.name }}"> + <a target="_blank" ng-href="{{:: $ctrl.afformPath + '#/create/search/' + row.data.name }}"> <i class="fa fa-plus"></i> {{:: ts('Create form for search results table') }} </a> </li> <li ng-repeat="display_name in row.data.display_name" ng-if="::$ctrl.afformAdminEnabled"> - <a target="_blank" href="{{:: $ctrl.afformPath + '#/create/search/' + row.data.name + '.' + display_name }}"> + <a target="_blank" ng-href="{{:: $ctrl.afformPath + '#/create/search/' + row.data.name + '.' + display_name }}"> <i class="fa fa-plus"></i> {{:: ts('Create form for %1', {1: row.data.display_label[$index]}) }} </a> </li> diff --git a/civicrm/ext/search_kit/ang/crmSearchAdmin/searchListing/buttons.html b/civicrm/ext/search_kit/ang/crmSearchAdmin/searchListing/buttons.html index f77738780ca27b0c26bf1850f4d697455d140826..bcc11e87bcd8f13399af9367320d9105c1198b76 100644 --- a/civicrm/ext/search_kit/ang/crmSearchAdmin/searchListing/buttons.html +++ b/civicrm/ext/search_kit/ang/crmSearchAdmin/searchListing/buttons.html @@ -1,5 +1,5 @@ <div class="btn-group btn-group-xs"> - <a class="btn btn-primary" href="#/edit/{{:: row.data.id }}" ng-if=":: row.permissionToEdit"> + <a class="btn btn-primary" ng-href="#/edit/{{:: row.data.id }}" ng-if=":: row.permissionToEdit"> <i class="crm-i fa-pencil"></i> {{:: ts('Edit') }} </a> @@ -14,7 +14,7 @@ </a> </li> <li title="{{:: ts('Create a new search based on this one') }}"> - <a href="#/create/{{:: row.data.api_entity + '?params=' + $ctrl.encode(row.data.api_params) }}"> + <a ng-href="#/create/{{:: row.data.api_entity + '?params=' + $ctrl.encode(row.data.api_params) }}"> <i class="crm-i fa-copy"></i> {{:: ts('Clone...') }} </a> diff --git a/civicrm/ext/search_kit/ang/crmSearchDisplay/Pager.html b/civicrm/ext/search_kit/ang/crmSearchDisplay/Pager.html index 44e97e59eabc2ef6c0c78d2965dcac46562c5422..97c1e0009373a3f9fba4ac0537cfe772d156d165 100644 --- a/civicrm/ext/search_kit/ang/crmSearchDisplay/Pager.html +++ b/civicrm/ext/search_kit/ang/crmSearchDisplay/Pager.html @@ -3,7 +3,7 @@ <div class="form-inline" ng-if="$ctrl.settings.pager.show_count" ng-include="'~/crmSearchDisplay/ResultCount.html'"> </div> </div> - <div class="text-center crm-flex-2"> + <div ng-if="!$ctrl.settings.pager.hide_single || ($ctrl.rowCount > $ctrl.limit)" class="text-center crm-flex-2"> <ul uib-pagination class="pagination" boundary-links="true" diff --git a/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/buttons.html b/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/buttons.html index 970ff34489154356901279df453d98ac805cce98..4bf5f1b7c45a92e90040532ff1b81ecdf92ef45b 100644 --- a/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/buttons.html +++ b/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/buttons.html @@ -1,5 +1,5 @@ <span ng-repeat="link in colData.links"> - <a class="btn {{:: $ctrl.settings.columns[colIndex].size }} btn-{{:: link.style }}" target="{{:: link.target }}" href="{{:: link.url }}"> + <a class="btn {{:: $ctrl.settings.columns[colIndex].size }} btn-{{:: link.style }}" target="{{:: link.target }}" ng-href="{{:: link.url }}"> <i ng-if=":: link.icon" class="crm-i {{:: link.icon }}"></i> {{:: link.text }} </a> diff --git a/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/field.html b/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/field.html index 77ca4faf2017351aadf9df9f6ed85cef9e5a86cc..0877b15aaaeac0b648e762c60023b207b8cc86db 100644 --- a/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/field.html +++ b/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/field.html @@ -6,7 +6,7 @@ </span> <span ng-if="::colData.links"> <span ng-repeat="link in colData.links"> - <a target="{{:: link.target }}" href="{{:: link.url }}"> + <a target="{{:: link.target }}" ng-href="{{:: link.url }}"> <i ng-repeat="icon in colData.icons" ng-if="icon.side === 'left'" class="crm-i {{:: icon['class'] }}"></i> {{:: link.text }}<i ng-repeat="icon in colData.icons" ng-if="icon.side === 'right'" class="crm-i {{:: icon['class'] }}"></i></a><span ng-if="!$last">, </span> diff --git a/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/image.html b/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/image.html index c76036340dddac9b4792000a1a225bf6cdc289d4..c7d12feb485b79644cddc14d210fc4647ea238f1 100644 --- a/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/image.html +++ b/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/image.html @@ -1,6 +1,6 @@ <span ng-if="::colData.links && colData.img"> <span ng-repeat="link in colData.links"> - <a target="{{:: link.target }}" href="{{:: link.url }}"> + <a target="{{:: link.target }}" ng-href="{{:: link.url }}"> <img ng-src="{{:: colData.img.src }}" alt="{{:: colData.val }}" height="{{:: colData.img.height }}" width="{{:: colData.img.width }}"/> </a> </span> diff --git a/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/links.html b/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/links.html index c9e8af5a283b4e47c971b86364d707cb5d5553dc..0854f6f477518aee69a01d0fca57d44dec584913 100644 --- a/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/links.html +++ b/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/links.html @@ -1,5 +1,5 @@ <span ng-repeat="link in colData.links"> - <a class="text-{{:: link.style }}" target="{{:: link.target }}" href="{{:: link.url }}"> + <a class="text-{{:: link.style }}" target="{{:: link.target }}" ng-href="{{:: link.url }}"> <i ng-if=":: link.icon" class="crm-i {{:: link.icon }}"></i> {{:: link.text }} </a> diff --git a/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/menu.html b/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/menu.html index d84d3c774fe760ca179185a10f5f242bc2c2a2e5..cef1a83bbb93481b89d08450ac0f02fe8a23c341 100644 --- a/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/menu.html +++ b/civicrm/ext/search_kit/ang/crmSearchDisplay/colType/menu.html @@ -2,10 +2,11 @@ <button type="button" class="dropdown-toggle {{:: $ctrl.settings.columns[colIndex].size }} btn-{{:: $ctrl.settings.columns[colIndex].style }}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" ng-click="colData.open = true"> <i ng-if=":: $ctrl.settings.columns[colIndex].icon" class="crm-i {{:: $ctrl.settings.columns[colIndex].icon }}"></i> {{:: colData.text }} + <span class="caret"></span> </button> <ul class="dropdown-menu {{ $ctrl.settings.columns[colIndex].alignment === 'text-right' ? 'dropdown-menu-right' : '' }}" ng-if=":: colData.open"> <li ng-repeat="link in colData.links" class="bg-{{:: link.style }}"> - <a href="{{:: link.url }}" target="{{:: link.target }}"> + <a ng-href="{{:: link.url }}" target="{{:: link.target }}"> <i ng-if=":: link.icon" class="crm-i {{:: link.icon }}"></i> {{:: link.text }} </a> diff --git a/civicrm/ext/search_kit/ang/crmSearchDisplayTable/crmSearchDisplayTable.component.js b/civicrm/ext/search_kit/ang/crmSearchDisplayTable/crmSearchDisplayTable.component.js index 9052839ba4b5861b00cbbead5c87f1a868c29f5b..ed0b95042eb60b9e2e38d754b74e4a7b14009c1d 100644 --- a/civicrm/ext/search_kit/ang/crmSearchDisplayTable/crmSearchDisplayTable.component.js +++ b/civicrm/ext/search_kit/ang/crmSearchDisplayTable/crmSearchDisplayTable.component.js @@ -14,7 +14,7 @@ afFieldset: '?^^afFieldset' }, templateUrl: '~/crmSearchDisplayTable/crmSearchDisplayTable.html', - controller: function($scope, $element, searchDisplayBaseTrait, searchDisplayTasksTrait, searchDisplaySortableTrait, crmApi4, crmStatus) { + controller: function($scope, $element, searchDisplayBaseTrait, searchDisplayTasksTrait, searchDisplaySortableTrait, crmApi4) { var ts = $scope.ts = CRM.ts('org.civicrm.search_kit'), // Mix in traits to this controller ctrl = angular.extend(this, searchDisplayBaseTrait, searchDisplayTasksTrait, searchDisplaySortableTrait); diff --git a/civicrm/ext/search_kit/ang/crmSearchDisplayTable/crmSearchDisplayTaskHeader.html b/civicrm/ext/search_kit/ang/crmSearchDisplayTable/crmSearchDisplayTaskHeader.html index 7cd2216186b604c8095b4b5fa7809f30486406a2..de399001bcd084b79efe0f4d74036a3580fa3f68 100644 --- a/civicrm/ext/search_kit/ang/crmSearchDisplayTable/crmSearchDisplayTaskHeader.html +++ b/civicrm/ext/search_kit/ang/crmSearchDisplayTable/crmSearchDisplayTaskHeader.html @@ -7,9 +7,9 @@ <span class="caret"></span> </button> <ul class="dropdown-menu" ng-if="$ctrl.selectAllMenuOpen"> - <li> - <a href ng-click="$ctrl.selectNone()"> - {{:: ts('None') }} + <li ng-if="$ctrl.rowCount > $ctrl.results.length"> + <a href ng-click="$ctrl.selectAllPages()"> + {{:: ts('All') }} </a> </li> <li> @@ -17,9 +17,9 @@ {{ $ctrl.rowCount > $ctrl.results.length ? ts('This Page') : ts('All') }} </a> </li> - <li ng-if="$ctrl.rowCount > $ctrl.results.length"> - <a href ng-click="$ctrl.selectAllPages()"> - {{:: ts('All Pages') }} + <li> + <a href ng-click="$ctrl.selectNone()"> + {{:: ts('None') }} </a> </li> </ul> diff --git a/civicrm/ext/search_kit/ang/crmSearchTasks/crmSearchBatchRunner.component.js b/civicrm/ext/search_kit/ang/crmSearchTasks/crmSearchBatchRunner.component.js index 6ccffdacaf9b790d37da397423c775b9760b7d06..0a056f787dc78425705c89c79a6761cafab2a41a 100644 --- a/civicrm/ext/search_kit/ang/crmSearchTasks/crmSearchBatchRunner.component.js +++ b/civicrm/ext/search_kit/ang/crmSearchTasks/crmSearchBatchRunner.component.js @@ -17,6 +17,7 @@ ctrl = this, currentBatch = 0, totalBatches, + processedCount = 0, incrementer; this.progress = 0; @@ -62,8 +63,10 @@ function(result) { stopIncrementer(); ctrl.progress = Math.floor(100 * ++currentBatch / totalBatches); + processedCount += result.count; if (ctrl.last >= ctrl.ids.length) { $timeout(function() { + result.batchCount = processedCount; ctrl.success({result: result}); }, 500); } else { diff --git a/civicrm/ext/search_kit/ang/crmSearchTasks/crmSearchTaskApiBatch.ctrl.js b/civicrm/ext/search_kit/ang/crmSearchTasks/crmSearchTaskApiBatch.ctrl.js index cb06c22f534f818f1d42c8f1efd0b1fec168a1e2..b2fc5953742c4347007a49de5585f11b710f744f 100644 --- a/civicrm/ext/search_kit/ang/crmSearchTasks/crmSearchTaskApiBatch.ctrl.js +++ b/civicrm/ext/search_kit/ang/crmSearchTasks/crmSearchTaskApiBatch.ctrl.js @@ -14,8 +14,9 @@ ctrl.start(ctrl.apiBatch.params); } - this.onSuccess = function() { - CRM.alert(ts(ctrl.apiBatch.successMsg, {1: ctrl.ids.length, 2: ctrl.entityTitle}), ts('%1 Complete', {1: ctrl.taskTitle}), 'success'); + this.onSuccess = function(result) { + var entityTitle = this.getEntityTitle(result.batchCount); + CRM.alert(ts(ctrl.apiBatch.successMsg, {1: result.batchCount, 2: entityTitle}), ts('%1 Complete', {1: ctrl.taskTitle}), 'success'); this.close(); }; diff --git a/civicrm/ext/search_kit/ang/crmSearchTasks/crmSearchTaskApiBatch.html b/civicrm/ext/search_kit/ang/crmSearchTasks/crmSearchTaskApiBatch.html index a4ce4c5aabbbd958aab94ce1b9a8c99cbc04eee1..6352890efba5f25e71264e60679d2fcad48ddf87 100644 --- a/civicrm/ext/search_kit/ang/crmSearchTasks/crmSearchTaskApiBatch.html +++ b/civicrm/ext/search_kit/ang/crmSearchTasks/crmSearchTaskApiBatch.html @@ -4,7 +4,7 @@ <hr /> <div ng-if="$ctrl.run" class="crm-search-task-progress"> <h5>{{:: ts(model.apiBatch.runMsg, {1: model.ids.length, 2: $ctrl.entityTitle}) }}</h5> - <crm-search-batch-runner entity="model.entity" action="{{:: model.apiBatch.action }}" params="$ctrl.run" ids="model.ids" success="$ctrl.onSuccess()" error="$ctrl.onError()" id-field="{{:: $ctrl.entityInfo.primary_key[0] }}"></crm-search-batch-runner> + <crm-search-batch-runner entity="model.entity" action="{{:: model.apiBatch.action }}" params="$ctrl.run" ids="model.ids" success="$ctrl.onSuccess(result)" error="$ctrl.onError()" id-field="{{:: $ctrl.entityInfo.primary_key[0] }}"></crm-search-batch-runner> </div> <crm-dialog-button text="ts('Cancel')" icons="{primary: 'fa-times'}" on-click="$ctrl.cancel()" disabled="$ctrl.run" ></crm-dialog-button> diff --git a/civicrm/ext/search_kit/ang/crmSearchTasks/traits/searchTaskBaseTrait.service.js b/civicrm/ext/search_kit/ang/crmSearchTasks/traits/searchTaskBaseTrait.service.js index c6ae0c6ce7bbf3ea7c7937c22b22598bc5a6582f..68149e0f4a3445e585f19d365339b9b721c884b8 100644 --- a/civicrm/ext/search_kit/ang/crmSearchTasks/traits/searchTaskBaseTrait.service.js +++ b/civicrm/ext/search_kit/ang/crmSearchTasks/traits/searchTaskBaseTrait.service.js @@ -8,8 +8,11 @@ // Trait properties get mixed into task controller using angular.extend() return { - getEntityTitle: function() { - return this.ids.length === 1 ? this.entityInfo.title : this.entityInfo.title_plural; + getEntityTitle: function(count) { + if (typeof count !== 'number') { + count = this.ids.length; + } + return count === 1 ? this.entityInfo.title : this.entityInfo.title_plural; }, start: function(runParams) { diff --git a/civicrm/ext/search_kit/css/crmSearchDisplay.css b/civicrm/ext/search_kit/css/crmSearchDisplay.css index 095115e4946e3ce2c9f49bfb5543c63019ae8281..fdff935aa468bb19ab30d1fe3babbb3a9482be6d 100644 --- a/civicrm/ext/search_kit/css/crmSearchDisplay.css +++ b/civicrm/ext/search_kit/css/crmSearchDisplay.css @@ -20,6 +20,10 @@ width: 60px; } +#bootstrap-theme .crm-search-display button.dropdown-toggle { + white-space: nowrap; +} + /* Loading placeholders */ #bootstrap-theme .crm-search-loading-placeholder { height: 2em; @@ -48,3 +52,7 @@ left: 100%; } } + +#bootstrap-theme .crm-search-display ul.pagination > li { + margin: 0; +} diff --git a/civicrm/ext/search_kit/css/crmSearchDisplayTable.css b/civicrm/ext/search_kit/css/crmSearchDisplayTable.css index 12ddb19010e46189fc874cc271a6d53d0e42dcbf..331e8bebb16d49b7e22952df70e48144e65531f8 100644 --- a/civicrm/ext/search_kit/css/crmSearchDisplayTable.css +++ b/civicrm/ext/search_kit/css/crmSearchDisplayTable.css @@ -12,3 +12,8 @@ #bootstrap-theme .crm-search-display.crm-search-display-table tfoot > tr > td { font-weight: bold; } + +table.crm-sticky-header > thead > tr { + position: sticky !important; + top: var(--crm-menubar-bottom, 0px); +} diff --git a/civicrm/ext/search_kit/info.xml b/civicrm/ext/search_kit/info.xml index 9b6156bb2a6a0f7ce161852fe0442530b10bba7e..bbd0fd112aad6370e9a2584c4a567248dff68314 100644 --- a/civicrm/ext/search_kit/info.xml +++ b/civicrm/ext/search_kit/info.xml @@ -15,13 +15,13 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2021-01-06</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <develStage>stable</develStage> <tags> <tag>mgmt:required</tag> </tags> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <comments>Click on the chat link above to discuss development, report problems or ask questions.</comments> <classloader> diff --git a/civicrm/ext/search_kit/managed/SearchDisplayType.mgd.php b/civicrm/ext/search_kit/managed/SearchDisplayType.mgd.php index 55e4e32504a777b45179c1c6806b11818d9cad12..9949a1d7704a71da0abfa88b5f671b2fcd9b4e63 100644 --- a/civicrm/ext/search_kit/managed/SearchDisplayType.mgd.php +++ b/civicrm/ext/search_kit/managed/SearchDisplayType.mgd.php @@ -109,4 +109,25 @@ return [ 'match' => ['option_group_id', 'name'], ], ], + [ + 'name' => 'SearchDisplayType:entity', + 'entity' => 'OptionValue', + 'cleanup' => 'always', + 'update' => 'always', + 'params' => [ + 'version' => 4, + 'values' => [ + 'option_group_id.name' => 'search_display_type', + 'value' => 'entity', + 'name' => 'crm-search-display-entity', + 'label' => E::ts('DB Entity'), + 'description' => E::ts('Saves the search results in a database table which can be accessed with SearchKit, the API, or SQL-based tools.'), + 'icon' => 'fa-database', + 'is_reserved' => TRUE, + 'is_active' => TRUE, + 'domain_id' => NULL, + ], + 'match' => ['option_group_id', 'name'], + ], + ], ]; diff --git a/civicrm/ext/search_kit/search_kit.php b/civicrm/ext/search_kit/search_kit.php index a17a0e35e9eff0b5a47c64f8f3d546e15c3274ea..1347c6f4020ce37d3fd69afcebaf40ab88de8eba 100644 --- a/civicrm/ext/search_kit/search_kit.php +++ b/civicrm/ext/search_kit/search_kit.php @@ -109,3 +109,58 @@ function search_kit_civicrm_post($op, $entity, $id, $object) { \Civi::cache('metadata')->clear(); } } + +/** + * Implements hook_civicrm_entityTypes(). + */ +function search_kit_civicrm_entityTypes(array &$entityTypes): void { + foreach (_getSearchKitEntityDisplays() as $display) { + $entityTypes[$display['entityName']] = [ + 'name' => $display['entityName'], + 'class' => \Civi\BAO\SK_Entity::class, + 'table' => $display['tableName'], + ]; + } +} + +/** + * Returns a SQL-safe table name for a display (for use with displays of type "entity") + * + * @param string $displayName + * @return string + */ +function _getSearchKitDisplayTableName(string $displayName): string { + return CRM_Utils_String::munge('civicrm_sk_' . CRM_Utils_String::convertStringToSnakeCase($displayName), '_', 64); +} + +/** + * Uncached function to fetch displays of type "entity" to be used by boot-level code + * + * @return array + * @throws CRM_Core_Exception + */ +function _getSearchKitEntityDisplays(): array { + $displays = []; + // Can't use the API to fetch search displays because this is called by pre-boot hooks + $select = CRM_Utils_SQL_Select::from('civicrm_search_display') + ->where('type = "entity"') + ->select(['id', 'name', 'label', 'settings']); + try { + $display = CRM_Core_DAO::executeQuery($select->toSQL()); + while ($display->fetch()) { + $displays[] = [ + 'id' => $display->id, + 'label' => $display->label, + 'name' => $display->name, + 'entityName' => 'SK_' . $display->name, + 'tableName' => _getSearchKitDisplayTableName($display->name), + 'settings' => CRM_Core_DAO::unSerializeField($display->settings, \CRM_Core_DAO::SERIALIZE_JSON), + ]; + } + } + // If the extension hasn't fully installed and the table doesn't exist yet, suppress errors + catch (CRM_Core_Exception $e) { + return []; + } + return $displays; +} diff --git a/civicrm/ext/search_kit/tests/phpunit/Civi/Search/AdminTest.php b/civicrm/ext/search_kit/tests/phpunit/Civi/Search/AdminTest.php index 2bd83b68b54f36335eea88e6e56afcaacdbaf060..7093a165ec594e70ffb787b0e5d6b8f0e2e6bd59 100644 --- a/civicrm/ext/search_kit/tests/phpunit/Civi/Search/AdminTest.php +++ b/civicrm/ext/search_kit/tests/phpunit/Civi/Search/AdminTest.php @@ -126,4 +126,22 @@ class AdminTest extends \PHPUnit\Framework\TestCase implements HeadlessInterface $this->assertCount(1, $optionValueToGroup); } + public function testEntityRefGetJoins(): void { + \Civi\Api4\CustomGroup::create()->setValues([ + 'title' => 'EntityRefFields', + 'extends' => 'Individual', + ])->execute(); + \Civi\Api4\CustomField::create()->setValues([ + 'label' => 'Favorite Nephew', + 'name' => 'favorite_nephew', + 'custom_group_id.name' => 'EntityRefFields', + 'html_type' => 'Autocomplete-Select', + 'data_type' => 'EntityReference', + 'fk_entity' => 'Contact', + ])->execute(); + $allowedEntities = Admin::getSchema(); + $joins = Admin::getJoins($allowedEntities); + $this->assertContains('Contact Favorite Nephew', array_column($joins['Contact'], 'label')); + } + } diff --git a/civicrm/ext/search_kit/tests/phpunit/api/v4/SearchDisplay/EntityDisplayTest.php b/civicrm/ext/search_kit/tests/phpunit/api/v4/SearchDisplay/EntityDisplayTest.php new file mode 100644 index 0000000000000000000000000000000000000000..d4eb1eb8bf42270530204b9b1ea0a6d0ec0b1492 --- /dev/null +++ b/civicrm/ext/search_kit/tests/phpunit/api/v4/SearchDisplay/EntityDisplayTest.php @@ -0,0 +1,114 @@ +<?php + +namespace api\v4\SearchDisplay; + +// Not sure why this is needed but without it Jenkins crashed +require_once __DIR__ . '/../../../../../../../tests/phpunit/api/v4/Api4TestBase.php'; + +use api\v4\Api4TestBase; +use Civi\Api4\SearchDisplay; +use Civi\Test\CiviEnvBuilder; + +/** + * @group headless + */ +class EntityDisplayTest extends Api4TestBase { + + public function setUpHeadless(): CiviEnvBuilder { + return \Civi\Test::headless() + ->installMe(__DIR__) + ->apply(); + } + + public function testEntityDisplay() { + $lastName = uniqid(__FUNCTION__); + + $this->saveTestRecords('Contact', [ + 'records' => [ + ['last_name' => $lastName, 'first_name' => 'c', 'prefix_id:name' => 'Ms.'], + ['last_name' => $lastName, 'first_name' => 'b', 'prefix_id:name' => 'Dr.'], + ['last_name' => $lastName, 'first_name' => 'a'], + ], + ]); + + $savedSearch = $this->createTestRecord('SavedSearch', [ + 'label' => __FUNCTION__, + 'api_entity' => 'Contact', + 'api_params' => [ + 'version' => 4, + 'select' => ['id', 'first_name', 'last_name', 'prefix_id:label'], + 'where' => [['last_name', '=', $lastName]], + ], + ]); + + $display = SearchDisplay::create(FALSE) + ->addValue('saved_search_id', $savedSearch['id']) + ->addValue('type', 'entity') + ->addValue('label', 'MyNewEntity') + ->addValue('name', 'MyNewEntity') + ->addValue('settings', [ + 'columns' => [ + [ + 'key' => 'id', + 'label' => 'Contact ID', + 'type' => 'field', + ], + [ + 'key' => 'first_name', + 'label' => 'First Name', + 'type' => 'field', + ], + [ + 'key' => 'last_name', + 'label' => 'Last Name', + 'type' => 'field', + ], + [ + 'key' => 'prefix_id:label', + 'label' => 'Prefix', + 'type' => 'field', + ], + ], + 'sort' => [ + ['first_name', 'ASC'], + ], + ]) + ->execute()->first(); + + $schema = \CRM_Core_DAO::executeQuery('DESCRIBE civicrm_sk_my_new_entity')->fetchAll(); + $this->assertCount(5, $schema); + $this->assertEquals('_row', $schema[0]['Field']); + $this->assertStringStartsWith('int', $schema[0]['Type']); + $this->assertEquals('PRI', $schema[0]['Key']); + + $rows = \CRM_Core_DAO::executeQuery('SELECT * FROM civicrm_sk_my_new_entity')->fetchAll(); + $this->assertCount(0, $rows); + + civicrm_api4('SK_MyNewEntity', 'refresh'); + + $rows = \CRM_Core_DAO::executeQuery('SELECT * FROM civicrm_sk_my_new_entity ORDER BY `_row`')->fetchAll(); + $this->assertCount(3, $rows); + $this->assertEquals('a', $rows[0]['first_name']); + $this->assertEquals('c', $rows[2]['first_name']); + + // Add a contact + $this->createTestRecord('Contact', [ + 'last_name' => $lastName, + 'first_name' => 'b2', + ]); + civicrm_api4('SK_MyNewEntity', 'refresh'); + + $rows = civicrm_api4('SK_MyNewEntity', 'get', [ + 'select' => ['first_name', 'prefix_id:label'], + 'orderBy' => ['_row' => 'ASC'], + ]); + $this->assertCount(4, $rows); + $this->assertEquals('a', $rows[0]['first_name']); + $this->assertEquals('Dr.', $rows[1]['prefix_id:label']); + $this->assertEquals('b', $rows[1]['first_name']); + $this->assertEquals('b2', $rows[2]['first_name']); + $this->assertEquals('c', $rows[3]['first_name']); + $this->assertEquals('Ms.', $rows[3]['prefix_id:label']); + } + +} diff --git a/civicrm/ext/search_kit/tests/phpunit/api/v4/SearchDisplay/SearchRunWithCustomFieldTest.php b/civicrm/ext/search_kit/tests/phpunit/api/v4/SearchDisplay/SearchRunWithCustomFieldTest.php index 9497758b102494e537e431f985a65c39866d6608..5096e3f03cfaf093ed13245d507759419e4380f0 100644 --- a/civicrm/ext/search_kit/tests/phpunit/api/v4/SearchDisplay/SearchRunWithCustomFieldTest.php +++ b/civicrm/ext/search_kit/tests/phpunit/api/v4/SearchDisplay/SearchRunWithCustomFieldTest.php @@ -453,4 +453,54 @@ class SearchRunWithCustomFieldTest extends CustomTestBase { $this->assertEquals("$lastName zero", $result[1]['columns'][1]['val']); } + public function testEntityReferenceJoins() { + CustomGroup::create()->setValues([ + 'title' => 'EntityRefFields', + 'extends' => 'Individual', + ])->execute(); + CustomField::create()->setValues([ + 'label' => 'Favorite Nephew', + 'name' => 'favorite_nephew', + 'custom_group_id.name' => 'EntityRefFields', + 'html_type' => 'Autocomplete-Select', + 'data_type' => 'EntityReference', + 'fk_entity' => 'Contact', + ])->execute(); + $nephewId = $this->createTestRecord('Contact', ['first_name' => 'Dewey', 'last_name' => 'Duck'])['id']; + $uncleId = $this->createTestRecord('Contact', ['first_name' => 'Donald', 'last_name' => 'Duck', 'EntityRefFields.favorite_nephew' => $nephewId])['id']; + $contact = Contact::get(FALSE) + ->addSelect('first_name', 'EntityRefFields.favorite_nephew.first_name') + ->addWhere('id', '=', $uncleId) + ->execute() + ->first(); + $this->assertEquals('Donald', $contact['first_name']); + $this->assertEquals('Dewey', $contact['EntityRefFields.favorite_nephew.first_name']); + + $params = [ + 'checkPermissions' => FALSE, + 'return' => 'page:1', + 'savedSearch' => [ + 'api_entity' => 'Contact', + 'api_params' => [ + 'version' => 4, + 'select' => ['EntityRefFields.favorite_nephew.first_name'], + 'where' => [['id', '=', $uncleId]], + ], + "join" => [ + [ + "Contact+AS+Contact_Contact_favorite_nephew_01", + "LEFT", + [ + "EntityRefFields.favorite_nephew", + "=", + "Contact_Contact_favorite_nephew_01.id", + ], + ], + ], + ], + ]; + $result = civicrm_api4('SearchDisplay', 'run', $params); + $this->assertEquals('Dewey', $result[0]['columns'][0]['val']); + } + } diff --git a/civicrm/ext/sequentialcreditnotes/info.xml b/civicrm/ext/sequentialcreditnotes/info.xml index 9ca1f42c8ec696bc2747a70153229f27ca12985a..83ce9182d4a99685c743037d6b5fbf4160737ed8 100644 --- a/civicrm/ext/sequentialcreditnotes/info.xml +++ b/civicrm/ext/sequentialcreditnotes/info.xml @@ -15,13 +15,13 @@ <url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url> </urls> <releaseDate>2020-01-28</releaseDate> - <version>5.62.1</version> + <version>5.63.0</version> <tags> <tag>mgmt:hidden</tag> </tags> <develStage>stable</develStage> <compatibility> - <ver>5.62</ver> + <ver>5.63</ver> </compatibility> <mixins> <mixin>setting-php@1.0.0</mixin> diff --git a/civicrm/install/template.html b/civicrm/install/template.html index eb12944d220edf6b705eb18a9b4fbcd713cc5080..3d208c1a97679ccc3ec5fdf80f1ec5ddc65f3e70 100644 --- a/civicrm/install/template.html +++ b/civicrm/install/template.html @@ -132,7 +132,7 @@ if ($text_direction == 'rtl') { <p> <label for="loadGenerated"><span>Load sample data:</span><input id="loadGenerated" type="checkbox" name="loadGenerated" value=1 <?php if ( $loadGenerated == 1 ) { echo "checked='checked'"; } ?> /></label> <br /> - <span class="testResults">Check this box to pre-populate CiviCRM with sample English contact records, online contribution pages, profile forms, etc. These examples can help you learn about CiviCRM features.</span><br /> + <span class="testResults">Fill the database with randomly-generated individuals, organizations, households, contributions, activities, etc. (English only). Sample data is mainly used for demo and testing sites, not for real installs.</span><br /> </p> <p style="margin-left: 2em"><button type="submit"><?php echo ts('Re-check requirements', ['escape' => 'js']); ?></button></p> diff --git a/civicrm/js/crm.menubar.js b/civicrm/js/crm.menubar.js index 9cfa4caeac4c05f9316cc939113d0a4e3f258739..f6d1bb9cba1f252533aa9ae061287c33f0929b9e 100644 --- a/civicrm/js/crm.menubar.js +++ b/civicrm/js/crm.menubar.js @@ -101,11 +101,13 @@ if (typeof speed === 'number') { $('#civicrm-menu').slideDown(speed, function() { $(this).css('display', ''); + handleResize(); }); } $('body') .removeClass('crm-menubar-hidden') .addClass('crm-menubar-visible'); + handleResize(); }, hide: function(speed, showMessage) { if (typeof speed === 'number') { @@ -116,6 +118,7 @@ $('body') .addClass('crm-menubar-hidden') .removeClass('crm-menubar-visible'); + document.documentElement.style.setProperty('--crm-menubar-bottom', '0px'); if (showMessage === true && $('#crm-notification-container').length && initialized) { var alert = CRM.alert('<a href="#" id="crm-restore-menu" >' + _.escape(ts('Restore CiviCRM Menu')) + '</a>', ts('Menu hidden'), 'none', {expires: 10000}); $('#crm-restore-menu') @@ -503,6 +506,7 @@ } else { $('body').removeClass('crm-menubar-wrapped'); } + document.documentElement.style.setProperty('--crm-menubar-bottom', ($('#civicrm-menu').height() + $('#civicrm-menu').position().top) + 'px'); } // Figure out if we've hit the mobile breakpoint, based on the rule in crm-menubar.css diff --git a/civicrm/mixin/scan-classes@1/mixin.php b/civicrm/mixin/scan-classes@1/mixin.php index f23dabaf523a95c012099c0a252cb1de32e77e77..5918db4095bf322442fdd1179a259eb65a6aa427 100644 --- a/civicrm/mixin/scan-classes@1/mixin.php +++ b/civicrm/mixin/scan-classes@1/mixin.php @@ -18,11 +18,12 @@ * - Class files never have multiple dots in the name. ("CRM/Foo.php" is a class; "CRM/Foo.bar.php" is not). * - The ONLY files which match these patterns are STRICTLY class files. * - The ONLY classes which match these patterns are SAFE/INTENDED for use with `hook_scanClasses`. + * - Test directories are not scanned in version 1.1+. See https://github.com/civicrm/civicrm-core/pull/26157 * * To minimize unintended activations, this only loads Civi interfaces. It skips other interfaces. * * @mixinName scan-classes - * @mixinVersion 1.0.0 + * @mixinVersion 1.1.0 * @since 5.52 * * @param CRM_Extension_MixInfo $mixInfo @@ -35,6 +36,9 @@ * @param \CRM_Extension_MixInfo $mixInfo * @param \CRM_Extension_BootCache $bootCache */ + +use Civi\Core\ClassScanner; + return function ($mixInfo, $bootCache) { /** * @param \Civi\Core\Event\GenericHookEvent $event @@ -44,20 +48,16 @@ return function ($mixInfo, $bootCache) { return; } - $cache = \Civi\Core\ClassScanner::cache('structure'); + $cache = ClassScanner::cache('structure'); $cacheKey = $mixInfo->longName; $all = $cache->get($cacheKey); if ($all === NULL) { $baseDir = CRM_Utils_File::addTrailingSlash($mixInfo->getPath()); $all = []; - \Civi\Core\ClassScanner::scanFolders($all, $baseDir, 'CRM', '_'); - \Civi\Core\ClassScanner::scanFolders($all, $baseDir, 'Civi', '\\'); - if (defined('CIVICRM_TEST')) { - \Civi\Core\ClassScanner::scanFolders($all, "$baseDir/tests/phpunit", 'CRM', '_'); - \Civi\Core\ClassScanner::scanFolders($all, "$baseDir/tests/phpunit", 'Civi', '\\'); - } - $cache->set($cacheKey, $all, \Civi\Core\ClassScanner::TTL); + ClassScanner::scanFolders($all, $baseDir, 'CRM', '_'); + ClassScanner::scanFolders($all, $baseDir, 'Civi', '\\'); + $cache->set($cacheKey, $all, ClassScanner::TTL); } $event->classes = array_merge($event->classes, $all); diff --git a/civicrm/packages/PHPgettext/streams.php b/civicrm/packages/PHPgettext/streams.php index 00cf6cc5568bd31589ce47ddc22d6aea1d079d9d..57b210b9ed5531c7a786f90e593bb6da10d757ba 100644 --- a/civicrm/packages/PHPgettext/streams.php +++ b/civicrm/packages/PHPgettext/streams.php @@ -85,6 +85,7 @@ class FileReader { var $_pos; var $_fd; var $_length; + var $error; function __construct($filename) { if (file_exists($filename)) { diff --git a/civicrm/release-notes.md b/civicrm/release-notes.md index 88e25dc072bfacefb5b351ca7dba085c08c2909d..6a71f8909adabc6cc18aa4b6c7a39a9ae443cff5 100644 --- a/civicrm/release-notes.md +++ b/civicrm/release-notes.md @@ -15,14 +15,16 @@ Other resources for identifying changes are: * https://github.com/civicrm/civicrm-joomla * https://github.com/civicrm/civicrm-wordpress -## CiviCRM 5.62.1 +## CiviCRM 5.63.0 -Released June 16, 2023 +Released July 5, 2023 -- **[Synopsis](release-notes/5.62.1.md#synopsis)** -- **[Bugs resolved](release-notes/5.62.1.md#bugs)** -- **[Credits](release-notes/5.62.1.md#credits)** -- **[Feedback](release-notes/5.62.1.md#feedback)** +- **[Synopsis](release-notes/5.63.0.md#synopsis)** +- **[Features](release-notes/5.63.0.md#features)** +- **[Bugs resolved](release-notes/5.63.0.md#bugs)** +- **[Miscellany](release-notes/5.63.0.md#misc)** +- **[Credits](release-notes/5.63.0.md#credits)** +- **[Feedback](release-notes/5.63.0.md#feedback)** ## CiviCRM 5.62.0 diff --git a/civicrm/release-notes/5.62.0.md b/civicrm/release-notes/5.62.0.md index b1142d26eace374b43e39d5d70e5b371ed162544..740881dd73be5d95500c28bc24686e46b5c12779 100644 --- a/civicrm/release-notes/5.62.0.md +++ b/civicrm/release-notes/5.62.0.md @@ -231,10 +231,6 @@ Released June 7, 2023 - **APIv4 - Enforce custom group permissions when loading metadata ([25920](https://github.com/civicrm/civicrm-core/pull/25920))** -- **APIv4 - Column in `ORDER` clause is ambiguous - ([dev/core#4330](https://lab.civicrm.org/dev/core/-/issues/4330): - [26437](https://github.com/civicrm/civicrm-core/pull/26437))** - - **APIv4 Explorer - Don't translate empty strings ([26332](https://github.com/civicrm/civicrm-core/pull/26332))** diff --git a/civicrm/release-notes/5.62.1.md b/civicrm/release-notes/5.62.1.md deleted file mode 100644 index c0086208bddf263119921d4804a1d6dc93b0a531..0000000000000000000000000000000000000000 --- a/civicrm/release-notes/5.62.1.md +++ /dev/null @@ -1,42 +0,0 @@ -# CiviCRM 5.62.1 - -Released June 16, 2023 - -- **[Synopsis](#synopsis)** -- **[Bugs resolved](#bugs)** -- **[Credits](#credits)** -- **[Feedback](#feedback)** - -## <a name="synopsis"></a>Synopsis - -| *Does this version...?* | | -| --------------------------------------------------------------- | -------- | -| Change the database schema? | no | -| Alter the API? | no | -| Require attention to configuration options? | no | -| Fix problems installing or upgrading to a previous version? | no | -| Introduce features? | no | -| **Fix bugs?** | **yes** | -| Fix security vulnerabilities? | no | - -## <a name="bugs"></a>Bugs resolved - -* **_CiviMail_: Click-through URLs broken on WordPress ([dev/core#4363](https://lab.civicrm.org/dev/core/-/issues/4363): [wordpress#296](https://github.com/civicrm/civicrm-wordpress/pull/296))** -* **_CiviMember_: Discounts not applied to memberships ([dev/core#4352](https://lab.civicrm.org/dev/core/-/issues/4352): [#26538](https://github.com/civicrm/civicrm-core/pull/26538))** -* **_CiviMember_: Membership block displayed unnecessarily ([#26541](https://github.com/civicrm/civicrm-core/pull/26541))** - -## <a name="credits"></a>Credits - -This release was developed by the following authors and reviewers: - -Wildsight - Lars Sander-Green; Wikimedia Foundation - Eileen McNaughton; Tadpole -Collective - Kevin Cristiano; Michael Labriola; Megaphone Technology Consulting - Jon -Goldberg; JMA Consulting - Seamus Lee; CiviCRM - Coleman Watts, Tim Otten; Calibrate - -Wouter Hechtermans; ASMAC (American Society of Music Arrangers and Composers) - Jeff -Kellem - -## <a name="feedback"></a>Feedback - -These release notes are edited by Tim Otten and Andie Hunt. If you'd like to -provide feedback on them, please login to https://chat.civicrm.org/civicrm and -contact `@agh1`. diff --git a/civicrm/release-notes/5.63.0.md b/civicrm/release-notes/5.63.0.md new file mode 100644 index 0000000000000000000000000000000000000000..10153f486edd2268b611683e43bf93752887740f --- /dev/null +++ b/civicrm/release-notes/5.63.0.md @@ -0,0 +1,985 @@ +# CiviCRM 5.63.0 + +Released July 5, 2023 + +- **[Synopsis](#synopsis)** +- **[Features](#features)** +- **[Bugs resolved](#bugs)** +- **[Miscellany](#misc)** +- **[Credits](#credits)** +- **[Feedback](#feedback)** + +## <a name="synopsis"></a>Synopsis + +| *Does this version...?* | | +|:--------------------------------------------------------------- |:-------:| +| Fix security vulnerabilities? | no | +| **Change the database schema?** | **yes** | +| **Alter the API?** | **yes** | +| Require attention to configuration options? | no | +| Fix problems installing or upgrading to a previous version? | no | +| **Introduce features?** | **yes** | +| **Fix bugs?** | **yes** | + +## <a name="features"></a>Features + +### CiviCRM Core + +- **Update backend footer + ([dev/core#3920](https://lab.civicrm.org/dev/core/-/issues/3920): + [26167](https://github.com/civicrm/civicrm-core/pull/26167) and + [26194](https://github.com/civicrm/civicrm-core/pull/26194))** + + Updates backend civicrm footer. + +- **APIv4 - Add Group.cache_expired calculated field and Group::refresh action + ([26357](https://github.com/civicrm/civicrm-core/pull/26357))** + + Adds to APIv4 a way to check if a smart group needs refreshing, and a method + to refresh it. + +- **Authx - Add APIv4 support for creating and validating credentials + ([26044](https://github.com/civicrm/civicrm-core/pull/26044))** + + Adds APIv4 support for creating and validating Authx credentials. + +- **Api4: add calculated field `contact_count` to Group + ([26313](https://github.com/civicrm/civicrm-core/pull/26313))** + + Adds a calculated field 'contact_countto theGroup.get()` APIv4 which provides + the current count of 'added' group members and smart group members. Note this + does not rebuild the group cache so smart group counts may be out of date or + zero. + +- **APIv4 - Simplify bridge joins + ([26129](https://github.com/civicrm/civicrm-core/pull/26129))** + + Makes bridge joins more efficient in SearchKit, and the APIv4 + code easier to work with. + +- **Apiv4 entity parity + ([dev/core#2486](https://lab.civicrm.org/dev/core/-/issues/2486): + [26300](https://github.com/civicrm/civicrm-core/pull/26300))** + + Adds `BounceType` and `BouncePattern` APIv4 entities. + +- **Speed up Download Spreadsheet from SearchKit results + ([26214](https://github.com/civicrm/civicrm-core/pull/26214))** + + Speeds up downloading of spreadsheets from searchkit. + +- **SearchKit - Add display of type `entity` + ([25871](https://github.com/civicrm/civicrm-core/pull/25871))** + + Adds a new display type "entity" which does not produce user-facing output, + instead it writes to a SQL table which can then be queried from SearchKit, + the API, or other SQL-based tools like Drupal Views. + +- **SearchKit: Tweak order and text for select All, This Page, None + ([26385](https://github.com/civicrm/civicrm-core/pull/26385))** + + Improves usability of SearchKit select: "all", "none" or "this page" options. + +- **SearchKit - Add sticky table header style + ([26330](https://github.com/civicrm/civicrm-core/pull/26330))** + + Adds a "sticky" header option to SearchKit. + +- **Make sql function IFNULL available in APIv4 and SearchKit + ([26304](https://github.com/civicrm/civicrm-core/pull/26304))** + + Makes the sql function IF NULL available in APIv4 and SearchKit. + +- **Add NOT CONTAINS to API and SK + ([26366](https://github.com/civicrm/civicrm-core/pull/26366))** + + Adds 'NOT CONTAINS' to APIv4 and SearchKit. + +- **SearchKit - Add caret icon to dropdown menus, tweak defaults + ([26331](https://github.com/civicrm/civicrm-core/pull/26331))** + + Adds a caret icon to dropdown menus to clarify their function, and tweaks the + defaults to the standard used by the AdminUI extension (xs size, no text). + Adds css rule to prevent line breaks inside the button. + +- **SearchKit - Add task to refresh smart/parent group cache + ([26393](https://github.com/civicrm/civicrm-core/pull/26393))** + + Adds a task to refresh smart/parent group cache (and fixes the success message + to give the correct count). + +- **Use select2 for template on New Email, Scheduled Reminders, SMS & PDF Letter + ([26461](https://github.com/civicrm/civicrm-core/pull/26461))** + + Updates a few fields to use select2 instead of select. + +- **Support for accessing Contribution Recur tokens when a membership or + contribution is referenced + ([dev/core#4123](https://lab.civicrm.org/dev/core/-/issues/4123): + [25563](https://github.com/civicrm/civicrm-core/pull/25563))** + + Adds support for using {contribution.contribution_recur_id.x} or + {membership.contribution_recur_id.x} tokens + +- **Proposal: Create stub extensions for civicrm core + all components (Work + Towards [dev/core#3961](https://lab.civicrm.org/dev/core/-/issues/3961): + [26256](https://github.com/civicrm/civicrm-core/pull/26256) and + [26036](https://github.com/civicrm/civicrm-core/pull/26036))** + + Creates stub extensions for all components and modifys psr-0 namespaces of + component extensions to match core. + +- **Add support for loading ECMAScript Modules (ESM) + ([dev/core#4279](https://lab.civicrm.org/dev/core/-/issues/4279): + [26309](https://github.com/civicrm/civicrm-core/pull/26309) and + [26195](https://github.com/civicrm/civicrm-core/pull/26195))** + + Adds support for ECMAScript Modules. + +- **Installer - Clarify the function and purpose of sample data + ([26345](https://github.com/civicrm/civicrm-core/pull/26345))** + + Improves the help text for the "Load Sample Data" checkbox when Installing + CiviCRM. + +- **Add some weights to menu link items + ([26241](https://github.com/civicrm/civicrm-core/pull/26241), + [26280](https://github.com/civicrm/civicrm-core/pull/26280), + [26250](https://github.com/civicrm/civicrm-core/pull/26250) and + [26244](https://github.com/civicrm/civicrm-core/pull/26244))** + + Adds some weights to core menu items. + +- **Add weight to links spec + ([26233](https://github.com/civicrm/civicrm-core/pull/26233))** + + Makes it so extension developers can add weights to alter link order in an + extension. + +- **Add is_active to link spec + ([26255](https://github.com/civicrm/civicrm-core/pull/26255))** + + Adds an is active setting to links. + +- **Add deceased date token + ([26234](https://github.com/civicrm/civicrm-core/pull/26234))** + + Adds a deceased date token. + +- **AdminUI: updates to Custom Group & Field + ([26329](https://github.com/civicrm/civicrm-core/pull/26329))** + + Enhances the Administer Custom Group and Field pages in the AdminUI extension. + +- **AdminUI - add Scheduled Jobs page + ([26060](https://github.com/civicrm/civicrm-core/pull/26060))** + + Adds the Scheduled Jobs settings page to AdminUI extension. + +- **AdminUI: add Manage Contribution Pages + ([24937](https://github.com/civicrm/civicrm-core/pull/24937))** + + Adds the Manage Contribution Pages to AdminUI extension + +- **Alternate Manage groups in Admin UI extension + ([26261](https://github.com/civicrm/civicrm-core/pull/26261))** + + Adds "Manage group" page to the Admin UI extension. + +- **FormBuilder: add 'Copy' button + ([26071](https://github.com/civicrm/civicrm-core/pull/26071))** + + Adds a Copy button to FormBuilder so users can create a new item with a copy + of the previous item's values. + +- **Clean up Scheduled Jobs admin page + ([26317](https://github.com/civicrm/civicrm-core/pull/26317))** + + Improves user experience on Scheduled Jobs page. + +- **Improve Past Groups table on Contact Groups tab + ([24705](https://github.com/civicrm/civicrm-core/pull/24705))** + + Improves user experience on the Contact Groups tab. + +- **😵 Disambiguate "Source" field by showing the context of the source, ie. + Membership, Participant, Contribution, Contact etc. + ([25987](https://github.com/civicrm/civicrm-core/pull/25987) and + [26173](https://github.com/civicrm/civicrm-core/pull/26173))** + + Improves user experience for Source fields by clarifying which entity the + source field is on. + +- **Remove form rule for Contribution Page and Event titles preventing / + ([26249](https://github.com/civicrm/civicrm-core/pull/26249))** + + Allows "/" in Contribution Page and Event Titles. + +### CiviContribute + +- **Change "Contribution Received Date" to be "Contribution date" where is + exists and basically sort this Contribution dates mess out once and for all + ([dev/core#1403](https://lab.civicrm.org/dev/core/-/issues/1403): + [26145](https://github.com/civicrm/civicrm-core/pull/26145))** + + Updates the Contribution receive_date title/label from "Date Received" to + "Contribution Date" so it's clear that the date is the contribution date. Also, + the receive_date description /comment has been removed. + +- **Show next scheduled contribution date for recurring contributions on contact + ([dev/core#4258](https://lab.civicrm.org/dev/core/-/issues/4258): + [26151](https://github.com/civicrm/civicrm-core/pull/26151))** + + Adds the next scheduled contribution date to the "Contributions" -> "Recurring + Contributions" tab on the contact summary. + +- **Make frontend_title consistently required and use it in all front end + presentations + ([dev/core#4213](https://lab.civicrm.org/dev/core/-/issues/4213): + [26259](https://github.com/civicrm/civicrm-core/pull/26259))** + + Makes the contribution page `frontend_title` field required. + +- **Add default payment method for additional payment or refund + ([26116](https://github.com/civicrm/civicrm-core/pull/26116))** + + Sets default payment method for additional payment and refund forms based on + original contribution payment method. + +### CiviEvent + +- **Move event payment to the confirmation page + ([24781](https://github.com/civicrm/civicrm-core/pull/24781))** + + Provides the option to move the payment processor onto the "Confirm" page for + events. + +- **Make event registration cancellation email optional for back office + cancellation ([25207](https://github.com/civicrm/civicrm-core/pull/25207))** + + Adds a "Send Confirmation Email?" checkbox on back office event registration + cancellation form. + +- **Simplify messaging for event confirm page + ([26469](https://github.com/civicrm/civicrm-core/pull/26469))** + + Simplifies messaging on the event confirmation page. + +- **Additional event tokens + ([26216](https://github.com/civicrm/civicrm-core/pull/26216))** + + Adds tokens for location block contact information (phone, email, address). + +- **Show Event Info at bottom of Registration Confirm & Fee Info above Payment + ([26431](https://github.com/civicrm/civicrm-core/pull/26431))** + + Reorganizes the event confirmation page to show the most important information + first. + +### CiviMail + +- **Allow double opt-in email (and other emails that you don't want a reply + from) to use a user configured "mail from" address + ([dev/core#4273](https://lab.civicrm.org/dev/core/-/issues/4273): + [26180](https://github.com/civicrm/civicrm-core/pull/26180))** + + Allows configuration of a "mail from" email address for double opt in emails + and other emails you do not want a reply from. + +- **Order mailings for selects in search and reports by id DESC + ([26436](https://github.com/civicrm/civicrm-core/pull/26436))** + + Orders mailing selects by id DESC so they are displayed in chronological + order, so most recent mailings show up first, instead of by name. + +- **Mailing Report: when scheduled, displays stats so that we can see recipient + count and scheduled date + ([26378](https://github.com/civicrm/civicrm-core/pull/26378))** + + Displays stats for scheduled mailings on the mailing report. + +- **Add Mailing view and preview paths to schema + ([26342](https://github.com/civicrm/civicrm-core/pull/26342))** + + Adds Mailing view and preview paths to schema so they can be easily accessed + in the SearchKit UI. + +### CiviMember + +- **Membership Type: allow changing the relationships even if there is data + ([26274](https://github.com/civicrm/civicrm-core/pull/26274))** + + Makes it so one can change the relationships that inherit a membership even if + there are existing contacts inheriting the membership. + +## <a name="bugs"></a>Bugs resolved + +### Core CiviCRM + +- **group.get API (v3- but lets fix for v4) fails to find groups of one + group_type if group has multiple types + ([dev/core#1321](https://lab.civicrm.org/dev/core/-/issues/1321): + [26068](https://github.com/civicrm/civicrm-core/pull/26068))** + +- **Drop-down (select-list) fields don't render if "Options per line" is set + ([dev/core#3815](https://lab.civicrm.org/dev/core/-/issues/3815): + [26415](https://github.com/civicrm/civicrm-core/pull/26415))** + +- **Merging contacts should not overwrite empty source + ([dev/core#3989](https://lab.civicrm.org/dev/core/-/issues/3989): + [26376](https://github.com/civicrm/civicrm-core/pull/26376))** + +- **Import "fill" doesn't respect location type for email/phone + ([dev/core#4278](https://lab.civicrm.org/dev/core/-/issues/4278): + [26158](https://github.com/civicrm/civicrm-core/pull/26158))** + +- **`{help}` tags that don't specify the `file` parameter no longer work on + windows ([dev/core#4281](https://lab.civicrm.org/dev/core/-/issues/4281): + [26164](https://github.com/civicrm/civicrm-core/pull/26164) and + [26285](https://github.com/civicrm/civicrm-core/pull/26285))** + +- **Allow deletion of primary email + ([dev/core#4284](https://lab.civicrm.org/dev/core/-/issues/4284): + [26198](https://github.com/civicrm/civicrm-core/pull/26198))** + +- **Fatal error with managed custom groups containing duplicate field names + ([dev/core#4286](https://lab.civicrm.org/dev/core/-/issues/4286): + [26237](https://github.com/civicrm/civicrm-core/pull/26237))** + +- **PHP 8 - Undefined variable warnings from Smarty appear in email + notifications + ([dev/core#4287](https://lab.civicrm.org/dev/core/-/issues/4287): + [26297](https://github.com/civicrm/civicrm-core/pull/26297) and + [26360](https://github.com/civicrm/civicrm-core/pull/26360))** + +- **Fatal errors in code that calls methods in `CRM_Dedupe_BAO_RuleGroup` in + 5.62+ ([dev/core#4302](https://lab.civicrm.org/dev/core/-/issues/4302): + [26307](https://github.com/civicrm/civicrm-core/pull/26307))** + +- **Implementing hook_civicrm_alterAngular breaks href attributes that include + some angular expressions + ([dev/core#4305](https://lab.civicrm.org/dev/core/-/issues/4305): + [26286](https://github.com/civicrm/civicrm-core/pull/26286) and + [26315](https://github.com/civicrm/civicrm-core/pull/26315))** + +- **Extra `<br>` tags inserted into rich text fields + ([dev/core#4325](https://lab.civicrm.org/dev/core/-/issues/4325): + [26386](https://github.com/civicrm/civicrm-core/pull/26386))** + +- **Searchkit: Download spreadsheet should use standard date format, not the + format set in Date Formats + ([dev/core#4031](https://lab.civicrm.org/dev/core/-/issues/4031): + [26211](https://github.com/civicrm/civicrm-core/pull/26211))** + +- **SearchKit - non-core legacy search tasks don't work with contributions + ([dev/core#4295](https://lab.civicrm.org/dev/core/-/issues/4295): + [26235](https://github.com/civicrm/civicrm-core/pull/26235))** + +- **SearchKit: Directive Filters can fail with non-privileged user + ([dev/core#4343](https://lab.civicrm.org/dev/core/-/issues/4343): + [26457](https://github.com/civicrm/civicrm-core/pull/26457))** + +- **Center SearchKit pagination + ([26389](https://github.com/civicrm/civicrm-core/pull/26389))** + +- **In searchkit, deleting a group parents inline doesn't work. + ([26200](https://github.com/civicrm/civicrm-core/pull/26200))** + +- **SearchKit: Entities that are no longer results of the search remain selected + ([dev/core#4274](https://lab.civicrm.org/dev/core/-/issues/4274): + [26341](https://github.com/civicrm/civicrm-core/pull/26341))** + +- **SearchKit - proper EntityRef joins + ([26192](https://github.com/civicrm/civicrm-core/pull/26192))** + +- **SearchKit: Don't show the pager unless it is needed + ([26395](https://github.com/civicrm/civicrm-core/pull/26395))** + +- **FormBuilder: don't make 'Primary' required + ([26272](https://github.com/civicrm/civicrm-core/pull/26272))** + +- **Can't edit Activity source, targets, assignees in FormBuilder + ([dev/core#4110](https://lab.civicrm.org/dev/core/-/issues/4110): + [25744](https://github.com/civicrm/civicrm-core/pull/25744))** + +- **Afform - Ensure checkboxes and radios are validated client-side + ([26123](https://github.com/civicrm/civicrm-core/pull/26123))** + +- **APIv4 - Fix Activity contact virtual fields to work across joins + ([26374](https://github.com/civicrm/civicrm-core/pull/26374))** + +- **APIv4 - Add metadata to `Group.children` column and `GroupNesting` entity + ([26352](https://github.com/civicrm/civicrm-core/pull/26352))** + +- **APIv4 - Fix html encoding of rich-text fields + ([26251](https://github.com/civicrm/civicrm-core/pull/26251))** + +- **APIv4 Explorer - Fix trailing whitespace + ([26340](https://github.com/civicrm/civicrm-core/pull/26340))** + +- **APIv4 - Fix CONTAINS operator to work with more types of serialized fields + ([26362](https://github.com/civicrm/civicrm-core/pull/26362))** + +- **APIv4 - Clarify specProvider code + ([26349](https://github.com/civicrm/civicrm-core/pull/26349))** + +- **AdminUI - Standardize button styles/labels + ([26394](https://github.com/civicrm/civicrm-core/pull/26394))** + +- **Component-Extensions - Ensure the initial activation list matches + ([26499](https://github.com/civicrm/civicrm-core/pull/26499))** + +- **Fix receive_date error saving on Edit Participant with Record Contribution + ([26388](https://github.com/civicrm/civicrm-core/pull/26388))** + +- **Get help text title from field label if htxt title is not provided + ([26265](https://github.com/civicrm/civicrm-core/pull/26265))** + +- **Remove unneeded description text on Campaign, Pledge, Tell a Friend, etc + ([26397](https://github.com/civicrm/civicrm-core/pull/26397))** + +- **Use dot to delimit log filename for domain ID + ([26443](https://github.com/civicrm/civicrm-core/pull/26443))** + +- **Metadata - Add missing html types/labels to the schema + ([26417](https://github.com/civicrm/civicrm-core/pull/26417))** + +- **description is wrong for permission to view notes that are marked for + author only ([26392](https://github.com/civicrm/civicrm-core/pull/26392))** + +- **Use Permission=FALSE when retrieving price sets in examples + ([26399](https://github.com/civicrm/civicrm-core/pull/26399))** + +- **Fix locale leaking into tokens + ([26179](https://github.com/civicrm/civicrm-core/pull/26179))** + +- **Remove deprecation from a hook that's actually uniquely useful + ([25628](https://github.com/civicrm/civicrm-core/pull/25628))** + +- **Fix Advanced search reset button formatting + ([26324](https://github.com/civicrm/civicrm-core/pull/26324))** + +- **Pass field specs out to alter functions + ([26387](https://github.com/civicrm/civicrm-core/pull/26387))** + +- **Metadata - Tag Group.refresh_date column as deprecated + ([26350](https://github.com/civicrm/civicrm-core/pull/26350))** + +- **PCP signup form - respect profile 'Add to Group' + ([25908](https://github.com/civicrm/civicrm-core/pull/25908))** + +- **Standardise casing on ids in WorkflowMessages + ([26281](https://github.com/civicrm/civicrm-core/pull/26281))** + +- **Clean up redundant descriptions and broken help on import forms + ([26290](https://github.com/civicrm/civicrm-core/pull/26290))** + +- **Save fields button on export screen is not permissioned + ([dev/core#2435](https://lab.civicrm.org/dev/core/-/issues/2435): + [26262](https://github.com/civicrm/civicrm-core/pull/26262))** + +- **Fix token boolean filter to work with money & use in templates + ([26254](https://github.com/civicrm/civicrm-core/pull/26254))** + +- **Remove unneeded descriptions or replace with help text from Edit + Contribution Page & Event + ([26257](https://github.com/civicrm/civicrm-core/pull/26257) and + [26291](https://github.com/civicrm/civicrm-core/pull/26291))** + +- **Stop escaping tableHeader in secure smarty mode + ([26168](https://github.com/civicrm/civicrm-core/pull/26168))** + +- **Use purify rather than escape to preserve currency + ([26133](https://github.com/civicrm/civicrm-core/pull/26133))** + +- **Fix problem with group.update api + ([26260](https://github.com/civicrm/civicrm-core/pull/26260))** + +- **Fix PHP warning on Export Contacts + ([26467](https://github.com/civicrm/civicrm-core/pull/26467))** + +- **fix fatal error on custom data import + ([26379](https://github.com/civicrm/civicrm-core/pull/26379))** + +- **Fix PHP8 warning on DedupeFind + ([26377](https://github.com/civicrm/civicrm-core/pull/26377))** + +- **Fix PHP8 warnings for AddToGroup + ([26165](https://github.com/civicrm/civicrm-core/pull/26165))** + +- **Notice fix on edit Household + ([26238](https://github.com/civicrm/civicrm-core/pull/26238))** + +- **SchemaHandler - Cleanup string handling and fix syntax error + ([26275](https://github.com/civicrm/civicrm-core/pull/26275))** + +- **Fix config is null on hooks + ([26178](https://github.com/civicrm/civicrm-core/pull/26178))** + +- **Removes obsolete "Serbia and Montenegro" on civicrm_country.tpl + ([26328](https://github.com/civicrm/civicrm-core/pull/26328) and + [26413](https://github.com/civicrm/civicrm-core/pull/26413))** + +### CiviCase + +- **Attachment uploader information is missing in case attachments + ([dev/core#4333](https://lab.civicrm.org/dev/core/-/issues/4333): + [26409](https://github.com/civicrm/civicrm-core/pull/26409))** + +- **[php8] fix Find Cases notices + ([26163](https://github.com/civicrm/civicrm-core/pull/26163))** + +### CiviContribute + +- **Only call transitionComponents when transitioning pending/pay later to + completed ([26228](https://github.com/civicrm/civicrm-core/pull/26228))** + +- **Don't show refund due when balance is owed on Additional Payments + ([26358](https://github.com/civicrm/civicrm-core/pull/26358))** + +- **Changing contribution financial type from non-deductible to deductible does + not change non-deductible amount, resulting in inability to issue tax receipts + ([dev/financial#210](https://lab.civicrm.org/dev/financial/-/issues/210): + [26400](https://github.com/civicrm/civicrm-core/pull/26400))** + +- **Link to record payment from within participant change selections links it to + wrong contribution, or crashes if that doesn't exist + ([dev/financial#214](https://lab.civicrm.org/dev/financial/-/issues/214): + [25543](https://github.com/civicrm/civicrm-core/pull/25543))** + +- **Fix invoice being sent instead of receipt if contribution 'is_pay_later' + is true ([26247](https://github.com/civicrm/civicrm-core/pull/26247))** + +- **Uncheck is_email_receipt when hidden on New Contribution + ([26191](https://github.com/civicrm/civicrm-core/pull/26191))** + +- **fix parameters in APIv3 Payment.get + ([26356](https://github.com/civicrm/civicrm-core/pull/26356))** + +- **Fix payment validation for Payment on Confirm + ([26430](https://github.com/civicrm/civicrm-core/pull/26430))** + +- **Notice fix on isHonor on contribution page + ([26171](https://github.com/civicrm/civicrm-core/pull/26171))** + +- **E-notice fix on pay-later payment processor + ([26169](https://github.com/civicrm/civicrm-core/pull/26169))** + +- **Remove unneeded text on Contribution + ([26380](https://github.com/civicrm/civicrm-core/pull/26380))** + +- **Use PriceSet permissions for related entities + ([26440](https://github.com/civicrm/civicrm-core/pull/26440))** + +### CiviEvent + +- **Fix missing error on Transfer Participant and allow multiple + ([26365](https://github.com/civicrm/civicrm-core/pull/26365))** + +- **Fix display of Fee Level on Self-service Registration Update + ([26364](https://github.com/civicrm/civicrm-core/pull/26364))** + +- **Allow backend transfer or cancel for all participant statuses + ([26186](https://github.com/civicrm/civicrm-core/pull/26186))** + +- **Don't show events without end date forever on Manage Events + ([26347](https://github.com/civicrm/civicrm-core/pull/26347))** + +- **Event price sets: Admin-only text field amount is shown in event + registration test drive + ([dev/core#4103](https://lab.civicrm.org/dev/core/-/issues/4103): + [26103](https://github.com/civicrm/civicrm-core/pull/26103))** + +- **CiviEvent: Submit button has wrong label in online registrations with + multiple participants (on free events without confirmation screen) + ([dev/core#4260](https://lab.civicrm.org/dev/core/-/issues/4260): + [26355](https://github.com/civicrm/civicrm-core/pull/26355))** + +- **Prevent prohibited self service cancellation by using is_backoffice=1 in URL + ([26189](https://github.com/civicrm/civicrm-core/pull/26189))** + +- **Show/hide billing name/address on event confirm based on if they're set + instead of a magical collection of booleans + ([26181](https://github.com/civicrm/civicrm-core/pull/26181))** + +- **Fix authorization failed on self-service participant transfer + ([26188](https://github.com/civicrm/civicrm-core/pull/26188))** + +- **Fix back office register form validation + ([26488](https://github.com/civicrm/civicrm-core/pull/26488))** + +- **Preserve participant status when transferring + ([26187](https://github.com/civicrm/civicrm-core/pull/26187))** + +- **Fix broken event message template preview + ([26569](https://github.com/civicrm/civicrm-core/pull/26569))** + +- **Fix enotices in Register task formRule by separating functions + ([26346](https://github.com/civicrm/civicrm-core/pull/26346))** + +- **Don't show send broken confirmation description if registering multiple + contacts ([26209](https://github.com/civicrm/civicrm-core/pull/26209))** + +- **Fix PHP8 warnings in Participant.tpl + ([26166](https://github.com/civicrm/civicrm-core/pull/26166) and + [26319](https://github.com/civicrm/civicrm-core/pull/26319))** + +- **Remove unneeded description text on Participant + ([26382](https://github.com/civicrm/civicrm-core/pull/26382))** + +- **Don't show event URL on Manage Event Template + ([26419](https://github.com/civicrm/civicrm-core/pull/26419))** + +- **Clarify isPrimary, isPaidEvent variables + ([26283](https://github.com/civicrm/civicrm-core/pull/26283))** + +- **Fix participantListingURL on Manage Event + ([26351](https://github.com/civicrm/civicrm-core/pull/26351))** + +- **Serialize Participant fee_level when using Change Selections + ([26363](https://github.com/civicrm/civicrm-core/pull/26363))** + +- **Replace isset with token for pay_later_receipt + ([26299](https://github.com/civicrm/civicrm-core/pull/26299))** + +- **Use balanceAmount token to remove isset in offline_event_receipt + ([26215](https://github.com/civicrm/civicrm-core/pull/26215))** + +- **Remove BOM from Registration.hlp + ([26266](https://github.com/civicrm/civicrm-core/pull/26266))** + +### CiviGrant + +- **CiviGrant - Fix error when creating grant without permissions + ([26513](https://github.com/civicrm/civicrm-core/pull/26513))** + +### CiviMail + +- **When creating a CiviMail it is possible to select this mailing as a + "previous mailing" in the recipients list + ([dev/core#3570](https://lab.civicrm.org/dev/core/-/issues/3570): + [26427](https://github.com/civicrm/civicrm-core/pull/26427))** + +- **crmMailingAB/services: catch exception, report error and rethrow + ([26184](https://github.com/civicrm/civicrm-core/pull/26184))** + +- **Fix undefined included mailing names in A/B test report, improve readability + ([24734](https://github.com/civicrm/civicrm-core/pull/24734))** + +- **Resize mailing preview modal + ([26273](https://github.com/civicrm/civicrm-core/pull/26273))** + +- **Simplify opt-out/unsubscribe help texts + ([26301](https://github.com/civicrm/civicrm-core/pull/26301))** + +### CiviMember + +- **Error on membership fee token when using Print/Merge Document + ([dev/core#3805](https://lab.civicrm.org/dev/core/-/issues/3805): + [26263](https://github.com/civicrm/civicrm-core/pull/26263))** + +- **Fix for membership discounts not showing in 5.62 + ([26538](https://github.com/civicrm/civicrm-core/pull/26538))** + +- **don't show membership block on confirmation page if no membership exists + ([26541](https://github.com/civicrm/civicrm-core/pull/26541))** + +- **Remove unneeded description text on Memberships + ([26396](https://github.com/civicrm/civicrm-core/pull/26396))** + +- **Add deprecation notes to `processMembership` function deprecated in 2021 + ([26402](https://github.com/civicrm/civicrm-core/pull/26402))** + +### CiviPetition + +- **present friendlier error message if petition cannot be displayed. + ([26446](https://github.com/civicrm/civicrm-core/pull/26446) and + [26451](https://github.com/civicrm/civicrm-core/pull/26451))** + +### Drupal Integration + +- **Old Files notification on D8 + ([dev/core#1777](https://lab.civicrm.org/dev/core/-/issues/1777): + [26196](https://github.com/civicrm/civicrm-core/pull/26196))** + + Skip checking vendor provided orphaned files if the vendor directory is not + within the CiviCRM root. + +- **Drupal 7, refuse the possibility to execute the REST API with blocked users + ([26185](https://github.com/civicrm/civicrm-core/pull/26185))** + +### WordPress Integration + +- **Use custom actions for admin screen meta boxes + ([dev/wordpress#139](https://lab.civicrm.org/dev/wordpress/-/issues/139): + [292](https://github.com/civicrm/civicrm-wordpress/pull/292))** + +- **Update WP Version tested to and CV Stable version. Test failure not + relevant. ([294](https://github.com/civicrm/civicrm-wordpress/pull/294))** + +- **5.63 - Update call to renamed mailing BAO + ([296](https://github.com/civicrm/civicrm-wordpress/pull/296))** + +## <a name="misc"></a>Miscellany + +- **Stop passing $ids to membership::create + ([26373](https://github.com/civicrm/civicrm-core/pull/26373))** + +- **Cleanup on PriceSetCustom search + ([26439](https://github.com/civicrm/civicrm-core/pull/26439))** + +- **Add eventTrait warning [ merge before rc is cut] + ([26466](https://github.com/civicrm/civicrm-core/pull/26466))** + +- **Fix another class to use the eventCreatePaid helper + ([26463](https://github.com/civicrm/civicrm-core/pull/26463))** + +- **Upgrader - Use generic (non-api4) code in upgrader + ([26230](https://github.com/civicrm/civicrm-core/pull/26230))** + +- **Clarify sent & not sent variables + ([26223](https://github.com/civicrm/civicrm-core/pull/26223))** + +- **AbstractAction: Drop `@throws` from phpdoc of `__construct()` because it's + not thrown ([26213](https://github.com/civicrm/civicrm-core/pull/26213))** + +- **5.62.0 - Last-minute notes. Bump version. + ([26475](https://github.com/civicrm/civicrm-core/pull/26475))** + +- **Add missing deprecated tag + ([26204](https://github.com/civicrm/civicrm-core/pull/26204))** + +- **Cleanup unused variables etc on membership form + ([26371](https://github.com/civicrm/civicrm-core/pull/26371))** + +- **Make some internal functions protected + ([26221](https://github.com/civicrm/civicrm-core/pull/26221))** + +- **Further separate register task from participant form + ([26205](https://github.com/civicrm/civicrm-core/pull/26205))** + +- **GenCode on Contribution DAO + ([26284](https://github.com/civicrm/civicrm-core/pull/26284))** + +- **Stop assigning variables removed from core templates in 2019 + ([26258](https://github.com/civicrm/civicrm-core/pull/26258))** + +- **regen after recent message template updates + ([26336](https://github.com/civicrm/civicrm-core/pull/26336))** + +- **flexmailer remove cruft code + ([26202](https://github.com/civicrm/civicrm-core/pull/26202))** + +- **Extract sendEmail function + ([26206](https://github.com/civicrm/civicrm-core/pull/26206))** + +- **Update contributor-key to correct name + ([26359](https://github.com/civicrm/civicrm-core/pull/26359))** + +- **Added tpokorra to contributor-key.yml + ([26418](https://github.com/civicrm/civicrm-core/pull/26418))** + +- **Added Olayiwola Odunsi to contributor-key.yml + ([26225](https://github.com/civicrm/civicrm-core/pull/26225))** + +- **Added composerjk to contributor-key.yml + ([26177](https://github.com/civicrm/civicrm-core/pull/26177))** + +- **mixin/scan-classes - Don't scan extension-tests automatically + ([26157](https://github.com/civicrm/civicrm-core/pull/26157))** + +- **Remove unused constants + ([26203](https://github.com/civicrm/civicrm-core/pull/26203))** + +- **Remove unreachable validation + ([26222](https://github.com/civicrm/civicrm-core/pull/26222))** + +- **Minor cleanup on function + ([26217](https://github.com/civicrm/civicrm-core/pull/26217))** + +- **PriceSet forms - remove reference to undeclared _contributionAmount property + ([26441](https://github.com/civicrm/civicrm-core/pull/26441))** + +- **Remove unused variables from previously-shared function + ([26264](https://github.com/civicrm/civicrm-core/pull/26264))** + +- **Remove pass-by-ref + ([26442](https://github.com/civicrm/civicrm-core/pull/26442))** + +- **[REF][PHP8.2] Only clear cache values if property exists + ([26289](https://github.com/civicrm/civicrm-core/pull/26289))** + +- **[REF][PHP8.2] Declare campaigns property + ([26293](https://github.com/civicrm/civicrm-core/pull/26293))** + +- **[REF][PHP8.2] Remove unused entity dynamic property + ([26287](https://github.com/civicrm/civicrm-core/pull/26287))** + +- **[REF][PHP8.2] Remove seemingly unused write to dynamic property + ([26288](https://github.com/civicrm/civicrm-core/pull/26288))** + +- **[REF][PHP8.2] Sort out dynamic properties in api_v3_ReportTemplateTest + ([26414](https://github.com/civicrm/civicrm-core/pull/26414))** + +- **[REF][PHP8.2] Avoid dynamic properties in report summary + ([26412](https://github.com/civicrm/civicrm-core/pull/26412))** + +- **[REF][PHP8.2] Declare property in CRM_Report_Form_Contribute_Sybunt + ([26411](https://github.com/civicrm/civicrm-core/pull/26411))** + +- **[REF][PHP8.2] Declare property in CRM_Report_Form_Contact_Log + ([26423](https://github.com/civicrm/civicrm-core/pull/26423))** + +- **[REF][PHP8.2] Declare properties on OrganizationSummary report + ([26424](https://github.com/civicrm/civicrm-core/pull/26424))** + +- **[REF][PHP8.2] Remove unused dynamic property showMembershipSummary + ([26433](https://github.com/civicrm/civicrm-core/pull/26433))** + +- **[REF][PHP8.2] Fix dynamic property in FileReader class of PHPGetText + ([362](https://github.com/civicrm/civicrm-packages/pull/362))** + +- **[REF][PHP8.2] Declare getSiteDefaultCountry property + ([26370](https://github.com/civicrm/civicrm-core/pull/26370))** + +- **[REF][PHP8.2] Avoid unnecessary property in WebsiteTest + ([26369](https://github.com/civicrm/civicrm-core/pull/26369))** + +- **[REF][PHP8.2] Replace property with variable in OrderTest + ([26368](https://github.com/civicrm/civicrm-core/pull/26368))** + +- **[REF] CRM_Core_StateMachine::addSequentialPages(): don't pass extra + parameter ([26367](https://github.com/civicrm/civicrm-core/pull/26367))** + +- **(REF) civicrm_data - Move more baseline data to PHP files + ([26270](https://github.com/civicrm/civicrm-core/pull/26270))** + +- **(REF) civicrm_data.tpl - Split option-groups into many PHP files + ([26245](https://github.com/civicrm/civicrm-core/pull/26245))** + +- **REF: Small cleanup on contribution receipt code + ([26078](https://github.com/civicrm/civicrm-core/pull/26078))** + +- **(REF) CRM_Core_Config - Simplify dependencies between MagicMerge and + Runtime ([26143](https://github.com/civicrm/civicrm-core/pull/26143))** + +- **REF - Cleanup unused variable and comment in SearchKit + ([26306](https://github.com/civicrm/civicrm-core/pull/26306))** + +- **REF - Fix Campaign index names, add default value for created_date + ([26231](https://github.com/civicrm/civicrm-core/pull/26231))** + +- **[REF] Move repeated code for Price Field labels into separate function + ([26375](https://github.com/civicrm/civicrm-core/pull/26375))** + +- **[NFC] SearchKit sql function "if": fix description + ([dev/core#4307](https://lab.civicrm.org/dev/core/-/issues/4307): + [26333](https://github.com/civicrm/civicrm-core/pull/26333))** + +- **[NFC] Remove extra whitespace around date through in EventInfoBlock + ([26429](https://github.com/civicrm/civicrm-core/pull/26429))** + +- **[NFC] typo fixes + ([26310](https://github.com/civicrm/civicrm-core/pull/26310))** + +- **(NFC) CiviEventDispatcher - Update type declaration. Add test demonstion + ([26276](https://github.com/civicrm/civicrm-core/pull/26276))** + +- **[NFC] Fix capitalization of class names + ([26428](https://github.com/civicrm/civicrm-core/pull/26428))** + +- **More tests fixed to use fullFormFlow + ([26269](https://github.com/civicrm/civicrm-core/pull/26269))** + +- **[Test] Fix UFGroup cleanup in ReportTemplateTest + ([26421](https://github.com/civicrm/civicrm-core/pull/26421))** + +- **[Test] More test UFGroup cleanup + ([26422](https://github.com/civicrm/civicrm-core/pull/26422))** + +- **[Test] Switch some unpaid event test setup to use createUnPaidEvent + ([26420](https://github.com/civicrm/civicrm-core/pull/26420))** + +- **[TEST ONLY] APIv4 - Update tests to use new Invasive helper + ([26361](https://github.com/civicrm/civicrm-core/pull/26361))** + +- **[TEST] Further minor fixes on UFGroup Cleanup + ([26434](https://github.com/civicrm/civicrm-core/pull/26434))** + +- **[Test] Rename version of eventCreatePaid that is being replaced + ([26450](https://github.com/civicrm/civicrm-core/pull/26450))** + +- **Fix Participant tests to use full form flow + ([26220](https://github.com/civicrm/civicrm-core/pull/26220))** + +- **Fix UFGroupTest to cleanup it's UFGroups + ([26406](https://github.com/civicrm/civicrm-core/pull/26406))** + +- **Fix a couple of tests to use Event helpers + ([26462](https://github.com/civicrm/civicrm-core/pull/26462))** + +- **fix Mailsettings.testconnection picking wrong settings to test + ([26398](https://github.com/civicrm/civicrm-core/pull/26398))** + +- **Add Event test trait + ([26405](https://github.com/civicrm/civicrm-core/pull/26405))** + +- **Fix tests calling getParticipantOrderParams to use the trait + ([26455](https://github.com/civicrm/civicrm-core/pull/26455))** + +- **Stop truncating UFGroup on tearDown + ([26449](https://github.com/civicrm/civicrm-core/pull/26449))** + +- **Improve `UFGroup` cleanup in the `ProcessorFormTest` + ([26408](https://github.com/civicrm/civicrm-core/pull/26408))** + +- **Create UFGroup in tear-down-able manner + ([26458](https://github.com/civicrm/civicrm-core/pull/26458))** + +- **Test cleanup - improve cleanup of `UFGroup` + ([26403](https://github.com/civicrm/civicrm-core/pull/26403))** + +- **Superficial Cleanup in test class + ([26454](https://github.com/civicrm/civicrm-core/pull/26454))** + +- **Cleanup on ContributionTest + ([26472](https://github.com/civicrm/civicrm-core/pull/26472))** + +- **More test fixes on cleanup, helper use + ([26464](https://github.com/civicrm/civicrm-core/pull/26464))** + +- **Use APIv4 when creating test entities + ([26471](https://github.com/civicrm/civicrm-core/pull/26471))** + +- **APIv4 - Add test to ensure custom fields work with underscores + ([26468](https://github.com/civicrm/civicrm-core/pull/26468))** + +- **Declare paid event as example data, call from test + ([26294](https://github.com/civicrm/civicrm-core/pull/26294))** + +## <a name="credits"></a>Credits + +This release was developed by the following code authors: + +AGH Strategies - Andie Hunt; Agileware - Francis Whittle, Justin Freeman; +ASMAC (American Society of Music Arrangers and Composers) - Jeff Kellem; +Benjamin W; BrightMinded Ltd - Bradley Taylor; Christian Wach; Circle +Interactive - Pradeep Nayak; CiviCRM - Coleman Watts, Tim Otten; CiviDesk - +Yashodha Chaku; CompuCorp - Ahed Eid, Olayiwola Odunsi; Coop SymbioTIC - Mathieu +Lutfy, Samuel Vanhove; Dave D; Fuzion - Luke Stewart; iXiam - Rubén Pineda; Jens +Schuppe; JMA Consulting - Monish Deb, Seamus Lee; Lemniscus - Noah Miller; +Megaphone Technology Consulting - Jon Goldberg; MJW Consulting - Matthew Wire; +Progressive Technology Project - Jamie McClelland; Quim Gil; Reflexive +Communications - Sandor Semsey; Squiffle Consulting - Aidan Saunders; Tadpole +Collective - Kevin Cristiano; Hostsharing eG - Timotheus Pokorra; Wikimedia +Foundation - Eileen McNaughton; Wildsight - Lars Sanders-Green + +Most authors also reviewed code for this release; in addition, the following +reviewers contributed their comments: + +AGH Strategies - Eli Lisseck; Andreas Howiller; Calibrate - Wouter Hechtermans; +CompuCorp - Jamie Novick; Coop SymbioTIC - Shane Bill; destrieux; gibsonoliver; +Greenleaf Advancement - Guy Iaccarino; Greyson Stalcup; Guydn; Humanists UK - +Andrew West; John Kingsnorth; Korlon - Stuart Gaston; Mark Rodgers; MC3 - Graham +Mitchell; Megaphone Technology Consulting - Brienne Kordis; Nicol Wistreich; +Pooka & Co - Marcus J Wilson; Richard van Oosterhout; Skvare - Sunil Pawar; diff --git a/civicrm/settings/Core.setting.php b/civicrm/settings/Core.setting.php index f0db59869d13f94f7ac1c9b74d9f56729f396196..fa748351711a5f3fb53d0d6382bbe24c3122f778 100644 --- a/civicrm/settings/Core.setting.php +++ b/civicrm/settings/Core.setting.php @@ -798,8 +798,9 @@ return [ 'help_text' => NULL, 'on_change' => [ 'CRM_Case_Info::onToggleComponents', - 'CRM_Core_Component::flushEnabledComponents', - 'call://resources/resetCacheCode', + ], + 'post_change' => [ + 'CRM_Core_Component::onToggleComponents', ], 'pseudoconstant' => [ 'callback' => 'CRM_Core_SelectValues::getComponentSelectValues', diff --git a/civicrm/settings/Developer.setting.php b/civicrm/settings/Developer.setting.php index ced086397de197369012df8d06b9c366eee0563c..6407be46e7495f0c5903aabfff60031b68ff3258 100644 --- a/civicrm/settings/Developer.setting.php +++ b/civicrm/settings/Developer.setting.php @@ -103,6 +103,25 @@ return [ 'CRM_Core_BAO_Setting::onChangeEnvironmentSetting', ], ], + 'esm_loader' => [ + 'group_name' => 'Developer Preferences', + 'group' => 'developer', + 'name' => 'esm_loader', + 'type' => 'String', + 'quick_form_type' => 'Select', + 'html_type' => 'Select', + 'html_attributes' => [ + //'class' => 'crm-select2', + ], + 'default' => 'auto', + 'add' => '5.63', + 'title' => ts('ECMAScript Module Loader'), + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => ts('Specify how to load ESM (JS) files. The "Default" mode is the supported option. Other options may assist with diagnosing or temporarily mitigating compatibility issues.'), + 'help_text' => NULL, + 'options' => ['auto' => ts('Default (Auto-detect)'), 'browser' => ts('Browser'), 'shim-fast' => ts('es-module-shims (fast mode)'), 'shim-slow' => ts('es-module-shims (slow mode)')], + ], 'fatalErrorHandler' => [ 'group_name' => 'Developer Preferences', 'group' => 'developer', diff --git a/civicrm/settings/Event.setting.php b/civicrm/settings/Event.setting.php index c7481cb2f2c0c5497fe92b046dc75264c3680844..d3c871619c078a95974e7a02f18f22140497c6b7 100644 --- a/civicrm/settings/Event.setting.php +++ b/civicrm/settings/Event.setting.php @@ -36,4 +36,22 @@ return [ 'help_text' => NULL, 'pseudoconstant' => ['callback' => 'CRM_Core_SelectValues::getDashboardEntriesCount'], ], + 'event_show_payment_on_confirm' => [ + 'name' => 'event_show_payment_on_confirm', + 'settings_pages' => ['event' => ['weight' => 100]], + 'type' => 'Array', + 'default' => [], + 'add' => '5.58', + 'title' => ts('EXPERIMENTAL: Show Event Payment on Confirm?'), + 'html_type' => 'select', + 'html_attributes' => [ + 'class' => 'crm-select2', + 'multiple' => TRUE, + ], + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => ts('Should payment element be shown on the confirmation page instead of the first page?'), + 'help_text' => NULL, + 'pseudoconstant' => ['callback' => 'CRM_Event_BAO_Event::getEventsForSelect2'], + ], ]; diff --git a/civicrm/settings/Mailing.setting.php b/civicrm/settings/Mailing.setting.php index 434e78a7ee38d823dcd302ad0b6d030588f63359..d000dc47fda603680beeee9f0a5385fcedc54b50 100644 --- a/civicrm/settings/Mailing.setting.php +++ b/civicrm/settings/Mailing.setting.php @@ -33,6 +33,22 @@ return [ 'description' => ts('When CiviMail is enabled, users who "subscribe" to a group from a profile Group(s) checkbox will receive a confirmation email. They must respond (opt-in) before they are added to the group.'), 'help_text' => NULL, ], + 'no_reply_email_address' => [ + 'group_name' => 'Mailing Preferences', + 'group' => 'mailing', + 'name' => 'no_reply_email_address', + 'type' => 'String', + 'html_type' => 'text', + 'default' => NULL, + 'add' => '5.63', + 'title' => ts('No-Reply Address'), + 'validate_callback' => 'CRM_Utils_Rule::email', + 'is_domain' => 1, + 'is_contact' => 0, + 'description' => '', + 'help_text' => NULL, + 'help' => ['id' => 'no_reply_email_address'], + ], 'track_civimail_replies' => [ 'group_name' => 'Mailing Preferences', 'group' => 'mailing', diff --git a/civicrm/setup/plugins/blocks/sample-data.tpl.php b/civicrm/setup/plugins/blocks/sample-data.tpl.php index 0e05db1c080e15977ca3816637fd448cc7ce3aa0..47c91cc4abe3b01edf8ea5618289ffffcf553274 100644 --- a/civicrm/setup/plugins/blocks/sample-data.tpl.php +++ b/civicrm/setup/plugins/blocks/sample-data.tpl.php @@ -4,7 +4,7 @@ endif; ?> <p> <label for="loadGenerated"><span>Load sample data:</span><input id="loadGenerated" type="checkbox" name="civisetup[loadGenerated]" value=1 <?php echo $model->loadGenerated ? "checked='checked'" : ""; ?> /></label> <br /> - <span class="advancedTip"><?php echo ts("Check this box to pre-populate CiviCRM with sample English contact records, online contribution pages, profile forms, etc. These examples can help you learn about CiviCRM features."); ?></span><br /> + <span class="advancedTip"><?php echo ts("Fill the database with randomly-generated individuals, organizations, households, contributions, activities, etc. (English only). Sample data is mainly used for demo and testing sites, not for real installs."); ?></span><br /> </p> <script type="text/javascript"> diff --git a/civicrm/sql/civicrm.mysql b/civicrm/sql/civicrm.mysql index f06ae575394c8410f72e055f9648254cb9124dee..3df4d08b73324be415407a02dd65e2373cef09dd 100644 --- a/civicrm/sql/civicrm.mysql +++ b/civicrm/sql/civicrm.mysql @@ -1037,15 +1037,15 @@ CREATE TABLE `civicrm_campaign` ( `parent_id` int unsigned DEFAULT NULL COMMENT 'Optional parent id for this Campaign.', `is_active` tinyint NOT NULL DEFAULT 1 COMMENT 'Is this Campaign enabled or disabled/cancelled?', `created_id` int unsigned COMMENT 'FK to civicrm_contact, who created this Campaign.', - `created_date` datetime COMMENT 'Date and time that Campaign was created.', + `created_date` datetime DEFAULT CURRENT_TIMESTAMP COMMENT 'Date and time that Campaign was created.', `last_modified_id` int unsigned COMMENT 'FK to civicrm_contact, who recently edited this Campaign.', `last_modified_date` datetime COMMENT 'Date and time that Campaign was edited last time.', `goal_general` text COMMENT 'General goals for Campaign.', `goal_revenue` decimal(20,2) COMMENT 'The target revenue for this campaign.', PRIMARY KEY (`id`), UNIQUE INDEX `UI_name`(name), - INDEX `UI_campaign_type_id`(campaign_type_id), - INDEX `UI_campaign_status_id`(status_id), + INDEX `index_campaign_type_id`(campaign_type_id), + INDEX `index_status_id`(status_id), UNIQUE INDEX `UI_external_identifier`(external_identifier), CONSTRAINT FK_civicrm_campaign_parent_id FOREIGN KEY (`parent_id`) REFERENCES `civicrm_campaign`(`id`) ON DELETE SET NULL, CONSTRAINT FK_civicrm_campaign_created_id FOREIGN KEY (`created_id`) REFERENCES `civicrm_contact`(`id`) ON DELETE SET NULL, @@ -2115,9 +2115,9 @@ CREATE TABLE `civicrm_group` ( `where_tables` text COMMENT 'the tables to be included in the count statement', `group_type` varchar(128) COMMENT 'FK to group type', `cache_date` timestamp NULL COMMENT 'Date when we created the cache for a smart group', - `refresh_date` timestamp NULL COMMENT 'Date and time when we need to refresh the cache next.', - `parents` text COMMENT 'IDs of the parent(s)', - `children` text COMMENT 'IDs of the child(ren)', + `refresh_date` timestamp NULL COMMENT 'Unused deprecated column.', + `parents` text COMMENT 'List of parent groups', + `children` text COMMENT 'List of child groups (calculated)', `is_hidden` tinyint NOT NULL DEFAULT 0 COMMENT 'Is this group hidden?', `is_reserved` tinyint NOT NULL DEFAULT 0, `created_id` int unsigned COMMENT 'FK to contact table.', @@ -2253,7 +2253,9 @@ ENGINE=InnoDB DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ROW_FORMA -- *******************************************************/ CREATE TABLE `civicrm_contribution_page` ( `id` int unsigned NOT NULL AUTO_INCREMENT COMMENT 'Contribution ID', - `title` varchar(255) COMMENT 'Contribution Page title. For top of page display', + `title` varchar(255) NOT NULL COMMENT 'Contribution Page title. For top of page display', + `frontend_title` varchar(255) NOT NULL COMMENT 'Contribution Page Public title', + `name` varchar(255) NOT NULL COMMENT 'Unique name for identifying contribution page', `intro_text` text COMMENT 'Text and html allowed. Displayed below title.', `financial_type_id` int unsigned COMMENT 'default financial type assigned to contributions submitted via this page, e.g. Contribution, Campaign Contribution', `payment_processor` varchar(128) COMMENT 'Payment Processors configured for this contribution Page', @@ -2297,8 +2299,8 @@ CREATE TABLE `civicrm_contribution_page` ( `campaign_id` int unsigned COMMENT 'The campaign for which we are collecting contributions with this page.', `is_share` tinyint NOT NULL DEFAULT 1 COMMENT 'Can people share the contribution page through social media?', `is_billing_required` tinyint NOT NULL DEFAULT 0 COMMENT 'if true - billing block is required for online contribution page', - `frontend_title` varchar(255) DEFAULT NULL COMMENT 'Contribution Page Public title', PRIMARY KEY (`id`), + UNIQUE INDEX `UI_name`(name), CONSTRAINT FK_civicrm_contribution_page_financial_type_id FOREIGN KEY (`financial_type_id`) REFERENCES `civicrm_financial_type`(`id`), CONSTRAINT FK_civicrm_contribution_page_created_id FOREIGN KEY (`created_id`) REFERENCES `civicrm_contact`(`id`) ON DELETE SET NULL, CONSTRAINT FK_civicrm_contribution_page_campaign_id FOREIGN KEY (`campaign_id`) REFERENCES `civicrm_campaign`(`id`) ON DELETE SET NULL @@ -3808,7 +3810,7 @@ CREATE TABLE `civicrm_contribution` ( `financial_type_id` int unsigned COMMENT 'FK to Financial Type for (total_amount - non_deductible_amount).', `contribution_page_id` int unsigned COMMENT 'The Contribution Page which triggered this contribution', `payment_instrument_id` int unsigned COMMENT 'FK to Payment Instrument', - `receive_date` datetime COMMENT 'Date contribution was received - not necessarily the creation date of the record', + `receive_date` datetime, `non_deductible_amount` decimal(20,2) DEFAULT 0 COMMENT 'Portion of total amount which is NOT tax deductible. Equal to total_amount for non-deductible financial types.', `total_amount` decimal(20,2) NOT NULL COMMENT 'Total amount of this contribution. Use market value for non-monetary gifts.', `fee_amount` decimal(20,2) COMMENT 'actual processor fee if known - may be 0.', diff --git a/civicrm/sql/civicrm_data.mysql b/civicrm/sql/civicrm_data.mysql index 30e7c616e17be0890f3937f15b56d22538656c48..5400381661c835ec517e3dc0852e721155ea76ee 100644 --- a/civicrm/sql/civicrm_data.mysql +++ b/civicrm/sql/civicrm_data.mysql @@ -262,7 +262,6 @@ INSERT INTO civicrm_country (id, name,iso_code,region_id,is_province_abbreviated INSERT INTO civicrm_country (id, name,iso_code,region_id,is_province_abbreviated) VALUES("1235", "Wallis and Futuna", "WF", "4", "0"); INSERT INTO civicrm_country (id, name,iso_code,region_id,is_province_abbreviated) VALUES("1236", "Western Sahara", "EH", "3", "0"); INSERT INTO civicrm_country (id, name,iso_code,region_id,is_province_abbreviated) VALUES("1237", "Yemen", "YE", "3", "0"); -INSERT INTO civicrm_country (id, name,iso_code,region_id,is_province_abbreviated) VALUES("1238", "Serbia and Montenegro", "CS", "1", "0"); INSERT INTO civicrm_country (id, name,iso_code,region_id,is_province_abbreviated) VALUES("1239", "Zambia", "ZM", "5", "0"); INSERT INTO civicrm_country (id, name,iso_code,region_id,is_province_abbreviated) VALUES("1240", "Zimbabwe", "ZW", "5", "0"); INSERT INTO civicrm_country (id, name,iso_code,region_id,is_province_abbreviated) VALUES("1241", "Ã…land Islands", "AX", "1", "0"); @@ -4692,1066 +4691,1393 @@ VALUES INSERT INTO civicrm_domain (name, version, contact_id) VALUES (@domainName, '2.2', @contactID); SELECT @domainID := id FROM civicrm_domain where name = 'Default Domain Name'; --- Sample location types --- CRM-9120 for legacy reasons we are continuing to translate the 'name', but this --- field is used mainly as an ID, and display_name will be shown to the user, but --- we have not yet finished modifying all places where the 'name' is shown. -INSERT INTO civicrm_location_type( name, display_name, vcard_name, description, is_reserved, is_active, is_default ) VALUES( 'Home', 'Home', 'HOME', 'Place of residence', 0, 1, 1 ); -INSERT INTO civicrm_location_type( name, display_name, vcard_name, description, is_reserved, is_active ) VALUES( 'Work', 'Work', 'WORK', 'Work location', 0, 1 ); -INSERT INTO civicrm_location_type( name, display_name, vcard_name, description, is_reserved, is_active ) VALUES( 'Main', 'Main', NULL, 'Main office location', 0, 1 ); -INSERT INTO civicrm_location_type( name, display_name, vcard_name, description, is_reserved, is_active ) VALUES( 'Other', 'Other', NULL, 'Other location', 0, 1 ); --- the following location must stay with the untranslated Billing name, CRM-2064 -INSERT INTO civicrm_location_type( name, display_name, vcard_name, description, is_reserved, is_active ) VALUES( 'Billing', 'Billing', NULL, 'Billing Address location', 1, 1 ); - --- Sample relationship types -INSERT INTO civicrm_relationship_type( name_a_b,label_a_b, name_b_a,label_b_a, description, contact_type_a, contact_type_b, is_reserved ) - VALUES( 'Child of', 'Child of', 'Parent of', 'Parent of', 'Parent/child relationship.', 'Individual', 'Individual', 0 ), - ( 'Spouse of', 'Spouse of', 'Spouse of', 'Spouse of', 'Spousal relationship.', 'Individual', 'Individual', 0 ), - ( 'Partner of', 'Partner of', 'Partner of', 'Partner of', 'Partner relationship.', 'Individual', 'Individual', 0 ), - ( 'Sibling of', 'Sibling of', 'Sibling of', 'Sibling of', 'Sibling relationship.', 'Individual','Individual', 0 ), - ( 'Employee of', 'Employee of', 'Employer of', 'Employer of', 'Employment relationship.','Individual','Organization', 1 ), - ( 'Volunteer for', 'Volunteer for', 'Volunteer is', 'Volunteer is', 'Volunteer relationship.','Individual','Organization', 0 ), - ( 'Head of Household for', 'Head of Household for', 'Head of Household is', 'Head of Household is', 'Head of household.','Individual','Household', 1 ), - ( 'Household Member of', 'Household Member of', 'Household Member is', 'Household Member is', 'Household membership.','Individual','Household', 1 ); - --- Relationship Types for CiviCase -INSERT INTO civicrm_relationship_type( name_a_b,label_a_b, name_b_a,label_b_a, description, contact_type_a, contact_type_b, is_reserved ) - VALUES( 'Case Coordinator is', 'Case Coordinator is', 'Case Coordinator', 'Case Coordinator', 'Case Coordinator', 'Individual', 'Individual', 0 ); -INSERT INTO civicrm_relationship_type( name_a_b,label_a_b, name_b_a,label_b_a, description, contact_type_a, contact_type_b, is_reserved ) - VALUES( 'Supervised by', 'Supervised by', 'Supervisor', 'Supervisor', 'Immediate workplace supervisor', 'Individual', 'Individual', 0 ); - - --- Sample Tags -INSERT INTO civicrm_tag( name, description, parent_id,used_for ) - VALUES - ( 'Non-profit', 'Any not-for-profit organization.', NULL,'civicrm_contact'), - ( 'Company', 'For-profit organization.', NULL,'civicrm_contact'), - ( 'Government Entity', 'Any governmental entity.', NULL,'civicrm_contact'), - ( 'Major Donor', 'High-value supporter of our organization.', NULL,'civicrm_contact'), - ( 'Volunteer', 'Active volunteers.', NULL,'civicrm_contact' ); - - --- sample CiviCRM mailing components -INSERT INTO civicrm_mailing_component - (name,component_type,subject,body_html,body_text,is_default,is_active) -VALUES - ('Mailing Header','Header','Descriptive Title for this Header','Sample Header for HTML formatted content.','Sample Header for TEXT formatted content.',1,1), - ('Mailing Footer','Footer','Descriptive Title for this Footer.','Sample Footer for HTML formatted content<br/><a href=\"{action.optOutUrl}\">Unsubscribe</a> <br/> {domain.address}','to unsubscribe: {action.optOutUrl}\n{domain.address}',1,1), - ('Subscribe Message','Subscribe','Subscription Confirmation Request','You have a pending subscription to the {subscribe.group} mailing list. To confirm this subscription, reply to this email or click <a href=\"{subscribe.url}\">here</a>.','You have a pending subscription to the {subscribe.group} mailing list. To confirm this subscription, reply to this email or click on this link: {subscribe.url}',1,1), - ('Welcome Message','Welcome','Your Subscription has been Activated','Welcome. Your subscription to the {welcome.group} mailing list has been activated.','Welcome. Your subscription to the {welcome.group} mailing list has been activated.',1,1), - ('Unsubscribe Message','Unsubscribe','Un-subscribe Confirmation','You have been un-subscribed from the following groups: {unsubscribe.group}. You can re-subscribe by mailing {action.resubscribe} or clicking <a href=\"{action.resubscribeUrl}\">here</a>.','You have been un-subscribed from the following groups: {unsubscribe.group}. You can re-subscribe by mailing {action.resubscribe} or clicking {action.resubscribeUrl}',1,1), - ('Resubscribe Message','Resubscribe','Re-subscribe Confirmation','You have been re-subscribed to the following groups: {resubscribe.group}. You can un-subscribe by mailing {action.unsubscribe} or clicking <a href=\"{action.unsubscribeUrl}\">here</a>.','You have been re-subscribed to the following groups: {resubscribe.group}. You can un-subscribe by mailing {action.unsubscribe} or clicking {action.unsubscribeUrl}',1,1), - ('Opt-out Message','OptOut','Opt-out Confirmation','Your email address has been removed from {domain.name} mailing lists.','Your email address has been removed from {domain.name} mailing lists.',1,1), - ('Auto-responder','Reply','Please Send Inquiries to Our Contact Email Address','This is an automated reply from an un-attended mailbox. Please send any inquiries to the contact email address listed on our web-site.','This is an automated reply from an un-attended mailbox. Please send any inquiries to the contact email address listed on our web-site.',1,1); - - --- contribution types -INSERT INTO - civicrm_financial_type(name, is_reserved, is_active, is_deductible) -VALUES - ( 'Donation' , 0, 1, 1 ), - ( 'Member Dues' , 0, 1, 1 ), - ( 'Campaign Contribution', 0, 1, 0 ), - ( 'Event Fee' , 0, 1, 0 ); - --- option groups and values for 'preferred communication methods' , 'activity types', 'gender', etc. - -INSERT INTO - `civicrm_option_group` (`name`, `title`, `data_type`, `is_reserved`, `is_active`, `is_locked`, `option_value_fields`, `description`) -VALUES - ('preferred_communication_method', 'Preferred Communication Method' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('activity_type' , 'Activity Type' , 'Integer', 1, 1, 0, 'name,label,description,icon', - 'Activities track interactions with contacts. Some activity types are reserved for use by automated processes, others can be freely configured.'), - ('gender' , 'Gender' , 'Integer', 1, 1, 0, 'name,label,description', - 'CiviCRM is pre-configured with standard options for individual gender (Male, Female, Other). Modify these options as needed for your installation.'), - ('instant_messenger_service' , 'Instant Messenger (IM) screen-names', NULL, 1, 1, 0, 'name,label,description', - 'Commonly-used messaging apps are listed here. Administrators may define as many additional providers as needed.'), - ('mobile_provider' , 'Mobile Phone Providers' , NULL, 1, 1, 0, 'name,label,description', - 'When recording mobile phone numbers for contacts, it may be useful to include the Mobile Phone Service Provider (e.g. Cingular, Sprint, etc.). CiviCRM is installed with the most commonly encountered service providers. Administrators may define as many additional providers as needed.'), - ('individual_prefix' , 'Individual contact prefixes' , NULL, 1, 1, 0, 'name,label,description', - 'CiviCRM is pre-configured with standard options for individual contact prefixes (Ms., Mr., Dr. etc.). Customize these options and add new ones as needed for your installation.'), - ('individual_suffix' , 'Individual contact suffixes' , NULL, 1, 1, 0, 'name,label,description', - 'CiviCRM is pre-configured with standard options for individual contact name suffixes (Jr., Sr., II etc.). Customize these options and add new ones as needed for your installation.'), - ('acl_role' , 'ACL Role' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('accept_creditcard' , 'Accepted Credit Cards' , NULL, 1, 1, 0, 'name,label,description', - 'The following credit card options will be offered to contributors using Online Contribution pages. You will need to verify which cards are accepted by your chosen Payment Processor and update these entries accordingly.IMPORTANT: These options do not control credit card/payment method choices for sites and/or contributors using the PayPal Express service (e.g. where billing information is collected on the Payment Processor\\\'s website).'), - ('payment_instrument' , 'Payment Methods' , 'Integer', 1, 1, 0, 'name,label,description', - 'You may choose to record the payment method used for each contribution and fee. Reserved payment methods are required - you may modify their labels but they can not be deleted (e.g. Check, Credit Card, Debit Card). If your site requires additional payment methods, you can add them here. You can associate each payment method with a Financial Account which specifies where the payment is going (e.g. a bank account for checks and cash).'), - ('contribution_status' , 'Contribution Status' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('pcp_status' , 'PCP Status' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('pcp_owner_notify' , 'PCP owner notifications' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('participant_role' , 'Participant Role' , 'Integer', 1, 1, 0, 'name,label,description', - 'Define participant roles for events here (e.g. Attendee, Host, Speaker...). You can then assign roles and search for participants by role.'), - ('event_type' , 'Event Type' , 'Integer', 1, 1, 0, 'name,label,description', - 'Use Event Types to categorize your events. Event feeds can be filtered by Event Type and participant searches can use Event Type as a criteria.'), - ('contact_view_options' , 'Contact View Options' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('contact_smart_group_display' , 'Contact Smart Group View Options' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('contact_edit_options' , 'Contact Edit Options' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('advanced_search_options' , 'Advanced Search Options' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('user_dashboard_options' , 'User Dashboard Options' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('address_options' , 'Addressing Options' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('group_type' , 'Group Type' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('custom_search' , 'Custom Search' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('activity_status' , 'Activity Status' , 'Integer', 1, 1, 0, 'name,label,description,color', NULL), - ('case_type' , 'Case Type' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('case_status' , 'Case Status' , NULL, 1, 1, 0, 'name,label,description,color', NULL), - ('participant_listing' , 'Participant Listing' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('safe_file_extension' , 'Safe File Extension' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('from_email_address' , 'From Email Address' , NULL, 1, 1, 0, 'name,label,description', - 'By default, CiviCRM uses the primary email address of the logged in user as the FROM address when sending emails to contacts. However, you can use this page to define one or more general Email Addresses that can be selected as an alternative. EXAMPLE: \"Client Services\" <clientservices@example.org>.'), - ('mapping_type' , 'Mapping Type' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('wysiwyg_editor' , 'WYSIWYG Editor' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('recur_frequency_units' , 'Recurring Frequency Units' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('phone_type' , 'Phone Type' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('custom_data_type' , 'Custom Data Type' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('visibility' , 'Visibility' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('mail_protocol' , 'Mail Protocol' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('priority' , 'Priority' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('redaction_rule' , 'Redaction Rule' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('report_template' , 'Report Template' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('email_greeting' , 'Email Greeting Type' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('postal_greeting' , 'Postal Greeting Type' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('addressee' , 'Addressee Type' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('contact_autocomplete_options' , 'Autocomplete Contact Search' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('contact_reference_options' , 'Contact Reference Autocomplete Options', NULL, 1, 1, 1, 'name,label,description', NULL), - ('website_type' , 'Website Type' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('tag_used_for' , 'Tag Used For' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('note_used_for' , 'Note Used For' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('currencies_enabled' , 'Currencies Enabled' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('event_badge' , 'Event Name Badge' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('note_privacy' , 'Privacy levels for notes' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('campaign_type' , 'Campaign Type' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('campaign_status' , 'Campaign Status' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('system_extensions' , 'CiviCRM Extensions' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('mail_approval_status' , 'CiviMail Approval Status' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('engagement_index' , 'Engagement Index' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('cg_extend_objects' , 'Objects a custom group extends to' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('paper_size' , 'Paper Size' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('pdf_format' , 'PDF Page Format' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('label_format' , 'Mailing Label Format' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('activity_contacts' , 'Activity Contacts' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('account_relationship' , 'Account Relationship' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('event_contacts' , 'Event Recipients' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('conference_slot' , 'Conference Slot' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('batch_type' , 'Batch Type' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('batch_mode' , 'Batch Mode' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('batch_status' , 'Batch Status' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('sms_api_type' , 'Api Type' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('sms_provider_name' , 'Sms Provider Internal Name' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('auto_renew_options' , 'Auto Renew Options' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('financial_account_type' , 'Financial Account Type' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('financial_item_status' , 'Financial Item Status' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('label_type' , 'Label Type' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('name_badge' , 'Name Badge Format' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('communication_style' , 'Communication Style' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('msg_mode' , 'Message Mode' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('contact_date_reminder_options' , 'Contact Date Reminder Options' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('wysiwyg_presets' , 'WYSIWYG Editor Presets' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('relative_date_filters' , 'Relative Date Filters' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('pledge_status' , 'Pledge Status' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('contribution_recur_status' , 'Recurring Contribution Status' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('environment' , 'Environment' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('activity_default_assignee' , 'Activity default assignee' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('entity_batch_extends' , 'Entity Batch Extends' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('file_type' , 'File Type' , 'Integer', 1, 1, 0, 'name,label,description', NULL); - -SELECT @option_group_id_pcm := max(id) from civicrm_option_group where name = 'preferred_communication_method'; -SELECT @option_group_id_act := max(id) from civicrm_option_group where name = 'activity_type'; -SELECT @option_group_id_gender := max(id) from civicrm_option_group where name = 'gender'; -SELECT @option_group_id_IMProvider := max(id) from civicrm_option_group where name = 'instant_messenger_service'; -SELECT @option_group_id_mobileProvider := max(id) from civicrm_option_group where name = 'mobile_provider'; -SELECT @option_group_id_prefix := max(id) from civicrm_option_group where name = 'individual_prefix'; -SELECT @option_group_id_suffix := max(id) from civicrm_option_group where name = 'individual_suffix'; -SELECT @option_group_id_aclRole := max(id) from civicrm_option_group where name = 'acl_role'; -SELECT @option_group_id_acc := max(id) from civicrm_option_group where name = 'accept_creditcard'; -SELECT @option_group_id_pi := max(id) from civicrm_option_group where name = 'payment_instrument'; -SELECT @option_group_id_cs := max(id) from civicrm_option_group where name = 'contribution_status'; -SELECT @option_group_id_pcp := max(id) from civicrm_option_group where name = 'pcp_status'; -SELECT @option_group_id_pcpOwnerNotify := max(id) from civicrm_option_group where name = 'pcp_owner_notify'; -SELECT @option_group_id_pRole := max(id) from civicrm_option_group where name = 'participant_role'; -SELECT @option_group_id_etype := max(id) from civicrm_option_group where name = 'event_type'; -SELECT @option_group_id_cvOpt := max(id) from civicrm_option_group where name = 'contact_view_options'; -SELECT @option_group_id_csgOpt := max(id) from civicrm_option_group where name = 'contact_smart_group_display'; -SELECT @option_group_id_ceOpt := max(id) from civicrm_option_group where name = 'contact_edit_options'; -SELECT @option_group_id_asOpt := max(id) from civicrm_option_group where name = 'advanced_search_options'; -SELECT @option_group_id_udOpt := max(id) from civicrm_option_group where name = 'user_dashboard_options'; -SELECT @option_group_id_adOpt := max(id) from civicrm_option_group where name = 'address_options'; -SELECT @option_group_id_gType := max(id) from civicrm_option_group where name = 'group_type'; -SELECT @option_group_id_csearch := max(id) from civicrm_option_group where name = 'custom_search'; -SELECT @option_group_id_acs := max(id) from civicrm_option_group where name = 'activity_status'; -SELECT @option_group_id_ct := max(id) from civicrm_option_group where name = 'case_type'; -SELECT @option_group_id_cas := max(id) from civicrm_option_group where name = 'case_status'; -SELECT @option_group_id_pl := max(id) from civicrm_option_group where name = 'participant_listing'; -SELECT @option_group_id_sfe := max(id) from civicrm_option_group where name = 'safe_file_extension'; -SELECT @option_group_id_mt := max(id) from civicrm_option_group where name = 'mapping_type'; -SELECT @option_group_id_we := max(id) from civicrm_option_group where name = 'wysiwyg_editor'; -SELECT @option_group_id_fu := max(id) from civicrm_option_group where name = 'recur_frequency_units'; -SELECT @option_group_id_pht := max(id) from civicrm_option_group where name = 'phone_type'; -SELECT @option_group_id_fma := max(id) from civicrm_option_group where name = 'from_email_address'; -SELECT @option_group_id_cdt := max(id) from civicrm_option_group where name = 'custom_data_type'; -SELECT @option_group_id_vis := max(id) from civicrm_option_group where name = 'visibility'; -SELECT @option_group_id_mp := max(id) from civicrm_option_group where name = 'mail_protocol'; -SELECT @option_group_id_priority := max(id) from civicrm_option_group where name = 'priority'; -SELECT @option_group_id_rr := max(id) from civicrm_option_group where name = 'redaction_rule'; -SELECT @option_group_id_emailGreeting := max(id) from civicrm_option_group where name = 'email_greeting'; -SELECT @option_group_id_postalGreeting := max(id) from civicrm_option_group where name = 'postal_greeting'; -SELECT @option_group_id_addressee := max(id) from civicrm_option_group where name = 'addressee'; -SELECT @option_group_id_report := max(id) from civicrm_option_group where name = 'report_template'; -SELECT @option_group_id_acsOpt := max(id) from civicrm_option_group where name = 'contact_autocomplete_options'; -SELECT @option_group_id_acConRef := max(id) from civicrm_option_group where name = 'contact_reference_options'; -SELECT @option_group_id_website := max(id) from civicrm_option_group where name = 'website_type'; -SELECT @option_group_id_tuf := max(id) from civicrm_option_group where name = 'tag_used_for'; -SELECT @option_group_id_nuf := max(id) from civicrm_option_group where name = 'note_used_for'; -SELECT @option_group_id_currency := max(id) from civicrm_option_group where name = 'currencies_enabled'; -SELECT @option_group_id_eventBadge := max(id) from civicrm_option_group where name = 'event_badge'; -SELECT @option_group_id_notePrivacy := max(id) from civicrm_option_group where name = 'note_privacy'; -SELECT @option_group_id_campaignType := max(id) from civicrm_option_group where name = 'campaign_type'; -SELECT @option_group_id_campaignStatus := max(id) from civicrm_option_group where name = 'campaign_status'; -SELECT @option_group_id_extensions := max(id) from civicrm_option_group where name = 'system_extensions'; -SELECT @option_group_id_mail_approval_status := max(id) from civicrm_option_group where name = 'mail_approval_status'; -SELECT @option_group_id_engagement_index := max(id) from civicrm_option_group where name = 'engagement_index'; -SELECT @option_group_id_cgeo := max(id) from civicrm_option_group where name = 'cg_extend_objects'; -SELECT @option_group_id_paperSize := max(id) from civicrm_option_group where name = 'paper_size'; -SELECT @option_group_id_label := max(id) from civicrm_option_group where name = 'label_format'; -SELECT @option_group_id_aco := max(id) from civicrm_option_group where name = 'activity_contacts'; -SELECT @option_group_id_arel := max(id) from civicrm_option_group where name = 'account_relationship'; -SELECT @option_group_id_ere := max(id) from civicrm_option_group where name = 'event_contacts'; -SELECT @option_group_id_conference_slot := max(id) from civicrm_option_group where name = 'conference_slot'; -SELECT @option_group_id_batch_type := max(id) from civicrm_option_group where name = 'batch_type'; -SELECT @option_group_id_batch_status := max(id) from civicrm_option_group where name = 'batch_status'; -SELECT @option_group_id_batch_mode := max(id) from civicrm_option_group where name = 'batch_mode'; -SELECT @option_group_id_sms_api_type := max(id) from civicrm_option_group where name = 'sms_api_type'; -SELECT @option_group_id_sms_provider_name := max(id) from civicrm_option_group where name = 'sms_provider_name'; -SELECT @option_group_id_aro := max(id) from civicrm_option_group where name = 'auto_renew_options'; -SELECT @option_group_id_fat := max(id) from civicrm_option_group where name = 'financial_account_type'; -SELECT @option_group_id_financial_item_status := max(id) from civicrm_option_group where name = 'financial_item_status'; -SELECT @option_group_id_label_type := max(id) from civicrm_option_group where name = 'label_type'; -SELECT @option_group_id_name_badge := max(id) from civicrm_option_group where name = 'name_badge'; -SELECT @option_group_id_communication_style := max(id) from civicrm_option_group where name = 'communication_style'; -SELECT @option_group_id_msg_mode := max(id) from civicrm_option_group where name = 'msg_mode'; -SELECT @option_group_id_contactDateMode := max(id) from civicrm_option_group where name = 'contact_date_reminder_options'; -SELECT @option_group_id_date_filter := max(id) from civicrm_option_group where name = 'relative_date_filters'; -SELECT @option_group_id_wysiwyg_presets := max(id) from civicrm_option_group where name = 'wysiwyg_presets'; -SELECT @option_group_id_ps := max(id) from civicrm_option_group where name = 'pledge_status'; -SELECT @option_group_id_crs := max(id) from civicrm_option_group where name = 'contribution_recur_status'; -SELECT @option_group_id_env := max(id) from civicrm_option_group where name = 'environment'; -SELECT @option_group_id_default_assignee := max(id) from civicrm_option_group where name = 'activity_default_assignee'; -SELECT @option_group_id_entity_batch_extends := max(id) from civicrm_option_group where name = 'entity_batch_extends'; -SELECT @option_group_id_pdf_format := max(id) from civicrm_option_group where name = 'pdf_format'; - -SELECT @contributeCompId := max(id) FROM civicrm_component where name = 'CiviContribute'; -SELECT @eventCompId := max(id) FROM civicrm_component where name = 'CiviEvent'; -SELECT @memberCompId := max(id) FROM civicrm_component where name = 'CiviMember'; -SELECT @pledgeCompId := max(id) FROM civicrm_component where name = 'CiviPledge'; -SELECT @caseCompId := max(id) FROM civicrm_component where name = 'CiviCase'; -SELECT @campaignCompId := max(id) FROM civicrm_component where name = 'CiviCampaign'; -SELECT @mailCompId := max(id) FROM civicrm_component where name = 'CiviMail'; - -INSERT INTO - `civicrm_option_value` (`option_group_id`, `label`, `value`, `name`, `grouping`, `filter`, `is_default`, `weight`, `description`, `is_optgroup`, `is_reserved`, `is_active`, `component_id`, `visibility_id`, `icon`) -VALUES - (@option_group_id_pcm, 'Phone', 1, 'Phone', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pcm, 'Email', 2, 'Email', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pcm, 'Postal Mail', 3, 'Postal Mail', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pcm, 'SMS', 4, 'SMS', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pcm, 'Fax', 5, 'Fax', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_act, 'Meeting', 1, 'Meeting', NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, 'fa-slideshare'), - (@option_group_id_act, 'Phone Call', 2, 'Phone Call', NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, 'fa-phone'), - (@option_group_id_act, 'Email', 3, 'Email', NULL, 1, 0, 3, 'Email sent.', 0, 1, 1, NULL, NULL, 'fa-envelope-o'), - (@option_group_id_act, 'Outbound SMS', 4, 'SMS', NULL, 1, 0, 4, 'Text message (SMS) sent.', 0, 1, 1, NULL, NULL, 'fa-mobile'), - (@option_group_id_act, 'Event Registration', 5, 'Event Registration', NULL, 1, 0, 5, 'Online or offline event registration.', 0, 1, 1, @eventCompId, NULL, NULL), - (@option_group_id_act, 'Contribution', 6, 'Contribution', NULL, 1, 0, 6, 'Online or offline contribution.', 0, 1, 1, @contributeCompId, NULL, NULL), - (@option_group_id_act, 'Membership Signup', 7, 'Membership Signup', NULL, 1, 0, 7, 'Online or offline membership signup.', 0, 1, 1, @memberCompId, NULL, NULL), - (@option_group_id_act, 'Membership Renewal', 8, 'Membership Renewal', NULL, 1, 0, 8, 'Online or offline membership renewal.', 0, 1, 1, @memberCompId, NULL, NULL), - (@option_group_id_act, 'Tell a Friend', 9, 'Tell a Friend', NULL, 1, 0, 9, 'Send information about a contribution campaign or event to a friend.', 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_act, 'Pledge Acknowledgment', 10, 'Pledge Acknowledgment', NULL, 1, 0, 10, 'Send Pledge Acknowledgment.', 0, 1, 1, @pledgeCompId, NULL, NULL), - (@option_group_id_act, 'Pledge Reminder', 11, 'Pledge Reminder', NULL, 1, 0, 11, 'Send Pledge Reminder.', 0, 1, 1, @pledgeCompId, NULL, NULL), - (@option_group_id_act, 'Inbound Email', 12, 'Inbound Email', NULL, 1, 0, 12, 'Inbound Email.', 0, 1, 1, NULL, NULL, NULL), - --- Activity Types for case activities - (@option_group_id_act, 'Open Case', 13, 'Open Case', NULL, 0, 0, 13, '', 0, 1, 1, @caseCompId, NULL, 'fa-folder-open-o'), - (@option_group_id_act, 'Follow up', 14, 'Follow up', NULL, 0, 0, 14, '', 0, 1, 1, @caseCompId, NULL, 'fa-share-square-o'), - (@option_group_id_act, 'Change Case Type', 15, 'Change Case Type', NULL, 0, 0, 15, '', 0, 1, 1, @caseCompId, NULL, 'fa-random'), - (@option_group_id_act, 'Change Case Status', 16, 'Change Case Status', NULL, 0, 0, 16, '', 0, 1, 1, @caseCompId, NULL, 'fa-pencil-square-o'), - (@option_group_id_act, 'Change Case Subject',53, 'Change Case Subject',NULL, 0, 0, 53, '', 0, 1, 1, @caseCompId, NULL, 'fa-pencil-square-o'), - (@option_group_id_act, 'Change Custom Data', 33, 'Change Custom Data', NULL, 0, 0, 33, '', 0, 1, 1, @caseCompId, NULL, 'fa-table'), - - (@option_group_id_act, 'Membership Renewal Reminder', 17, 'Membership Renewal Reminder', NULL, 1, 0, 17, 'offline membership renewal reminder.', 0, 1, 1, @memberCompId, NULL, NULL), - (@option_group_id_act, 'Change Case Start Date', 18, 'Change Case Start Date', NULL, 0, 0, 18, '', 0, 1, 1, @caseCompId, NULL , 'fa-calendar'), - (@option_group_id_act, 'Bulk Email', 19, 'Bulk Email', NULL, 1, 0, 19, 'Bulk Email Sent.', 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_act, 'Assign Case Role', 20, 'Assign Case Role', NULL,0, 0, 20, '', 0, 1, 1, @caseCompId, NULL, 'fa-user-plus'), - (@option_group_id_act, 'Remove Case Role', 21, 'Remove Case Role', NULL,0, 0, 21, '', 0, 1, 1, @caseCompId, NULL, 'fa-user-times'), - (@option_group_id_act, 'Print/Merge Document', 22, 'Print PDF Letter', NULL, 0, 0, 22, 'Export letters and other printable documents.', 0, 1, 1, NULL, NULL, 'fa-file-pdf-o'), - (@option_group_id_act, 'Merge Case', 23, 'Merge Case', NULL, 0, 0, 23, '', 0, 1, 1, @caseCompId, NULL , 'fa-compress'), - (@option_group_id_act, 'Reassigned Case', 24, 'Reassigned Case', NULL, 0, 0, 24, '', 0, 1, 1, @caseCompId, NULL , 'fa-user-circle-o'), - (@option_group_id_act, 'Link Cases', 25, 'Link Cases', NULL, 0, 0, 25, '', 0, 1, 1, @caseCompId, NULL , 'fa-link'), - (@option_group_id_act, 'Change Case Tags', 26, 'Change Case Tags', NULL,0, 0, 26, '', 0, 1, 1, @caseCompId, NULL, 'fa-tags'), - (@option_group_id_act, 'Add Client To Case', 27, 'Add Client To Case', NULL,0, 0, 26, '', 0, 1, 1, @caseCompId, NULL, 'fa-users'), - --- Activity Types for CiviCampaign - (@option_group_id_act, 'Survey', 28, 'Survey', NULL,0, 0, 27, '', 0, 1, 1, @campaignCompId, NULL, NULL), - (@option_group_id_act, 'Canvass', 29, 'Canvass', NULL,0, 0, 28, '', 0, 1, 1, @campaignCompId, NULL, NULL), - (@option_group_id_act, 'PhoneBank', 30, 'PhoneBank', NULL,0, 0, 29, '', 0, 1, 1, @campaignCompId, NULL, NULL), - (@option_group_id_act, 'WalkList', 31, 'WalkList', NULL,0, 0, 30, '', 0, 1, 1, @campaignCompId, NULL, NULL), - (@option_group_id_act, 'Petition Signature', 32, 'Petition', NULL,0, 0, 31, '', 0, 1, 1, @campaignCompId, NULL, NULL), - (@option_group_id_act, 'Mass SMS', 34, 'Mass SMS', NULL, 1, 0, 34, 'Mass SMS', 0, 1, 1, NULL, NULL, NULL), - --- Additional Membership-related Activity Types - (@option_group_id_act, 'Change Membership Status', 35, 'Change Membership Status', NULL, 1, 0, 35, 'Change Membership Status.', 0, 1, 1, @memberCompId, NULL, NULL), - (@option_group_id_act, 'Change Membership Type', 36, 'Change Membership Type', NULL, 1, 0, 36, 'Change Membership Type.', 0, 1, 1, @memberCompId, NULL, NULL), - - (@option_group_id_act, 'Cancel Recurring Contribution', 37, 'Cancel Recurring Contribution', NULL,1, 0, 37, '', 0, 1, 1, @contributeCompId, NULL, NULL), - (@option_group_id_act, 'Update Recurring Contribution Billing Details', 38, 'Update Recurring Contribution Billing Details', NULL,1, 0, 38, '', 0, 1, 1, @contributeCompId, NULL, NULL), - (@option_group_id_act, 'Update Recurring Contribution', 39, 'Update Recurring Contribution', NULL,1, 0, 39, '', 0, 1, 1, @contributeCompId, NULL, NULL), - - (@option_group_id_act, 'Reminder Sent', 40, 'Reminder Sent', NULL, 1, 0, 40, '', 0, 1, 1, NULL, NULL, NULL), - - -- Activity Types for Financial Transactions Batch - (@option_group_id_act, 'Export Accounting Batch', 41, 'Export Accounting Batch', NULL, 1, 0, 41, 'Export Accounting Batch', 0, 1, 1, @contributeCompId, NULL, NULL), - (@option_group_id_act, 'Create Batch', 42, 'Create Batch', NULL, 1, 0, 42, 'Create Batch', 0, 1, 1, @contributeCompId, NULL, NULL), - (@option_group_id_act, 'Edit Batch', 43, 'Edit Batch', NULL, 1, 0, 43, 'Edit Batch', 0, 1, 1, @contributeCompId, NULL, NULL), - --- new sms options - (@option_group_id_act, 'SMS delivery', 44, 'SMS delivery', NULL, 1, 0, 44, 'SMS delivery', 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_act, 'Inbound SMS', 45, 'Inbound SMS', NULL, 1, 0, 45, 'Inbound SMS', 0, 1, 1, NULL, NULL, NULL), - - - -- Activity types for particial payment - (@option_group_id_act, 'Payment', 46, 'Payment', NULL, 1, 0, 46, 'Additional payment recorded for event or membership fee.', 0, 1, 1, @contributeCompId, NULL, NULL), - (@option_group_id_act, 'Refund', 47, 'Refund', NULL, 1, 0, 47, 'Refund recorded for event or membership fee.', 0, 1, 1, @contributeCompId, NULL, NULL), - - -- for selection changes - (@option_group_id_act, 'Change Registration', 48, 'Change Registration', NULL, 1, 0, 48, 'Changes to an existing event registration.', 0, 1, 1, @eventCompId, NULL, NULL), - -- for Print or Email Contribution Invoices - (@option_group_id_act, 'Downloaded Invoice', 49, 'Downloaded Invoice', NULL, 1, 0, 49, 'Downloaded Invoice.',0, 1, 1, NULL, NULL, NULL), - (@option_group_id_act, 'Emailed Invoice', 50, 'Emailed Invoice', NULL, 1, 0, 50, 'Emailed Invoice.',0, 1, 1, NULL, NULL, NULL), - - -- for manual contact merge - (@option_group_id_act, 'Contact Merged', 51, 'Contact Merged', NULL, 1, 0, 51, 'Contact Merged',0, 1, 1, NULL, NULL, NULL), - (@option_group_id_act, 'Contact Deleted by Merge', 52, 'Contact Deleted by Merge', NULL, 1, 0, 52, 'Contact was merged into another contact',0, 1, 1, NULL, NULL, NULL), - - -- Activity Type for failed payment - (@option_group_id_act, 'Failed Payment', 54, 'Failed Payment', NULL, 1, 0, 54, 'Failed Payment', 0, 1, 1, @contributeCompId, NULL, NULL), - - (@option_group_id_gender, 'Female', 1, 'Female', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_gender, 'Male', 2, 'Male', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_gender, 'Other', 3, 'Other', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_IMProvider, 'Yahoo', 1, 'Yahoo', NULL, 0, NULL, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_IMProvider, 'MSN', 2, 'Msn', NULL, 0, NULL, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_IMProvider, 'AIM', 3, 'Aim', NULL, 0, NULL, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_IMProvider, 'GTalk', 4, 'Gtalk', NULL, 0, NULL, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_IMProvider, 'Jabber',5, 'Jabber',NULL, 0, NULL, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_IMProvider, 'Skype', 6, 'Skype', NULL, 0, NULL, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_mobileProvider, 'Sprint' , 1, 'Sprint' , NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_mobileProvider, 'Verizon' , 2, 'Verizon' , NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_mobileProvider, 'Cingular', 3, 'Cingular', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_prefix, 'Mrs.', 1, 'Mrs.', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_prefix, 'Ms.', 2, 'Ms.', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_prefix, 'Mr.', 3, 'Mr.', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_prefix, 'Dr.', 4, 'Dr.', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_suffix, 'Jr.', 1, 'Jr.', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_suffix, 'Sr.', 2, 'Sr.', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_suffix, 'II', 3, 'II', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_suffix, 'III', 4, 'III', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_suffix, 'IV', 5, 'IV', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_suffix, 'V', 6, 'V', NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_suffix, 'VI', 7, 'VI', NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_suffix, 'VII', 8, 'VII', NULL, 0, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_aclRole, 'Administrator', 1, 'Admin', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_aclRole, 'Authenticated', 2, 'Auth' , NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - - (@option_group_id_acc, 'Visa' , 1, 'Visa' , NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acc, 'MasterCard', 2, 'MasterCard', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acc, 'Amex' , 3, 'Amex' , NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acc, 'Discover' , 4, 'Discover' , NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_pi, 'Credit Card', 1, 'Credit Card', NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_pi, 'Debit Card', 2, 'Debit Card', NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_pi, 'Cash', 3, 'Cash', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pi, 'Check', 4, 'Check', NULL, 0, 1, 4, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_pi, 'EFT', 5, 'EFT', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_cs, 'Completed' , 1, 'Completed' , NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cs, 'Pending' , 2, 'Pending' , NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cs, 'Cancelled' , 3, 'Cancelled' , NULL, 0, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cs, 'Failed' , 4, 'Failed' , NULL, 0, 0, 4, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cs, 'Refunded' , 7, 'Refunded' , NULL, 0, 0, 7, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cs, 'Partially paid', 8, 'Partially paid', NULL, 0, 0, 8, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cs, 'Pending refund', 9, 'Pending refund', NULL, 0, 0, 9, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cs, 'Chargeback', 10, 'Chargeback', NULL, 0, 0, 10, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cs, 'Template' , 11, 'Template', NULL, 0, 0, 11, 'Status for contribution records which represent a template for a recurring contribution rather than an actual contribution. This status is transitional, to ensure that said contributions don\\\'t appear in reports. The is_template field is the preferred way to find and filter these contributions.', 0, 1, 1, NULL, NULL, NULL), - - (@option_group_id_pcp, 'Waiting Review', 1, 'Waiting Review', NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_pcp, 'Approved' , 2, 'Approved' , NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_pcp, 'Not Approved' , 3, 'Not Approved' , NULL, 0, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - - (@option_group_id_pcpOwnerNotify, 'Owner chooses whether to receive notifications', 1, 'owner_chooses', NULL, 0, 1, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_pcpOwnerNotify, 'Notifications are sent to ALL owners' , 2, 'all_owners' , NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_pcpOwnerNotify, 'Notifications are NOT available' , 3, 'no_notifications' , NULL, 0, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - - (@option_group_id_pRole, 'Attendee', 1, 'Attendee', NULL, 1, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pRole, 'Volunteer', 2, 'Volunteer', NULL, 1, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pRole, 'Host', 3, 'Host', NULL, 1, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pRole, 'Speaker', 4, 'Speaker', NULL, 1, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_etype, 'Conference', 1, 'Conference', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_etype, 'Exhibition', 2, 'Exhibition', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_etype, 'Fundraiser', 3, 'Fundraiser', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_etype, 'Meeting', 4, 'Meeting', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_etype, 'Performance',5, 'Performance', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_etype, 'Workshop', 6, 'Workshop', NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - --- note that these are not ts'ed since they are used for logic in most cases and not display --- they are used for display only in the prefernces field settings - (@option_group_id_cvOpt, 'Activities' , 1, 'activity', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, 'Relationships', 2, 'rel', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, 'Groups' , 3, 'group', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, 'Notes' , 4, 'note', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, 'Tags' , 5, 'tag', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, 'Change Log' , 6, 'log', NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, 'Contributions', 7, 'CiviContribute', NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, 'Memberships' , 8, 'CiviMember', NULL, 0, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, 'Events' , 9, 'CiviEvent', NULL, 0, 0, 9, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, 'Cases' , 10, 'CiviCase', NULL, 0, 0, 10, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, 'Pledges' , 13, 'CiviPledge', NULL, 0, 0, 13, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, 'Mailings' , 14, 'CiviMail', NULL, 0, 0, 14, NULL, 0, 0, 1, NULL, NULL, NULL), - - - (@option_group_id_csgOpt, 'Show Smart Groups on Demand',1, 'showondemand', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csgOpt, 'Always Show Smart Groups', 2, 'alwaysshow', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csgOpt, 'Hide Smart Groups' , 3, 'hide', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_ceOpt, 'Custom Data' , 1, 'CustomData', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, 'Address' , 2, 'Address', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, 'Communication Preferences', 3, 'CommunicationPreferences', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, 'Notes' , 4, 'Notes', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, 'Demographics' , 5, 'Demographics', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, 'Tags and Groups' , 6, 'TagsAndGroups', NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, 'Email' , 7, 'Email', NULL, 1, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, 'Phone' , 8, 'Phone', NULL, 1, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, 'Instant Messenger' , 9, 'IM', NULL, 1, 0, 9, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, 'Open ID' , 10, 'OpenID', NULL, 1, 0, 10, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, 'Website' , 11, 'Website', NULL, 1, 0, 11, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, 'Prefix' , 12, 'Prefix', NULL, 2, 0, 12, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, 'Formal Title' , 13, 'Formal Title', NULL, 2, 0, 13, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, 'First Name' , 14, 'First Name', NULL, 2, 0, 14, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, 'Middle Name' , 15, 'Middle Name', NULL, 2, 0, 15, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, 'Last Name' , 16, 'Last Name', NULL, 2, 0, 16, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, 'Suffix' , 17, 'Suffix', NULL, 2, 0, 17, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_asOpt, 'Address Fields' , 1, 'location', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, 'Custom Fields' , 2, 'custom', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, 'Activities' , 3, 'activity', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, 'Relationships' , 4, 'relationship', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, 'Notes' , 5, 'notes', NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, 'Change Log' , 6, 'changeLog', NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, 'Contributions' , 7, 'CiviContribute', NULL, 0, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, 'Memberships' , 8, 'CiviMember', NULL, 0, 0, 9, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, 'Events' , 9, 'CiviEvent', NULL, 0, 0, 10, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, 'Cases' , 10, 'CiviCase', NULL, 0, 0, 11, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, 'Demographics' , 13, 'demographics', NULL, 0, 0, 15, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, 'Pledges' , 15, 'CiviPledge', NULL, 0, 0, 17, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, 'Contact Type' , 16, 'contactType', NULL, 0, 0, 18, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, 'Groups' , 17, 'groups', NULL, 0, 0, 19, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, 'Tags' , 18, 'tags', NULL, 0, 0, 20, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, 'Mailing' , 19, 'CiviMail', NULL, 0, 0, 21, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_udOpt, 'Groups' , 1, 'Groups', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_udOpt, 'Contributions' , 2, 'CiviContribute', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_udOpt, 'Memberships' , 3, 'CiviMember', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_udOpt, 'Events' , 4, 'CiviEvent', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_udOpt, 'My Contacts / Organizations', 5, 'Permissioned Orgs', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_udOpt, 'Pledges' , 7, 'CiviPledge', NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_udOpt, 'Personal Campaign Pages' , 8, 'PCP', NULL, 0, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_udOpt, 'Assigned Activities' , 9, 'Assigned Activities', NULL, 0, 0, 9, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_udOpt, 'Invoices / Credit Notes' , 10, 'Invoices / Credit Notes', NULL, 0, 0, 10, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_acsOpt, 'Email Address' , 2, 'email' , NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acsOpt, 'Phone' , 3, 'phone' , NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acsOpt, 'Street Address' , 4, 'street_address', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acsOpt, 'City' , 5, 'city' , NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acsOpt, 'State/Province' , 6, 'state_province', NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acsOpt, 'Country' , 7, 'country' , NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acsOpt, 'Postal Code' , 8, 'postal_code' , NULL, 0, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_acConRef, 'Email Address' , 2, 'email' , NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acConRef, 'Phone' , 3, 'phone' , NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acConRef, 'Street Address' , 4, 'street_address', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acConRef, 'City' , 5, 'city' , NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acConRef, 'State/Province' , 6, 'state_province', NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acConRef, 'Country' , 7, 'country' , NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acConRef, 'Postal Code' , 8, 'postal_code' , NULL, 0, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_adOpt, 'Street Address' , 1, 'street_address', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, 'Supplemental Address 1' , 2, 'supplemental_address_1', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, 'Supplemental Address 2' , 3, 'supplemental_address_2', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, 'Supplemental Address 3' , 4, 'supplemental_address_3', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, 'City' , 5, 'city' , NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, 'Postal Code' , 6, 'postal_code' , NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, 'Postal Code Suffix', 7, 'postal_code_suffix', NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, 'County' , 8, 'county' , NULL, 0, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, 'State/Province' , 9, 'state_province', NULL, 0, 0, 9, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, 'Country' , 10, 'country' , NULL, 0, 0, 10, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, 'Latitude' , 11, 'geo_code_1' , NULL, 0, 0, 11, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, 'Longitude' , 12, 'geo_code_2', NULL, 0, 0, 12, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, 'Address Name' , 13, 'address_name', NULL, 0, 0, 13, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, 'Street Address Parsing', 14, 'street_address_parsing', NULL, 0, 0, 14, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_gType, 'Access Control', 1, 'Access Control', NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_gType, 'Mailing List', 2, 'Mailing List', NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_Sample' , 1, 'CRM_Contact_Form_Search_Custom_Sample' , NULL, 0, 0, 1, 'Household Name and State', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_ContributionAggregate', 2, 'CRM_Contact_Form_Search_Custom_ContributionAggregate', NULL, 0, 0, 2, 'Contribution Aggregate', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_Group' , 4, 'CRM_Contact_Form_Search_Custom_Group' , NULL, 0, 0, 4, 'Include / Exclude Search', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_PostalMailing' , 5, 'CRM_Contact_Form_Search_Custom_PostalMailing', NULL, 0, 0, 5, 'Postal Mailing', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_Proximity' , 6, 'CRM_Contact_Form_Search_Custom_Proximity', NULL, 0, 0, 6, 'Proximity Search', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_EventAggregate' , 7, 'CRM_Contact_Form_Search_Custom_EventAggregate', NULL, 0, 0, 7, 'Event Aggregate', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_ActivitySearch' , 8, 'CRM_Contact_Form_Search_Custom_ActivitySearch', NULL, 0, 0, 8, 'Activity Search', 0, 0, 0, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_PriceSet' , 9, 'CRM_Contact_Form_Search_Custom_PriceSet', NULL, 0, 0, 9, 'Price Set Details for Event Participants', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_ZipCodeRange' ,10, 'CRM_Contact_Form_Search_Custom_ZipCodeRange', NULL, 0, 0, 10, 'Zip Code Range', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_DateAdded' ,11, 'CRM_Contact_Form_Search_Custom_DateAdded', NULL, 0, 0, 11, 'Date Added to CiviCRM', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_MultipleValues' ,12, 'CRM_Contact_Form_Search_Custom_MultipleValues', NULL, 0, 0, 12, 'Custom Group Multiple Values Listing', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_ContribSYBNT' ,13, 'CRM_Contact_Form_Search_Custom_ContribSYBNT', NULL, 0, 0, 13, 'Contributions made in Year X and not Year Y', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_TagContributions' ,14, 'CRM_Contact_Form_Search_Custom_TagContributions', NULL, 0, 0, 14, 'Find Contribution Amounts by Tag', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_FullText' ,15, 'CRM_Contact_Form_Search_Custom_FullText', NULL, 0, 0, 15, 'Full-text Search', 0, 0, 1, NULL, NULL, NULL), - --- report templates - (@option_group_id_report , 'Constituent Report (Summary)', 'contact/summary', 'CRM_Report_Form_Contact_Summary', NULL, 0, 0, 1, 'Provides a list of address and telephone information for constituent records in your system.', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_report , 'Constituent Report (Detail)', 'contact/detail', 'CRM_Report_Form_Contact_Detail', NULL, 0, 0, 2, 'Provides contact-related information on contributions, memberships, events and activities.', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_report , 'Activity Details Report', 'activity', 'CRM_Report_Form_Activity', NULL, 0, 0, 3, 'Provides a list of constituent activity including activity statistics for one/all contacts during a given date range(required)', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_report , 'Walk / Phone List Report', 'walklist', 'CRM_Report_Form_Walklist_Walklist', NULL, 0, 0, 4, 'Provides a detailed report for your walk/phonelist for targeted contacts', 0, 0, 0, NULL, NULL, NULL), - (@option_group_id_report , 'Current Employer Report', 'contact/currentEmployer', 'CRM_Report_Form_Contact_CurrentEmployer', NULL, 0, 0, 5, 'Provides detail list of employer employee relationships along with employment details Ex Join Date', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_report , 'Contribution Summary Report', 'contribute/summary', 'CRM_Report_Form_Contribute_Summary', NULL, 0, 0, 6, 'Groups and totals contributions by criteria including contact, time period, financial type, contributor location, etc.', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report , 'Contribution Detail Report', 'contribute/detail', 'CRM_Report_Form_Contribute_Detail', NULL, 0, 0, 7, 'Lists specific contributions by criteria including contact, time period, financial type, contributor location, etc. Contribution summary report points to this report for contribution details.', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report , 'Repeat Contributions Report', 'contribute/repeat', 'CRM_Report_Form_Contribute_Repeat', NULL, 0, 0, 8, 'Given two date ranges, shows contacts who contributed in both the date ranges with the amount contributed in each and the percentage increase / decrease.', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report , 'Contributions by Organization Report', 'contribute/organizationSummary', 'CRM_Report_Form_Contribute_OrganizationSummary', NULL, 0, 0, 9, 'Displays a detailed list of contributions grouped by organization, which includes contributions made by employees for the organisation.', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report , 'Contributions by Household Report', 'contribute/householdSummary', 'CRM_Report_Form_Contribute_HouseholdSummary', NULL, 0, 0, 10, 'Displays a detailed list of contributions grouped by household which includes contributions made by members of the household.', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report , 'Top Donors Report', 'contribute/topDonor', 'CRM_Report_Form_Contribute_TopDonor', NULL, 0, 0, 11, 'Provides a list of the top donors during a time period you define. You can include as many donors as you want (for example, top 100 of your donors).', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report , 'SYBUNT Report', 'contribute/sybunt', 'CRM_Report_Form_Contribute_Sybunt', NULL, 0, 0, 12, 'SYBUNT means some year(s) but not this year. Provides a list of constituents who donated at some time in the history of your organization but did not donate during the time period you specify.', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report , 'LYBUNT Report', 'contribute/lybunt', 'CRM_Report_Form_Contribute_Lybunt', NULL, 0, 0, 13, 'LYBUNT means last year but not this year. Provides a list of constituents who donated last year but did not donate during the time period you specify as the current year.', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report , 'Soft Credit Report', 'contribute/softcredit', 'CRM_Report_Form_Contribute_SoftCredit', NULL, 0, 0, 14, 'Shows contributions made by contacts that have been soft-credited to other contacts.', 0, 0, 1,@contributeCompId, NULL, NULL), - (@option_group_id_report , 'Membership Report (Summary)', 'member/summary', 'CRM_Report_Form_Member_Summary', NULL, 0, 0, 15, 'Provides a summary of memberships by type and Member Since.', 0, 0, 1, @memberCompId, NULL, NULL), - (@option_group_id_report , 'Membership Report (Detail)', 'member/detail', 'CRM_Report_Form_Member_Detail', NULL, 0, 0, 16, 'Provides a list of members along with their membership status and membership details (Member Since, Membership Start Date, Membership Expiration Date). Can also display contributions (payments) associated with each membership.', 0, 0, 1, @memberCompId, NULL, NULL), - (@option_group_id_report , 'Membership Report (Lapsed)', 'member/lapse', 'CRM_Report_Form_Member_Lapse', NULL, 0, 0, 17, 'Provides a list of memberships that lapsed or will lapse before the date you specify.', 0, 0, 1, @memberCompId, NULL, NULL), - (@option_group_id_report , 'Event Participant Report (List)', 'event/participantListing', 'CRM_Report_Form_Event_ParticipantListing', NULL, 0, 0, 18, 'Provides lists of participants for an event.', 0, 0, 1, @eventCompId, NULL, NULL), - (@option_group_id_report , 'Event Income Report (Summary)', 'event/summary', 'CRM_Report_Form_Event_Summary', NULL, 0, 0, 19, 'Provides an overview of event income. You can include key information such as event ID, registration, attendance, and income generated to help you determine the success of an event.', 0, 0, 1, @eventCompId, NULL, NULL), - (@option_group_id_report , 'Event Income Report (Detail)', 'event/income', 'CRM_Report_Form_Event_Income', NULL, 0, 0, 20, 'Helps you to analyze the income generated by an event. The report can include details by participant type, status and payment method.', 0, 0, 1, @eventCompId, NULL, NULL), - (@option_group_id_report , 'Pledge Detail Report', 'pledge/detail', 'CRM_Report_Form_Pledge_Detail', NULL, 0, 0, 21, 'List of pledges including amount pledged, pledge status, next payment date, balance due, total amount paid etc.', 0, 0, 1, @pledgeCompId, NULL, NULL), - (@option_group_id_report , 'Pledged but not Paid Report', 'pledge/pbnp', 'CRM_Report_Form_Pledge_Pbnp', NULL, 0, 0, 22, 'Pledged but not Paid Report', 0, 0, 1, @pledgeCompId, NULL, NULL), - (@option_group_id_report , 'Relationship Report', 'contact/relationship', 'CRM_Report_Form_Contact_Relationship', NULL, 0, 0, 23, 'Relationship Report', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_report , 'Case Summary Report', 'case/summary', 'CRM_Report_Form_Case_Summary', NULL, 0, 0, 24, 'Provides a summary of cases and their duration by date range, status, staff member and / or case role.', 0, 0, 1, @caseCompId, NULL, NULL), - (@option_group_id_report , 'Case Time Spent Report', 'case/timespent', 'CRM_Report_Form_Case_TimeSpent', NULL, 0, 0, 25, 'Aggregates time spent on case and / or non-case activities by activity type and contact.', 0, 0, 1, @caseCompId, NULL, NULL), - (@option_group_id_report , 'Contact Demographics Report', 'case/demographics', 'CRM_Report_Form_Case_Demographics', NULL, 0, 0, 26, 'Demographic breakdown for case clients (and or non-case contacts) in your database. Includes custom contact fields.', 0, 0, 1, @caseCompId, NULL, NULL), - (@option_group_id_report , 'Database Log Report', 'contact/log', 'CRM_Report_Form_Contact_Log', NULL, 0, 0, 27, 'Log of contact and activity records created or updated in a given date range.', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_report , 'Activity Summary Report', 'activitySummary', 'CRM_Report_Form_ActivitySummary', NULL, 0, 0, 28, 'Shows activity statistics by type / date', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_report, 'Bookkeeping Transactions Report', 'contribute/bookkeeping', 'CRM_Report_Form_Contribute_Bookkeeping', NULL, 0, 0, 29, 'Shows Bookkeeping Transactions Report', 0, 0, 1, 2, NULL, NULL), - (@option_group_id_report, 'Participant list Count Report', 'event/participantlist', 'CRM_Report_Form_Event_ParticipantListCount', NULL, 0, 0, 31, 'Shows the Participant list with Participant Count.', 0, 0, 1, @eventCompId, NULL, NULL), - (@option_group_id_report, 'Income Count Summary Report', 'event/incomesummary', 'CRM_Report_Form_Event_IncomeCountSummary', NULL, 0, 0, 32, 'Shows the Income Summary of events with Count.', 0, 0, 1, @eventCompId, NULL, NULL), - (@option_group_id_report, 'Case Detail Report', 'case/detail', 'CRM_Report_Form_Case_Detail', NULL, 0, 0, 33, 'Case Details', 0, 0, 1, @caseCompId, NULL, NULL), - (@option_group_id_report, 'Mail Bounce Report', 'Mailing/bounce', 'CRM_Report_Form_Mailing_Bounce', NULL, 0, 0, 34, 'Bounce Report for mailings', 0, 0, 1, @mailCompId, NULL, NULL), - (@option_group_id_report, 'Mail Summary Report', 'Mailing/summary', 'CRM_Report_Form_Mailing_Summary', NULL, 0, 0, 35, 'Summary statistics for mailings', 0, 0, 1, @mailCompId, NULL, NULL), - (@option_group_id_report, 'Mail Opened Report', 'Mailing/opened', 'CRM_Report_Form_Mailing_Opened', NULL, 0, 0, 36, 'Display contacts who opened emails from a mailing', 0, 0, 1, @mailCompId, NULL, NULL), - (@option_group_id_report, 'Mail Click-Through Report', 'Mailing/clicks', 'CRM_Report_Form_Mailing_Clicks', NULL, 0, 0, 37, 'Display clicks from each mailing', 0, 0, 1, @mailCompId, NULL, NULL), - (@option_group_id_report, 'Contact Logging Report (Summary)', 'logging/contact/summary', 'CRM_Report_Form_Contact_LoggingSummary', NULL, 0, 0, 38, 'Contact modification report for the logging infrastructure (summary).', 0, 0, 0, NULL, NULL, NULL), - (@option_group_id_report, 'Contact Logging Report (Detail)', 'logging/contact/detail', 'CRM_Report_Form_Contact_LoggingDetail', NULL, 0, 0, 39, 'Contact modification report for the logging infrastructure (detail).', 0, 0, 0, NULL, NULL, NULL), - (@option_group_id_report, 'Survey Report (Detail)', 'survey/detail', 'CRM_Report_Form_Campaign_SurveyDetails', NULL, 0, 0, 43, 'Detailed report for canvassing, phone-banking, walk lists or other surveys.', 0, 0, 1, @campaignCompId, NULL, NULL), - (@option_group_id_report, 'Personal Campaign Page Report', 'contribute/pcp', 'CRM_Report_Form_Contribute_PCP', NULL, 0, 0, 44, 'Summarizes amount raised and number of contributors for each Personal Campaign Page.', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report , 'Pledge Summary Report', 'pledge/summary', 'CRM_Report_Form_Pledge_Summary', NULL, 0, 0, 45, 'Groups and totals pledges by criteria including contact, time period, pledge status, location, etc.', 0, 0, 1, @pledgeCompId, NULL, NULL), - (@option_group_id_report , 'Contribution Aggregate by Relationship', 'contribute/history', 'CRM_Report_Form_Contribute_History', NULL, 0, 0, 46, 'List contact\'s donation history, grouped by year, along with contributions attributed to any of the contact\'s related contacts.', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report, 'Mail Detail Report', 'mailing/detail', 'CRM_Report_Form_Mailing_Detail', NULL, 0, 0, 47, 'Provides reporting on Intended and Successful Deliveries, Unsubscribes and Opt-outs, Replies and Forwards.', 0, 0, 1, @mailCompId, NULL, NULL), - (@option_group_id_report, 'Contribution and Membership Details', 'member/contributionDetail', 'CRM_Report_Form_Member_ContributionDetail', NULL, 0, 0, 48, 'Contribution details for any type of contribution, plus associated membership information for contributions which are in payment for memberships.', 0, 0, 1, @memberCompId, NULL, NULL), - (@option_group_id_report, 'Recurring Contributions Report', 'contribute/recur', 'CRM_Report_Form_Contribute_Recur', NULL, 0, 0, 49, 'Provides information about the status of recurring contributions', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report, 'Recurring Contributions Summary', 'contribute/recursummary', 'CRM_Report_Form_Contribute_RecurSummary', NULL, 0, 0, 49, 'Provides simple summary for each payment instrument for which there are recurring contributions (e.g. Credit Card, Standing Order, Direct Debit, etc., NULL), showing within a given date range.', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report, 'Deferred Revenue Details', 'contribute/deferredrevenue', 'CRM_Report_Form_Contribute_DeferredRevenue', NULL, 0, 0, 50, 'Deferred Revenue Details Report', 0, 0, 1, @contributeCompId, NULL, NULL), - - (@option_group_id_acs, 'Scheduled', 1, 'Scheduled', NULL, 0, 1, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_acs, 'Completed', 2, 'Completed', NULL, 1, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_acs, 'Cancelled', 3, 'Cancelled', NULL, 2, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_acs, 'Left Message', 4, 'Left Message', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acs, 'Unreachable', 5, 'Unreachable', NULL, 2, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acs, 'Not Required', 6, 'Not Required', NULL, 2, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acs, 'Available', 7, 'Available', NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acs, 'No-show', 8, 'No_show', NULL, 2, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_cas, 'Ongoing' , 1, 'Open' , 'Opened', 0, 1, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cas, 'Resolved', 2, 'Closed', 'Closed', 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cas, 'Urgent' , 3, 'Urgent', 'Opened', 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_pl, 'Name Only' , 1, 'Name Only' , NULL, 0, 0, 1, 'CRM_Event_Page_ParticipantListing_Name', 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_pl, 'Name and Email', 2, 'Name and Email' , NULL, 0, 0, 2, 'CRM_Event_Page_ParticipantListing_NameAndEmail', 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_pl, 'Name, Status and Register Date' , 3, 'Name, Status and Register Date', NULL, 0, 0, 3, 'CRM_Event_Page_ParticipantListing_NameStatusAndDate', 0, 1, 1, NULL, NULL, NULL), - - (@option_group_id_sfe, 'jpg', 1, 'jpg', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'jpeg', 2, 'jpeg', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'png', 3, 'png', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'gif', 4, 'gif', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'txt', 5, 'txt', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'pdf', 6, 'pdf', NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'doc', 7, 'doc', NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'xls', 8, 'xls', NULL, 0, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'rtf', 9, 'rtf', NULL, 0, 0, 9, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'csv', 10, 'csv', NULL, 0, 0, 10, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'ppt', 11, 'ppt', NULL, 0, 0, 11, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'docx', 12, 'docx', NULL, 0, 0, 12, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'xlsx', 13, 'xlsx', NULL, 0, 0, 13, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'odt', 14, 'odt', NULL, 0, 0, 14, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'ics', 15, 'ics', NULL, 0, 0, 15, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'pptx', 16, 'pptx', NULL, 0, 0, 16, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_we, 'Textarea', 1, 'Textarea', NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_we, 'CKEditor 4', 2, 'CKEditor', NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - - (@option_group_id_mt, 'Search Builder', 1, 'Search Builder', NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, 'Import Contact', 2, 'Import Contact', NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, 'Import Activity', 3, 'Import Activity', NULL, 0, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, 'Import Contribution', 4, 'Import Contribution', NULL, 0, 0, 4, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, 'Import Membership', 5, 'Import Membership', NULL, 0, 0, 5, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, 'Import Participant', 6, 'Import Participant', NULL, 0, 0, 6, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, 'Export Contact', 7, 'Export Contact', NULL, 0, 0, 7, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, 'Export Contribution', 8, 'Export Contribution', NULL, 0, 0, 8, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, 'Export Membership', 9, 'Export Membership', NULL, 0, 0, 9, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, 'Export Participant', 10, 'Export Participant', NULL, 0, 0, 10, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, 'Export Pledge', 11, 'Export Pledge', NULL, 0, 0, 11, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, 'Export Case', 12, 'Export Case', NULL, 0, 0, 12, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, 'Export Activity', 14, 'Export Activity', NULL, 0, 0, 14, NULL, 0, 1, 1, NULL, NULL, NULL), - - (@option_group_id_fu, 'day' , 'day' , 'day', NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_fu, 'week' , 'week' , 'week', NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_fu, 'month' , 'month', 'month', NULL, 0, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_fu, 'year' , 'year' , 'year', NULL, 0, 0, 4, NULL, 0, 1, 1, NULL, NULL, NULL), - --- phone types. - (@option_group_id_pht, 'Phone' , 1, 'Phone' , NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pht, 'Mobile', 2, 'Mobile' , NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pht, 'Fax' , 3, 'Fax' , NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pht, 'Pager' , 4, 'Pager' , NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pht, 'Voicemail' , 5, 'Voicemail' , NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - --- custom data types. - (@option_group_id_cdt, 'Participants (Role)', '1', 'ParticipantRole', 'role_id', 0, 0, 1, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_cdt, 'Participants (Event Name)', '2', 'ParticipantEventName', 'event_id', 0, 0, 2, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_cdt, 'Participants (Event Type)', '3', 'ParticipantEventType', 'event_id.event_type_id', 0, 0, 3, NULL, 0, 0, 1, NULL, NULL , NULL), - --- visibility. - (@option_group_id_vis, 'Public', 1, 'public', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_vis, 'Admin', 2, 'admin', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL , NULL), - --- mail protocol. - (@option_group_id_mp, 'IMAP', 1, 'IMAP', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_mp, 'Maildir', 2, 'Maildir', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_mp, 'POP3', 3, 'POP3', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_mp, 'Localdir', 4, 'Localdir', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL , NULL), - --- priority - (@option_group_id_priority, 'Urgent', 1, 'Urgent', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_priority, 'Normal', 2, 'Normal', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_priority, 'Low', 3, 'Low', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - --- redaction rule FIXME: should this be in sample data instead? - (@option_group_id_rr, 'Vancouver', 'city_', 'city_', NULL, 0, 0, 1, NULL, 0, 0, 0, NULL, NULL, NULL), - (@option_group_id_rr, '/(19|20)(\\d{2})-(\\d{1,2})-(\\d{1,2})/', 'date_', 'date_', NULL, 1, 0, 2, NULL, 0, 0, 0, NULL, NULL, NULL), - --- email greeting. - (@option_group_id_emailGreeting, 'Dear {contact.first_name}', 1, 'Dear {contact.first_name}', NULL, 1, 1, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_emailGreeting, 'Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}', 2, 'Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}', NULL, 1, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_emailGreeting, 'Dear {contact.prefix_id:label} {contact.last_name}', 3, 'Dear {contact.prefix_id:label} {contact.last_name}', NULL, 1, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_emailGreeting, 'Customized', 4, 'Customized', NULL, 0, 0, 4, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_emailGreeting, 'Dear {contact.household_name}', 5, 'Dear {contact.household_name}', NULL, 2, 1, 5, NULL, 0, 0, 1, NULL, NULL, NULL), --- postal greeting. - (@option_group_id_postalGreeting, 'Dear {contact.first_name}', 1, 'Dear {contact.first_name}', NULL, 1, 1, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_postalGreeting, 'Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}', 2, 'Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}', NULL, 1, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_postalGreeting, 'Dear {contact.prefix_id:label} {contact.last_name}', 3, 'Dear {contact.prefix_id:label} {contact.last_name}', NULL, 1, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_postalGreeting, 'Customized', 4, 'Customized', NULL, 0, 0, 4, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_postalGreeting, 'Dear {contact.household_name}', 5, 'Dear {contact.household_name}', NULL, 2, 1, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - --- addressee - (@option_group_id_addressee, '{contact.prefix_id:label}{ }{contact.first_name}{ }{contact.middle_name}{ }{contact.last_name}{ }{contact.suffix_id:label}', '1', '{contact.prefix_id:label}{ }{contact.first_name}{ }{contact.middle_name}{ }{contact.last_name}{ }{contact.suffix_id:label}', NULL , '1', '1', '1', NULL , '0', '0', '1', NULL , NULL, NULL), - (@option_group_id_addressee, '{contact.household_name}', '2', '{contact.household_name}', NULL , '2', '1', '2', NULL , '0', '0', '1', NULL , NULL, NULL), - (@option_group_id_addressee, '{contact.organization_name}', '3', '{contact.organization_name}', NULL , '3', '1', '3', NULL , '0', '0', '1', NULL , NULL, NULL), - (@option_group_id_addressee, 'Customized', '4', 'Customized', NULL , 0 , '0', '4', NULL , '0', '1', '1', NULL , NULL, NULL), - --- website type - (@option_group_id_website, 'Work', 1, 'Work', NULL, 0, 1, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'Main', 2, 'Main', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'Facebook', 3, 'Facebook', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'Instagram', 5, 'Instagram', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'LinkedIn', 6, 'LinkedIn', NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'MySpace', 7, 'MySpace', NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'Pinterest', 8, 'Pinterest', NULL, 0, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'SnapChat', 9, 'SnapChat', NULL, 0, 0, 9, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'Tumblr', 10, 'Tumblr', NULL, 0, 0, 10, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'Twitter', 11, 'Twitter', NULL, 0, 0, 11, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'Vine', 12, 'Vine ', NULL, 0, 0, 12, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Tag used for - (@option_group_id_tuf, 'Contacts', 'civicrm_contact', 'Contact', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_tuf, 'Activities', 'civicrm_activity', 'Activity', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_tuf, 'Cases', 'civicrm_case', 'Case', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_tuf, 'Attachments', 'civicrm_file', 'File', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Note used for - (@option_group_id_nuf, 'Contacts', 'civicrm_contact', 'Contact', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_nuf, 'Relationships', 'civicrm_relationship', 'Relationship', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_nuf, 'Participants', 'civicrm_participant', 'Participant', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_nuf, 'Contributions', 'civicrm_contribution', 'Contribution', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Available currencies. - (@option_group_id_currency, 'USD ($)', 'USD', 'USD', NULL, 0, 1, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_currency, 'CAD ($)', 'CAD', 'CAD', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_currency, 'EUR (€)', 'EUR', 'EUR', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_currency, 'GBP (£)', 'GBP', 'GBP', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_currency, 'JPY (Â¥)', 'JPY', 'JPY', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - --- event name badges - (@option_group_id_eventBadge, 'Name Only' , 1, 'CRM_Event_Badge_Simple' , NULL, 0, 0, 1, 'Simple Event Name Badge', 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_eventBadge, 'Name Tent' , 2, 'CRM_Event_Badge_NameTent', NULL, 0, 0, 2, 'Name Tent', 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_eventBadge , 'With Logo' , 3, 'CRM_Event_Badge_Logo' , NULL, 0, 0, 3, 'You can set your own background image', 0, 1, 1, NULL, NULL , NULL), - (@option_group_id_eventBadge , '5395 with Logo', 4, 'CRM_Event_Badge_Logo5395', NULL, 0, 0, 4, 'Avery 5395 compatible labels with logo (4 up by 2, 59.2mm x 85.7mm)', 0, 1, 1, NULL, NULL , NULL), - --- note privacy levels - (@option_group_id_notePrivacy, 'None', 0, 'None', NULL, 0, 1, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_notePrivacy, 'Author Only', 1, 'Author Only', NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - --- Compaign Types - (@option_group_id_campaignType, 'Direct Mail', 1, 'Direct Mail', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_campaignType, 'Referral Program', 2, 'Referral Program', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_campaignType, 'Constituent Engagement', 3, 'Constituent Engagement', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Campaign Status - (@option_group_id_campaignStatus, 'Planned', 1, 'Planned', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_campaignStatus, 'In Progress', 2, 'In Progress', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_campaignStatus, 'Completed', 3, 'Completed', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_campaignStatus, 'Cancelled', 4, 'Cancelled', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Engagement Level - (@option_group_id_engagement_index, '1', 1, '1', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_engagement_index, '2', 2, '2', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_engagement_index, '3', 3, '3', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_engagement_index, '4', 4, '4', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_engagement_index, '5', 5, '5', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL , NULL), - --- Paper Sizes - (@option_group_id_paperSize, 'Letter', '{"metric":"in","width":8.5,"height":11}', 'letter', NULL, NULL, 1, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'Legal', '{"metric":"in","width":8.5,"height":14}', 'legal', NULL, NULL, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'Ledger', '{"metric":"in","width":17,"height":11}', 'ledger', NULL, NULL, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'Tabloid', '{"metric":"in","width":11,"height":17}', 'tabloid', NULL, NULL, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'Executive', '{"metric":"in","width":7.25,"height":10.5}', 'executive', NULL, NULL, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'Folio', '{"metric":"in","width":8.5,"height":13}', 'folio', NULL, NULL, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'Envelope #9', '{"metric":"pt","width":638.93,"height":278.93}', 'envelope-9', NULL, NULL, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'Envelope #10', '{"metric":"pt","width":684,"height":297}', 'envelope-10', NULL, NULL, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'Envelope #11', '{"metric":"pt","width":747,"height":324}', 'envelope-11', NULL, NULL, 0, 9, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'Envelope #12', '{"metric":"pt","width":792,"height":342}', 'envelope-12', NULL, NULL, 0, 10, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'Envelope #14', '{"metric":"pt","width":828,"height":360}', 'envelope-14', NULL, NULL, 0, 11, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'Envelope ISO B4', '{"metric":"pt","width":1000.63,"height":708.66}', 'envelope-b4', NULL, NULL, 0, 12, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'Envelope ISO B5', '{"metric":"pt","width":708.66,"height":498.9}', 'envelope-b5', NULL, NULL, 0, 13, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'Envelope ISO B6', '{"metric":"pt","width":498.9,"height":354.33}', 'envelope-b6', NULL, NULL, 0, 14, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'Envelope ISO C3', '{"metric":"pt","width":1298.27,"height":918.42}', 'envelope-c3', NULL, NULL, 0, 15, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'Envelope ISO C4', '{"metric":"pt","width":918.42,"height":649.13}', 'envelope-c4', NULL, NULL, 0, 16, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'Envelope ISO C5', '{"metric":"pt","width":649.13,"height":459.21}', 'envelope-c5', NULL, NULL, 0, 17, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'Envelope ISO C6', '{"metric":"pt","width":459.21,"height":323.15}', 'envelope-c6', NULL, NULL, 0, 18, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'Envelope ISO DL', '{"metric":"pt","width":623.622,"height":311.811}', 'envelope-dl', NULL, NULL, 0, 19, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO A0', '{"metric":"pt","width":2383.94,"height":3370.39}', 'a0', NULL, NULL, 0, 20, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO A1', '{"metric":"pt","width":1683.78,"height":2383.94}', 'a1', NULL, NULL, 0, 21, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO A2', '{"metric":"pt","width":1190.55,"height":1683.78}', 'a2', NULL, NULL, 0, 22, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO A3', '{"metric":"pt","width":841.89,"height":1190.55}', 'a3', NULL, NULL, 0, 23, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO A4', '{"metric":"pt","width":595.28,"height":841.89}', 'a4', NULL, NULL, 0, 24, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO A5', '{"metric":"pt","width":419.53,"height":595.28}', 'a5', NULL, NULL, 0, 25, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO A6', '{"metric":"pt","width":297.64,"height":419.53}', 'a6', NULL, NULL, 0, 26, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO A7', '{"metric":"pt","width":209.76,"height":297.64}', 'a7', NULL, NULL, 0, 27, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO A8', '{"metric":"pt","width":147.4,"height":209.76}', 'a8', NULL, NULL, 0, 28, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO A9', '{"metric":"pt","width":104.88,"height":147.4}', 'a9', NULL, NULL, 0, 29, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO A10', '{"metric":"pt","width":73.7,"height":104.88}', 'a10', NULL, NULL, 0, 30, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO B0', '{"metric":"pt","width":2834.65,"height":4008.19}', 'b0', NULL, NULL, 0, 31, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO B1', '{"metric":"pt","width":2004.09,"height":2834.65}', 'b1', NULL, NULL, 0, 32, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO B2', '{"metric":"pt","width":1417.32,"height":2004.09}', 'b2', NULL, NULL, 0, 33, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO B3', '{"metric":"pt","width":1000.63,"height":1417.32}', 'b3', NULL, NULL, 0, 34, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO B4', '{"metric":"pt","width":708.66,"height":1000.63}', 'b4', NULL, NULL, 0, 35, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO B5', '{"metric":"pt","width":498.9,"height":708.66}', 'b5', NULL, NULL, 0, 36, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO B6', '{"metric":"pt","width":354.33,"height":498.9}', 'b6', NULL, NULL, 0, 37, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO B7', '{"metric":"pt","width":249.45,"height":354.33}', 'b7', NULL, NULL, 0, 38, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO B8', '{"metric":"pt","width":175.75,"height":249.45}', 'b8', NULL, NULL, 0, 39, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO B9', '{"metric":"pt","width":124.72,"height":175.75}', 'b9', NULL, NULL, 0, 40, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO B10', '{"metric":"pt","width":87.87,"height":124.72}', 'b10', NULL, NULL, 0, 41, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO C0', '{"metric":"pt","width":2599.37,"height":3676.54}', 'c0', NULL, NULL, 0, 42, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO C1', '{"metric":"pt","width":1836.85,"height":2599.37}', 'c1', NULL, NULL, 0, 43, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO C2', '{"metric":"pt","width":1298.27,"height":1836.85}', 'c2', NULL, NULL, 0, 44, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO C3', '{"metric":"pt","width":918.43,"height":1298.27}', 'c3', NULL, NULL, 0, 45, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO C4', '{"metric":"pt","width":649.13,"height":918.43}', 'c4', NULL, NULL, 0, 46, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO C5', '{"metric":"pt","width":459.21,"height":649.13}', 'c5', NULL, NULL, 0, 47, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO C6', '{"metric":"pt","width":323.15,"height":459.21}', 'c6', NULL, NULL, 0, 48, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO C7', '{"metric":"pt","width":229.61,"height":323.15}', 'c7', NULL, NULL, 0, 49, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO C8', '{"metric":"pt","width":161.57,"height":229.61}', 'c8', NULL, NULL, 0, 50, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO C9', '{"metric":"pt","width":113.39,"height":161.57}', 'c9', NULL, NULL, 0, 51, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO C10', '{"metric":"pt","width":79.37,"height":113.39}', 'c10', NULL, NULL, 0, 52, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO RA0', '{"metric":"pt","width":2437.8,"height":3458.27}', 'ra0', NULL, NULL, 0, 53, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO RA1', '{"metric":"pt","width":1729.13,"height":2437.8}', 'ra1', NULL, NULL, 0, 54, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO RA2', '{"metric":"pt","width":1218.9,"height":1729.13}', 'ra2', NULL, NULL, 0, 55, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO RA3', '{"metric":"pt","width":864.57,"height":1218.9}', 'ra3', NULL, NULL, 0, 56, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO RA4', '{"metric":"pt","width":609.45,"height":864.57}', 'ra4', NULL, NULL, 0, 57, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO SRA0', '{"metric":"pt","width":2551.18,"height":3628.35}', 'sra0', NULL, NULL, 0, 58, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO SRA1', '{"metric":"pt","width":1814.17,"height":2551.18}', 'sra1', NULL, NULL, 0, 59, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO SRA2', '{"metric":"pt","width":1275.59,"height":1814.17}', 'sra2', NULL, NULL, 0, 60, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO SRA3', '{"metric":"pt","width":907.09,"height":1275.59}', 'sra3', NULL, NULL, 0, 61, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, 'ISO SRA4', '{"metric":"pt","width":637.8,"height":907.09}', 'sra4', NULL, NULL, 0, 62, NULL, 0, 0, 1, NULL, NULL, NULL), - --- activity_contacts - (@option_group_id_aco, 'Activity Assignees', 1, 'Activity Assignees', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_aco, 'Activity Source', 2, 'Activity Source', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_aco, 'Activity Targets', 3, 'Activity Targets', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - --- pdf_format - (@option_group_id_pdf_format, 'Invoice PDF Format', '{"metric":"px","margin_top":10,"margin_bottom":0,"margin_left":65,"margin_right":0}', 'default_invoice_pdf_format', NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - --- financial_account_type --- grouping field is specific to Quickbooks for mapping to .iif format - (@option_group_id_fat, 'Asset', 1, 'Asset', NULL, 0, 0, 1, 'Things you own', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_fat, 'Liability', 2, 'Liability', NULL, 0, 0, 2, 'Things you owe, like a grant still to be disbursed', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_fat, 'Revenue', 3, 'Revenue', NULL, 0, 1, 3, 'Income from contributions and sales of tickets and memberships', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_fat, 'Cost of Sales', 4, 'Cost of Sales', NULL, 0, 0, 4, 'Costs incurred to get revenue, e.g. premiums for donations, dinner for a fundraising dinner ticket', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_fat, 'Expenses', 5, 'Expenses', NULL, 0, 0, 5, 'Things that are paid for that are consumable, e.g. grants disbursed', 0, 1, 1, 2, NULL, NULL), - --- account_relationship - (@option_group_id_arel, 'Income Account is', 1, 'Income Account is', NULL, 0, 1, 1, 'Income Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, 'Credit/Contra Revenue Account is', 2, 'Credit/Contra Revenue Account is', NULL, 0, 0, 2, 'Credit/Contra Revenue Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, 'Accounts Receivable Account is', 3, 'Accounts Receivable Account is', NULL, 0, 0, 3, 'Accounts Receivable Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, 'Credit Liability Account is', 4, 'Credit Liability Account is', NULL, 0, 0, 4, 'Credit Liability Account is', 0, 1, 0, 2, NULL, NULL), - (@option_group_id_arel, 'Expense Account is', 5, 'Expense Account is', NULL, 0, 0, 5, 'Expense Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, 'Asset Account is', 6, 'Asset Account is', NULL, 0, 0, 6, 'Asset Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, 'Cost of Sales Account is', 7, 'Cost of Sales Account is', NULL, 0, 0, 7, 'Cost of Sales Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, 'Premiums Inventory Account is', 8, 'Premiums Inventory Account is', NULL, 0, 0, 8, 'Premiums Inventory Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, 'Discounts Account is', 9, 'Discounts Account is', NULL, 0, 0, 9, 'Discounts Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, 'Sales Tax Account is', 10, 'Sales Tax Account is', NULL, 0, 0, 10, 'Sales Tax Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, 'Chargeback Account is', 11, 'Chargeback Account is', NULL, 0, 0, 11, 'Chargeback Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, 'Deferred Revenue Account is', 12, 'Deferred Revenue Account is', NULL, 0, 0, 12, 'Deferred Revenue Account is', 0, 1, 1, 2, NULL, NULL), - --- event_contacts - (@option_group_id_ere, 'Participant Role', 1, 'participant_role', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - --- default conference slots - (@option_group_id_conference_slot, 'Morning Sessions', 1, 'Morning Sessions', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_conference_slot, 'Evening Sessions', 2, 'Evening Sessions', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - --- default batch types - (@option_group_id_batch_type, 'Contribution', 1, 'Contribution', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_batch_type, 'Membership', 2, 'Membership', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_batch_type, 'Pledge Payment', 3, 'Pledge Payment', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - --- default batch statuses - (@option_group_id_batch_status, 'Open', 1, 'Open', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_batch_status, 'Closed', 2, 'Closed', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_batch_status, 'Data Entry', 3, 'Data Entry', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_batch_status, 'Reopened', 4, 'Reopened', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_batch_status, 'Exported', 5, 'Exported', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - --- default batch modes - (@option_group_id_batch_mode, 'Manual Batch', 1, 'Manual Batch', NULL, 0, 0, 1, 'Manual Batch', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_batch_mode, 'Automatic Batch', 2, 'Automatic Batch', NULL, 0, 0, 2, 'Automatic Batch', 0, 1, 1, 2, NULL, NULL), - --- Financial Item Status - (@option_group_id_financial_item_status, 'Paid', 1, 'Paid', NULL, 0, 0, 1, 'Paid', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_financial_item_status, 'Partially paid', 2, 'Partially paid', NULL, 0, 0, 2, 'Partially paid', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_financial_item_status, 'Unpaid', 3, 'Unpaid', NULL, 0, 0, 1, 'Unpaid', 0, 1, 1, 2, NULL, NULL), - --- sms_api_type - (@option_group_id_sms_api_type, 'http', 1, 'http', NULL, NULL, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_sms_api_type, 'xml', 2, 'xml', NULL, NULL, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_sms_api_type, 'smtp', 3, 'smtp', NULL, NULL, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - --- auto renew options - (@option_group_id_aro, 'Renewal Reminder (non-auto-renew memberships only)', 1, 'Renewal Reminder (non-auto-renew memberships only)', NULL, 0, NULL, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_aro, 'Auto-renew Memberships Only', 2, 'Auto-renew Memberships Only', NULL, 0, NULL, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_aro, 'Reminder for Both', 3, 'Reminder for Both', NULL, 0, NULL, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Label Type - (@option_group_id_label_type, 'Event Badge', 1, 'Event Badge', NULL, 0, NULL, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Name Label format - (@option_group_id_name_badge, 'Avery 5395', '{"name":"Avery 5395","paper-size":"a4","metric":"mm","lMargin":15,"tMargin":26,"NX":2,"NY":4,"SpaceX":10,"SpaceY":5,"width":83,"height":57,"font-size":12,"orientation":"portrait","font-name":"helvetica","font-style":"","lPadding":3,"tPadding":3}', 'Avery 5395', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_name_badge, 'A6 Badge Portrait 150x106', '{"paper-size":"a4","orientation":"landscape","font-name":"times","font-size":6,"font-style":"","NX":2,"NY":1,"metric":"mm","lMargin":25,"tMargin":27,"SpaceX":0,"SpaceY":35,"width":106,"height":150,"lPadding":5,"tPadding":5}', 'A6 Badge Portrait 150x106', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_name_badge, 'Fattorini Name Badge 100x65', '{"paper-size":"a4","orientation":"portrait","font-name":"times","font-size":6,"font-style":"","NX":2,"NY":4,"metric":"mm","lMargin":6,"tMargin":19,"SpaceX":0,"SpaceY":0,"width":100,"height":65,"lPadding":0,"tPadding":0}', 'Fattorini Name Badge 100x65', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_name_badge, 'Hanging Badge 3-3/4\" x 4-3\"/4', '{"paper-size":"a4","orientation":"portrait","font-name":"times","font-size":6,"font-style":"","NX":2,"NY":2,"metric":"mm","lMargin":10,"tMargin":28,"SpaceX":0,"SpaceY":0,"width":96,"height":121,"lPadding":5,"tPadding":5}', 'Hanging Badge 3-3/4" x 4-3"/4', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Mailing Label Formats - (@option_group_id_label, 'Avery 3475', '{"paper-size":"a4","orientation":"portrait","font-name":"dejavusans","font-size":10,"font-style":"","metric":"mm","lMargin":0,"tMargin":5,"NX":3,"NY":8,"SpaceX":0,"SpaceY":0,"width":70,"height":36,"lPadding":5.08,"tPadding":5.08}', '3475', 'Avery', NULL, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, 'Avery 5160', '{"paper-size":"letter","orientation":"portrait","font-name":"dejavusans","font-size":8,"font-style":"","metric":"in","lMargin":0.21975,"tMargin":0.5,"NX":3,"NY":10,"SpaceX":0.14,"SpaceY":0,"width":2.5935,"height":1,"lPadding":0.20,"tPadding":0.20}', '5160', 'Avery', NULL, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, 'Avery 5161', '{"paper-size":"letter","orientation":"portrait","font-name":"dejavusans","font-size":8,"font-style":"","metric":"in","lMargin":0.175,"tMargin":0.5,"NX":2,"NY":10,"SpaceX":0.15625,"SpaceY":0,"width":4,"height":1,"lPadding":0.20,"tPadding":0.20}', '5161', 'Avery', NULL, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, 'Avery 5162', '{"paper-size":"letter","orientation":"portrait","font-name":"dejavusans","font-size":8,"font-style":"","metric":"in","lMargin":0.1525,"tMargin":0.88,"NX":2,"NY":7,"SpaceX":0.195,"SpaceY":0,"width":4,"height":1.33,"lPadding":0.20,"tPadding":0.20}', '5162', 'Avery', NULL, 0, 4, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, 'Avery 5163', '{"paper-size":"letter","orientation":"portrait","font-name":"dejavusans","font-size":8,"font-style":"","metric":"in","lMargin":0.18,"tMargin":0.5,"NX":2,"NY":5,"SpaceX":0.14,"SpaceY":0,"width":4,"height":2,"lPadding":0.20,"tPadding":0.20}', '5163', 'Avery', NULL, 0, 5, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, 'Avery 5164', '{"paper-size":"letter","orientation":"portrait","font-name":"dejavusans","font-size":12,"font-style":"","metric":"in","lMargin":0.156,"tMargin":0.5,"NX":2,"NY":3,"SpaceX":0.1875,"SpaceY":0,"width":4,"height":3.33,"lPadding":0.20,"tPadding":0.20}', '5164', 'Avery', NULL, 0, 6, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, 'Avery 8600', '{"paper-size":"letter","orientation":"portrait","font-name":"dejavusans","font-size":8,"font-style":"","metric":"mm","lMargin":7.1,"tMargin":19,"NX":3,"NY":10,"SpaceX":9.5,"SpaceY":3.1,"width":66.6,"height":25.4,"lPadding":5.08,"tPadding":5.08}', '8600', 'Avery', NULL, 0, 7, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, 'Avery L7160', '{"paper-size":"a4","orientation":"portrait","font-name":"dejavusans","font-size":9,"font-style":"","metric":"in","lMargin":0.28,"tMargin":0.6,"NX":3,"NY":7,"SpaceX":0.1,"SpaceY":0,"width":2.5,"height":1.5,"lPadding":0.20,"tPadding":0.20}', 'L7160', 'Avery', NULL, 0, 8, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, 'Avery L7161', '{"paper-size":"a4","orientation":"portrait","font-name":"dejavusans","font-size":9,"font-style":"","metric":"in","lMargin":0.28,"tMargin":0.35,"NX":3,"NY":6,"SpaceX":0.1,"SpaceY":0,"width":2.5,"height":1.83,"lPadding":0.20,"tPadding":0.20}', 'L7161', 'Avery', NULL, 0, 9, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, 'Avery L7162', '{"paper-size":"a4","orientation":"portrait","font-name":"dejavusans","font-size":9,"font-style":"","metric":"in","lMargin":0.18,"tMargin":0.51,"NX":2,"NY":8,"SpaceX":0.1,"SpaceY":0,"width":3.9,"height":1.33,"lPadding":0.20,"tPadding":0.20}', 'L7162', 'Avery', NULL, 0, 10, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, 'Avery L7163', '{"paper-size":"a4","orientation":"portrait","font-name":"dejavusans","font-size":9,"font-style":"","metric":"in","lMargin":0.18,"tMargin":0.6,"NX":2,"NY":7,"SpaceX":0.1,"SpaceY":0,"width":3.9,"height":1.5,"lPadding":0.20,"tPadding":0.20}', 'L7163', 'Avery', NULL, 0, 11, NULL, 0, 1, 1, NULL, NULL, NULL), - --- Communication Styles - (@option_group_id_communication_style, 'Formal' , 1, 'formal' , NULL, 0, 1, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_communication_style, 'Familiar', 2, 'familiar', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Message Mode -(@option_group_id_msg_mode, 'Email', 'Email', 'Email', NULL, 0, 1, 1, NULL, 0, 1, 1, NULL, NULL, NULL), -(@option_group_id_msg_mode, 'SMS', 'SMS', 'SMS', NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), -(@option_group_id_msg_mode, 'User Preference', 'User_Preference', 'User Preference', NULL, 0, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - --- Reminder Options for Contact Date Fields -(@option_group_id_contactDateMode, 'Actual date only', '1', 'Actual date only', NULL, NULL, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), -(@option_group_id_contactDateMode, 'Each anniversary', '2', 'Each anniversary', NULL, NULL, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - --- WYSIWYG Editor Presets -(@option_group_id_wysiwyg_presets, 'Default', '1', 'default', NULL, NULL, 1, 1, NULL, 0, 1, 1, NULL, NULL, NULL), -(@option_group_id_wysiwyg_presets, 'CiviMail', '2', 'civimail', NULL, NULL, 0, 2, NULL, 0, 1, 1, @mailCompId, NULL, NULL), -(@option_group_id_wysiwyg_presets, 'CiviEvent', '3', 'civievent', NULL, NULL, 0, 3, NULL, 0, 1, 1, @eventCompId, NULL, NULL), - --- Environment -(@option_group_id_env, 'Production', 'Production', 'Production', NULL, NULL, 1, 1, 'Production Environment', 0, 1, 1, NULL, NULL, NULL), -(@option_group_id_env, 'Staging', 'Staging', 'Staging', NULL, NULL, 0, 2, 'Staging Environment', 0, 1, 1, NULL, NULL, NULL), -(@option_group_id_env, 'Development', 'Development', 'Development', NULL, NULL, 0, 3, 'Development Environment', 0, 1, 1, NULL, NULL, NULL), - --- Relative Date Filters - (@option_group_id_date_filter, 'Today', 'this.day', 'this.day', NULL, NULL, 0,1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'This week', 'this.week', 'this.week', NULL, NULL, 0,2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'This calendar month', 'this.month', 'this.month', NULL, NULL, 0,3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'This quarter', 'this.quarter', 'this.quarter', NULL, NULL, 0,4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'This fiscal year', 'this.fiscal_year', 'this.fiscal_year', NULL, NULL, 0,5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'This calendar year', 'this.year', 'this.year', NULL, NULL, 0,6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Yesterday', 'previous.day', 'previous.day', NULL, NULL, 0,7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Previous week', 'previous.week', 'previous.week', NULL, NULL, 0,8, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Previous calendar month', 'previous.month', 'previous.month', NULL, NULL, 0,9, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Previous quarter', 'previous.quarter', 'previous.quarter', NULL, NULL, 0,10, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Previous fiscal year', 'previous.fiscal_year', 'previous.fiscal_year', NULL, NULL, 0,11, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Previous calendar year', 'previous.year', 'previous.year', NULL, NULL, 0,12, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Last 7 days including today', 'ending.week', 'ending.week', NULL, NULL, 0,13, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Last 30 days including today', 'ending_30.day', 'ending.month', NULL, NULL, 0,14, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Last 60 days including today', 'ending_60.day', 'ending_2.month', NULL, NULL, 0,15, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Last 90 days including today', 'ending_90.day', 'ending.quarter', NULL, NULL, 0,16, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Last 12 months including today', 'ending.year', 'ending.year', NULL, NULL, 0,17, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Last 2 years including today', 'ending_2.year', 'ending_2.year', NULL, NULL, 0,18, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Last 3 years including today', 'ending_3.year', 'ending_3.year', NULL, NULL, 0,19, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Tomorrow', 'starting.day', 'starting.day', NULL, NULL, 0,20, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Next week', 'next.week', 'next.week', NULL, NULL, 0,21, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Next calendar month', 'next.month', 'next.month', NULL, NULL, 0,22, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Next quarter', 'next.quarter', 'next.quarter', NULL, NULL, 0,23, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Next fiscal year', 'next.fiscal_year', 'next.fiscal_year', NULL, NULL, 0,24, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Next calendar year', 'next.year', 'next.year', NULL, NULL, 0,25, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Next 7 days including today', 'starting.week', 'starting.week', NULL, NULL, 0,26, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Next 30 days including today', 'starting.month', 'starting.month', NULL, NULL, 0,27, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Next 60 days including today', 'starting_2.month', 'starting_2.month', NULL, NULL, 0,28, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Next 90 days including today', 'starting.quarter', 'starting.quarter', NULL, NULL, 0,29, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Next 12 months including today', 'starting.year', 'starting.year', NULL, NULL, 0,30, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Current week to-date', 'current.week', 'current.week', NULL, NULL, 0,31, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Current calendar month to-date', 'current.month', 'current.month', NULL, NULL, 0,32, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Current quarter to-date', 'current.quarter', 'current.quarter', NULL, NULL, 0,33, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Current calendar year to-date', 'current.year', 'current.year', NULL, NULL, 0,34, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'To end of yesterday', 'earlier.day', 'earlier.day', NULL, NULL, 0,35, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'To end of previous week', 'earlier.week', 'earlier.week', NULL, NULL, 0,36, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'To end of previous calendar month', 'earlier.month', 'earlier.month', NULL, NULL, 0,37, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'To end of previous quarter', 'earlier.quarter', 'earlier.quarter', NULL, NULL, 0,38, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'To end of previous calendar year', 'earlier.year', 'earlier.year', NULL, NULL, 0,39, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'From start of current day', 'greater.day', 'greater.day', NULL, NULL, 0,40, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'From start of current week', 'greater.week', 'greater.week', NULL, NULL, 0,41, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'From start of current calendar month', 'greater.month', 'greater.month', NULL, NULL, 0,42, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'From start of current quarter', 'greater.quarter', 'greater.quarter', NULL, NULL, 0,43, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'From start of current calendar year', 'greater.year', 'greater.year', NULL, NULL, 0,44, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'To end of current week', 'less.week', 'less.week', NULL, NULL, 0,45, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'To end of current calendar month', 'less.month', 'less.month', NULL, NULL, 0,46, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'To end of current quarter', 'less.quarter', 'less.quarter', NULL, NULL, 0,47, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'To end of current calendar year', 'less.year', 'less.year', NULL, NULL, 0,48, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Previous 2 days', 'previous_2.day', 'previous_2.day', NULL, NULL, 0,49, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Previous 2 weeks', 'previous_2.week', 'previous_2.week', NULL, NULL, 0,50, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Previous 2 calendar months', 'previous_2.month', 'previous_2.month', NULL, NULL, 0,51, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Previous 2 quarters', 'previous_2.quarter', 'previous_2.quarter', NULL, NULL, 0,52, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Previous 2 calendar years', 'previous_2.year', 'previous_2.year', NULL, NULL, 0,53, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Previous 2 fiscal years', 'previous_2.fiscal_year', 'previous_2.fiscal_year', NULL, NULL, 0,54, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Day prior to yesterday', 'previous_before.day', 'previous_before.day', NULL, NULL, 0,55, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Week prior to previous week', 'previous_before.week', 'previous_before.week', NULL, NULL, 0,56, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Month prior to previous calendar month', 'previous_before.month', 'previous_before.month', NULL, NULL, NULL,57, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Quarter prior to previous quarter', 'previous_before.quarter', 'previous_before.quarter', NULL, NULL, 0,58, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Year prior to previous calendar year', 'previous_before.year', 'previous_before.year', NULL, NULL, 0,59, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'Fiscal year prior to previous fiscal year', 'previous_before.fiscal_year', 'previous_before.fiscal_year', NULL, NULL, 0,60, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'From end of previous week', 'greater_previous.week', 'greater_previous.week', NULL, NULL, 0,61, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'From end of previous calendar month', 'greater_previous.month', 'greater_previous.month', NULL, NULL, 0,62, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'From end of previous quarter', 'greater_previous.quarter', 'greater_previous.quarter', NULL, NULL, 0,63, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, 'From end of previous calendar year', 'greater_previous.year', 'greater_previous.year', NULL, NULL, 0,64, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Pledge Status - (@option_group_id_ps, 'Completed' , 1, 'Completed' , NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_ps, 'Pending' , 2, 'Pending' , NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_ps, 'Cancelled' , 3, 'Cancelled' , NULL, 0, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_ps, 'In Progress', 5, 'In Progress', NULL, 0, 0, 4, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_ps, 'Overdue' , 6, 'Overdue' , NULL, 0, 0, 5, NULL, 0, 1, 1, NULL, NULL, NULL), - - --- Contribution Recur Status - (@option_group_id_crs, 'Completed' , 1, 'Completed' , NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_crs, 'Pending' , 2, 'Pending' , NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_crs, 'Cancelled' , 3, 'Cancelled' , NULL, 0, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_crs, 'Failed' , 4, 'Failed' , NULL, 0, 0, 4, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_crs, 'In Progress', 5, 'In Progress', NULL, 0, 0, 5, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_crs, 'Overdue' , 6, 'Overdue' , NULL, 0, 0, 6, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_crs, 'Processing' , 7, 'Processing' , NULL, 0, 0, 7, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_crs, 'Failing' , 8, 'Failing' , NULL, 0, 0, 8, NULL, 0, 1, 1, NULL, NULL, NULL), - --- CiviCase - Activity Assignee Default --- (`option_group_id`, `label`, `value`, `name`, `grouping`, `filter`, `is_default`, `weight`, `description`, `is_optgroup`, `is_reserved`, `is_active`, `component_id`, `visibility_id`, `icon`) -(@option_group_id_default_assignee, 'None', '1', 'NONE', NULL, 0, 1, 1, NULL, 0, 0, 1, NULL, NULL, NULL), -(@option_group_id_default_assignee, 'By relationship to case client', '2', 'BY_RELATIONSHIP', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), -(@option_group_id_default_assignee, 'Specific contact', '3', 'SPECIFIC_CONTACT', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), -(@option_group_id_default_assignee, 'User creating the case', '4', 'USER_CREATING_THE_CASE', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Entity Batch options --- (`option_group_id`, `label`, `value`, `name`, `grouping`, `filter`, `is_default`, `weight`, `description`, `is_optgroup`, `is_reserved`, `is_active`, `component_id`, `visibility_id`, `icon`) -(@option_group_id_entity_batch_extends, 'Financial Transactions', 'civicrm_financial_trxn', 'civicrm_financial_trxn', NULL, 0, 1, 1, NULL, 0, 0, 1, @contributeCompId, NULL, NULL); - - --- financial accounts -SELECT @opval := value FROM civicrm_option_value WHERE name = 'Revenue' and option_group_id = @option_group_id_fat; -SELECT @opexp := value FROM civicrm_option_value WHERE name = 'Expenses' and option_group_id = @option_group_id_fat; -SELECT @opAsset := value FROM civicrm_option_value WHERE name = 'Asset' and option_group_id = @option_group_id_fat; -SELECT @opLiability := value FROM civicrm_option_value WHERE name = 'Liability' and option_group_id = @option_group_id_fat; -SELECT @opCost := value FROM civicrm_option_value WHERE name = 'Cost of Sales' and option_group_id = @option_group_id_fat; - -INSERT INTO - `civicrm_financial_account` (`name`, `contact_id`, `financial_account_type_id`, `description`, `accounting_code`, `account_type_code`, `is_reserved`, `is_active`, `is_deductible`, `is_default`) -VALUES - ( 'Donation' , @contactID, @opval, 'Default account for donations', '4200', 'INC', 0, 1, 1, 1 ), - ( 'Member Dues' , @contactID, @opval, 'Default account for membership sales', '4400', 'INC', 0, 1, 1, 0 ), - ( 'Campaign Contribution', @contactID, @opval, 'Sample account for recording payments to a campaign', '4100', 'INC', 0, 1, 0, 0 ), - ( 'Event Fee' , @contactID, @opval, 'Default account for event ticket sales', '4300', 'INC', 0, 1, 0, 0 ), - ( 'Banking Fees' , @contactID, @opexp, 'Payment processor fees and manually recorded banking fees', '5200', 'EXP', 0, 1, 0, 1 ), - ( 'Deposit Bank Account' , @contactID, @opAsset, 'All manually recorded cash and cheques go to this account', '1100', 'BANK', 0, 1, 0, 1 ), - ( 'Accounts Receivable' , @contactID, @opAsset, 'Amounts to be received later (eg pay later event revenues)', '1200', 'AR', 0, 1, 0, 0 ), - ( 'Accounts Payable' , @contactID, @opLiability, 'Amounts to be paid out such as grants and refunds', '2200', 'AP', 0, 1, 0, 1 ), - ( 'Premiums' , @contactID, @opCost, 'Account to record cost of premiums provided to payors', '5100', 'COGS', 0, 1, 0, 1 ), - ( 'Premiums inventory' , @contactID, @opAsset, 'Account representing value of premiums inventory', '1375', 'OCASSET', 0, 1, 0, 0 ), - ( 'Discounts' , @contactID, @opval, 'Contra-revenue account for amounts discounted from sales', '4900', 'INC', 0, 1, 0, 0 ), - ( 'Payment Processor Account', @contactID, @opAsset, 'Account to record payments into a payment processor merchant account', '1150', 'BANK', 0, 1, 0, 0), - ( 'Deferred Revenue - Event Fee', @contactID, @opLiability, 'Event revenue to be recognized in future months when the events occur', '2730', 'OCLIAB', 0, 1, 0, 0), - ( 'Deferred Revenue - Member Dues', @contactID, @opLiability, 'Membership revenue to be recognized in future months', '2740', 'OCLIAB', 0, 1, 0, 0 -); - --- Now insert option values which require domainID --- - -INSERT INTO - `civicrm_option_value` (`option_group_id`, `label`, `value`, `name`, `grouping`, `filter`, `is_default`, `weight`, `description`, `is_optgroup`, `is_reserved`, `is_active`, `component_id`, `domain_id`, `visibility_id`) -VALUES --- from email address. - (@option_group_id_fma, '"FIXME" <info@EXAMPLE.ORG>', '1', '"FIXME" <info@EXAMPLE.ORG>', NULL, 0, 1, 1, 'Default domain email address and from name.', 0, 0, 1, NULL, @domainID, NULL ), - --- Mail Approval Status Preferences - (@option_group_id_mail_approval_status, 'Approved' , 1, 'Approved', NULL, 0, 1, 1, NULL, 0, 1, 1, @mailCompId, @domainID, NULL), - (@option_group_id_mail_approval_status, 'Rejected' , 2, 'Rejected', NULL, 0, 0, 2, NULL, 0, 1, 1, @mailCompId, @domainID, NULL), - (@option_group_id_mail_approval_status, 'None' , 3, 'None', NULL, 0, 0, 3, NULL, 0, 1, 1, @mailCompId, @domainID, NULL), - --- custom group objects - (@option_group_id_cgeo, 'Survey', 'Survey', 'civicrm_survey', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cgeo, 'Cases', 'Case', 'civicrm_case', 'case_type_id', 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL); +INSERT INTO civicrm_location_type (`description`,`display_name`,`is_active`,`is_default`,`is_reserved`,`name`,`vcard_name`) VALUES +("Place of residence","Home","1","1","0","Home","HOME"), +("Work location","Work","1",NULL,"0","Work","WORK"), +("Main office location","Main","1",NULL,"0","Main",NULL), +("Other location","Other","1",NULL,"0","Other",NULL), +("Billing Address location","Billing","1",NULL,"1","Billing",NULL) +; +INSERT INTO civicrm_relationship_type (`contact_type_a`,`contact_type_b`,`description`,`is_reserved`,`label_a_b`,`label_b_a`,`name_a_b`,`name_b_a`) VALUES +("Individual","Individual","Parent/child relationship.","0","Child of","Parent of","Child of","Parent of"), +("Individual","Individual","Spousal relationship.","0","Spouse of","Spouse of","Spouse of","Spouse of"), +("Individual","Individual","Partner relationship.","0","Partner of","Partner of","Partner of","Partner of"), +("Individual","Individual","Sibling relationship.","0","Sibling of","Sibling of","Sibling of","Sibling of"), +("Individual","Organization","Employment relationship.","1","Employee of","Employer of","Employee of","Employer of"), +("Individual","Organization","Volunteer relationship.","0","Volunteer for","Volunteer is","Volunteer for","Volunteer is"), +("Individual","Household","Head of household.","1","Head of Household for","Head of Household is","Head of Household for","Head of Household is"), +("Individual","Household","Household membership.","1","Household Member of","Household Member is","Household Member of","Household Member is"), +("Individual","Individual","Case Coordinator","0","Case Coordinator is","Case Coordinator","Case Coordinator is","Case Coordinator"), +("Individual","Individual","Immediate workplace supervisor","0","Supervised by","Supervisor","Supervised by","Supervisor") +; +INSERT INTO civicrm_tag (`description`,`name`,`parent_id`,`used_for`) VALUES +("Any not-for-profit organization.","Non-profit",NULL,"civicrm_contact"), +("For-profit organization.","Company",NULL,"civicrm_contact"), +("Any governmental entity.","Government Entity",NULL,"civicrm_contact"), +("High-value supporter of our organization.","Major Donor",NULL,"civicrm_contact"), +("Active volunteers.","Volunteer",NULL,"civicrm_contact") +; +INSERT INTO civicrm_mailing_component (`body_html`,`body_text`,`component_type`,`is_active`,`is_default`,`name`,`subject`) VALUES +("Sample Header for HTML formatted content.","Sample Header for TEXT formatted content.","Header","1","1","Mailing Header","Descriptive Title for this Header"), +("Sample Footer for HTML formatted content<br/><a href=\"{action.optOutUrl}\">Unsubscribe</a> <br/> {domain.address}","to unsubscribe: {action.optOutUrl}\n{domain.address}","Footer","1","1","Mailing Footer","Descriptive Title for this Footer."), +("You have a pending subscription to the {subscribe.group} mailing list. To confirm this subscription, reply to this email or click <a href=\"{subscribe.url}\">here</a>.","You have a pending subscription to the {subscribe.group} mailing list. To confirm this subscription, reply to this email or click on this link: {subscribe.url}","Subscribe","1","1","Subscribe Message","Subscription Confirmation Request"), +("Welcome. Your subscription to the {welcome.group} mailing list has been activated.","Welcome. Your subscription to the {welcome.group} mailing list has been activated.","Welcome","1","1","Welcome Message","Your Subscription has been Activated"), +("You have been un-subscribed from the following groups: {unsubscribe.group}. You can re-subscribe by mailing {action.resubscribe} or clicking <a href=\"{action.resubscribeUrl}\">here</a>.","You have been un-subscribed from the following groups: {unsubscribe.group}. You can re-subscribe by mailing {action.resubscribe} or clicking {action.resubscribeUrl}","Unsubscribe","1","1","Unsubscribe Message","Un-subscribe Confirmation"), +("You have been re-subscribed to the following groups: {resubscribe.group}. You can un-subscribe by mailing {action.unsubscribe} or clicking <a href=\"{action.unsubscribeUrl}\">here</a>.","You have been re-subscribed to the following groups: {resubscribe.group}. You can un-subscribe by mailing {action.unsubscribe} or clicking {action.unsubscribeUrl}","Resubscribe","1","1","Resubscribe Message","Re-subscribe Confirmation"), +("Your email address has been removed from {domain.name} mailing lists.","Your email address has been removed from {domain.name} mailing lists.","OptOut","1","1","Opt-out Message","Opt-out Confirmation"), +("This is an automated reply from an un-attended mailbox. Please send any inquiries to the contact email address listed on our web-site.","This is an automated reply from an un-attended mailbox. Please send any inquiries to the contact email address listed on our web-site.","Reply","1","1","Auto-responder","Please Send Inquiries to Our Contact Email Address") +; +INSERT INTO civicrm_financial_type (`is_active`,`is_deductible`,`is_reserved`,`name`) VALUES +("1","1","0","Donation"), +("1","1","0","Member Dues"), +("1","0","0","Campaign Contribution"), +("1","0","0","Event Fee") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","preferred_communication_method","name,label,description","Preferred Communication Method") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "preferred_communication_method") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Phone","Phone",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Email","Email",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Postal Mail","Postal Mail",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","SMS","SMS",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Fax","Fax",@this_option_group_id,"5",NULL,"5") +; +INSERT INTO civicrm_option_group (`data_type`,`description`,`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("Integer","Activities track interactions with contacts. Some activity types are reserved for use by automated processes, others can be freely configured.","1","1","activity_type","name,label,description,icon","Activity Type") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "activity_type") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,"fa-slideshare","1","0","0","1","Meeting","Meeting",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,"fa-phone","1","0","0","1","Phone Call","Phone Call",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,"Email sent.",NULL,"1",NULL,"fa-envelope-o","1","0","0","1","Email","Email",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,"Text message (SMS) sent.",NULL,"1",NULL,"fa-mobile","1","0","0","1","Outbound SMS","SMS",@this_option_group_id,"4",NULL,"4"), +(NULL,"1","Online or offline event registration.",NULL,"1",NULL,NULL,"1","0","0","1","Event Registration","Event Registration",@this_option_group_id,"5",NULL,"5"), +(NULL,"2","Online or offline contribution.",NULL,"1",NULL,NULL,"1","0","0","1","Contribution","Contribution",@this_option_group_id,"6",NULL,"6"), +(NULL,"3","Online or offline membership signup.",NULL,"1",NULL,NULL,"1","0","0","1","Membership Signup","Membership Signup",@this_option_group_id,"7",NULL,"7"), +(NULL,"3","Online or offline membership renewal.",NULL,"1",NULL,NULL,"1","0","0","1","Membership Renewal","Membership Renewal",@this_option_group_id,"8",NULL,"8"), +(NULL,NULL,"Send information about a contribution campaign or event to a friend.",NULL,"1",NULL,NULL,"1","0","0","1","Tell a Friend","Tell a Friend",@this_option_group_id,"9",NULL,"9"), +(NULL,"6","Send Pledge Acknowledgment.",NULL,"1",NULL,NULL,"1","0","0","1","Pledge Acknowledgment","Pledge Acknowledgment",@this_option_group_id,"10",NULL,"10"), +(NULL,"6","Send Pledge Reminder.",NULL,"1",NULL,NULL,"1","0","0","1","Pledge Reminder","Pledge Reminder",@this_option_group_id,"11",NULL,"11"), +(NULL,NULL,"Inbound Email.",NULL,"1",NULL,NULL,"1","0","0","1","Inbound Email","Inbound Email",@this_option_group_id,"12",NULL,"12"), +(NULL,"7","",NULL,"0",NULL,"fa-folder-open-o","1","0","0","1","Open Case","Open Case",@this_option_group_id,"13",NULL,"13"), +(NULL,"7","",NULL,"0",NULL,"fa-share-square-o","1","0","0","1","Follow up","Follow up",@this_option_group_id,"14",NULL,"14"), +(NULL,"7","",NULL,"0",NULL,"fa-random","1","0","0","1","Change Case Type","Change Case Type",@this_option_group_id,"15",NULL,"15"), +(NULL,"7","",NULL,"0",NULL,"fa-pencil-square-o","1","0","0","1","Change Case Status","Change Case Status",@this_option_group_id,"16",NULL,"16"), +(NULL,"7","",NULL,"0",NULL,"fa-pencil-square-o","1","0","0","1","Change Case Subject","Change Case Subject",@this_option_group_id,"53",NULL,"53"), +(NULL,"7","",NULL,"0",NULL,"fa-table","1","0","0","1","Change Custom Data","Change Custom Data",@this_option_group_id,"33",NULL,"33"), +(NULL,"3","offline membership renewal reminder.",NULL,"1",NULL,NULL,"1","0","0","1","Membership Renewal Reminder","Membership Renewal Reminder",@this_option_group_id,"17",NULL,"17"), +(NULL,"7","",NULL,"0",NULL,"fa-calendar","1","0","0","1","Change Case Start Date","Change Case Start Date",@this_option_group_id,"18",NULL,"18"), +(NULL,NULL,"Bulk Email Sent.",NULL,"1",NULL,NULL,"1","0","0","1","Bulk Email","Bulk Email",@this_option_group_id,"19",NULL,"19"), +(NULL,"7","",NULL,"0",NULL,"fa-user-plus","1","0","0","1","Assign Case Role","Assign Case Role",@this_option_group_id,"20",NULL,"20"), +(NULL,"7","",NULL,"0",NULL,"fa-user-times","1","0","0","1","Remove Case Role","Remove Case Role",@this_option_group_id,"21",NULL,"21"), +(NULL,NULL,"Export letters and other printable documents.",NULL,"0",NULL,"fa-file-pdf-o","1","0","0","1","Print/Merge Document","Print PDF Letter",@this_option_group_id,"22",NULL,"22"), +(NULL,"7","",NULL,"0",NULL,"fa-compress","1","0","0","1","Merge Case","Merge Case",@this_option_group_id,"23",NULL,"23"), +(NULL,"7","",NULL,"0",NULL,"fa-user-circle-o","1","0","0","1","Reassigned Case","Reassigned Case",@this_option_group_id,"24",NULL,"24"), +(NULL,"7","",NULL,"0",NULL,"fa-link","1","0","0","1","Link Cases","Link Cases",@this_option_group_id,"25",NULL,"25"), +(NULL,"7","",NULL,"0",NULL,"fa-tags","1","0","0","1","Change Case Tags","Change Case Tags",@this_option_group_id,"26",NULL,"26"), +(NULL,"7","",NULL,"0",NULL,"fa-users","1","0","0","1","Add Client To Case","Add Client To Case",@this_option_group_id,"27",NULL,"26"), +(NULL,"9","",NULL,"0",NULL,NULL,"1","0","0","1","Survey","Survey",@this_option_group_id,"28",NULL,"27"), +(NULL,"9","",NULL,"0",NULL,NULL,"1","0","0","1","Canvass","Canvass",@this_option_group_id,"29",NULL,"28"), +(NULL,"9","",NULL,"0",NULL,NULL,"1","0","0","1","PhoneBank","PhoneBank",@this_option_group_id,"30",NULL,"29"), +(NULL,"9","",NULL,"0",NULL,NULL,"1","0","0","1","WalkList","WalkList",@this_option_group_id,"31",NULL,"30"), +(NULL,"9","",NULL,"0",NULL,NULL,"1","0","0","1","Petition Signature","Petition",@this_option_group_id,"32",NULL,"31"), +(NULL,NULL,"Mass SMS",NULL,"1",NULL,NULL,"1","0","0","1","Mass SMS","Mass SMS",@this_option_group_id,"34",NULL,"34"), +(NULL,"3","Change Membership Status.",NULL,"1",NULL,NULL,"1","0","0","1","Change Membership Status","Change Membership Status",@this_option_group_id,"35",NULL,"35"), +(NULL,"3","Change Membership Type.",NULL,"1",NULL,NULL,"1","0","0","1","Change Membership Type","Change Membership Type",@this_option_group_id,"36",NULL,"36"), +(NULL,"2","",NULL,"1",NULL,NULL,"1","0","0","1","Cancel Recurring Contribution","Cancel Recurring Contribution",@this_option_group_id,"37",NULL,"37"), +(NULL,"2","",NULL,"1",NULL,NULL,"1","0","0","1","Update Recurring Contribution Billing Details","Update Recurring Contribution Billing Details",@this_option_group_id,"38",NULL,"38"), +(NULL,"2","",NULL,"1",NULL,NULL,"1","0","0","1","Update Recurring Contribution","Update Recurring Contribution",@this_option_group_id,"39",NULL,"39"), +(NULL,NULL,"",NULL,"1",NULL,NULL,"1","0","0","1","Reminder Sent","Reminder Sent",@this_option_group_id,"40",NULL,"40"), +(NULL,"2","Export Accounting Batch",NULL,"1",NULL,NULL,"1","0","0","1","Export Accounting Batch","Export Accounting Batch",@this_option_group_id,"41",NULL,"41"), +(NULL,"2","Create Batch",NULL,"1",NULL,NULL,"1","0","0","1","Create Batch","Create Batch",@this_option_group_id,"42",NULL,"42"), +(NULL,"2","Edit Batch",NULL,"1",NULL,NULL,"1","0","0","1","Edit Batch","Edit Batch",@this_option_group_id,"43",NULL,"43"), +(NULL,NULL,"SMS delivery",NULL,"1",NULL,NULL,"1","0","0","1","SMS delivery","SMS delivery",@this_option_group_id,"44",NULL,"44"), +(NULL,NULL,"Inbound SMS",NULL,"1",NULL,NULL,"1","0","0","1","Inbound SMS","Inbound SMS",@this_option_group_id,"45",NULL,"45"), +(NULL,"2","Additional payment recorded for event or membership fee.",NULL,"1",NULL,NULL,"1","0","0","1","Payment","Payment",@this_option_group_id,"46",NULL,"46"), +(NULL,"2","Refund recorded for event or membership fee.",NULL,"1",NULL,NULL,"1","0","0","1","Refund","Refund",@this_option_group_id,"47",NULL,"47"), +(NULL,"1","Changes to an existing event registration.",NULL,"1",NULL,NULL,"1","0","0","1","Change Registration","Change Registration",@this_option_group_id,"48",NULL,"48"), +(NULL,NULL,"Downloaded Invoice.",NULL,"1",NULL,NULL,"1","0","0","1","Downloaded Invoice","Downloaded Invoice",@this_option_group_id,"49",NULL,"49"), +(NULL,NULL,"Emailed Invoice.",NULL,"1",NULL,NULL,"1","0","0","1","Emailed Invoice","Emailed Invoice",@this_option_group_id,"50",NULL,"50"), +(NULL,NULL,"Contact Merged",NULL,"1",NULL,NULL,"1","0","0","1","Contact Merged","Contact Merged",@this_option_group_id,"51",NULL,"51"), +(NULL,NULL,"Contact was merged into another contact",NULL,"1",NULL,NULL,"1","0","0","1","Contact Deleted by Merge","Contact Deleted by Merge",@this_option_group_id,"52",NULL,"52"), +(NULL,"2","Failed Payment",NULL,"1",NULL,NULL,"1","0","0","1","Failed Payment","Failed Payment",@this_option_group_id,"54",NULL,"54") +; +INSERT INTO civicrm_option_group (`data_type`,`description`,`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("Integer","CiviCRM is pre-configured with standard options for individual gender (Male, Female, Other). Modify these options as needed for your installation.","1","1","gender","name,label,description","Gender") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "gender") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Female","Female",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Male","Male",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Other","Other",@this_option_group_id,"3",NULL,"3") +; +INSERT INTO civicrm_option_group (`description`,`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("Commonly-used messaging apps are listed here. Administrators may define as many additional providers as needed.","1","1","instant_messenger_service","name,label,description","Instant Messenger (IM) screen-names") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "instant_messenger_service") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1",NULL,"0","0","Yahoo","Yahoo",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1",NULL,"0","0","MSN","Msn",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1",NULL,"0","0","AIM","Aim",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1",NULL,"0","0","GTalk","Gtalk",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1",NULL,"0","0","Jabber","Jabber",@this_option_group_id,"5",NULL,"5"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1",NULL,"0","0","Skype","Skype",@this_option_group_id,"6",NULL,"6") +; +INSERT INTO civicrm_option_group (`description`,`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("When recording mobile phone numbers for contacts, it may be useful to include the Mobile Phone Service Provider (e.g. Cingular, Sprint, etc.). CiviCRM is installed with the most commonly encountered service providers. Administrators may define as many additional providers as needed.","1","1","mobile_provider","name,label,description","Mobile Phone Providers") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "mobile_provider") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Sprint","Sprint",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Verizon","Verizon",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Cingular","Cingular",@this_option_group_id,"3",NULL,"3") +; +INSERT INTO civicrm_option_group (`description`,`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("CiviCRM is pre-configured with standard options for individual contact prefixes (Ms., Mr., Dr. etc.). Customize these options and add new ones as needed for your installation.","1","1","individual_prefix","name,label,description","Individual contact prefixes") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "individual_prefix") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Mrs.","Mrs.",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Ms.","Ms.",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Mr.","Mr.",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Dr.","Dr.",@this_option_group_id,"4",NULL,"4") +; +INSERT INTO civicrm_option_group (`description`,`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("CiviCRM is pre-configured with standard options for individual contact name suffixes (Jr., Sr., II etc.). Customize these options and add new ones as needed for your installation.","1","1","individual_suffix","name,label,description","Individual contact suffixes") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "individual_suffix") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Jr.","Jr.",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Sr.","Sr.",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","II","II",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","III","III",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","IV","IV",@this_option_group_id,"5",NULL,"5"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","V","V",@this_option_group_id,"6",NULL,"6"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","VI","VI",@this_option_group_id,"7",NULL,"7"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","VII","VII",@this_option_group_id,"8",NULL,"8") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","acl_role","name,label,description","ACL Role") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "acl_role") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Administrator","Admin",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Authenticated","Auth",@this_option_group_id,"2",NULL,"2") +; +INSERT INTO civicrm_option_group (`description`,`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("The following credit card options will be offered to contributors using Online Contribution pages. You will need to verify which cards are accepted by your chosen Payment Processor and update these entries accordingly.IMPORTANT: These options do not control credit card/payment method choices for sites and/or contributors using the PayPal Express service (e.g. where billing information is collected on the Payment Processor\\\'s website).","1","1","accept_creditcard","name,label,description","Accepted Credit Cards") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "accept_creditcard") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Visa","Visa",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","MasterCard","MasterCard",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Amex","Amex",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Discover","Discover",@this_option_group_id,"4",NULL,"4") +; +INSERT INTO civicrm_option_group (`data_type`,`description`,`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("Integer","You may choose to record the payment method used for each contribution and fee. Reserved payment methods are required - you may modify their labels but they can not be deleted (e.g. Check, Credit Card, Debit Card). If your site requires additional payment methods, you can add them here. You can associate each payment method with a Financial Account which specifies where the payment is going (e.g. a bank account for checks and cash).","1","1","payment_instrument","name,label,description","Payment Methods") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "payment_instrument") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Credit Card","Credit Card",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Debit Card","Debit Card",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Cash","Cash",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","1","0","1","Check","Check",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","EFT","EFT",@this_option_group_id,"5",NULL,"5") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","contribution_status","name,label,description","Contribution Status") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "contribution_status") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Completed","Completed",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Pending","Pending",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Cancelled","Cancelled",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Failed","Failed",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Refunded","Refunded",@this_option_group_id,"7",NULL,"7"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Partially paid","Partially paid",@this_option_group_id,"8",NULL,"8"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Pending refund","Pending refund",@this_option_group_id,"9",NULL,"9"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Chargeback","Chargeback",@this_option_group_id,"10",NULL,"10"), +(NULL,NULL,"Status for contribution records which represent a template for a recurring contribution rather than an actual contribution. This status is transitional, to ensure that said contributions don\\\'t appear in reports. The is_template field is the preferred way to find and filter these contributions.",NULL,"0",NULL,NULL,"1","0","0","1","Template","Template",@this_option_group_id,"11",NULL,"11") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","pcp_status","name,label,description","PCP Status") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "pcp_status") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Waiting Review","Waiting Review",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Approved","Approved",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Not Approved","Not Approved",@this_option_group_id,"3",NULL,"3") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","pcp_owner_notify","name,label,description","PCP owner notifications") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "pcp_owner_notify") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","1","0","1","Owner chooses whether to receive notifications","owner_chooses",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Notifications are sent to ALL owners","all_owners",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Notifications are NOT available","no_notifications",@this_option_group_id,"3",NULL,"3") +; +INSERT INTO civicrm_option_group (`data_type`,`description`,`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("Integer","Define participant roles for events here (e.g. Attendee, Host, Speaker...). You can then assign roles and search for participants by role.","1","1","participant_role","name,label,description","Participant Role") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "participant_role") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"1",NULL,NULL,"1","0","0","0","Attendee","Attendee",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"1",NULL,NULL,"1","0","0","0","Volunteer","Volunteer",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"1",NULL,NULL,"1","0","0","0","Host","Host",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"1",NULL,NULL,"1","0","0","0","Speaker","Speaker",@this_option_group_id,"4",NULL,"4") +; +INSERT INTO civicrm_option_group (`data_type`,`description`,`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("Integer","Use Event Types to categorize your events. Event feeds can be filtered by Event Type and participant searches can use Event Type as a criteria.","1","1","event_type","name,label,description","Event Type") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "event_type") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Conference","Conference",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Exhibition","Exhibition",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Fundraiser","Fundraiser",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Meeting","Meeting",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Performance","Performance",@this_option_group_id,"5",NULL,"5"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Workshop","Workshop",@this_option_group_id,"6",NULL,"6") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","contact_view_options","name,label,description","Contact View Options") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "contact_view_options") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Activities","activity",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Relationships","rel",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Groups","group",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Notes","note",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Tags","tag",@this_option_group_id,"5",NULL,"5"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Change Log","log",@this_option_group_id,"6",NULL,"6"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Contributions","CiviContribute",@this_option_group_id,"7",NULL,"7"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Memberships","CiviMember",@this_option_group_id,"8",NULL,"8"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Events","CiviEvent",@this_option_group_id,"9",NULL,"9"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Cases","CiviCase",@this_option_group_id,"10",NULL,"10"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Pledges","CiviPledge",@this_option_group_id,"13",NULL,"13"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Mailings","CiviMail",@this_option_group_id,"14",NULL,"14") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","contact_smart_group_display","name,label,description","Contact Smart Group View Options") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "contact_smart_group_display") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Show Smart Groups on Demand","showondemand",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Always Show Smart Groups","alwaysshow",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Hide Smart Groups","hide",@this_option_group_id,"3",NULL,"3") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","contact_edit_options","name,label,description","Contact Edit Options") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "contact_edit_options") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Custom Data","CustomData",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Address","Address",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Communication Preferences","CommunicationPreferences",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Notes","Notes",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Demographics","Demographics",@this_option_group_id,"5",NULL,"5"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Tags and Groups","TagsAndGroups",@this_option_group_id,"6",NULL,"6"), +(NULL,NULL,NULL,NULL,"1",NULL,NULL,"1","0","0","0","Email","Email",@this_option_group_id,"7",NULL,"7"), +(NULL,NULL,NULL,NULL,"1",NULL,NULL,"1","0","0","0","Phone","Phone",@this_option_group_id,"8",NULL,"8"), +(NULL,NULL,NULL,NULL,"1",NULL,NULL,"1","0","0","0","Instant Messenger","IM",@this_option_group_id,"9",NULL,"9"), +(NULL,NULL,NULL,NULL,"1",NULL,NULL,"1","0","0","0","Open ID","OpenID",@this_option_group_id,"10",NULL,"10"), +(NULL,NULL,NULL,NULL,"1",NULL,NULL,"1","0","0","0","Website","Website",@this_option_group_id,"11",NULL,"11"), +(NULL,NULL,NULL,NULL,"2",NULL,NULL,"1","0","0","0","Prefix","Prefix",@this_option_group_id,"12",NULL,"12"), +(NULL,NULL,NULL,NULL,"2",NULL,NULL,"1","0","0","0","Formal Title","Formal Title",@this_option_group_id,"13",NULL,"13"), +(NULL,NULL,NULL,NULL,"2",NULL,NULL,"1","0","0","0","First Name","First Name",@this_option_group_id,"14",NULL,"14"), +(NULL,NULL,NULL,NULL,"2",NULL,NULL,"1","0","0","0","Middle Name","Middle Name",@this_option_group_id,"15",NULL,"15"), +(NULL,NULL,NULL,NULL,"2",NULL,NULL,"1","0","0","0","Last Name","Last Name",@this_option_group_id,"16",NULL,"16"), +(NULL,NULL,NULL,NULL,"2",NULL,NULL,"1","0","0","0","Suffix","Suffix",@this_option_group_id,"17",NULL,"17") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","advanced_search_options","name,label,description","Advanced Search Options") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "advanced_search_options") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Address Fields","location",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Custom Fields","custom",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Activities","activity",@this_option_group_id,"3",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Relationships","relationship",@this_option_group_id,"4",NULL,"5"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Notes","notes",@this_option_group_id,"5",NULL,"6"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Change Log","changeLog",@this_option_group_id,"6",NULL,"7"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Contributions","CiviContribute",@this_option_group_id,"7",NULL,"8"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Memberships","CiviMember",@this_option_group_id,"8",NULL,"9"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Events","CiviEvent",@this_option_group_id,"9",NULL,"10"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Cases","CiviCase",@this_option_group_id,"10",NULL,"11"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Demographics","demographics",@this_option_group_id,"13",NULL,"15"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Pledges","CiviPledge",@this_option_group_id,"15",NULL,"17"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Contact Type","contactType",@this_option_group_id,"16",NULL,"18"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Groups","groups",@this_option_group_id,"17",NULL,"19"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Tags","tags",@this_option_group_id,"18",NULL,"20"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Mailing","CiviMail",@this_option_group_id,"19",NULL,"21") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","user_dashboard_options","name,label,description","User Dashboard Options") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "user_dashboard_options") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Groups","Groups",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Contributions","CiviContribute",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Memberships","CiviMember",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Events","CiviEvent",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","My Contacts / Organizations","Permissioned Orgs",@this_option_group_id,"5",NULL,"5"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Pledges","CiviPledge",@this_option_group_id,"7",NULL,"7"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Personal Campaign Pages","PCP",@this_option_group_id,"8",NULL,"8"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Assigned Activities","Assigned Activities",@this_option_group_id,"9",NULL,"9"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Invoices / Credit Notes","Invoices / Credit Notes",@this_option_group_id,"10",NULL,"10") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","address_options","name,label,description","Addressing Options") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "address_options") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Street Address","street_address",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Supplemental Address 1","supplemental_address_1",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Supplemental Address 2","supplemental_address_2",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Supplemental Address 3","supplemental_address_3",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","City","city",@this_option_group_id,"5",NULL,"5"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Postal Code","postal_code",@this_option_group_id,"6",NULL,"6"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Postal Code Suffix","postal_code_suffix",@this_option_group_id,"7",NULL,"7"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","County","county",@this_option_group_id,"8",NULL,"8"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","State/Province","state_province",@this_option_group_id,"9",NULL,"9"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Country","country",@this_option_group_id,"10",NULL,"10"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Latitude","geo_code_1",@this_option_group_id,"11",NULL,"11"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Longitude","geo_code_2",@this_option_group_id,"12",NULL,"12"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Address Name","address_name",@this_option_group_id,"13",NULL,"13"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Street Address Parsing","street_address_parsing",@this_option_group_id,"14",NULL,"14") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","group_type","name,label,description","Group Type") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "group_type") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Access Control","Access Control",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Mailing List","Mailing List",@this_option_group_id,"2",NULL,"2") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","custom_search","name,label,description","Custom Search") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "custom_search") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,"Household Name and State",NULL,"0",NULL,NULL,"1","0","0","0","CRM_Contact_Form_Search_Custom_Sample","CRM_Contact_Form_Search_Custom_Sample",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,"Contribution Aggregate",NULL,"0",NULL,NULL,"1","0","0","0","CRM_Contact_Form_Search_Custom_ContributionAggregate","CRM_Contact_Form_Search_Custom_ContributionAggregate",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,"Include / Exclude Search",NULL,"0",NULL,NULL,"1","0","0","0","CRM_Contact_Form_Search_Custom_Group","CRM_Contact_Form_Search_Custom_Group",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,"Postal Mailing",NULL,"0",NULL,NULL,"1","0","0","0","CRM_Contact_Form_Search_Custom_PostalMailing","CRM_Contact_Form_Search_Custom_PostalMailing",@this_option_group_id,"5",NULL,"5"), +(NULL,NULL,"Proximity Search",NULL,"0",NULL,NULL,"1","0","0","0","CRM_Contact_Form_Search_Custom_Proximity","CRM_Contact_Form_Search_Custom_Proximity",@this_option_group_id,"6",NULL,"6"), +(NULL,NULL,"Event Aggregate",NULL,"0",NULL,NULL,"1","0","0","0","CRM_Contact_Form_Search_Custom_EventAggregate","CRM_Contact_Form_Search_Custom_EventAggregate",@this_option_group_id,"7",NULL,"7"), +(NULL,NULL,"Activity Search",NULL,"0",NULL,NULL,"0","0","0","0","CRM_Contact_Form_Search_Custom_ActivitySearch","CRM_Contact_Form_Search_Custom_ActivitySearch",@this_option_group_id,"8",NULL,"8"), +(NULL,NULL,"Price Set Details for Event Participants",NULL,"0",NULL,NULL,"1","0","0","0","CRM_Contact_Form_Search_Custom_PriceSet","CRM_Contact_Form_Search_Custom_PriceSet",@this_option_group_id,"9",NULL,"9"), +(NULL,NULL,"Zip Code Range",NULL,"0",NULL,NULL,"1","0","0","0","CRM_Contact_Form_Search_Custom_ZipCodeRange","CRM_Contact_Form_Search_Custom_ZipCodeRange",@this_option_group_id,"10",NULL,"10"), +(NULL,NULL,"Date Added to CiviCRM",NULL,"0",NULL,NULL,"1","0","0","0","CRM_Contact_Form_Search_Custom_DateAdded","CRM_Contact_Form_Search_Custom_DateAdded",@this_option_group_id,"11",NULL,"11"), +(NULL,NULL,"Custom Group Multiple Values Listing",NULL,"0",NULL,NULL,"1","0","0","0","CRM_Contact_Form_Search_Custom_MultipleValues","CRM_Contact_Form_Search_Custom_MultipleValues",@this_option_group_id,"12",NULL,"12"), +(NULL,NULL,"Contributions made in Year X and not Year Y",NULL,"0",NULL,NULL,"1","0","0","0","CRM_Contact_Form_Search_Custom_ContribSYBNT","CRM_Contact_Form_Search_Custom_ContribSYBNT",@this_option_group_id,"13",NULL,"13"), +(NULL,NULL,"Find Contribution Amounts by Tag",NULL,"0",NULL,NULL,"1","0","0","0","CRM_Contact_Form_Search_Custom_TagContributions","CRM_Contact_Form_Search_Custom_TagContributions",@this_option_group_id,"14",NULL,"14"), +(NULL,NULL,"Full-text Search",NULL,"0",NULL,NULL,"1","0","0","0","CRM_Contact_Form_Search_Custom_FullText","CRM_Contact_Form_Search_Custom_FullText",@this_option_group_id,"15",NULL,"15") +; +INSERT INTO civicrm_option_group (`data_type`,`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("Integer","1","1","activity_status","name,label,description,color","Activity Status") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "activity_status") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","1","0","1","Scheduled","Scheduled",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"1",NULL,NULL,"1","0","0","1","Completed","Completed",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"2",NULL,NULL,"1","0","0","1","Cancelled","Cancelled",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Left Message","Left Message",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"2",NULL,NULL,"1","0","0","0","Unreachable","Unreachable",@this_option_group_id,"5",NULL,"5"), +(NULL,NULL,NULL,NULL,"2",NULL,NULL,"1","0","0","0","Not Required","Not Required",@this_option_group_id,"6",NULL,"6"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Available","Available",@this_option_group_id,"7",NULL,"7"), +(NULL,NULL,NULL,NULL,"2",NULL,NULL,"1","0","0","0","No-show","No_show",@this_option_group_id,"8",NULL,"8") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","case_type","name,label,description","Case Type") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","case_status","name,label,description,color","Case Status") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "case_status") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0","Opened",NULL,"1","1","0","1","Ongoing","Open",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0","Closed",NULL,"1","0","0","1","Resolved","Closed",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0","Opened",NULL,"1","0","0","0","Urgent","Urgent",@this_option_group_id,"3",NULL,"3") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","participant_listing","name,label,description","Participant Listing") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "participant_listing") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,"CRM_Event_Page_ParticipantListing_Name",NULL,"0",NULL,NULL,"1","0","0","1","Name Only","Name Only",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,"CRM_Event_Page_ParticipantListing_NameAndEmail",NULL,"0",NULL,NULL,"1","0","0","1","Name and Email","Name and Email",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,"CRM_Event_Page_ParticipantListing_NameStatusAndDate",NULL,"0",NULL,NULL,"1","0","0","1","Name, Status and Register Date","Name, Status and Register Date",@this_option_group_id,"3",NULL,"3") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","safe_file_extension","name,label,description","Safe File Extension") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "safe_file_extension") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","jpg","jpg",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","jpeg","jpeg",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","png","png",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","gif","gif",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","txt","txt",@this_option_group_id,"5",NULL,"5"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","pdf","pdf",@this_option_group_id,"6",NULL,"6"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","doc","doc",@this_option_group_id,"7",NULL,"7"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","xls","xls",@this_option_group_id,"8",NULL,"8"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","rtf","rtf",@this_option_group_id,"9",NULL,"9"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","csv","csv",@this_option_group_id,"10",NULL,"10"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","ppt","ppt",@this_option_group_id,"11",NULL,"11"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","docx","docx",@this_option_group_id,"12",NULL,"12"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","xlsx","xlsx",@this_option_group_id,"13",NULL,"13"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","odt","odt",@this_option_group_id,"14",NULL,"14"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","ics","ics",@this_option_group_id,"15",NULL,"15"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","pptx","pptx",@this_option_group_id,"16",NULL,"16") +; +INSERT INTO civicrm_option_group (`description`,`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("By default, CiviCRM uses the primary email address of the logged in user as the FROM address when sending emails to contacts. However, you can use this page to define one or more general Email Addresses that can be selected as an alternative. EXAMPLE: \"Client Services\" <clientservices@example.org>.","1","1","from_email_address","name,label,description","From Email Address") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "from_email_address") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,"Default domain email address and from name.",@domainID,"0",NULL,NULL,"1","1","0","0","\"FIXME\" <info@EXAMPLE.ORG>","\"FIXME\" <info@EXAMPLE.ORG>",@this_option_group_id,"1",NULL,"1") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","mapping_type","name,label,description","Mapping Type") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "mapping_type") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Search Builder","Search Builder",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Import Contact","Import Contact",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Import Activity","Import Activity",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Import Contribution","Import Contribution",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Import Membership","Import Membership",@this_option_group_id,"5",NULL,"5"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Import Participant","Import Participant",@this_option_group_id,"6",NULL,"6"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Export Contact","Export Contact",@this_option_group_id,"7",NULL,"7"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Export Contribution","Export Contribution",@this_option_group_id,"8",NULL,"8"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Export Membership","Export Membership",@this_option_group_id,"9",NULL,"9"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Export Participant","Export Participant",@this_option_group_id,"10",NULL,"10"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Export Pledge","Export Pledge",@this_option_group_id,"11",NULL,"11"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Export Case","Export Case",@this_option_group_id,"12",NULL,"12"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Export Activity","Export Activity",@this_option_group_id,"14",NULL,"14") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","wysiwyg_editor","name,label,description","WYSIWYG Editor") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "wysiwyg_editor") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Textarea","Textarea",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","CKEditor 4","CKEditor",@this_option_group_id,"2",NULL,"2") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","recur_frequency_units","name,label,description","Recurring Frequency Units") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "recur_frequency_units") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","day","day",@this_option_group_id,"day",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","week","week",@this_option_group_id,"week",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","month","month",@this_option_group_id,"month",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","year","year",@this_option_group_id,"year",NULL,"4") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","phone_type","name,label,description","Phone Type") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "phone_type") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Phone","Phone",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Mobile","Mobile",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Fax","Fax",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Pager","Pager",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Voicemail","Voicemail",@this_option_group_id,"5",NULL,"5") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","custom_data_type","name,label,description","Custom Data Type") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "custom_data_type") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0","role_id",NULL,"1","0","0","0","Participants (Role)","ParticipantRole",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0","event_id",NULL,"1","0","0","0","Participants (Event Name)","ParticipantEventName",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0","event_id.event_type_id",NULL,"1","0","0","0","Participants (Event Type)","ParticipantEventType",@this_option_group_id,"3",NULL,"3") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","visibility","name,label,description","Visibility") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "visibility") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Public","public",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Admin","admin",@this_option_group_id,"2",NULL,"2") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","mail_protocol","name,label,description","Mail Protocol") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "mail_protocol") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","IMAP","IMAP",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Maildir","Maildir",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","POP3","POP3",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Localdir","Localdir",@this_option_group_id,"4",NULL,"4") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","priority","name,label,description","Priority") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "priority") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Urgent","Urgent",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Normal","Normal",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Low","Low",@this_option_group_id,"3",NULL,"3") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","redaction_rule","name,label,description","Redaction Rule") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "redaction_rule") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"0","0","0","0","Vancouver","city_",@this_option_group_id,"city_",NULL,"1"), +(NULL,NULL,NULL,NULL,"1",NULL,NULL,"0","0","0","0","/(19|20)(\\d{2})-(\\d{1,2})-(\\d{1,2})/","date_",@this_option_group_id,"date_",NULL,"2") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","report_template","name,label,description","Report Template") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "report_template") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,"Provides a list of address and telephone information for constituent records in your system.",NULL,"0",NULL,NULL,"1","0","0","0","Constituent Report (Summary)","CRM_Report_Form_Contact_Summary",@this_option_group_id,"contact/summary",NULL,"1"), +(NULL,NULL,"Provides contact-related information on contributions, memberships, events and activities.",NULL,"0",NULL,NULL,"1","0","0","0","Constituent Report (Detail)","CRM_Report_Form_Contact_Detail",@this_option_group_id,"contact/detail",NULL,"2"), +(NULL,NULL,"Provides a list of constituent activity including activity statistics for one/all contacts during a given date range(required)",NULL,"0",NULL,NULL,"1","0","0","0","Activity Details Report","CRM_Report_Form_Activity",@this_option_group_id,"activity",NULL,"3"), +(NULL,NULL,"Provides a detailed report for your walk/phonelist for targeted contacts",NULL,"0",NULL,NULL,"0","0","0","0","Walk / Phone List Report","CRM_Report_Form_Walklist_Walklist",@this_option_group_id,"walklist",NULL,"4"), +(NULL,NULL,"Provides detail list of employer employee relationships along with employment details Ex Join Date",NULL,"0",NULL,NULL,"1","0","0","0","Current Employer Report","CRM_Report_Form_Contact_CurrentEmployer",@this_option_group_id,"contact/currentEmployer",NULL,"5"), +(NULL,"2","Groups and totals contributions by criteria including contact, time period, financial type, contributor location, etc.",NULL,"0",NULL,NULL,"1","0","0","0","Contribution Summary Report","CRM_Report_Form_Contribute_Summary",@this_option_group_id,"contribute/summary",NULL,"6"), +(NULL,"2","Lists specific contributions by criteria including contact, time period, financial type, contributor location, etc. Contribution summary report points to this report for contribution details.",NULL,"0",NULL,NULL,"1","0","0","0","Contribution Detail Report","CRM_Report_Form_Contribute_Detail",@this_option_group_id,"contribute/detail",NULL,"7"), +(NULL,"2","Given two date ranges, shows contacts who contributed in both the date ranges with the amount contributed in each and the percentage increase / decrease.",NULL,"0",NULL,NULL,"1","0","0","0","Repeat Contributions Report","CRM_Report_Form_Contribute_Repeat",@this_option_group_id,"contribute/repeat",NULL,"8"), +(NULL,"2","Displays a detailed list of contributions grouped by organization, which includes contributions made by employees for the organisation.",NULL,"0",NULL,NULL,"1","0","0","0","Contributions by Organization Report","CRM_Report_Form_Contribute_OrganizationSummary",@this_option_group_id,"contribute/organizationSummary",NULL,"9"), +(NULL,"2","Displays a detailed list of contributions grouped by household which includes contributions made by members of the household.",NULL,"0",NULL,NULL,"1","0","0","0","Contributions by Household Report","CRM_Report_Form_Contribute_HouseholdSummary",@this_option_group_id,"contribute/householdSummary",NULL,"10"), +(NULL,"2","Provides a list of the top donors during a time period you define. You can include as many donors as you want (for example, top 100 of your donors).",NULL,"0",NULL,NULL,"1","0","0","0","Top Donors Report","CRM_Report_Form_Contribute_TopDonor",@this_option_group_id,"contribute/topDonor",NULL,"11"), +(NULL,"2","SYBUNT means some year(s) but not this year. Provides a list of constituents who donated at some time in the history of your organization but did not donate during the time period you specify.",NULL,"0",NULL,NULL,"1","0","0","0","SYBUNT Report","CRM_Report_Form_Contribute_Sybunt",@this_option_group_id,"contribute/sybunt",NULL,"12"), +(NULL,"2","LYBUNT means last year but not this year. Provides a list of constituents who donated last year but did not donate during the time period you specify as the current year.",NULL,"0",NULL,NULL,"1","0","0","0","LYBUNT Report","CRM_Report_Form_Contribute_Lybunt",@this_option_group_id,"contribute/lybunt",NULL,"13"), +(NULL,"2","Shows contributions made by contacts that have been soft-credited to other contacts.",NULL,"0",NULL,NULL,"1","0","0","0","Soft Credit Report","CRM_Report_Form_Contribute_SoftCredit",@this_option_group_id,"contribute/softcredit",NULL,"14"), +(NULL,"3","Provides a summary of memberships by type and Member Since.",NULL,"0",NULL,NULL,"1","0","0","0","Membership Report (Summary)","CRM_Report_Form_Member_Summary",@this_option_group_id,"member/summary",NULL,"15"), +(NULL,"3","Provides a list of members along with their membership status and membership details (Member Since, Membership Start Date, Membership Expiration Date). Can also display contributions (payments) associated with each membership.",NULL,"0",NULL,NULL,"1","0","0","0","Membership Report (Detail)","CRM_Report_Form_Member_Detail",@this_option_group_id,"member/detail",NULL,"16"), +(NULL,"3","Provides a list of memberships that lapsed or will lapse before the date you specify.",NULL,"0",NULL,NULL,"1","0","0","0","Membership Report (Lapsed)","CRM_Report_Form_Member_Lapse",@this_option_group_id,"member/lapse",NULL,"17"), +(NULL,"1","Provides lists of participants for an event.",NULL,"0",NULL,NULL,"1","0","0","0","Event Participant Report (List)","CRM_Report_Form_Event_ParticipantListing",@this_option_group_id,"event/participantListing",NULL,"18"), +(NULL,"1","Provides an overview of event income. You can include key information such as event ID, registration, attendance, and income generated to help you determine the success of an event.",NULL,"0",NULL,NULL,"1","0","0","0","Event Income Report (Summary)","CRM_Report_Form_Event_Summary",@this_option_group_id,"event/summary",NULL,"19"), +(NULL,"1","Helps you to analyze the income generated by an event. The report can include details by participant type, status and payment method.",NULL,"0",NULL,NULL,"1","0","0","0","Event Income Report (Detail)","CRM_Report_Form_Event_Income",@this_option_group_id,"event/income",NULL,"20"), +(NULL,"6","List of pledges including amount pledged, pledge status, next payment date, balance due, total amount paid etc.",NULL,"0",NULL,NULL,"1","0","0","0","Pledge Detail Report","CRM_Report_Form_Pledge_Detail",@this_option_group_id,"pledge/detail",NULL,"21"), +(NULL,"6","Pledged but not Paid Report",NULL,"0",NULL,NULL,"1","0","0","0","Pledged but not Paid Report","CRM_Report_Form_Pledge_Pbnp",@this_option_group_id,"pledge/pbnp",NULL,"22"), +(NULL,NULL,"Relationship Report",NULL,"0",NULL,NULL,"1","0","0","0","Relationship Report","CRM_Report_Form_Contact_Relationship",@this_option_group_id,"contact/relationship",NULL,"23"), +(NULL,"7","Provides a summary of cases and their duration by date range, status, staff member and / or case role.",NULL,"0",NULL,NULL,"1","0","0","0","Case Summary Report","CRM_Report_Form_Case_Summary",@this_option_group_id,"case/summary",NULL,"24"), +(NULL,"7","Aggregates time spent on case and / or non-case activities by activity type and contact.",NULL,"0",NULL,NULL,"1","0","0","0","Case Time Spent Report","CRM_Report_Form_Case_TimeSpent",@this_option_group_id,"case/timespent",NULL,"25"), +(NULL,"7","Demographic breakdown for case clients (and or non-case contacts) in your database. Includes custom contact fields.",NULL,"0",NULL,NULL,"1","0","0","0","Contact Demographics Report","CRM_Report_Form_Case_Demographics",@this_option_group_id,"case/demographics",NULL,"26"), +(NULL,NULL,"Log of contact and activity records created or updated in a given date range.",NULL,"0",NULL,NULL,"1","0","0","0","Database Log Report","CRM_Report_Form_Contact_Log",@this_option_group_id,"contact/log",NULL,"27"), +(NULL,NULL,"Shows activity statistics by type / date",NULL,"0",NULL,NULL,"1","0","0","0","Activity Summary Report","CRM_Report_Form_ActivitySummary",@this_option_group_id,"activitySummary",NULL,"28"), +(NULL,"2","Shows Bookkeeping Transactions Report",NULL,"0",NULL,NULL,"1","0","0","0","Bookkeeping Transactions Report","CRM_Report_Form_Contribute_Bookkeeping",@this_option_group_id,"contribute/bookkeeping",NULL,"29"), +(NULL,"1","Shows the Participant list with Participant Count.",NULL,"0",NULL,NULL,"1","0","0","0","Participant list Count Report","CRM_Report_Form_Event_ParticipantListCount",@this_option_group_id,"event/participantlist",NULL,"31"), +(NULL,"1","Shows the Income Summary of events with Count.",NULL,"0",NULL,NULL,"1","0","0","0","Income Count Summary Report","CRM_Report_Form_Event_IncomeCountSummary",@this_option_group_id,"event/incomesummary",NULL,"32"), +(NULL,"7","Case Details",NULL,"0",NULL,NULL,"1","0","0","0","Case Detail Report","CRM_Report_Form_Case_Detail",@this_option_group_id,"case/detail",NULL,"33"), +(NULL,"4","Bounce Report for mailings",NULL,"0",NULL,NULL,"1","0","0","0","Mail Bounce Report","CRM_Report_Form_Mailing_Bounce",@this_option_group_id,"Mailing/bounce",NULL,"34"), +(NULL,"4","Summary statistics for mailings",NULL,"0",NULL,NULL,"1","0","0","0","Mail Summary Report","CRM_Report_Form_Mailing_Summary",@this_option_group_id,"Mailing/summary",NULL,"35"), +(NULL,"4","Display contacts who opened emails from a mailing",NULL,"0",NULL,NULL,"1","0","0","0","Mail Opened Report","CRM_Report_Form_Mailing_Opened",@this_option_group_id,"Mailing/opened",NULL,"36"), +(NULL,"4","Display clicks from each mailing",NULL,"0",NULL,NULL,"1","0","0","0","Mail Click-Through Report","CRM_Report_Form_Mailing_Clicks",@this_option_group_id,"Mailing/clicks",NULL,"37"), +(NULL,NULL,"Contact modification report for the logging infrastructure (summary).",NULL,"0",NULL,NULL,"0","0","0","0","Contact Logging Report (Summary)","CRM_Report_Form_Contact_LoggingSummary",@this_option_group_id,"logging/contact/summary",NULL,"38"), +(NULL,NULL,"Contact modification report for the logging infrastructure (detail).",NULL,"0",NULL,NULL,"0","0","0","0","Contact Logging Report (Detail)","CRM_Report_Form_Contact_LoggingDetail",@this_option_group_id,"logging/contact/detail",NULL,"39"), +(NULL,"9","Detailed report for canvassing, phone-banking, walk lists or other surveys.",NULL,"0",NULL,NULL,"1","0","0","0","Survey Report (Detail)","CRM_Report_Form_Campaign_SurveyDetails",@this_option_group_id,"survey/detail",NULL,"43"), +(NULL,"2","Summarizes amount raised and number of contributors for each Personal Campaign Page.",NULL,"0",NULL,NULL,"1","0","0","0","Personal Campaign Page Report","CRM_Report_Form_Contribute_PCP",@this_option_group_id,"contribute/pcp",NULL,"44"), +(NULL,"6","Groups and totals pledges by criteria including contact, time period, pledge status, location, etc.",NULL,"0",NULL,NULL,"1","0","0","0","Pledge Summary Report","CRM_Report_Form_Pledge_Summary",@this_option_group_id,"pledge/summary",NULL,"45"), +(NULL,"2","List contact\'s donation history, grouped by year, along with contributions attributed to any of the contact\'s related contacts.",NULL,"0",NULL,NULL,"1","0","0","0","Contribution Aggregate by Relationship","CRM_Report_Form_Contribute_History",@this_option_group_id,"contribute/history",NULL,"46"), +(NULL,"4","Provides reporting on Intended and Successful Deliveries, Unsubscribes and Opt-outs, Replies and Forwards.",NULL,"0",NULL,NULL,"1","0","0","0","Mail Detail Report","CRM_Report_Form_Mailing_Detail",@this_option_group_id,"mailing/detail",NULL,"47"), +(NULL,"3","Contribution details for any type of contribution, plus associated membership information for contributions which are in payment for memberships.",NULL,"0",NULL,NULL,"1","0","0","0","Contribution and Membership Details","CRM_Report_Form_Member_ContributionDetail",@this_option_group_id,"member/contributionDetail",NULL,"48"), +(NULL,"2","Provides information about the status of recurring contributions",NULL,"0",NULL,NULL,"1","0","0","0","Recurring Contributions Report","CRM_Report_Form_Contribute_Recur",@this_option_group_id,"contribute/recur",NULL,"49"), +(NULL,"2","Provides simple summary for each payment instrument for which there are recurring contributions (e.g. Credit Card, Standing Order, Direct Debit, etc., NULL), showing within a given date range.",NULL,"0",NULL,NULL,"1","0","0","0","Recurring Contributions Summary","CRM_Report_Form_Contribute_RecurSummary",@this_option_group_id,"contribute/recursummary",NULL,"49"), +(NULL,"2","Deferred Revenue Details Report",NULL,"0",NULL,NULL,"1","0","0","0","Deferred Revenue Details","CRM_Report_Form_Contribute_DeferredRevenue",@this_option_group_id,"contribute/deferredrevenue",NULL,"50") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","email_greeting","name,label,description","Email Greeting Type") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "email_greeting") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"1",NULL,NULL,"1","1","0","0","Dear {contact.first_name}","Dear {contact.first_name}",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"1",NULL,NULL,"1","0","0","0","Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}","Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"1",NULL,NULL,"1","0","0","0","Dear {contact.prefix_id:label} {contact.last_name}","Dear {contact.prefix_id:label} {contact.last_name}",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Customized","Customized",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"2",NULL,NULL,"1","1","0","0","Dear {contact.household_name}","Dear {contact.household_name}",@this_option_group_id,"5",NULL,"5") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","postal_greeting","name,label,description","Postal Greeting Type") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "postal_greeting") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"1",NULL,NULL,"1","1","0","0","Dear {contact.first_name}","Dear {contact.first_name}",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"1",NULL,NULL,"1","0","0","0","Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}","Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"1",NULL,NULL,"1","0","0","0","Dear {contact.prefix_id:label} {contact.last_name}","Dear {contact.prefix_id:label} {contact.last_name}",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Customized","Customized",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"2",NULL,NULL,"1","1","0","0","Dear {contact.household_name}","Dear {contact.household_name}",@this_option_group_id,"5",NULL,"5") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","addressee","name,label,description","Addressee Type") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "addressee") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"1",NULL,NULL,"1","1","0","0","{contact.prefix_id:label}{ }{contact.first_name}{ }{contact.middle_name}{ }{contact.last_name}{ }{contact.suffix_id:label}","{contact.prefix_id:label}{ }{contact.first_name}{ }{contact.middle_name}{ }{contact.last_name}{ }{contact.suffix_id:label}",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"2",NULL,NULL,"1","1","0","0","{contact.household_name}","{contact.household_name}",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"3",NULL,NULL,"1","1","0","0","{contact.organization_name}","{contact.organization_name}",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Customized","Customized",@this_option_group_id,"4",NULL,"4") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","contact_autocomplete_options","name,label,description","Autocomplete Contact Search") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "contact_autocomplete_options") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Email Address","email",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Phone","phone",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Street Address","street_address",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","City","city",@this_option_group_id,"5",NULL,"5"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","State/Province","state_province",@this_option_group_id,"6",NULL,"6"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Country","country",@this_option_group_id,"7",NULL,"7"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Postal Code","postal_code",@this_option_group_id,"8",NULL,"8") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","contact_reference_options","name,label,description","Contact Reference Autocomplete Options") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "contact_reference_options") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Email Address","email",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Phone","phone",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Street Address","street_address",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","City","city",@this_option_group_id,"5",NULL,"5"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","State/Province","state_province",@this_option_group_id,"6",NULL,"6"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Country","country",@this_option_group_id,"7",NULL,"7"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Postal Code","postal_code",@this_option_group_id,"8",NULL,"8") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","website_type","name,label,description","Website Type") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "website_type") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","1","0","0","Work","Work",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Main","Main",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Facebook","Facebook",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Instagram","Instagram",@this_option_group_id,"5",NULL,"5"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","LinkedIn","LinkedIn",@this_option_group_id,"6",NULL,"6"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","MySpace","MySpace",@this_option_group_id,"7",NULL,"7"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Pinterest","Pinterest",@this_option_group_id,"8",NULL,"8"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","SnapChat","SnapChat",@this_option_group_id,"9",NULL,"9"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Tumblr","Tumblr",@this_option_group_id,"10",NULL,"10"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Twitter","Twitter",@this_option_group_id,"11",NULL,"11"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Vine","Vine ",@this_option_group_id,"12",NULL,"12") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","tag_used_for","name,label,description","Tag Used For") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "tag_used_for") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Contacts","Contact",@this_option_group_id,"civicrm_contact",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Activities","Activity",@this_option_group_id,"civicrm_activity",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Cases","Case",@this_option_group_id,"civicrm_case",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Attachments","File",@this_option_group_id,"civicrm_file",NULL,"4") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","note_used_for","name,label,description","Note Used For") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "note_used_for") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Contacts","Contact",@this_option_group_id,"civicrm_contact",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Relationships","Relationship",@this_option_group_id,"civicrm_relationship",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Participants","Participant",@this_option_group_id,"civicrm_participant",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Contributions","Contribution",@this_option_group_id,"civicrm_contribution",NULL,"4") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","currencies_enabled","name,label,description","Currencies Enabled") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "currencies_enabled") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","1","0","0","USD ($)","USD",@this_option_group_id,"USD",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","CAD ($)","CAD",@this_option_group_id,"CAD",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","EUR (€)","EUR",@this_option_group_id,"EUR",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","GBP (£)","GBP",@this_option_group_id,"GBP",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","JPY (Â¥)","JPY",@this_option_group_id,"JPY",NULL,"5") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","event_badge","name,label,description","Event Name Badge") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "event_badge") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,"Simple Event Name Badge",NULL,"0",NULL,NULL,"1","0","0","1","Name Only","CRM_Event_Badge_Simple",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,"Name Tent",NULL,"0",NULL,NULL,"1","0","0","1","Name Tent","CRM_Event_Badge_NameTent",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,"You can set your own background image",NULL,"0",NULL,NULL,"1","0","0","1","With Logo","CRM_Event_Badge_Logo",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,"Avery 5395 compatible labels with logo (4 up by 2, 59.2mm x 85.7mm)",NULL,"0",NULL,NULL,"1","0","0","1","5395 with Logo","CRM_Event_Badge_Logo5395",@this_option_group_id,"4",NULL,"4") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","note_privacy","name,label,description","Privacy levels for notes") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "note_privacy") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","1","0","1","None","None",@this_option_group_id,"0",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Author Only","Author Only",@this_option_group_id,"1",NULL,"2") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","campaign_type","name,label,description","Campaign Type") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "campaign_type") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Direct Mail","Direct Mail",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Referral Program","Referral Program",@this_option_group_id,"2",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Constituent Engagement","Constituent Engagement",@this_option_group_id,"3",NULL,"1") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","campaign_status","name,label,description","Campaign Status") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "campaign_status") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Planned","Planned",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","In Progress","In Progress",@this_option_group_id,"2",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Completed","Completed",@this_option_group_id,"3",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Cancelled","Cancelled",@this_option_group_id,"4",NULL,"1") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","system_extensions","name,label,description","CiviCRM Extensions") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","mail_approval_status","name,label,description","CiviMail Approval Status") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "mail_approval_status") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,"4",NULL,"1","0",NULL,NULL,"1","1","0","1","Approved","Approved",@this_option_group_id,"1",NULL,"1"), +(NULL,"4",NULL,"1","0",NULL,NULL,"1","0","0","1","Rejected","Rejected",@this_option_group_id,"2",NULL,"2"), +(NULL,"4",NULL,"1","0",NULL,NULL,"1","0","0","1","None","None",@this_option_group_id,"3",NULL,"3") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","engagement_index","name,label,description","Engagement Index") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "engagement_index") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","1","1",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","2","2",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","3","3",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","4","4",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","5","5",@this_option_group_id,"5",NULL,"5") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","cg_extend_objects","name,label,description","Objects a custom group extends to") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "cg_extend_objects") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Survey","civicrm_survey",@this_option_group_id,"Survey",NULL,"1"), +(NULL,NULL,NULL,NULL,"0","case_type_id",NULL,"1","0","0","0","Cases","civicrm_case",@this_option_group_id,"Case",NULL,"2") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","paper_size","name,label,description","Paper Size") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "paper_size") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","1","0","0","Letter","letter",@this_option_group_id,"{\"metric\":\"in\",\"width\":8.5,\"height\":11}",NULL,"1"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Legal","legal",@this_option_group_id,"{\"metric\":\"in\",\"width\":8.5,\"height\":14}",NULL,"2"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Ledger","ledger",@this_option_group_id,"{\"metric\":\"in\",\"width\":17,\"height\":11}",NULL,"3"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Tabloid","tabloid",@this_option_group_id,"{\"metric\":\"in\",\"width\":11,\"height\":17}",NULL,"4"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Executive","executive",@this_option_group_id,"{\"metric\":\"in\",\"width\":7.25,\"height\":10.5}",NULL,"5"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Folio","folio",@this_option_group_id,"{\"metric\":\"in\",\"width\":8.5,\"height\":13}",NULL,"6"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Envelope #9","envelope-9",@this_option_group_id,"{\"metric\":\"pt\",\"width\":638.93,\"height\":278.93}",NULL,"7"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Envelope #10","envelope-10",@this_option_group_id,"{\"metric\":\"pt\",\"width\":684,\"height\":297}",NULL,"8"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Envelope #11","envelope-11",@this_option_group_id,"{\"metric\":\"pt\",\"width\":747,\"height\":324}",NULL,"9"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Envelope #12","envelope-12",@this_option_group_id,"{\"metric\":\"pt\",\"width\":792,\"height\":342}",NULL,"10"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Envelope #14","envelope-14",@this_option_group_id,"{\"metric\":\"pt\",\"width\":828,\"height\":360}",NULL,"11"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Envelope ISO B4","envelope-b4",@this_option_group_id,"{\"metric\":\"pt\",\"width\":1000.63,\"height\":708.66}",NULL,"12"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Envelope ISO B5","envelope-b5",@this_option_group_id,"{\"metric\":\"pt\",\"width\":708.66,\"height\":498.9}",NULL,"13"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Envelope ISO B6","envelope-b6",@this_option_group_id,"{\"metric\":\"pt\",\"width\":498.9,\"height\":354.33}",NULL,"14"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Envelope ISO C3","envelope-c3",@this_option_group_id,"{\"metric\":\"pt\",\"width\":1298.27,\"height\":918.42}",NULL,"15"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Envelope ISO C4","envelope-c4",@this_option_group_id,"{\"metric\":\"pt\",\"width\":918.42,\"height\":649.13}",NULL,"16"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Envelope ISO C5","envelope-c5",@this_option_group_id,"{\"metric\":\"pt\",\"width\":649.13,\"height\":459.21}",NULL,"17"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Envelope ISO C6","envelope-c6",@this_option_group_id,"{\"metric\":\"pt\",\"width\":459.21,\"height\":323.15}",NULL,"18"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Envelope ISO DL","envelope-dl",@this_option_group_id,"{\"metric\":\"pt\",\"width\":623.622,\"height\":311.811}",NULL,"19"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO A0","a0",@this_option_group_id,"{\"metric\":\"pt\",\"width\":2383.94,\"height\":3370.39}",NULL,"20"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO A1","a1",@this_option_group_id,"{\"metric\":\"pt\",\"width\":1683.78,\"height\":2383.94}",NULL,"21"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO A2","a2",@this_option_group_id,"{\"metric\":\"pt\",\"width\":1190.55,\"height\":1683.78}",NULL,"22"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO A3","a3",@this_option_group_id,"{\"metric\":\"pt\",\"width\":841.89,\"height\":1190.55}",NULL,"23"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO A4","a4",@this_option_group_id,"{\"metric\":\"pt\",\"width\":595.28,\"height\":841.89}",NULL,"24"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO A5","a5",@this_option_group_id,"{\"metric\":\"pt\",\"width\":419.53,\"height\":595.28}",NULL,"25"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO A6","a6",@this_option_group_id,"{\"metric\":\"pt\",\"width\":297.64,\"height\":419.53}",NULL,"26"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO A7","a7",@this_option_group_id,"{\"metric\":\"pt\",\"width\":209.76,\"height\":297.64}",NULL,"27"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO A8","a8",@this_option_group_id,"{\"metric\":\"pt\",\"width\":147.4,\"height\":209.76}",NULL,"28"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO A9","a9",@this_option_group_id,"{\"metric\":\"pt\",\"width\":104.88,\"height\":147.4}",NULL,"29"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO A10","a10",@this_option_group_id,"{\"metric\":\"pt\",\"width\":73.7,\"height\":104.88}",NULL,"30"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO B0","b0",@this_option_group_id,"{\"metric\":\"pt\",\"width\":2834.65,\"height\":4008.19}",NULL,"31"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO B1","b1",@this_option_group_id,"{\"metric\":\"pt\",\"width\":2004.09,\"height\":2834.65}",NULL,"32"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO B2","b2",@this_option_group_id,"{\"metric\":\"pt\",\"width\":1417.32,\"height\":2004.09}",NULL,"33"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO B3","b3",@this_option_group_id,"{\"metric\":\"pt\",\"width\":1000.63,\"height\":1417.32}",NULL,"34"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO B4","b4",@this_option_group_id,"{\"metric\":\"pt\",\"width\":708.66,\"height\":1000.63}",NULL,"35"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO B5","b5",@this_option_group_id,"{\"metric\":\"pt\",\"width\":498.9,\"height\":708.66}",NULL,"36"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO B6","b6",@this_option_group_id,"{\"metric\":\"pt\",\"width\":354.33,\"height\":498.9}",NULL,"37"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO B7","b7",@this_option_group_id,"{\"metric\":\"pt\",\"width\":249.45,\"height\":354.33}",NULL,"38"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO B8","b8",@this_option_group_id,"{\"metric\":\"pt\",\"width\":175.75,\"height\":249.45}",NULL,"39"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO B9","b9",@this_option_group_id,"{\"metric\":\"pt\",\"width\":124.72,\"height\":175.75}",NULL,"40"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO B10","b10",@this_option_group_id,"{\"metric\":\"pt\",\"width\":87.87,\"height\":124.72}",NULL,"41"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO C0","c0",@this_option_group_id,"{\"metric\":\"pt\",\"width\":2599.37,\"height\":3676.54}",NULL,"42"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO C1","c1",@this_option_group_id,"{\"metric\":\"pt\",\"width\":1836.85,\"height\":2599.37}",NULL,"43"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO C2","c2",@this_option_group_id,"{\"metric\":\"pt\",\"width\":1298.27,\"height\":1836.85}",NULL,"44"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO C3","c3",@this_option_group_id,"{\"metric\":\"pt\",\"width\":918.43,\"height\":1298.27}",NULL,"45"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO C4","c4",@this_option_group_id,"{\"metric\":\"pt\",\"width\":649.13,\"height\":918.43}",NULL,"46"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO C5","c5",@this_option_group_id,"{\"metric\":\"pt\",\"width\":459.21,\"height\":649.13}",NULL,"47"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO C6","c6",@this_option_group_id,"{\"metric\":\"pt\",\"width\":323.15,\"height\":459.21}",NULL,"48"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO C7","c7",@this_option_group_id,"{\"metric\":\"pt\",\"width\":229.61,\"height\":323.15}",NULL,"49"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO C8","c8",@this_option_group_id,"{\"metric\":\"pt\",\"width\":161.57,\"height\":229.61}",NULL,"50"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO C9","c9",@this_option_group_id,"{\"metric\":\"pt\",\"width\":113.39,\"height\":161.57}",NULL,"51"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO C10","c10",@this_option_group_id,"{\"metric\":\"pt\",\"width\":79.37,\"height\":113.39}",NULL,"52"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO RA0","ra0",@this_option_group_id,"{\"metric\":\"pt\",\"width\":2437.8,\"height\":3458.27}",NULL,"53"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO RA1","ra1",@this_option_group_id,"{\"metric\":\"pt\",\"width\":1729.13,\"height\":2437.8}",NULL,"54"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO RA2","ra2",@this_option_group_id,"{\"metric\":\"pt\",\"width\":1218.9,\"height\":1729.13}",NULL,"55"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO RA3","ra3",@this_option_group_id,"{\"metric\":\"pt\",\"width\":864.57,\"height\":1218.9}",NULL,"56"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO RA4","ra4",@this_option_group_id,"{\"metric\":\"pt\",\"width\":609.45,\"height\":864.57}",NULL,"57"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO SRA0","sra0",@this_option_group_id,"{\"metric\":\"pt\",\"width\":2551.18,\"height\":3628.35}",NULL,"58"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO SRA1","sra1",@this_option_group_id,"{\"metric\":\"pt\",\"width\":1814.17,\"height\":2551.18}",NULL,"59"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO SRA2","sra2",@this_option_group_id,"{\"metric\":\"pt\",\"width\":1275.59,\"height\":1814.17}",NULL,"60"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO SRA3","sra3",@this_option_group_id,"{\"metric\":\"pt\",\"width\":907.09,\"height\":1275.59}",NULL,"61"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","ISO SRA4","sra4",@this_option_group_id,"{\"metric\":\"pt\",\"width\":637.8,\"height\":907.09}",NULL,"62") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","pdf_format","name,label,description","PDF Page Format") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "pdf_format") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Invoice PDF Format","default_invoice_pdf_format",@this_option_group_id,"{\"metric\":\"px\",\"margin_top\":10,\"margin_bottom\":0,\"margin_left\":65,\"margin_right\":0}",NULL,"1") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","label_format","name,label,description","Mailing Label Format") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "label_format") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,NULL,"Avery",NULL,"1","0","0","1","Avery 3475","3475",@this_option_group_id,"{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":10,\"font-style\":\"\",\"metric\":\"mm\",\"lMargin\":0,\"tMargin\":5,\"NX\":3,\"NY\":8,\"SpaceX\":0,\"SpaceY\":0,\"width\":70,\"height\":36,\"lPadding\":5.08,\"tPadding\":5.08}",NULL,"1"), +(NULL,NULL,NULL,NULL,NULL,"Avery",NULL,"1","0","0","1","Avery 5160","5160",@this_option_group_id,"{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.21975,\"tMargin\":0.5,\"NX\":3,\"NY\":10,\"SpaceX\":0.14,\"SpaceY\":0,\"width\":2.5935,\"height\":1,\"lPadding\":0.20,\"tPadding\":0.20}",NULL,"2"), +(NULL,NULL,NULL,NULL,NULL,"Avery",NULL,"1","0","0","1","Avery 5161","5161",@this_option_group_id,"{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.175,\"tMargin\":0.5,\"NX\":2,\"NY\":10,\"SpaceX\":0.15625,\"SpaceY\":0,\"width\":4,\"height\":1,\"lPadding\":0.20,\"tPadding\":0.20}",NULL,"3"), +(NULL,NULL,NULL,NULL,NULL,"Avery",NULL,"1","0","0","1","Avery 5162","5162",@this_option_group_id,"{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.1525,\"tMargin\":0.88,\"NX\":2,\"NY\":7,\"SpaceX\":0.195,\"SpaceY\":0,\"width\":4,\"height\":1.33,\"lPadding\":0.20,\"tPadding\":0.20}",NULL,"4"), +(NULL,NULL,NULL,NULL,NULL,"Avery",NULL,"1","0","0","1","Avery 5163","5163",@this_option_group_id,"{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.18,\"tMargin\":0.5,\"NX\":2,\"NY\":5,\"SpaceX\":0.14,\"SpaceY\":0,\"width\":4,\"height\":2,\"lPadding\":0.20,\"tPadding\":0.20}",NULL,"5"), +(NULL,NULL,NULL,NULL,NULL,"Avery",NULL,"1","0","0","1","Avery 5164","5164",@this_option_group_id,"{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":12,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.156,\"tMargin\":0.5,\"NX\":2,\"NY\":3,\"SpaceX\":0.1875,\"SpaceY\":0,\"width\":4,\"height\":3.33,\"lPadding\":0.20,\"tPadding\":0.20}",NULL,"6"), +(NULL,NULL,NULL,NULL,NULL,"Avery",NULL,"1","0","0","1","Avery 8600","8600",@this_option_group_id,"{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"mm\",\"lMargin\":7.1,\"tMargin\":19,\"NX\":3,\"NY\":10,\"SpaceX\":9.5,\"SpaceY\":3.1,\"width\":66.6,\"height\":25.4,\"lPadding\":5.08,\"tPadding\":5.08}",NULL,"7"), +(NULL,NULL,NULL,NULL,NULL,"Avery",NULL,"1","0","0","1","Avery L7160","L7160",@this_option_group_id,"{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.28,\"tMargin\":0.6,\"NX\":3,\"NY\":7,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":2.5,\"height\":1.5,\"lPadding\":0.20,\"tPadding\":0.20}",NULL,"8"), +(NULL,NULL,NULL,NULL,NULL,"Avery",NULL,"1","0","0","1","Avery L7161","L7161",@this_option_group_id,"{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.28,\"tMargin\":0.35,\"NX\":3,\"NY\":6,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":2.5,\"height\":1.83,\"lPadding\":0.20,\"tPadding\":0.20}",NULL,"9"), +(NULL,NULL,NULL,NULL,NULL,"Avery",NULL,"1","0","0","1","Avery L7162","L7162",@this_option_group_id,"{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.18,\"tMargin\":0.51,\"NX\":2,\"NY\":8,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":3.9,\"height\":1.33,\"lPadding\":0.20,\"tPadding\":0.20}",NULL,"10"), +(NULL,NULL,NULL,NULL,NULL,"Avery",NULL,"1","0","0","1","Avery L7163","L7163",@this_option_group_id,"{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.18,\"tMargin\":0.6,\"NX\":2,\"NY\":7,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":3.9,\"height\":1.5,\"lPadding\":0.20,\"tPadding\":0.20}",NULL,"11") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","activity_contacts","name,label,description","Activity Contacts") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "activity_contacts") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Activity Assignees","Activity Assignees",@this_option_group_id,"1",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Activity Source","Activity Source",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Activity Targets","Activity Targets",@this_option_group_id,"3",NULL,"1") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","account_relationship","name,label,description","Account Relationship") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "account_relationship") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,"2","Income Account is",NULL,"0",NULL,NULL,"1","1","0","1","Income Account is","Income Account is",@this_option_group_id,"1",NULL,"1"), +(NULL,"2","Credit/Contra Revenue Account is",NULL,"0",NULL,NULL,"1","0","0","1","Credit/Contra Revenue Account is","Credit/Contra Revenue Account is",@this_option_group_id,"2",NULL,"2"), +(NULL,"2","Accounts Receivable Account is",NULL,"0",NULL,NULL,"1","0","0","1","Accounts Receivable Account is","Accounts Receivable Account is",@this_option_group_id,"3",NULL,"3"), +(NULL,"2","Credit Liability Account is",NULL,"0",NULL,NULL,"0","0","0","1","Credit Liability Account is","Credit Liability Account is",@this_option_group_id,"4",NULL,"4"), +(NULL,"2","Expense Account is",NULL,"0",NULL,NULL,"1","0","0","1","Expense Account is","Expense Account is",@this_option_group_id,"5",NULL,"5"), +(NULL,"2","Asset Account is",NULL,"0",NULL,NULL,"1","0","0","1","Asset Account is","Asset Account is",@this_option_group_id,"6",NULL,"6"), +(NULL,"2","Cost of Sales Account is",NULL,"0",NULL,NULL,"1","0","0","1","Cost of Sales Account is","Cost of Sales Account is",@this_option_group_id,"7",NULL,"7"), +(NULL,"2","Premiums Inventory Account is",NULL,"0",NULL,NULL,"1","0","0","1","Premiums Inventory Account is","Premiums Inventory Account is",@this_option_group_id,"8",NULL,"8"), +(NULL,"2","Discounts Account is",NULL,"0",NULL,NULL,"1","0","0","1","Discounts Account is","Discounts Account is",@this_option_group_id,"9",NULL,"9"), +(NULL,"2","Sales Tax Account is",NULL,"0",NULL,NULL,"1","0","0","1","Sales Tax Account is","Sales Tax Account is",@this_option_group_id,"10",NULL,"10"), +(NULL,"2","Chargeback Account is",NULL,"0",NULL,NULL,"1","0","0","1","Chargeback Account is","Chargeback Account is",@this_option_group_id,"11",NULL,"11"), +(NULL,"2","Deferred Revenue Account is",NULL,"0",NULL,NULL,"1","0","0","1","Deferred Revenue Account is","Deferred Revenue Account is",@this_option_group_id,"12",NULL,"12") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","event_contacts","name,label,description","Event Recipients") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "event_contacts") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Participant Role","participant_role",@this_option_group_id,"1",NULL,"1") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","conference_slot","name,label,description","Conference Slot") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "conference_slot") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Morning Sessions","Morning Sessions",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Evening Sessions","Evening Sessions",@this_option_group_id,"2",NULL,"2") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","batch_type","name,label,description","Batch Type") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "batch_type") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Contribution","Contribution",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Membership","Membership",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Pledge Payment","Pledge Payment",@this_option_group_id,"3",NULL,"3") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","batch_mode","name,label,description","Batch Mode") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "batch_mode") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,"2","Manual Batch",NULL,"0",NULL,NULL,"1","0","0","1","Manual Batch","Manual Batch",@this_option_group_id,"1",NULL,"1"), +(NULL,"2","Automatic Batch",NULL,"0",NULL,NULL,"1","0","0","1","Automatic Batch","Automatic Batch",@this_option_group_id,"2",NULL,"2") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","batch_status","name,label,description","Batch Status") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "batch_status") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Open","Open",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Closed","Closed",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Data Entry","Data Entry",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Reopened","Reopened",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Exported","Exported",@this_option_group_id,"5",NULL,"5") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","sms_api_type","name,label,description","Api Type") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "sms_api_type") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","1","http","http",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","1","xml","xml",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","1","smtp","smtp",@this_option_group_id,"3",NULL,"3") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","sms_provider_name","name,label,description","Sms Provider Internal Name") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","auto_renew_options","name,label,description","Auto Renew Options") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "auto_renew_options") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1",NULL,"0","0","Renewal Reminder (non-auto-renew memberships only)","Renewal Reminder (non-auto-renew memberships only)",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1",NULL,"0","0","Auto-renew Memberships Only","Auto-renew Memberships Only",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1",NULL,"0","0","Reminder for Both","Reminder for Both",@this_option_group_id,"3",NULL,"3") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","financial_account_type","name,label,description","Financial Account Type") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "financial_account_type") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,"2","Things you own",NULL,"0",NULL,NULL,"1","0","0","1","Asset","Asset",@this_option_group_id,"1",NULL,"1"), +(NULL,"2","Things you owe, like a grant still to be disbursed",NULL,"0",NULL,NULL,"1","0","0","1","Liability","Liability",@this_option_group_id,"2",NULL,"2"), +(NULL,"2","Income from contributions and sales of tickets and memberships",NULL,"0",NULL,NULL,"1","1","0","1","Revenue","Revenue",@this_option_group_id,"3",NULL,"3"), +(NULL,"2","Costs incurred to get revenue, e.g. premiums for donations, dinner for a fundraising dinner ticket",NULL,"0",NULL,NULL,"1","0","0","1","Cost of Sales","Cost of Sales",@this_option_group_id,"4",NULL,"4"), +(NULL,"2","Things that are paid for that are consumable, e.g. grants disbursed",NULL,"0",NULL,NULL,"1","0","0","1","Expenses","Expenses",@this_option_group_id,"5",NULL,"5") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","financial_item_status","name,label,description","Financial Item Status") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "financial_item_status") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,"2","Paid",NULL,"0",NULL,NULL,"1","0","0","1","Paid","Paid",@this_option_group_id,"1",NULL,"1"), +(NULL,"2","Unpaid",NULL,"0",NULL,NULL,"1","0","0","1","Unpaid","Unpaid",@this_option_group_id,"3",NULL,"1"), +(NULL,"2","Partially paid",NULL,"0",NULL,NULL,"1","0","0","1","Partially paid","Partially paid",@this_option_group_id,"2",NULL,"2") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","label_type","name,label,description","Label Type") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "label_type") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1",NULL,"0","0","Event Badge","Event Badge",@this_option_group_id,"1",NULL,"1") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","name_badge","name,label,description","Name Badge Format") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "name_badge") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Avery 5395","Avery 5395",@this_option_group_id,"{\"name\":\"Avery 5395\",\"paper-size\":\"a4\",\"metric\":\"mm\",\"lMargin\":15,\"tMargin\":26,\"NX\":2,\"NY\":4,\"SpaceX\":10,\"SpaceY\":5,\"width\":83,\"height\":57,\"font-size\":12,\"orientation\":\"portrait\",\"font-name\":\"helvetica\",\"font-style\":\"\",\"lPadding\":3,\"tPadding\":3}",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","A6 Badge Portrait 150x106","A6 Badge Portrait 150x106",@this_option_group_id,"{\"paper-size\":\"a4\",\"orientation\":\"landscape\",\"font-name\":\"times\",\"font-size\":6,\"font-style\":\"\",\"NX\":2,\"NY\":1,\"metric\":\"mm\",\"lMargin\":25,\"tMargin\":27,\"SpaceX\":0,\"SpaceY\":35,\"width\":106,\"height\":150,\"lPadding\":5,\"tPadding\":5}",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Fattorini Name Badge 100x65","Fattorini Name Badge 100x65",@this_option_group_id,"{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"times\",\"font-size\":6,\"font-style\":\"\",\"NX\":2,\"NY\":4,\"metric\":\"mm\",\"lMargin\":6,\"tMargin\":19,\"SpaceX\":0,\"SpaceY\":0,\"width\":100,\"height\":65,\"lPadding\":0,\"tPadding\":0}",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Hanging Badge 3-3/4\" x 4-3\"/4","Hanging Badge 3-3/4\" x 4-3\"/4",@this_option_group_id,"{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"times\",\"font-size\":6,\"font-style\":\"\",\"NX\":2,\"NY\":2,\"metric\":\"mm\",\"lMargin\":10,\"tMargin\":28,\"SpaceX\":0,\"SpaceY\":0,\"width\":96,\"height\":121,\"lPadding\":5,\"tPadding\":5}",NULL,"4") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","communication_style","name,label,description","Communication Style") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "communication_style") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","1","0","0","Formal","formal",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Familiar","familiar",@this_option_group_id,"2",NULL,"2") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","msg_mode","name,label,description","Message Mode") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "msg_mode") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","1","0","1","Email","Email",@this_option_group_id,"Email",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","SMS","SMS",@this_option_group_id,"SMS",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","User Preference","User Preference",@this_option_group_id,"User_Preference",NULL,"3") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","contact_date_reminder_options","name,label,description","Contact Date Reminder Options") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "contact_date_reminder_options") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","1","Actual date only","Actual date only",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","1","Each anniversary","Each anniversary",@this_option_group_id,"2",NULL,"2") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","wysiwyg_presets","name,label,description","WYSIWYG Editor Presets") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "wysiwyg_presets") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","1","0","1","Default","default",@this_option_group_id,"1",NULL,"1"), +(NULL,"4",NULL,NULL,NULL,NULL,NULL,"1","0","0","1","CiviMail","civimail",@this_option_group_id,"2",NULL,"2"), +(NULL,"1",NULL,NULL,NULL,NULL,NULL,"1","0","0","1","CiviEvent","civievent",@this_option_group_id,"3",NULL,"3") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","relative_date_filters","name,label,description","Relative Date Filters") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "relative_date_filters") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Today","this.day",@this_option_group_id,"this.day",NULL,"1"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","This week","this.week",@this_option_group_id,"this.week",NULL,"2"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","This calendar month","this.month",@this_option_group_id,"this.month",NULL,"3"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","This quarter","this.quarter",@this_option_group_id,"this.quarter",NULL,"4"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","This fiscal year","this.fiscal_year",@this_option_group_id,"this.fiscal_year",NULL,"5"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","This calendar year","this.year",@this_option_group_id,"this.year",NULL,"6"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Yesterday","previous.day",@this_option_group_id,"previous.day",NULL,"7"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Previous week","previous.week",@this_option_group_id,"previous.week",NULL,"8"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Previous calendar month","previous.month",@this_option_group_id,"previous.month",NULL,"9"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Previous quarter","previous.quarter",@this_option_group_id,"previous.quarter",NULL,"10"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Previous fiscal year","previous.fiscal_year",@this_option_group_id,"previous.fiscal_year",NULL,"11"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Previous calendar year","previous.year",@this_option_group_id,"previous.year",NULL,"12"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Last 7 days including today","ending.week",@this_option_group_id,"ending.week",NULL,"13"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Last 30 days including today","ending.month",@this_option_group_id,"ending_30.day",NULL,"14"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Last 60 days including today","ending_2.month",@this_option_group_id,"ending_60.day",NULL,"15"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Last 90 days including today","ending.quarter",@this_option_group_id,"ending_90.day",NULL,"16"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Last 12 months including today","ending.year",@this_option_group_id,"ending.year",NULL,"17"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Last 2 years including today","ending_2.year",@this_option_group_id,"ending_2.year",NULL,"18"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Last 3 years including today","ending_3.year",@this_option_group_id,"ending_3.year",NULL,"19"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Tomorrow","starting.day",@this_option_group_id,"starting.day",NULL,"20"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Next week","next.week",@this_option_group_id,"next.week",NULL,"21"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Next calendar month","next.month",@this_option_group_id,"next.month",NULL,"22"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Next quarter","next.quarter",@this_option_group_id,"next.quarter",NULL,"23"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Next fiscal year","next.fiscal_year",@this_option_group_id,"next.fiscal_year",NULL,"24"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Next calendar year","next.year",@this_option_group_id,"next.year",NULL,"25"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Next 7 days including today","starting.week",@this_option_group_id,"starting.week",NULL,"26"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Next 30 days including today","starting.month",@this_option_group_id,"starting.month",NULL,"27"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Next 60 days including today","starting_2.month",@this_option_group_id,"starting_2.month",NULL,"28"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Next 90 days including today","starting.quarter",@this_option_group_id,"starting.quarter",NULL,"29"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Next 12 months including today","starting.year",@this_option_group_id,"starting.year",NULL,"30"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Current week to-date","current.week",@this_option_group_id,"current.week",NULL,"31"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Current calendar month to-date","current.month",@this_option_group_id,"current.month",NULL,"32"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Current quarter to-date","current.quarter",@this_option_group_id,"current.quarter",NULL,"33"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Current calendar year to-date","current.year",@this_option_group_id,"current.year",NULL,"34"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","To end of yesterday","earlier.day",@this_option_group_id,"earlier.day",NULL,"35"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","To end of previous week","earlier.week",@this_option_group_id,"earlier.week",NULL,"36"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","To end of previous calendar month","earlier.month",@this_option_group_id,"earlier.month",NULL,"37"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","To end of previous quarter","earlier.quarter",@this_option_group_id,"earlier.quarter",NULL,"38"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","To end of previous calendar year","earlier.year",@this_option_group_id,"earlier.year",NULL,"39"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","From start of current day","greater.day",@this_option_group_id,"greater.day",NULL,"40"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","From start of current week","greater.week",@this_option_group_id,"greater.week",NULL,"41"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","From start of current calendar month","greater.month",@this_option_group_id,"greater.month",NULL,"42"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","From start of current quarter","greater.quarter",@this_option_group_id,"greater.quarter",NULL,"43"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","From start of current calendar year","greater.year",@this_option_group_id,"greater.year",NULL,"44"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","To end of current week","less.week",@this_option_group_id,"less.week",NULL,"45"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","To end of current calendar month","less.month",@this_option_group_id,"less.month",NULL,"46"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","To end of current quarter","less.quarter",@this_option_group_id,"less.quarter",NULL,"47"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","To end of current calendar year","less.year",@this_option_group_id,"less.year",NULL,"48"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Previous 2 days","previous_2.day",@this_option_group_id,"previous_2.day",NULL,"49"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Previous 2 weeks","previous_2.week",@this_option_group_id,"previous_2.week",NULL,"50"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Previous 2 calendar months","previous_2.month",@this_option_group_id,"previous_2.month",NULL,"51"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Previous 2 quarters","previous_2.quarter",@this_option_group_id,"previous_2.quarter",NULL,"52"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Previous 2 calendar years","previous_2.year",@this_option_group_id,"previous_2.year",NULL,"53"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Previous 2 fiscal years","previous_2.fiscal_year",@this_option_group_id,"previous_2.fiscal_year",NULL,"54"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Day prior to yesterday","previous_before.day",@this_option_group_id,"previous_before.day",NULL,"55"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Week prior to previous week","previous_before.week",@this_option_group_id,"previous_before.week",NULL,"56"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1",NULL,"0","0","Month prior to previous calendar month","previous_before.month",@this_option_group_id,"previous_before.month",NULL,"57"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Quarter prior to previous quarter","previous_before.quarter",@this_option_group_id,"previous_before.quarter",NULL,"58"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Year prior to previous calendar year","previous_before.year",@this_option_group_id,"previous_before.year",NULL,"59"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","Fiscal year prior to previous fiscal year","previous_before.fiscal_year",@this_option_group_id,"previous_before.fiscal_year",NULL,"60"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","From end of previous week","greater_previous.week",@this_option_group_id,"greater_previous.week",NULL,"61"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","From end of previous calendar month","greater_previous.month",@this_option_group_id,"greater_previous.month",NULL,"62"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","From end of previous quarter","greater_previous.quarter",@this_option_group_id,"greater_previous.quarter",NULL,"63"), +(NULL,NULL,NULL,NULL,NULL,NULL,NULL,"1","0","0","0","From end of previous calendar year","greater_previous.year",@this_option_group_id,"greater_previous.year",NULL,"64") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","pledge_status","name,label,description","Pledge Status") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "pledge_status") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Completed","Completed",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Pending","Pending",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Cancelled","Cancelled",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","In Progress","In Progress",@this_option_group_id,"5",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Overdue","Overdue",@this_option_group_id,"6",NULL,"5") +; +INSERT INTO civicrm_option_group (`is_active`,`is_locked`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","1","contribution_recur_status","name,label,description","Recurring Contribution Status") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "contribution_recur_status") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Completed","Completed",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Pending","Pending",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Cancelled","Cancelled",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Failed","Failed",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","In Progress","In Progress",@this_option_group_id,"5",NULL,"5"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Overdue","Overdue",@this_option_group_id,"6",NULL,"6"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Processing","Processing",@this_option_group_id,"7",NULL,"7"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Failing","Failing",@this_option_group_id,"8",NULL,"8") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","environment","name,label,description","Environment") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "environment") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,"Production Environment",NULL,NULL,NULL,NULL,"1","1","0","1","Production","Production",@this_option_group_id,"Production",NULL,"1"), +(NULL,NULL,"Staging Environment",NULL,NULL,NULL,NULL,"1","0","0","1","Staging","Staging",@this_option_group_id,"Staging",NULL,"2"), +(NULL,NULL,"Development Environment",NULL,NULL,NULL,NULL,"1","0","0","1","Development","Development",@this_option_group_id,"Development",NULL,"3") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","activity_default_assignee","name,label,description","Activity default assignee") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "activity_default_assignee") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","1","0","0","None","NONE",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","By relationship to case client","BY_RELATIONSHIP",@this_option_group_id,"2",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Specific contact","SPECIFIC_CONTACT",@this_option_group_id,"3",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","User creating the case","USER_CREATING_THE_CASE",@this_option_group_id,"4",NULL,"1") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","entity_batch_extends","name,label,description","Entity Batch Extends") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "entity_batch_extends") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,"2",NULL,NULL,"0",NULL,NULL,"1","1","0","0","Financial Transactions","civicrm_financial_trxn",@this_option_group_id,"civicrm_financial_trxn",NULL,"1") +; +INSERT INTO civicrm_option_group (`data_type`,`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("Integer","1","1","file_type","name,label,description","File Type") +; -- CRM-6138 -- @@ -5967,545 +6293,535 @@ VALUES (@option_group_id_languages, 0, 0, 'yo_NG', 'yo', 'Yoruba', @counter := @counter + 1), (@option_group_id_languages, 0, 0, 'za_CN', 'za', 'Zhuang, Chuang', @counter := @counter + 1), (@option_group_id_languages, 0, 0, 'zu_ZA', 'zu', 'Zulu', @counter := @counter + 1); --- /******************************************************* --- * --- * Encounter Medium Option Values (for case activities) --- * --- *******************************************************/ -INSERT INTO `civicrm_option_group` (name, title, description, is_reserved, is_active) - VALUES ('encounter_medium', 'Encounter Medium', 'Encounter medium for case activities (e.g. In Person, By Phone, etc.)', 1, 1); -SELECT @option_group_id_medium := max(id) from civicrm_option_group where name = 'encounter_medium'; -INSERT INTO - `civicrm_option_value` (`option_group_id`, `label`, `value`, `name`, `grouping`, `filter`, `is_default`, `weight`, `description`, `is_optgroup`, `is_reserved`, `is_active`) -VALUES - (@option_group_id_medium, 'In Person', 1, 'in_person', NULL, 0, 0, 1, NULL, 0, 1, 1), - (@option_group_id_medium, 'Phone', 2, 'phone', NULL, 0, 1, 2, NULL, 0, 1, 1), - (@option_group_id_medium, 'Email', 3, 'email', NULL, 0, 0, 3, NULL, 0, 1, 1), - (@option_group_id_medium, 'Fax', 4, 'fax', NULL, 0, 0, 4, NULL, 0, 1, 1), - (@option_group_id_medium, 'Letter Mail', 5, 'letter_mail', NULL, 0, 0, 5, NULL, 0, 1, 1); - --- sample membership status entries -INSERT INTO - civicrm_membership_status(name, label, start_event, start_event_adjust_unit, start_event_adjust_interval, end_event, end_event_adjust_unit, end_event_adjust_interval, is_current_member, is_admin, weight, is_default, is_active, is_reserved) -VALUES - ('New', 'New', 'join_date', null, null,'join_date','month',3, 1, 0, 1, 0, 1, 0), - ('Current', 'Current', 'start_date', null, null,'end_date', null, null, 1, 0, 2, 1, 1, 0), - ('Grace', 'Grace', 'end_date', null, null,'end_date','month', 1, 1, 0, 3, 0, 1, 0), - ('Expired', 'Expired', 'end_date', 'month', 1, null, null, null, 0, 0, 4, 0, 1, 0), - ('Pending', 'Pending', 'join_date', null, null,'join_date',null,null, 0, 0, 5, 0, 1, 1), - ('Cancelled', 'Cancelled', 'join_date', null, null,'join_date',null,null, 0, 0, 6, 0, 1, 1), - ('Deceased', 'Deceased', null, null, null, null, null, null, 0, 1, 7, 0, 1, 1); - - -INSERT INTO `civicrm_preferences_date` - (name, start, end, date_format, time_format, description) -VALUES - ( 'activityDate' , 20, 10, '', '', 'Date for relationships. activities. contributions: receive, receipt, cancel. membership: join, start, renew. case: start, end.' ), - ( 'activityDateTime', 20, 10, '', 1, 'Date and time for activity: scheduled. participant: registered.' ), - ( 'birth' , 100, 0, '', '', 'Birth and deceased dates. Only year, month and day fields are supported.' ), - ( 'creditCard' , 0, 10, 'M Y', '', 'Month and year only for credit card expiration.' ), - ( 'custom' , 20, 20, '', '', 'Uses date range passed in by form field. Can pass in a posix date part parameter. Start and end offsets defined here are ignored.'), - ( 'mailing' , 0, 1, '', '', 'Date and time. Used for scheduling mailings.' ), - ( 'searchDate' , 20, 20, '', '', 'Used in search forms.' ); - - --- various processor options --- --- Table structure for table `civicrm_payment_processor_type` --- - -INSERT INTO `civicrm_payment_processor_type` - (name, title, description, is_active, is_default, user_name_label, password_label, signature_label, subject_label, class_name, url_site_default, url_api_default, url_recur_default, url_button_default, url_site_test_default, url_api_test_default, url_recur_test_default, url_button_test_default, billing_mode, is_recur ) -VALUES - ('PayPal_Standard', 'PayPal - Website Payments Standard', NULL,1,0,'Merchant Account Email',NULL,NULL,NULL,'Payment_PayPalImpl','https://www.paypal.com/',NULL,'https://www.paypal.com/',NULL,'https://www.sandbox.paypal.com/',NULL,'https://www.sandbox.paypal.com/',NULL,4,1), - ('PayPal', 'PayPal - Website Payments Pro', NULL,1,0,'User Name','Password','Signature',NULL,'Payment_PayPalImpl','https://www.paypal.com/','https://api-3t.paypal.com/','https://www.paypal.com/','https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif','https://www.sandbox.paypal.com/','https://api-3t.sandbox.paypal.com/','https://www.sandbox.paypal.com/','https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif',3, 1), - ('PayPal_Express', 'PayPal - Express', NULL,1,0,'User Name','Password','Signature',NULL,'Payment_PayPalImpl','https://www.paypal.com/','https://api-3t.paypal.com/',NULL,'https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif','https://www.sandbox.paypal.com/','https://api-3t.sandbox.paypal.com/',NULL,'https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif',2, 1), - ('AuthNet', 'Authorize.Net', NULL,1,0,'API Login','Payment Key','MD5 Hash',NULL,'Payment_AuthorizeNet','https://secure2.authorize.net/gateway/transact.dll',NULL,'https://api2.authorize.net/xml/v1/request.api',NULL,'https://test.authorize.net/gateway/transact.dll',NULL,'https://apitest.authorize.net/xml/v1/request.api',NULL,1,1), - ('PayJunction', 'PayJunction', NULL,0,0,'User Name','Password',NULL,NULL,'Payment_PayJunction','https://payjunction.com/quick_link',NULL,NULL,NULL,'https://www.payjunctionlabs.com/quick_link',NULL,NULL,NULL,1,1), - ('Dummy', 'Dummy Payment Processor',NULL,1,1,'User Name',NULL,NULL,NULL,'Payment_Dummy',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1), - ('Realex', 'Realex Payment', NULL,0,0,'Merchant ID', 'Password', NULL, 'Account', 'Payment_Realex', 'https://epage.payandshop.com/epage.cgi', NULL, NULL, NULL, 'https://epage.payandshop.com/epage-remote.cgi', NULL, NULL, NULL, 1, 0), - ('FirstData', 'FirstData (aka linkpoint)', 'FirstData (aka linkpoint)', 0, 0, 'Store name', 'certificate path', NULL, NULL, 'Payment_FirstData', 'https://secure.linkpt.net', NULL, NULL, NULL, 'https://staging.linkpt.net', NULL, NULL, NULL, 1, 0); - - --- the fuzzy default dedupe rules --- IndividualSupervised uses hard-coded optimized query (CRM_Dedupe_BAO_QueryBuilder_IndividualSupervised) -INSERT INTO civicrm_dedupe_rule_group (contact_type, threshold, used, name, title, is_reserved) -VALUES ('Individual', 20, 'Supervised', 'IndividualSupervised', 'Name and Email (reserved)', 1); - -SELECT @drgid := MAX(id) FROM civicrm_dedupe_rule_group; -INSERT INTO civicrm_dedupe_rule (dedupe_rule_group_id, rule_table, rule_field, rule_weight) -VALUES (@drgid, 'civicrm_contact', 'first_name', 5), - (@drgid, 'civicrm_contact', 'last_name', 7), - (@drgid, 'civicrm_email' , 'email', 10); - -INSERT INTO civicrm_dedupe_rule_group (contact_type, threshold, used, name, title, is_reserved) -VALUES ('Organization', 10, 'Supervised', 'OrganizationSupervised', 'Name and Email', 0); - -SELECT @drgid := MAX(id) FROM civicrm_dedupe_rule_group; -INSERT INTO civicrm_dedupe_rule (dedupe_rule_group_id, rule_table, rule_field, rule_weight) -VALUES (@drgid, 'civicrm_contact', 'organization_name', 10), - (@drgid, 'civicrm_email' , 'email', 10); - -INSERT INTO civicrm_dedupe_rule_group (contact_type, threshold, used, name, title, is_reserved) -VALUES ('Household', 10, 'Supervised', 'HouseholdSupervised', 'Name and Email', 0); - -SELECT @drgid := MAX(id) FROM civicrm_dedupe_rule_group; -INSERT INTO civicrm_dedupe_rule (dedupe_rule_group_id, rule_table, rule_field, rule_weight) -VALUES (@drgid, 'civicrm_contact', 'household_name', 10), - (@drgid, 'civicrm_email' , 'email', 10); - --- the strict dedupe rules --- IndividualUnsupervised uses hard-coded optimized query (CRM_Dedupe_BAO_QueryBuilder_IndividualUnsupervised) -INSERT INTO civicrm_dedupe_rule_group (contact_type, threshold, used, name, title, is_reserved) -VALUES ('Individual', 10, 'Unsupervised', 'IndividualUnsupervised', 'Email (reserved)', 1); - -SELECT @drgid := MAX(id) FROM civicrm_dedupe_rule_group; -INSERT INTO civicrm_dedupe_rule (dedupe_rule_group_id, rule_table, rule_field, rule_weight) -VALUES (@drgid, 'civicrm_email', 'email', 10); - -INSERT INTO civicrm_dedupe_rule_group (contact_type, threshold, used, name, title, is_reserved) -VALUES ('Organization', 10, 'Unsupervised', 'OrganizationUnsupervised', 'Name and Email', 0); - -SELECT @drgid := MAX(id) FROM civicrm_dedupe_rule_group; -INSERT INTO civicrm_dedupe_rule (dedupe_rule_group_id, rule_table, rule_field, rule_weight) -VALUES (@drgid, 'civicrm_contact', 'organization_name', 10), - (@drgid, 'civicrm_email' , 'email', 10); - -INSERT INTO civicrm_dedupe_rule_group (contact_type, threshold, used, name, title, is_reserved) -VALUES ('Household', 10, 'Unsupervised', 'HouseholdUnsupervised', 'Name and Email', 0); - -SELECT @drgid := MAX(id) FROM civicrm_dedupe_rule_group; -INSERT INTO civicrm_dedupe_rule (dedupe_rule_group_id, rule_table, rule_field, rule_weight) -VALUES (@drgid, 'civicrm_contact', 'household_name', 10), - (@drgid, 'civicrm_email' , 'email', 10); - --- IndividualGeneral uses hard-coded optimized query (CRM_Dedupe_BAO_QueryBuilder_IndividualGeneral) -INSERT INTO civicrm_dedupe_rule_group (contact_type, threshold, used, name, title, is_reserved) -VALUES ('Individual', 15, 'General', 'IndividualGeneral', 'Name and Address (reserved)', 1); - -SELECT @drgid := MAX(id) FROM civicrm_dedupe_rule_group; -INSERT INTO civicrm_dedupe_rule (dedupe_rule_group_id, rule_table, rule_field, rule_weight) -VALUES (@drgid, 'civicrm_contact', 'first_name', '5'), - (@drgid, 'civicrm_contact', 'last_name', '5'), - (@drgid, 'civicrm_address', 'street_address', '5'), - (@drgid, 'civicrm_contact', 'middle_name', '1'), - (@drgid, 'civicrm_contact', 'suffix_id', '1'); - --- Sample counties (state-province and country lists defined in a separate tpl files) -INSERT INTO civicrm_county (name, state_province_id) VALUES ('Alameda', 1004); -INSERT INTO civicrm_county (name, state_province_id) VALUES ('Contra Costa', 1004); -INSERT INTO civicrm_county (name, state_province_id) VALUES ('Marin', 1004); -INSERT INTO civicrm_county (name, state_province_id) VALUES ('San Francisco', 1004); -INSERT INTO civicrm_county (name, state_province_id) VALUES ('San Mateo', 1004); -INSERT INTO civicrm_county (name, state_province_id) VALUES ('Santa Clara', 1004); +INSERT INTO civicrm_option_group (`description`,`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("Encounter medium for case activities (e.g. In Person, By Phone, etc.)","1","1","encounter_medium","name,label,description","Encounter Medium") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "encounter_medium") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","In Person","in_person",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","1","0","1","Phone","phone",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Email","email",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Fax","fax",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Letter Mail","letter_mail",@this_option_group_id,"5",NULL,"5") +; + +INSERT INTO civicrm_membership_status (`end_event`,`end_event_adjust_interval`,`end_event_adjust_unit`,`is_active`,`is_admin`,`is_current_member`,`is_default`,`is_reserved`,`label`,`name`,`start_event`,`start_event_adjust_interval`,`start_event_adjust_unit`,`weight`) VALUES +("join_date","3","month","1","0","1","0","0","New","New","join_date",NULL,NULL,"1"), +("end_date",NULL,NULL,"1","0","1","1","0","Current","Current","start_date",NULL,NULL,"2"), +("end_date","1","month","1","0","1","0","0","Grace","Grace","end_date",NULL,NULL,"3"), +(NULL,NULL,NULL,"1","0","0","0","0","Expired","Expired","end_date","1","month","4"), +("join_date",NULL,NULL,"1","0","0","0","1","Pending","Pending","join_date",NULL,NULL,"5"), +("join_date",NULL,NULL,"1","0","0","0","1","Cancelled","Cancelled","join_date",NULL,NULL,"6"), +(NULL,NULL,NULL,"1","1","0","0","1","Deceased","Deceased",NULL,NULL,NULL,"7") +; +INSERT INTO civicrm_preferences_date (`date_format`,`description`,`end`,`name`,`start`,`time_format`) VALUES +("","Date for relationships. activities. contributions: receive, receipt, cancel. membership: join, start, renew. case: start, end.","10","activityDate","20",""), +("","Date and time for activity: scheduled. participant: registered.","10","activityDateTime","20","1"), +("","Birth and deceased dates. Only year, month and day fields are supported.","0","birth","100",""), +("M Y","Month and year only for credit card expiration.","10","creditCard","0",""), +("","Uses date range passed in by form field. Can pass in a posix date part parameter. Start and end offsets defined here are ignored.","20","custom","20",""), +("","Date and time. Used for scheduling mailings.","1","mailing","0",""), +("","Used in search forms.","20","searchDate","20","") +; +INSERT INTO civicrm_payment_processor_type (`billing_mode`,`class_name`,`description`,`is_active`,`is_default`,`is_recur`,`name`,`password_label`,`signature_label`,`subject_label`,`title`,`url_api_default`,`url_api_test_default`,`url_button_default`,`url_button_test_default`,`url_recur_default`,`url_recur_test_default`,`url_site_default`,`url_site_test_default`,`user_name_label`) VALUES +("4","Payment_PayPalImpl",NULL,"1","0","1","PayPal_Standard",NULL,NULL,NULL,"PayPal - Website Payments Standard",NULL,NULL,NULL,NULL,"https://www.paypal.com/","https://www.sandbox.paypal.com/","https://www.paypal.com/","https://www.sandbox.paypal.com/","Merchant Account Email"), +("3","Payment_PayPalImpl",NULL,"1","0","1","PayPal","Password","Signature",NULL,"PayPal - Website Payments Pro","https://api-3t.paypal.com/","https://api-3t.sandbox.paypal.com/","https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif","https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif","https://www.paypal.com/","https://www.sandbox.paypal.com/","https://www.paypal.com/","https://www.sandbox.paypal.com/","User Name"), +("2","Payment_PayPalImpl",NULL,"1","0","1","PayPal_Express","Password","Signature",NULL,"PayPal - Express","https://api-3t.paypal.com/","https://api-3t.sandbox.paypal.com/","https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif","https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif",NULL,NULL,"https://www.paypal.com/","https://www.sandbox.paypal.com/","User Name"), +("1","Payment_AuthorizeNet",NULL,"1","0","1","AuthNet","Payment Key","MD5 Hash",NULL,"Authorize.Net",NULL,NULL,NULL,NULL,"https://api2.authorize.net/xml/v1/request.api","https://apitest.authorize.net/xml/v1/request.api","https://secure2.authorize.net/gateway/transact.dll","https://test.authorize.net/gateway/transact.dll","API Login"), +("1","Payment_PayJunction",NULL,"0","0","1","PayJunction","Password",NULL,NULL,"PayJunction",NULL,NULL,NULL,NULL,NULL,NULL,"https://payjunction.com/quick_link","https://www.payjunctionlabs.com/quick_link","User Name"), +("1","Payment_Dummy",NULL,"1","1","1","Dummy",NULL,NULL,NULL,"Dummy Payment Processor",NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,"User Name"), +("1","Payment_Realex",NULL,"0","0","0","Realex","Password",NULL,"Account","Realex Payment",NULL,NULL,NULL,NULL,NULL,NULL,"https://epage.payandshop.com/epage.cgi","https://epage.payandshop.com/epage-remote.cgi","Merchant ID"), +("1","Payment_FirstData","FirstData (aka linkpoint)","0","0","0","FirstData","certificate path",NULL,NULL,"FirstData (aka linkpoint)",NULL,NULL,NULL,NULL,NULL,NULL,"https://secure.linkpt.net","https://staging.linkpt.net","Store name") +; + +INSERT INTO civicrm_dedupe_rule_group (`contact_type`,`is_reserved`,`name`,`threshold`,`title`,`used`) VALUES +("Individual","1","IndividualSupervised","20","Name and Email (reserved)","Supervised") +; +SELECT @drgid := max(id) +FROM civicrm_dedupe_rule_group +WHERE (name = "IndividualSupervised") +; +INSERT INTO civicrm_dedupe_rule (`dedupe_rule_group_id`,`rule_field`,`rule_table`,`rule_weight`) VALUES +(@drgid,"first_name","civicrm_contact","5"), +(@drgid,"last_name","civicrm_contact","7"), +(@drgid,"email","civicrm_email","10") +; +INSERT INTO civicrm_dedupe_rule_group (`contact_type`,`is_reserved`,`name`,`threshold`,`title`,`used`) VALUES +("Organization","0","OrganizationSupervised","10","Name and Email","Supervised") +; +SELECT @drgid := max(id) +FROM civicrm_dedupe_rule_group +WHERE (name = "OrganizationSupervised") +; +INSERT INTO civicrm_dedupe_rule (`dedupe_rule_group_id`,`rule_field`,`rule_table`,`rule_weight`) VALUES +(@drgid,"organization_name","civicrm_contact","10"), +(@drgid,"email","civicrm_email","10") +; +INSERT INTO civicrm_dedupe_rule_group (`contact_type`,`is_reserved`,`name`,`threshold`,`title`,`used`) VALUES +("Household","0","HouseholdSupervised","10","Name and Email","Supervised") +; +SELECT @drgid := max(id) +FROM civicrm_dedupe_rule_group +WHERE (name = "HouseholdSupervised") +; +INSERT INTO civicrm_dedupe_rule (`dedupe_rule_group_id`,`rule_field`,`rule_table`,`rule_weight`) VALUES +(@drgid,"household_name","civicrm_contact","10"), +(@drgid,"email","civicrm_email","10") +; +INSERT INTO civicrm_dedupe_rule_group (`contact_type`,`is_reserved`,`name`,`threshold`,`title`,`used`) VALUES +("Individual","1","IndividualUnsupervised","10","Email (reserved)","Unsupervised") +; +SELECT @drgid := max(id) +FROM civicrm_dedupe_rule_group +WHERE (name = "IndividualUnsupervised") +; +INSERT INTO civicrm_dedupe_rule (`dedupe_rule_group_id`,`rule_field`,`rule_table`,`rule_weight`) VALUES +(@drgid,"email","civicrm_email","10") +; +INSERT INTO civicrm_dedupe_rule_group (`contact_type`,`is_reserved`,`name`,`threshold`,`title`,`used`) VALUES +("Organization","0","OrganizationUnsupervised","10","Name and Email","Unsupervised") +; +SELECT @drgid := max(id) +FROM civicrm_dedupe_rule_group +WHERE (name = "OrganizationUnsupervised") +; +INSERT INTO civicrm_dedupe_rule (`dedupe_rule_group_id`,`rule_field`,`rule_table`,`rule_weight`) VALUES +(@drgid,"organization_name","civicrm_contact","10"), +(@drgid,"email","civicrm_email","10") +; +INSERT INTO civicrm_dedupe_rule_group (`contact_type`,`is_reserved`,`name`,`threshold`,`title`,`used`) VALUES +("Household","0","HouseholdUnsupervised","10","Name and Email","Unsupervised") +; +SELECT @drgid := max(id) +FROM civicrm_dedupe_rule_group +WHERE (name = "HouseholdUnsupervised") +; +INSERT INTO civicrm_dedupe_rule (`dedupe_rule_group_id`,`rule_field`,`rule_table`,`rule_weight`) VALUES +(@drgid,"household_name","civicrm_contact","10"), +(@drgid,"email","civicrm_email","10") +; +INSERT INTO civicrm_dedupe_rule_group (`contact_type`,`is_reserved`,`name`,`threshold`,`title`,`used`) VALUES +("Individual","1","IndividualGeneral","15","Name and Address (reserved)","General") +; +SELECT @drgid := max(id) +FROM civicrm_dedupe_rule_group +WHERE (name = "IndividualGeneral") +; +INSERT INTO civicrm_dedupe_rule (`dedupe_rule_group_id`,`rule_field`,`rule_table`,`rule_weight`) VALUES +(@drgid,"first_name","civicrm_contact","5"), +(@drgid,"last_name","civicrm_contact","5"), +(@drgid,"street_address","civicrm_address","5"), +(@drgid,"middle_name","civicrm_contact","1"), +(@drgid,"suffix_id","civicrm_contact","1") +; + +INSERT INTO civicrm_county (`name`,`state_province_id`) VALUES +("Alameda","1004"), +("Contra Costa","1004"), +("Marin","1004"), +("San Francisco","1004"), +("San Mateo","1004"), +("Santa Clara","1004") +; -- Bounce classification patterns -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('AOL', 'AOL Terms of Service complaint', 1); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'AOL'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, 'Client TOS Notification'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Away', 'Recipient is on vacation', 30); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Away'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, '(be|am)? (out of|away from) (the|my)? (office|computer|town)'), - (@bounceTypeID, 'i am on vacation'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Dns', 'Unable to resolve recipient domain', 3); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Dns'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, 'name(server entry| lookup failure)'), - (@bounceTypeID, 'no (mail server|matches to nameserver query|dns entries)'), - (@bounceTypeID, 'reverse dns entry'), - (@bounceTypeID, 'Host or domain name not found'), - (@bounceTypeID, 'Unable to resolve MX record for'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Host', 'Unable to deliver to destintation mail server', 3); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Host'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, '(unknown|not local) host'), - (@bounceTypeID, 'all hosts have been failing'), - (@bounceTypeID, 'allowed rcpthosts'), - (@bounceTypeID, 'connection (refused|timed out)'), - (@bounceTypeID, 'not connected'), - (@bounceTypeID, 'couldn\'t find any host named'), - (@bounceTypeID, 'error involving remote host'), - (@bounceTypeID, 'host unknown'), - (@bounceTypeID, 'invalid host name'), - (@bounceTypeID, 'isn\'t in my control/locals file'), - (@bounceTypeID, 'local configuration error'), - (@bounceTypeID, 'not a gateway'), - (@bounceTypeID, 'server is (down or unreachable|not responding)'), - (@bounceTypeID, 'too many connections'), - (@bounceTypeID, 'unable to connect'), - (@bounceTypeID, 'lost connection'), - (@bounceTypeID, 'conversation with [^ ]* timed out while'), - (@bounceTypeID, 'server requires authentication'), - (@bounceTypeID, 'authentication (is )?required'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Inactive', 'User account is no longer active', 1); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Inactive'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, '(my )?e-?mail( address)? has changed'), - (@bounceTypeID, 'account (inactive|expired|deactivated)'), - (@bounceTypeID, 'account is locked'), - (@bounceTypeID, 'changed \w+( e-?mail)? address'), - (@bounceTypeID, 'deactivated mailbox'), - (@bounceTypeID, 'disabled or discontinued'), - (@bounceTypeID, 'inactive user'), - (@bounceTypeID, 'is inactive on this domain'), - (@bounceTypeID, 'mail receiving disabled'), - (@bounceTypeID, 'mail( ?)address is administrative?ly disabled'), - (@bounceTypeID, 'mailbox (temporarily disabled|currently suspended)'), - (@bounceTypeID, 'no longer (accepting mail|on server|in use|with|employed|on staff|works for|using this account)'), - (@bounceTypeID, 'not accepting (mail|messages)'), - (@bounceTypeID, 'please use my new e-?mail address'), - (@bounceTypeID, 'this address no longer accepts mail'), - (@bounceTypeID, 'user account suspended'), - (@bounceTypeID, 'account that you tried to reach is disabled'), - (@bounceTypeID, 'User banned'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Invalid', 'Email address is not valid', 1); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Invalid'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, '(user|recipient( name)?) is not recognized'), - (@bounceTypeID, '554 delivery error'), - (@bounceTypeID, 'address does not exist'), - (@bounceTypeID, 'address(es)?( you (entered|specified))? (could|was)( not|n.t)( be)? found'), - (@bounceTypeID, 'address(ee)? (unknown|invalid)'), - (@bounceTypeID, 'bad destination'), - (@bounceTypeID, 'badly formatted address'), - (@bounceTypeID, 'can\'t open mailbox for'), - (@bounceTypeID, 'cannot deliver'), - (@bounceTypeID, 'delivery to the following recipient(s)? failed'), - (@bounceTypeID, 'destination addresses were unknown'), - (@bounceTypeID, 'did not reach the following recipient'), - (@bounceTypeID, 'does not exist'), - (@bounceTypeID, 'does not like recipient'), - (@bounceTypeID, 'does not specify a valid notes mail file'), - (@bounceTypeID, 'illegal alias'), - (@bounceTypeID, 'invalid (mailbox|(e-?mail )?address|recipient|final delivery)'), - (@bounceTypeID, 'invalid( or unknown)?( virtual)? user'), - (@bounceTypeID, '(mail )?delivery (to this user )?is not allowed'), - (@bounceTypeID, 'mailbox (not found|unavailable|name not allowed)'), - (@bounceTypeID, 'message could not be forwarded'), - (@bounceTypeID, 'missing or malformed local(-| )part'), - (@bounceTypeID, 'no e-?mail address registered'), - (@bounceTypeID, 'no such (mail drop|mailbox( \\w+)?|(e-?mail )?address|recipient|(local )?user|person)( here)?'), - (@bounceTypeID, 'no mailbox (here )?by that name'), - (@bounceTypeID, 'not (listed in|found in directory|known at this site|our customer)'), - (@bounceTypeID, 'not a valid( (user|mailbox))?'), - (@bounceTypeID, 'not present in directory entry'), - (@bounceTypeID, 'recipient (does not exist|(is )?unknown|rejected|denied|not found)'), - (@bounceTypeID, 'this user doesn\'t have a yahoo.com address'), - (@bounceTypeID, 'unavailable to take delivery of the message'), - (@bounceTypeID, 'unavailable mailbox'), - (@bounceTypeID, 'unknown (local( |-)part|recipient|address error)'), - (@bounceTypeID, 'unknown( or illegal)? user( account)?'), - (@bounceTypeID, 'unrecognized recipient'), - (@bounceTypeID, 'unregistered address'), - (@bounceTypeID, 'user (unknown|(does not|doesn\'t) exist)'), - (@bounceTypeID, 'user doesn\'t have an? \w+ account'), - (@bounceTypeID, 'user(\'s e-?mail name is)? not found'), - (@bounceTypeID, '^Validation failed for:'), - (@bounceTypeID, '5.1.0 Address rejected'), - (@bounceTypeID, 'no valid recipients?'), - (@bounceTypeID, 'RecipNotFound'), - (@bounceTypeID, 'no one at this address'), - (@bounceTypeID, 'misconfigured forwarding address'), - (@bounceTypeID, 'account is not allowed'), - (@bounceTypeID, 'Address .<[^>]*>. not known here'), - (@bounceTypeID, 'Recipient address rejected: ([a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,}'), - (@bounceTypeID, 'Non sono riuscito a trovare l.indirizzo e-mail'), - (@bounceTypeID, 'nadie con esta direcci..?n'), - (@bounceTypeID, 'ni bilo mogo..?e najti prejemnikovega e-po..?tnega naslova'), - (@bounceTypeID, 'Elektronski naslov (je ukinjen|ne obstaja)'), - (@bounceTypeID, 'nepravilno nastavljen predal'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Loop', 'Mail routing error', 3); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Loop'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, '(mail( forwarding)?|routing).loop'), - (@bounceTypeID, 'excessive recursion'), - (@bounceTypeID, 'loop detected'), - (@bounceTypeID, 'maximum hop count exceeded'), - (@bounceTypeID, 'message was forwarded more than the maximum allowed times'), - (@bounceTypeID, 'too many (hops|recursive forwards)'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Quota', 'User inbox is full', 3); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Quota'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, '(disk(space)?|over the allowed|exceed(ed|s)?|storage) quota'), - (@bounceTypeID, '522_mailbox_full'), - (@bounceTypeID, 'exceeds allowed message count'), - (@bounceTypeID, 'file too large'), - (@bounceTypeID, 'full mailbox'), - (@bounceTypeID, '(mail|in)(box|folder) ((for user \\w+ )?is )?full'), - (@bounceTypeID, 'mailbox (has exceeded|is over) the limit'), - (@bounceTypeID, 'mailbox( exceeds allowed)? size'), - (@bounceTypeID, 'no space left for this user'), - (@bounceTypeID, 'over\\s?quota'), - (@bounceTypeID, 'quota (for the mailbox )?has been exceeded'), - (@bounceTypeID, 'quota ?(usage|violation|exceeded)'), - (@bounceTypeID, 'recipient storage full'), - (@bounceTypeID, 'not able to receive more mail'), - (@bounceTypeID, 'doesn.t have enough disk space left'), - (@bounceTypeID, 'exceeded storage allocation'), - (@bounceTypeID, 'running out of disk space'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Relay', 'Unable to reach destination mail server', 3); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Relay'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, 'cannot find your hostname'), - (@bounceTypeID, 'ip name lookup'), - (@bounceTypeID, 'not configured to relay mail'), - (@bounceTypeID, 'relay(ing)? (not permitted|(access )?denied)'), - (@bounceTypeID, 'relayed mail to .+? not allowed'), - (@bounceTypeID, 'sender ip must resolve'), - (@bounceTypeID, 'unable to relay'), - (@bounceTypeID, 'No route to host'), - (@bounceTypeID, 'Network is unreachable'), - (@bounceTypeID, 'unrouteable address'), - (@bounceTypeID, 'We don.t handle mail for'), - (@bounceTypeID, 'we do not relay'), - (@bounceTypeID, 'Rejected by next-hop'), - (@bounceTypeID, 'not permitted to( *550)? relay through this server'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Spam', 'Message caught by a content filter', 1); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Spam'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, '(bulk( e-?mail)|content|attachment blocking|virus|mail system) filters?'), - (@bounceTypeID, '(hostile|questionable|unacceptable) content'), - (@bounceTypeID, 'address .+? has not been verified'), - (@bounceTypeID, 'anti-?spam (polic\w+|software)'), - (@bounceTypeID, 'anti-?virus gateway has detected'), - (@bounceTypeID, 'blacklisted'), - (@bounceTypeID, 'blocked message'), - (@bounceTypeID, 'content control'), - (@bounceTypeID, 'delivery not authorized'), - (@bounceTypeID, 'does not conform to our e-?mail policy'), - (@bounceTypeID, 'excessive spam content'), - (@bounceTypeID, 'message looks suspicious'), - (@bounceTypeID, 'open relay'), - (@bounceTypeID, 'sender was rejected'), - (@bounceTypeID, 'spam(check| reduction software| filters?)'), - (@bounceTypeID, 'blocked by a user configured filter'), - (@bounceTypeID, '(detected|rejected) (as|due to) spam'), - (@bounceTypeID, 'X-HmXmrOriginalRecipient'), - (@bounceTypeID, 'Client host .[^ ]*. blocked'), - (@bounceTypeID, 'automatic(ally-generated)? messages are not accepted'), - (@bounceTypeID, 'denied by policy'), - (@bounceTypeID, 'has no corresponding reverse \\(PTR\\) address'), - (@bounceTypeID, 'has a policy that( [^ ]*)? prohibited the mail that you sent'), - (@bounceTypeID, 'is likely unsolicited mail'), - (@bounceTypeID, 'Local Policy Violation'), - (@bounceTypeID, 'ni bilo mogo..?e dostaviti zaradi varnostnega pravilnika'), - (@bounceTypeID, 'abuse report'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Syntax', 'Error in SMTP transaction', 3); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Syntax'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, 'nonstandard smtp line terminator'), - (@bounceTypeID, 'syntax error in from address'), - (@bounceTypeID, 'unknown smtp code'); - --- add sample and reserved profiles - -INSERT INTO civicrm_uf_group - (id, name, group_type, title, is_cms_user, is_reserved, help_post) VALUES - (1, 'name_and_address', 'Individual,Contact', 'Name and Address', 0, 0, NULL), - (2, 'supporter_profile', 'Individual,Contact', 'Supporter Profile', 2, 0, '<p><strong>The information you provide will NOT be shared with any third party organisations.</strong></p><p>Thank you for getting involved in our campaign!</p>'), - (3, 'participant_status', 'Participant', 'Participant Status', 0, 1, NULL), - (4, 'new_individual', 'Individual,Contact', 'New Individual' , 0, 1, NULL), - (5, 'new_organization', 'Organization,Contact','New Organization' , 0, 1, NULL), - (6, 'new_household', 'Household,Contact', 'New Household' , 0, 1, NULL), - (7, 'summary_overlay', 'Contact', 'Summary Overlay' , 0, 1, NULL), - (8, 'shared_address', 'Contact', 'Shared Address' , 0, 1, NULL), - (9, 'on_behalf_organization', 'Contact,Organization','On Behalf Of Organization', 0, 1, NULL), - (10, 'contribution_batch_entry', 'Contribution', 'Contribution Bulk Entry' , 0, 1, NULL), - (11, 'membership_batch_entry', 'Membership', 'Membership Bulk Entry' , 0, 1, NULL), - (12, 'event_registration', 'Individual,Contact', 'Your Registration Info', 0, 0, NULL), - (13, 'honoree_individual', 'Individual,Contact', 'Honoree Individual', 0, 1, NULL); - - -INSERT INTO civicrm_uf_join - (is_active,module,entity_table,entity_id,weight,uf_group_id) -VALUES - (1, 'User Registration',NULL, NULL,1,1), - (1, 'User Account', NULL, NULL, 1, 1), - (1, 'Profile', NULL, NULL, 1, 1), - (1, 'Profile', NULL, NULL, 2, 2), - (1, 'Profile', NULL, NULL, 11, 12); - -INSERT INTO civicrm_uf_field - ( uf_group_id, field_name, is_required, is_reserved, weight, visibility, in_selector, is_searchable, location_type_id, label, field_type, help_post, phone_type_id ) VALUES - ( 1, 'first_name', 1, 0, 1, 'User and User Admin Only', 0, 0, NULL, 'First Name', 'Individual', NULL, NULL), - ( 1, 'last_name', 1, 0, 2, 'User and User Admin Only', 0, 0, NULL, 'Last Name', 'Individual', NULL, NULL), - ( 1, 'street_address', 0, 0, 3, 'User and User Admin Only', 0, 0, 1, 'Street Address (Home)', 'Contact', NULL, NULL), - ( 1, 'city', 0, 0, 4, 'User and User Admin Only', 0, 0, 1, 'City (Home)', 'Contact', NULL, NULL), - ( 1, 'postal_code', 0, 0, 5, 'User and User Admin Only', 0, 0, 1, 'Postal Code (Home)', 'Contact', NULL, NULL), - ( 1, 'country', 0, 0, 6, 'User and User Admin Only', 0, 0, 1, 'Country (Home)', 'Contact', NULL, NULL), - ( 1, 'state_province', 0, 0, 7, 'User and User Admin Only', 0, 0, 1, 'State (Home)', 'Contact', NULL, NULL), - ( 2, 'first_name', 1, 0, 1, 'User and User Admin Only', 0, 0, NULL, 'First Name', 'Individual', NULL, NULL), - ( 2, 'last_name', 1, 0, 2, 'User and User Admin Only', 0, 0, NULL, 'Last Name', 'Individual', NULL, NULL), - ( 2, 'email', 1, 0, 3, 'User and User Admin Only', 0, 0, NULL, 'Email Address', 'Contact', NULL, NULL), - ( 3, 'participant_status', 1, 1, 1, 'User and User Admin Only', 0, 0, NULL, 'Participant Status', 'Participant', NULL, NULL), - ( 4, 'first_name', 1, 0, 1, 'User and User Admin Only', 0, 0, NULL, 'First Name', 'Individual', NULL, NULL), - ( 4, 'last_name', 1, 0, 2, 'User and User Admin Only', 0, 0, NULL, 'Last Name', 'Individual', NULL, NULL), - ( 4, 'email', 0, 0, 3, 'User and User Admin Only', 0, 0, NULL, 'Email Address', 'Contact', NULL, NULL), - ( 5, 'organization_name', 1, 0, 2, 'User and User Admin Only', 0, 0, NULL, 'Organization Name', 'Organization', NULL, NULL), - ( 5, 'email', 0, 0, 3, 'User and User Admin Only', 0, 0, NULL, 'Email Address', 'Contact', NULL, NULL), - ( 6, 'household_name', 1, 0, 2, 'User and User Admin Only', 0, 0, NULL, 'Household Name', 'Household', NULL, NULL), - ( 6, 'email', 0, 0, 3, 'User and User Admin Only', 0, 0, NULL, 'Email Address', 'Contact', NULL, NULL), - ( 7, 'phone', 1, 0, 1, 'User and User Admin Only', 0, 0, 1, 'Home Phone', 'Contact', NULL, 1 ), - ( 7, 'phone', 1, 0, 2, 'User and User Admin Only', 0, 0, 1, 'Home Mobile', 'Contact', NULL, 2 ), - ( 7, 'street_address', 1, 0, 3, 'User and User Admin Only', 0, 0, NULL, 'Primary Address', 'Contact', NULL, NULL), - ( 7, 'city', 1, 0, 4, 'User and User Admin Only', 0, 0, NULL, 'City', 'Contact', NULL, NULL), - ( 7, 'state_province', 1, 0, 5, 'User and User Admin Only', 0, 0, NULL, 'State', 'Contact', NULL, NULL), - ( 7, 'postal_code', 1, 0, 6, 'User and User Admin Only', 0, 0, NULL, 'Postal Code', 'Contact', NULL, NULL), - ( 7, 'email', 1, 0, 7, 'User and User Admin Only', 0, 0, NULL, 'Primary Email', 'Contact', NULL, NULL), - ( 7, 'group', 1, 0, 8, 'User and User Admin Only', 0, 0, NULL, 'Groups', 'Contact', NULL, NULL), - ( 7, 'tag', 1, 0, 9, 'User and User Admin Only', 0, 0, NULL, 'Tags', 'Contact', NULL, NULL), - ( 7, 'gender_id', 1, 0, 10, 'User and User Admin Only', 0, 0, NULL, 'Gender', 'Individual', NULL, NULL), - ( 7, 'birth_date', 1, 0, 11, 'User and User Admin Only', 0, 0, NULL, 'Date of Birth', 'Individual', NULL, NULL), - ( 8, 'street_address', 1, 1, 1, 'User and User Admin Only', 0, 0, 1, 'Street Address (Home)', 'Contact', NULL, NULL), - ( 8, 'city', 1, 1, 2, 'User and User Admin Only', 0, 0, 1, 'City (Home)', 'Contact', NULL, NULL), - ( 8, 'postal_code', 0, 0, 3, 'User and User Admin Only', 0, 0, 1, 'Postal Code (Home)', 'Contact', NULL, NULL), - ( 8, 'country', 0, 0, 4, 'User and User Admin Only', 0, 0, 1, 'Country (Home)', 'Contact', NULL, NULL), - ( 8, 'state_province', 0, 0, 5, 'User and User Admin Only', 0, 0, 1, 'State (Home)', 'Contact', NULL, NULL), - ( 9, 'organization_name', 1, 0, 1, 'User and User Admin Only', 0, 0, NULL, 'Organization Name', 'Organization', NULL, NULL), - ( 9, 'phone', 1, 0, 2, 'User and User Admin Only', 0, 0, 3, 'Phone (Main) ', 'Contact', NULL, 1), - ( 9, 'email', 1, 0, 3, 'User and User Admin Only', 0, 0, 3, 'Email (Main) ', 'Contact', NULL, NULL), - ( 9, 'street_address', 1, 0, 4, 'User and User Admin Only', 0, 0, 3, 'Street Address', 'Contact', NULL, NULL), - ( 9, 'city', 1, 0, 5, 'User and User Admin Only', 0, 0, 3, 'City', 'Contact', NULL, NULL), - ( 9, 'postal_code', 1, 0, 6, 'User and User Admin Only', 0, 0, 3, 'Postal Code', 'Contact', NULL, NULL), - ( 9, 'country', 1, 0, 7, 'User and User Admin Only', 0, 0, 3, 'Country', 'Contact', NULL, NULL), - ( 9, 'state_province', 1, 0, 8, 'User and User Admin Only', 0, 0, 3, 'State/Province', 'Contact', NULL, NULL), - ( 10, 'financial_type', 0, 1, 1, 'User and User Admin Only', 0, 0, NULL, 'Financial Type', 'Contribution', NULL, NULL ), - ( 10, 'total_amount', 0, 1, 2, 'User and User Admin Only', 0, 0, NULL, 'Amount', 'Contribution', NULL, NULL ), - ( 10, 'contribution_status_id', 1, 1, 3, 'User and User Admin Only', 0, 0, NULL, 'Status', 'Contribution', NULL, NULL ), - ( 10, 'receive_date', 1, 1, 4, 'User and User Admin Only', 0, 0, NULL, 'Received', 'Contribution', NULL, NULL ), - ( 10, 'contribution_source', 0, 0, 5, 'User and User Admin Only', 0, 0, NULL, 'Source', 'Contribution', NULL, NULL ), - ( 10, 'payment_instrument', 0, 0, 6, 'User and User Admin Only', 0, 0, NULL, 'Payment Method', 'Contribution', NULL, NULL ), - ( 10, 'contribution_check_number', 0, 0, 7, 'User and User Admin Only', 0, 0, NULL, 'Check Number', 'Contribution', NULL, NULL ), - ( 10, 'send_receipt', 0, 0, 8, 'User and User Admin Only', 0, 0, NULL, 'Send Receipt', 'Contribution', NULL, NULL ), - ( 10, 'invoice_id', 0, 0, 9, 'User and User Admin Only', 0, 0, NULL, 'Invoice ID', 'Contribution', NULL, NULL ), - ( 10, 'soft_credit', 0, 0, 10, 'User and User Admin Only', 0, 0, NULL, 'Soft Credit', 'Contribution', NULL, NULL ), - ( 10, 'soft_credit_type', 0, 0, 11, 'User and User Admin Only', 0, 0, NULL, 'Soft Credit Type', 'Contribution', NULL, NULL ), - ( 11, 'membership_type', 1, 1, 1, 'User and User Admin Only', 0, 0, NULL, 'Membership Type', 'Membership', NULL, NULL ), - ( 11, 'membership_join_date', 1, 1, 2, 'User and User Admin Only', 0, 0, NULL, 'Member Since', 'Membership', NULL, NULL ), - ( 11, 'membership_start_date', 0, 1, 3, 'User and User Admin Only', 0, 0, NULL, 'Start Date', 'Membership', NULL, NULL ), - ( 11, 'membership_end_date', 0, 1, 4, 'User and User Admin Only', 0, 0, NULL, 'End Date', 'Membership', NULL, NULL ), - ( 11, 'membership_source', 0, 0, 5, 'User and User Admin Only', 0, 0, NULL, 'Source', 'Membership', NULL, NULL ), - ( 11, 'send_receipt', 0, 0, 6, 'User and User Admin Only', 0, 0, NULL, 'Send Receipt', 'Membership', NULL, NULL ), - ( 11, 'financial_type', 0, 1, 7, 'User and User Admin Only', 0, 0, NULL, 'Financial Type', 'Membership', NULL, NULL ), - ( 11, 'total_amount', 0, 1, 8, 'User and User Admin Only', 0, 0, NULL, 'Amount', 'Membership', NULL, NULL ), - ( 11, 'receive_date', 1, 1, 9, 'User and User Admin Only', 0, 0, NULL, 'Received', 'Membership', NULL, NULL ), - ( 11, 'payment_instrument', 0, 0, 10, 'User and User Admin Only', 0, 0, NULL, 'Payment Method', 'Membership', NULL, NULL ), - ( 11, 'contribution_check_number', 0, 0, 11, 'User and User Admin Only', 0, 0, NULL, 'Check Number', 'Membership', NULL, NULL ), - ( 11, 'contribution_status_id', 1, 1, 12, 'User and User Admin Only', 0, 0, NULL, 'Payment Status', 'Membership', NULL, NULL ), - ( 11, 'soft_credit', 0, 0, 13, 'User and User Admin Only', 0, 0, NULL, 'Soft Credit', 'Membership', NULL, NULL ), - ( 11, 'soft_credit_type', 0, 0, 14, 'User and User Admin Only', 0, 0, NULL, 'Soft Credit Type', 'Membership', NULL, NULL ), - ( 12, 'first_name', 1, 0, 1, 'User and User Admin Only', 0, 0, NULL, 'First Name', 'Individual', NULL, NULL), - ( 12, 'last_name', 1, 0, 2, 'User and User Admin Only', 0, 0, NULL, 'Last Name', 'Individual', NULL, NULL), - ( 12, 'email', 1, 0, 3, 'User and User Admin Only', 0, 0, NULL, 'Email Address', 'Contact', NULL, NULL), - ( 13, 'prefix_id', 0, 1, 1, 'User and User Admin Only', 0, 0, NULL, 'Individual Prefix', 'Individual', NULL, NULL), - ( 13, 'first_name', 1, 1, 2, 'User and User Admin Only', 0, 0, NULL, 'First Name', 'Individual', NULL, NULL), - ( 13, 'last_name', 1, 1, 3, 'User and User Admin Only', 0, 0, NULL, 'Last Name', 'Individual', NULL, NULL), - ( 13, 'email', 0, 1, 4, 'User and User Admin Only', 0, 0, 1, 'Email Address', 'Contact', NULL, NULL); - - -INSERT INTO civicrm_participant_status_type - (id, name, label, class, is_reserved, is_active, is_counted, weight, visibility_id) VALUES - (1, 'Registered', 'Registered', 'Positive', 1, 1, 1, 1, 1 ), - (2, 'Attended', 'Attended', 'Positive', 0, 1, 1, 2, 2 ), - (3, 'No-show', 'No-show', 'Negative', 0, 1, 0, 3, 2 ), - (4, 'Cancelled', 'Cancelled', 'Negative', 1, 1, 0, 4, 2 ), - (5, 'Pending from pay later', 'Pending (pay later)', 'Pending', 1, 1, 1, 5, 2 ), - (6, 'Pending from incomplete transaction', 'Pending (incomplete transaction)', 'Pending', 1, 1, 0, 6, 2 ), - (7, 'On waitlist', 'On waitlist', 'Waiting', 1, 0, 0, 7, 2 ), - (8, 'Awaiting approval', 'Awaiting approval', 'Waiting', 1, 0, 1, 8, 2 ), - (9, 'Pending from waitlist', 'Pending from waitlist', 'Pending', 1, 0, 1, 9, 2 ), - (10, 'Pending from approval', 'Pending from approval', 'Pending', 1, 0, 1, 10, 2 ), - (11, 'Rejected', 'Rejected', 'Negative', 1, 0, 0, 11, 2 ), - (12, 'Expired', 'Expired', 'Negative', 1, 1, 0, 12, 2 ), - (13, 'Pending in cart', 'Pending in cart', 'Pending', 1, 1, 0, 13, 2 ), - (14, 'Partially paid', 'Partially paid', 'Positive', 1, 1, 1, 14, 2 ), - (15, 'Pending refund', 'Pending refund', 'Positive', 1, 1, 1, 15, 2 ), - (16, 'Transferred', 'Transferred', 'Negative', 1, 1, 0, 16, 2); - --- CRM-8150 -INSERT INTO civicrm_action_mapping -(entity, entity_value, entity_value_label, entity_status, entity_status_label, entity_date_start, entity_date_end, entity_recipient) -VALUES -( 'civicrm_activity', 'activity_type', 'Activity Type', 'activity_status', 'Activity Status', 'activity_date_time', NULL, 'activity_contacts'), -( 'civicrm_participant', 'event_type', 'Event Type', 'civicrm_participant_status_type', 'Participant Status', 'event_start_date', 'event_end_date', 'event_contacts'), -( 'civicrm_participant', 'civicrm_event', 'Event Name', 'civicrm_participant_status_type', 'Participant Status', 'event_start_date', 'event_end_date', 'event_contacts'), -( 'civicrm_membership', 'civicrm_membership_type', 'Membership Type', 'auto_renew_options', 'Auto Renew Options', 'membership_join_date', 'membership_end_date', NULL), -( 'civicrm_participant', 'event_template', 'Event Template', 'civicrm_participant_status_type', 'Participant Status', 'event_start_date', 'event_end_date', 'event_contacts'), -( 'civicrm_contact', 'civicrm_contact', 'Date Field', 'contact_date_reminder_options', 'Annual Options', 'date_field', NULL, NULL); - -INSERT INTO `civicrm_contact_type` - (`id`, `name`, `label`,`image_URL`, `parent_id`, `is_active`,`is_reserved`, `icon`) - VALUES - ( 1, 'Individual' , 'Individual' , NULL, NULL, 1, 1, 'fa-user'), - ( 2, 'Household' , 'Household' , NULL, NULL, 1, 1, 'fa-home'), - ( 3, 'Organization', 'Organization', NULL, NULL, 1, 1, 'fa-building'); +INSERT INTO civicrm_mailing_bounce_type (`description`,`hold_threshold`,`name`) VALUES +("AOL Terms of Service complaint","1","AOL") +; +SELECT @bounceTypeID := max(id) +FROM civicrm_mailing_bounce_type +WHERE (name = "AOL") +; +INSERT INTO civicrm_mailing_bounce_pattern (`bounce_type_id`,`pattern`) VALUES +(@bounceTypeID,"Client TOS Notification") +; +INSERT INTO civicrm_mailing_bounce_type (`description`,`hold_threshold`,`name`) VALUES +("Recipient is on vacation","30","Away") +; +SELECT @bounceTypeID := max(id) +FROM civicrm_mailing_bounce_type +WHERE (name = "Away") +; +INSERT INTO civicrm_mailing_bounce_pattern (`bounce_type_id`,`pattern`) VALUES +(@bounceTypeID,"(be|am)? (out of|away from) (the|my)? (office|computer|town)"), +(@bounceTypeID,"i am on vacation") +; +INSERT INTO civicrm_mailing_bounce_type (`description`,`hold_threshold`,`name`) VALUES +("Unable to resolve recipient domain","3","Dns") +; +SELECT @bounceTypeID := max(id) +FROM civicrm_mailing_bounce_type +WHERE (name = "Dns") +; +INSERT INTO civicrm_mailing_bounce_pattern (`bounce_type_id`,`pattern`) VALUES +(@bounceTypeID,"name(server entry| lookup failure)"), +(@bounceTypeID,"no (mail server|matches to nameserver query|dns entries)"), +(@bounceTypeID,"reverse dns entry"), +(@bounceTypeID,"Host or domain name not found"), +(@bounceTypeID,"Unable to resolve MX record for") +; +INSERT INTO civicrm_mailing_bounce_type (`description`,`hold_threshold`,`name`) VALUES +("Unable to deliver to destintation mail server","3","Host") +; +SELECT @bounceTypeID := max(id) +FROM civicrm_mailing_bounce_type +WHERE (name = "Host") +; +INSERT INTO civicrm_mailing_bounce_pattern (`bounce_type_id`,`pattern`) VALUES +(@bounceTypeID,"(unknown|not local) host"), +(@bounceTypeID,"all hosts have been failing"), +(@bounceTypeID,"allowed rcpthosts"), +(@bounceTypeID,"connection (refused|timed out)"), +(@bounceTypeID,"not connected"), +(@bounceTypeID,"couldn\'t find any host named"), +(@bounceTypeID,"error involving remote host"), +(@bounceTypeID,"host unknown"), +(@bounceTypeID,"invalid host name"), +(@bounceTypeID,"isn\'t in my control/locals file"), +(@bounceTypeID,"local configuration error"), +(@bounceTypeID,"not a gateway"), +(@bounceTypeID,"server is (down or unreachable|not responding)"), +(@bounceTypeID,"too many connections"), +(@bounceTypeID,"unable to connect"), +(@bounceTypeID,"lost connection"), +(@bounceTypeID,"conversation with [^ ]* timed out while"), +(@bounceTypeID,"server requires authentication"), +(@bounceTypeID,"authentication (is )?required") +; +INSERT INTO civicrm_mailing_bounce_type (`description`,`hold_threshold`,`name`) VALUES +("User account is no longer active","1","Inactive") +; +SELECT @bounceTypeID := max(id) +FROM civicrm_mailing_bounce_type +WHERE (name = "Inactive") +; +INSERT INTO civicrm_mailing_bounce_pattern (`bounce_type_id`,`pattern`) VALUES +(@bounceTypeID,"(my )?e-?mail( address)? has changed"), +(@bounceTypeID,"account (inactive|expired|deactivated)"), +(@bounceTypeID,"account is locked"), +(@bounceTypeID,"changed w+( e-?mail)? address"), +(@bounceTypeID,"deactivated mailbox"), +(@bounceTypeID,"disabled or discontinued"), +(@bounceTypeID,"inactive user"), +(@bounceTypeID,"is inactive on this domain"), +(@bounceTypeID,"mail receiving disabled"), +(@bounceTypeID,"mail( ?)address is administrative?ly disabled"), +(@bounceTypeID,"mailbox (temporarily disabled|currently suspended)"), +(@bounceTypeID,"no longer (accepting mail|on server|in use|with|employed|on staff|works for|using this account)"), +(@bounceTypeID,"not accepting (mail|messages)"), +(@bounceTypeID,"please use my new e-?mail address"), +(@bounceTypeID,"this address no longer accepts mail"), +(@bounceTypeID,"user account suspended"), +(@bounceTypeID,"account that you tried to reach is disabled"), +(@bounceTypeID,"User banned") +; +INSERT INTO civicrm_mailing_bounce_type (`description`,`hold_threshold`,`name`) VALUES +("Email address is not valid","1","Invalid") +; +SELECT @bounceTypeID := max(id) +FROM civicrm_mailing_bounce_type +WHERE (name = "Invalid") +; +INSERT INTO civicrm_mailing_bounce_pattern (`bounce_type_id`,`pattern`) VALUES +(@bounceTypeID,"(user|recipient( name)?) is not recognized"), +(@bounceTypeID,"554 delivery error"), +(@bounceTypeID,"address does not exist"), +(@bounceTypeID,"address(es)?( you (entered|specified))? (could|was)( not|n.t)( be)? found"), +(@bounceTypeID,"address(ee)? (unknown|invalid)"), +(@bounceTypeID,"bad destination"), +(@bounceTypeID,"badly formatted address"), +(@bounceTypeID,"can\'t open mailbox for"), +(@bounceTypeID,"cannot deliver"), +(@bounceTypeID,"delivery to the following recipient(s)? failed"), +(@bounceTypeID,"destination addresses were unknown"), +(@bounceTypeID,"did not reach the following recipient"), +(@bounceTypeID,"does not exist"), +(@bounceTypeID,"does not like recipient"), +(@bounceTypeID,"does not specify a valid notes mail file"), +(@bounceTypeID,"illegal alias"), +(@bounceTypeID,"invalid (mailbox|(e-?mail )?address|recipient|final delivery)"), +(@bounceTypeID,"invalid( or unknown)?( virtual)? user"), +(@bounceTypeID,"(mail )?delivery (to this user )?is not allowed"), +(@bounceTypeID,"mailbox (not found|unavailable|name not allowed)"), +(@bounceTypeID,"message could not be forwarded"), +(@bounceTypeID,"missing or malformed local(-| )part"), +(@bounceTypeID,"no e-?mail address registered"), +(@bounceTypeID,"no such (mail drop|mailbox( \\w+)?|(e-?mail )?address|recipient|(local )?user|person)( here)?"), +(@bounceTypeID,"no mailbox (here )?by that name"), +(@bounceTypeID,"not (listed in|found in directory|known at this site|our customer)"), +(@bounceTypeID,"not a valid( (user|mailbox))?"), +(@bounceTypeID,"not present in directory entry"), +(@bounceTypeID,"recipient (does not exist|(is )?unknown|rejected|denied|not found)"), +(@bounceTypeID,"this user doesn\'t have a yahoo.com address"), +(@bounceTypeID,"unavailable to take delivery of the message"), +(@bounceTypeID,"unavailable mailbox"), +(@bounceTypeID,"unknown (local( |-)part|recipient|address error)"), +(@bounceTypeID,"unknown( or illegal)? user( account)?"), +(@bounceTypeID,"unrecognized recipient"), +(@bounceTypeID,"unregistered address"), +(@bounceTypeID,"user (unknown|(does not|doesn\'t) exist)"), +(@bounceTypeID,"user doesn\'t have an? w+ account"), +(@bounceTypeID,"user(\'s e-?mail name is)? not found"), +(@bounceTypeID,"^Validation failed for:"), +(@bounceTypeID,"5.1.0 Address rejected"), +(@bounceTypeID,"no valid recipients?"), +(@bounceTypeID,"RecipNotFound"), +(@bounceTypeID,"no one at this address"), +(@bounceTypeID,"misconfigured forwarding address"), +(@bounceTypeID,"account is not allowed"), +(@bounceTypeID,"Address .<[^>]*>. not known here"), +(@bounceTypeID,"Recipient address rejected: ([a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,}"), +(@bounceTypeID,"Non sono riuscito a trovare l.indirizzo e-mail"), +(@bounceTypeID,"nadie con esta direcci..?n"), +(@bounceTypeID,"ni bilo mogo..?e najti prejemnikovega e-po..?tnega naslova"), +(@bounceTypeID,"Elektronski naslov (je ukinjen|ne obstaja)"), +(@bounceTypeID,"nepravilno nastavljen predal") +; +INSERT INTO civicrm_mailing_bounce_type (`description`,`hold_threshold`,`name`) VALUES +("Mail routing error","3","Loop") +; +SELECT @bounceTypeID := max(id) +FROM civicrm_mailing_bounce_type +WHERE (name = "Loop") +; +INSERT INTO civicrm_mailing_bounce_pattern (`bounce_type_id`,`pattern`) VALUES +(@bounceTypeID,"(mail( forwarding)?|routing).loop"), +(@bounceTypeID,"excessive recursion"), +(@bounceTypeID,"loop detected"), +(@bounceTypeID,"maximum hop count exceeded"), +(@bounceTypeID,"message was forwarded more than the maximum allowed times"), +(@bounceTypeID,"too many (hops|recursive forwards)") +; +INSERT INTO civicrm_mailing_bounce_type (`description`,`hold_threshold`,`name`) VALUES +("User inbox is full","3","Quota") +; +SELECT @bounceTypeID := max(id) +FROM civicrm_mailing_bounce_type +WHERE (name = "Quota") +; +INSERT INTO civicrm_mailing_bounce_pattern (`bounce_type_id`,`pattern`) VALUES +(@bounceTypeID,"(disk(space)?|over the allowed|exceed(ed|s)?|storage) quota"), +(@bounceTypeID,"522_mailbox_full"), +(@bounceTypeID,"exceeds allowed message count"), +(@bounceTypeID,"file too large"), +(@bounceTypeID,"full mailbox"), +(@bounceTypeID,"(mail|in)(box|folder) ((for user \\w+ )?is )?full"), +(@bounceTypeID,"mailbox (has exceeded|is over) the limit"), +(@bounceTypeID,"mailbox( exceeds allowed)? size"), +(@bounceTypeID,"no space left for this user"), +(@bounceTypeID,"over\\s?quota"), +(@bounceTypeID,"quota (for the mailbox )?has been exceeded"), +(@bounceTypeID,"quota ?(usage|violation|exceeded)"), +(@bounceTypeID,"recipient storage full"), +(@bounceTypeID,"not able to receive more mail"), +(@bounceTypeID,"doesn.t have enough disk space left"), +(@bounceTypeID,"exceeded storage allocation"), +(@bounceTypeID,"running out of disk space") +; +INSERT INTO civicrm_mailing_bounce_type (`description`,`hold_threshold`,`name`) VALUES +("Unable to reach destination mail server","3","Relay") +; +SELECT @bounceTypeID := max(id) +FROM civicrm_mailing_bounce_type +WHERE (name = "Relay") +; +INSERT INTO civicrm_mailing_bounce_pattern (`bounce_type_id`,`pattern`) VALUES +(@bounceTypeID,"cannot find your hostname"), +(@bounceTypeID,"ip name lookup"), +(@bounceTypeID,"not configured to relay mail"), +(@bounceTypeID,"relay(ing)? (not permitted|(access )?denied)"), +(@bounceTypeID,"relayed mail to .+? not allowed"), +(@bounceTypeID,"sender ip must resolve"), +(@bounceTypeID,"unable to relay"), +(@bounceTypeID,"No route to host"), +(@bounceTypeID,"Network is unreachable"), +(@bounceTypeID,"unrouteable address"), +(@bounceTypeID,"We don.t handle mail for"), +(@bounceTypeID,"we do not relay"), +(@bounceTypeID,"Rejected by next-hop"), +(@bounceTypeID,"not permitted to( *550)? relay through this server") +; +INSERT INTO civicrm_mailing_bounce_type (`description`,`hold_threshold`,`name`) VALUES +("Message caught by a content filter","1","Spam") +; +SELECT @bounceTypeID := max(id) +FROM civicrm_mailing_bounce_type +WHERE (name = "Spam") +; +INSERT INTO civicrm_mailing_bounce_pattern (`bounce_type_id`,`pattern`) VALUES +(@bounceTypeID,"(bulk( e-?mail)|content|attachment blocking|virus|mail system) filters?"), +(@bounceTypeID,"(hostile|questionable|unacceptable) content"), +(@bounceTypeID,"address .+? has not been verified"), +(@bounceTypeID,"anti-?spam (policw+|software)"), +(@bounceTypeID,"anti-?virus gateway has detected"), +(@bounceTypeID,"blacklisted"), +(@bounceTypeID,"blocked message"), +(@bounceTypeID,"content control"), +(@bounceTypeID,"delivery not authorized"), +(@bounceTypeID,"does not conform to our e-?mail policy"), +(@bounceTypeID,"excessive spam content"), +(@bounceTypeID,"message looks suspicious"), +(@bounceTypeID,"open relay"), +(@bounceTypeID,"sender was rejected"), +(@bounceTypeID,"spam(check| reduction software| filters?)"), +(@bounceTypeID,"blocked by a user configured filter"), +(@bounceTypeID,"(detected|rejected) (as|due to) spam"), +(@bounceTypeID,"X-HmXmrOriginalRecipient"), +(@bounceTypeID,"Client host .[^ ]*. blocked"), +(@bounceTypeID,"automatic(ally-generated)? messages are not accepted"), +(@bounceTypeID,"denied by policy"), +(@bounceTypeID,"has no corresponding reverse \\(PTR\\) address"), +(@bounceTypeID,"has a policy that( [^ ]*)? prohibited the mail that you sent"), +(@bounceTypeID,"is likely unsolicited mail"), +(@bounceTypeID,"Local Policy Violation"), +(@bounceTypeID,"ni bilo mogo..?e dostaviti zaradi varnostnega pravilnika"), +(@bounceTypeID,"abuse report") +; +INSERT INTO civicrm_mailing_bounce_type (`description`,`hold_threshold`,`name`) VALUES +("Error in SMTP transaction","3","Syntax") +; +SELECT @bounceTypeID := max(id) +FROM civicrm_mailing_bounce_type +WHERE (name = "Syntax") +; +INSERT INTO civicrm_mailing_bounce_pattern (`bounce_type_id`,`pattern`) VALUES +(@bounceTypeID,"nonstandard smtp line terminator"), +(@bounceTypeID,"syntax error in from address"), +(@bounceTypeID,"unknown smtp code") +; + +INSERT INTO civicrm_uf_group (`group_type`,`help_post`,`id`,`is_cms_user`,`is_reserved`,`name`,`title`) VALUES +("Individual,Contact",NULL,"1","0","0","name_and_address","Name and Address"), +("Individual,Contact","<p><strong>The information you provide will NOT be shared with any third party organisations.</strong></p><p>Thank you for getting involved in our campaign!</p>","2","2","0","supporter_profile","Supporter Profile"), +("Participant",NULL,"3","0","1","participant_status","Participant Status"), +("Individual,Contact",NULL,"4","0","1","new_individual","New Individual"), +("Organization,Contact",NULL,"5","0","1","new_organization","New Organization"), +("Household,Contact",NULL,"6","0","1","new_household","New Household"), +("Contact",NULL,"7","0","1","summary_overlay","Summary Overlay"), +("Contact",NULL,"8","0","1","shared_address","Shared Address"), +("Contact,Organization",NULL,"9","0","1","on_behalf_organization","On Behalf Of Organization"), +("Contribution",NULL,"10","0","1","contribution_batch_entry","Contribution Bulk Entry"), +("Membership",NULL,"11","0","1","membership_batch_entry","Membership Bulk Entry"), +("Individual,Contact",NULL,"12","0","0","event_registration","Your Registration Info"), +("Individual,Contact",NULL,"13","0","1","honoree_individual","Honoree Individual") +; +INSERT INTO civicrm_uf_join (`entity_id`,`entity_table`,`is_active`,`module`,`uf_group_id`,`weight`) VALUES +(NULL,NULL,"1","User Registration","1","1"), +(NULL,NULL,"1","User Account","1","1"), +(NULL,NULL,"1","Profile","1","1"), +(NULL,NULL,"1","Profile","2","2"), +(NULL,NULL,"1","Profile","12","11") +; +INSERT INTO civicrm_uf_field (`field_name`,`field_type`,`help_post`,`in_selector`,`is_required`,`is_reserved`,`is_searchable`,`label`,`location_type_id`,`phone_type_id`,`uf_group_id`,`visibility`,`weight`) VALUES +("first_name","Individual",NULL,"0","1","0","0","First Name",NULL,NULL,"1","User and User Admin Only","1"), +("last_name","Individual",NULL,"0","1","0","0","Last Name",NULL,NULL,"1","User and User Admin Only","2"), +("street_address","Contact",NULL,"0","0","0","0","Street Address (Home)","1",NULL,"1","User and User Admin Only","3"), +("city","Contact",NULL,"0","0","0","0","City (Home)","1",NULL,"1","User and User Admin Only","4"), +("postal_code","Contact",NULL,"0","0","0","0","Postal Code (Home)","1",NULL,"1","User and User Admin Only","5"), +("country","Contact",NULL,"0","0","0","0","Country (Home)","1",NULL,"1","User and User Admin Only","6"), +("state_province","Contact",NULL,"0","0","0","0","State (Home)","1",NULL,"1","User and User Admin Only","7"), +("first_name","Individual",NULL,"0","1","0","0","First Name",NULL,NULL,"2","User and User Admin Only","1"), +("last_name","Individual",NULL,"0","1","0","0","Last Name",NULL,NULL,"2","User and User Admin Only","2"), +("email","Contact",NULL,"0","1","0","0","Email Address",NULL,NULL,"2","User and User Admin Only","3"), +("participant_status","Participant",NULL,"0","1","1","0","Participant Status",NULL,NULL,"3","User and User Admin Only","1"), +("first_name","Individual",NULL,"0","1","0","0","First Name",NULL,NULL,"4","User and User Admin Only","1"), +("last_name","Individual",NULL,"0","1","0","0","Last Name",NULL,NULL,"4","User and User Admin Only","2"), +("email","Contact",NULL,"0","0","0","0","Email Address",NULL,NULL,"4","User and User Admin Only","3"), +("organization_name","Organization",NULL,"0","1","0","0","Organization Name",NULL,NULL,"5","User and User Admin Only","2"), +("email","Contact",NULL,"0","0","0","0","Email Address",NULL,NULL,"5","User and User Admin Only","3"), +("household_name","Household",NULL,"0","1","0","0","Household Name",NULL,NULL,"6","User and User Admin Only","2"), +("email","Contact",NULL,"0","0","0","0","Email Address",NULL,NULL,"6","User and User Admin Only","3"), +("phone","Contact",NULL,"0","1","0","0","Home Phone","1","1","7","User and User Admin Only","1"), +("phone","Contact",NULL,"0","1","0","0","Home Mobile","1","2","7","User and User Admin Only","2"), +("street_address","Contact",NULL,"0","1","0","0","Primary Address",NULL,NULL,"7","User and User Admin Only","3"), +("city","Contact",NULL,"0","1","0","0","City",NULL,NULL,"7","User and User Admin Only","4"), +("state_province","Contact",NULL,"0","1","0","0","State",NULL,NULL,"7","User and User Admin Only","5"), +("postal_code","Contact",NULL,"0","1","0","0","Postal Code",NULL,NULL,"7","User and User Admin Only","6"), +("email","Contact",NULL,"0","1","0","0","Primary Email",NULL,NULL,"7","User and User Admin Only","7"), +("group","Contact",NULL,"0","1","0","0","Groups",NULL,NULL,"7","User and User Admin Only","8"), +("tag","Contact",NULL,"0","1","0","0","Tags",NULL,NULL,"7","User and User Admin Only","9"), +("gender_id","Individual",NULL,"0","1","0","0","Gender",NULL,NULL,"7","User and User Admin Only","10"), +("birth_date","Individual",NULL,"0","1","0","0","Date of Birth",NULL,NULL,"7","User and User Admin Only","11"), +("street_address","Contact",NULL,"0","1","1","0","Street Address (Home)","1",NULL,"8","User and User Admin Only","1"), +("city","Contact",NULL,"0","1","1","0","City (Home)","1",NULL,"8","User and User Admin Only","2"), +("postal_code","Contact",NULL,"0","0","0","0","Postal Code (Home)","1",NULL,"8","User and User Admin Only","3"), +("country","Contact",NULL,"0","0","0","0","Country (Home)","1",NULL,"8","User and User Admin Only","4"), +("state_province","Contact",NULL,"0","0","0","0","State (Home)","1",NULL,"8","User and User Admin Only","5"), +("organization_name","Organization",NULL,"0","1","0","0","Organization Name",NULL,NULL,"9","User and User Admin Only","1"), +("phone","Contact",NULL,"0","1","0","0","Phone (Main) ","3","1","9","User and User Admin Only","2"), +("email","Contact",NULL,"0","1","0","0","Email (Main) ","3",NULL,"9","User and User Admin Only","3"), +("street_address","Contact",NULL,"0","1","0","0","Street Address","3",NULL,"9","User and User Admin Only","4"), +("city","Contact",NULL,"0","1","0","0","City","3",NULL,"9","User and User Admin Only","5"), +("postal_code","Contact",NULL,"0","1","0","0","Postal Code","3",NULL,"9","User and User Admin Only","6"), +("country","Contact",NULL,"0","1","0","0","Country","3",NULL,"9","User and User Admin Only","7"), +("state_province","Contact",NULL,"0","1","0","0","State/Province","3",NULL,"9","User and User Admin Only","8"), +("financial_type","Contribution",NULL,"0","0","1","0","Financial Type",NULL,NULL,"10","User and User Admin Only","1"), +("total_amount","Contribution",NULL,"0","0","1","0","Amount",NULL,NULL,"10","User and User Admin Only","2"), +("contribution_status_id","Contribution",NULL,"0","1","1","0","Status",NULL,NULL,"10","User and User Admin Only","3"), +("receive_date","Contribution",NULL,"0","1","1","0","Contribution Date",NULL,NULL,"10","User and User Admin Only","4"), +("contribution_source","Contribution",NULL,"0","0","0","0","Contribution Source",NULL,NULL,"10","User and User Admin Only","5"), +("payment_instrument","Contribution",NULL,"0","0","0","0","Payment Method",NULL,NULL,"10","User and User Admin Only","6"), +("contribution_check_number","Contribution",NULL,"0","0","0","0","Check Number",NULL,NULL,"10","User and User Admin Only","7"), +("send_receipt","Contribution",NULL,"0","0","0","0","Send Receipt",NULL,NULL,"10","User and User Admin Only","8"), +("invoice_id","Contribution",NULL,"0","0","0","0","Invoice ID",NULL,NULL,"10","User and User Admin Only","9"), +("soft_credit","Contribution",NULL,"0","0","0","0","Soft Credit",NULL,NULL,"10","User and User Admin Only","10"), +("soft_credit_type","Contribution",NULL,"0","0","0","0","Soft Credit Type",NULL,NULL,"10","User and User Admin Only","11"), +("membership_type","Membership",NULL,"0","1","1","0","Membership Type",NULL,NULL,"11","User and User Admin Only","1"), +("membership_join_date","Membership",NULL,"0","1","1","0","Member Since",NULL,NULL,"11","User and User Admin Only","2"), +("membership_start_date","Membership",NULL,"0","0","1","0","Start Date",NULL,NULL,"11","User and User Admin Only","3"), +("membership_end_date","Membership",NULL,"0","0","1","0","End Date",NULL,NULL,"11","User and User Admin Only","4"), +("membership_source","Membership",NULL,"0","0","0","0","Membership Source",NULL,NULL,"11","User and User Admin Only","5"), +("send_receipt","Membership",NULL,"0","0","0","0","Send Receipt",NULL,NULL,"11","User and User Admin Only","6"), +("financial_type","Membership",NULL,"0","0","1","0","Financial Type",NULL,NULL,"11","User and User Admin Only","7"), +("total_amount","Membership",NULL,"0","0","1","0","Amount",NULL,NULL,"11","User and User Admin Only","8"), +("receive_date","Membership",NULL,"0","1","1","0","Contribution Date",NULL,NULL,"11","User and User Admin Only","9"), +("payment_instrument","Membership",NULL,"0","0","0","0","Payment Method",NULL,NULL,"11","User and User Admin Only","10"), +("contribution_check_number","Membership",NULL,"0","0","0","0","Check Number",NULL,NULL,"11","User and User Admin Only","11"), +("contribution_status_id","Membership",NULL,"0","1","1","0","Payment Status",NULL,NULL,"11","User and User Admin Only","12"), +("soft_credit","Membership",NULL,"0","0","0","0","Soft Credit",NULL,NULL,"11","User and User Admin Only","13"), +("soft_credit_type","Membership",NULL,"0","0","0","0","Soft Credit Type",NULL,NULL,"11","User and User Admin Only","14"), +("first_name","Individual",NULL,"0","1","0","0","First Name",NULL,NULL,"12","User and User Admin Only","1"), +("last_name","Individual",NULL,"0","1","0","0","Last Name",NULL,NULL,"12","User and User Admin Only","2"), +("email","Contact",NULL,"0","1","0","0","Email Address",NULL,NULL,"12","User and User Admin Only","3"), +("prefix_id","Individual",NULL,"0","0","1","0","Individual Prefix",NULL,NULL,"13","User and User Admin Only","1"), +("first_name","Individual",NULL,"0","1","1","0","First Name",NULL,NULL,"13","User and User Admin Only","2"), +("last_name","Individual",NULL,"0","1","1","0","Last Name",NULL,NULL,"13","User and User Admin Only","3"), +("email","Contact",NULL,"0","0","1","0","Email Address","1",NULL,"13","User and User Admin Only","4") +; +INSERT INTO civicrm_participant_status_type (`class`,`is_active`,`is_counted`,`is_reserved`,`label`,`name`,`visibility_id`,`weight`) VALUES +("Positive","1","1","1","Registered","Registered","1","1"), +("Positive","1","1","0","Attended","Attended","2","2"), +("Negative","1","0","0","No-show","No-show","2","3"), +("Negative","1","0","1","Cancelled","Cancelled","2","4"), +("Pending","1","1","1","Pending (pay later)","Pending from pay later","2","5"), +("Pending","1","0","1","Pending (incomplete transaction)","Pending from incomplete transaction","2","6"), +("Waiting","0","0","1","On waitlist","On waitlist","2","7"), +("Waiting","0","1","1","Awaiting approval","Awaiting approval","2","8"), +("Pending","0","1","1","Pending from waitlist","Pending from waitlist","2","9"), +("Pending","0","1","1","Pending from approval","Pending from approval","2","10"), +("Negative","0","0","1","Rejected","Rejected","2","11"), +("Negative","1","0","1","Expired","Expired","2","12"), +("Pending","1","0","1","Pending in cart","Pending in cart","2","13"), +("Positive","1","1","1","Partially paid","Partially paid","2","14"), +("Positive","1","1","1","Pending refund","Pending refund","2","15"), +("Negative","1","0","1","Transferred","Transferred","2","16") +; +INSERT INTO civicrm_action_mapping (`entity`,`entity_date_end`,`entity_date_start`,`entity_recipient`,`entity_status`,`entity_status_label`,`entity_value`,`entity_value_label`) VALUES +("civicrm_activity",NULL,"activity_date_time","activity_contacts","activity_status","Activity Status","activity_type","Activity Type"), +("civicrm_participant","event_end_date","event_start_date","event_contacts","civicrm_participant_status_type","Participant Status","event_type","Event Type"), +("civicrm_participant","event_end_date","event_start_date","event_contacts","civicrm_participant_status_type","Participant Status","civicrm_event","Event Name"), +("civicrm_membership","membership_end_date","membership_join_date",NULL,"auto_renew_options","Auto Renew Options","civicrm_membership_type","Membership Type"), +("civicrm_participant","event_end_date","event_start_date","event_contacts","civicrm_participant_status_type","Participant Status","event_template","Event Template"), +("civicrm_contact",NULL,"date_field",NULL,"contact_date_reminder_options","Annual Options","civicrm_contact","Date Field") +; +INSERT INTO civicrm_contact_type (`icon`,`id`,`image_URL`,`is_active`,`is_reserved`,`label`,`name`,`parent_id`) VALUES +("fa-user","1",NULL,"1","1","Individual","Individual",NULL), +("fa-home","2",NULL,"1","1","Household","Household",NULL), +("fa-building","3",NULL,"1","1","Organization","Organization",NULL) +; -- +--------------------------------------------------------------------+ -- | Copyright CiviCRM LLC. All rights reserved. | @@ -7091,21 +7407,21 @@ INSERT INTO civicrm_msg_template {capture assign=ts_item}{ts}Item{/ts}{/capture} {capture assign=ts_qty}{ts}Qty{/ts}{/capture} {capture assign=ts_each}{ts}Each{/ts}{/capture} -{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} +{if $isShowTax && {contribution.tax_amount|boolean}} {capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} {capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} {capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} {/if} {capture assign=ts_total}{ts}Total{/ts}{/capture} -{$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate} {$ts_taxAmount|string_format:"%10s"} {/if} {$ts_total|string_format:"%10s"} +{$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate} {$ts_taxAmount|string_format:"%10s"} {/if} {$ts_total|string_format:"%10s"} ---------------------------------------------------------- {foreach from=$lineItems item=line} -{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:"..."|string_format:"%-30s"} {$line.qty|string_format:"%5s"} {$line.unit_price|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}{$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {if $line.tax_rate || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} +{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:"..."|string_format:"%-30s"} {$line.qty|string_format:"%5s"} {$line.unit_price|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {if $isShowTax && {contribution.tax_amount|boolean}}{$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {if $line.tax_rate || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {/foreach} {/if} -{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} +{if $isShowTax && {contribution.tax_amount|boolean}} {ts}Amount before Tax{/ts} : {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency} {/if} {foreach from=$taxRateBreakdown item=taxDetail key=taxRate} @@ -7117,7 +7433,7 @@ INSERT INTO civicrm_msg_template {/if} {ts}Total Amount{/ts} : {contribution.total_amount} {if \'{contribution.receive_date}\'} -{ts}Date Received{/ts}: {contribution.receive_date|crmDate:"shortdate"} +{ts}Contribution Date{/ts}: {contribution.receive_date|crmDate:"shortdate"} {/if} {if \'{contribution.receipt_date}\'} {ts}Receipt Date{/ts}: {contribution.receipt_date|crmDate:"shortdate"} @@ -7251,7 +7567,7 @@ INSERT INTO civicrm_msg_template <th>{ts}Item{/ts}</th> <th>{ts}Qty{/ts}</th> <th>{ts}Each{/ts}</th> - {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if $isShowTax && {contribution.tax_amount|boolean}} <th>{ts}Subtotal{/ts}</th> <th>{ts}Tax Rate{/ts}</th> <th>{ts}Tax Amount{/ts}</th> @@ -7269,7 +7585,7 @@ INSERT INTO civicrm_msg_template <td> {$line.unit_price|crmMoney:\'{contribution.currency}\'} </td> - {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if $isShowTax && {contribution.tax_amount|boolean}} <td> {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'} </td> @@ -7295,7 +7611,7 @@ INSERT INTO civicrm_msg_template </tr> {/if} - {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if $isShowTax && {contribution.tax_amount|boolean}} <tr> <td {$labelStyle}> {ts} Amount before Tax : {/ts} @@ -7336,7 +7652,7 @@ INSERT INTO civicrm_msg_template {if \'{contribution.receive_date}\'} <tr> <td {$labelStyle}> - {ts}Date Received{/ts} + {ts}Contribution Date{/ts} </td> <td {$valueStyle}> {contribution.receive_date|crmDate:"shortdate"} @@ -7525,21 +7841,21 @@ INSERT INTO civicrm_msg_template {capture assign=ts_item}{ts}Item{/ts}{/capture} {capture assign=ts_qty}{ts}Qty{/ts}{/capture} {capture assign=ts_each}{ts}Each{/ts}{/capture} -{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} +{if $isShowTax && {contribution.tax_amount|boolean}} {capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} {capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} {capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} {/if} {capture assign=ts_total}{ts}Total{/ts}{/capture} -{$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate} {$ts_taxAmount|string_format:"%10s"} {/if} {$ts_total|string_format:"%10s"} +{$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate} {$ts_taxAmount|string_format:"%10s"} {/if} {$ts_total|string_format:"%10s"} ---------------------------------------------------------- {foreach from=$lineItems item=line} -{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:"..."|string_format:"%-30s"} {$line.qty|string_format:"%5s"} {$line.unit_price|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}{$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {if $line.tax_rate || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} +{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:"..."|string_format:"%-30s"} {$line.qty|string_format:"%5s"} {$line.unit_price|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {if $isShowTax && {contribution.tax_amount|boolean}}{$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {if $line.tax_rate || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {/foreach} {/if} -{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} +{if $isShowTax && {contribution.tax_amount|boolean}} {ts}Amount before Tax{/ts} : {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency} {/if} {foreach from=$taxRateBreakdown item=taxDetail key=taxRate} @@ -7551,7 +7867,7 @@ INSERT INTO civicrm_msg_template {/if} {ts}Total Amount{/ts} : {contribution.total_amount} {if \'{contribution.receive_date}\'} -{ts}Date Received{/ts}: {contribution.receive_date|crmDate:"shortdate"} +{ts}Contribution Date{/ts}: {contribution.receive_date|crmDate:"shortdate"} {/if} {if \'{contribution.receipt_date}\'} {ts}Receipt Date{/ts}: {contribution.receipt_date|crmDate:"shortdate"} @@ -7685,7 +8001,7 @@ INSERT INTO civicrm_msg_template <th>{ts}Item{/ts}</th> <th>{ts}Qty{/ts}</th> <th>{ts}Each{/ts}</th> - {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if $isShowTax && {contribution.tax_amount|boolean}} <th>{ts}Subtotal{/ts}</th> <th>{ts}Tax Rate{/ts}</th> <th>{ts}Tax Amount{/ts}</th> @@ -7703,7 +8019,7 @@ INSERT INTO civicrm_msg_template <td> {$line.unit_price|crmMoney:\'{contribution.currency}\'} </td> - {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if $isShowTax && {contribution.tax_amount|boolean}} <td> {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'} </td> @@ -7729,7 +8045,7 @@ INSERT INTO civicrm_msg_template </tr> {/if} - {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if $isShowTax && {contribution.tax_amount|boolean}} <tr> <td {$labelStyle}> {ts} Amount before Tax : {/ts} @@ -7770,7 +8086,7 @@ INSERT INTO civicrm_msg_template {if \'{contribution.receive_date}\'} <tr> <td {$labelStyle}> - {ts}Date Received{/ts} + {ts}Contribution Date{/ts} </td> <td {$valueStyle}> {contribution.receive_date|crmDate:"shortdate"} @@ -7941,7 +8257,7 @@ INSERT INTO civicrm_msg_template ', 'contribution_offline_receipt', @tpl_ovid_contribution_offline_receipt, 0, 1) , - ('Contributions - Receipt (on-line)', '{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name} + ('Contributions - Receipt (on-line)', '{if \'{contribution.contribution_status_id:name}\' === \'Pending\'}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name} ', '{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {if !empty($receipt_text)} {$receipt_text} @@ -7953,7 +8269,7 @@ INSERT INTO civicrm_msg_template =========================================================== {/if} -{if \'{contribution.total_amount|raw}\' !== \'0.00\'} +{if {contribution.total_amount|boolean}} =========================================================== {ts}Contribution Information{/ts} @@ -7964,19 +8280,19 @@ INSERT INTO civicrm_msg_template {capture assign=ts_item}{ts}Item{/ts}{/capture} {capture assign=ts_qty}{ts}Qty{/ts}{/capture} {capture assign=ts_each}{ts}Each{/ts}{/capture} -{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} +{if $isShowTax && {contribution.tax_amount|boolean}} {capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} {capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} {capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} {/if} {capture assign=ts_total}{ts}Total{/ts}{/capture} -{$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate} {$ts_taxAmount|string_format:"%10s"} {/if} {$ts_total|string_format:"%10s"} +{$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate} {$ts_taxAmount|string_format:"%10s"} {/if} {$ts_total|string_format:"%10s"} ---------------------------------------------------------- {foreach from=$lineItems item=line} -{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:"..."|string_format:"%-30s"} {$line.qty|string_format:"%5s"} {$line.unit_price|crmMoney:$currency|string_format:"%10s"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:"%10s"} {if $line.tax_rate || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:$currency|string_format:"%10s"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:"%10s"} +{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:"..."|string_format:"%-30s"} {$line.qty|string_format:"%5s"} {$line.unit_price|crmMoney:$currency|string_format:"%10s"} {if $isShowTax && {contribution.tax_amount|boolean}}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:"%10s"} {if $line.tax_rate || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:$currency|string_format:"%10s"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:"%10s"} {/foreach} -{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} +{if $isShowTax && {contribution.tax_amount|boolean}} {ts}Amount before Tax:{/ts} {$amount-$totalTaxAmount|crmMoney:$currency} {foreach from=$taxRateBreakdown item=taxDetail key=taxRate} {if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if} : {$taxDetail.amount|crmMoney:\'{contribution.currency}\'} @@ -8184,7 +8500,7 @@ INSERT INTO civicrm_msg_template </tr> </table> <table style="width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;"> - {if \'{contribution.total_amount|raw}\' !== \'0.00\'} + {if {contribution.total_amount|boolean}} <tr> <th {$headerStyle}> {ts}Contribution Information{/ts} @@ -8199,7 +8515,7 @@ INSERT INTO civicrm_msg_template <th>{ts}Item{/ts}</th> <th>{ts}Qty{/ts}</th> <th>{ts}Each{/ts}</th> - {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if $isShowTax && {contribution.tax_amount|boolean}} <th>{ts}Subtotal{/ts}</th> <th>{ts}Tax Rate{/ts}</th> <th>{ts}Tax Amount{/ts}</th> @@ -8211,7 +8527,7 @@ INSERT INTO civicrm_msg_template <td>{$line.title}</td> <td>{$line.qty}</td> <td>{$line.unit_price|crmMoney:$currency}</td> - {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if $isShowTax && {contribution.tax_amount|boolean}} <td>{$line.unit_price*$line.qty|crmMoney:$currency}</td> {if $line.tax_rate || $line.tax_amount != ""} <td>{$line.tax_rate|string_format:"%.2f"}%</td> @@ -8230,7 +8546,7 @@ INSERT INTO civicrm_msg_template </td> </tr> - {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if $isShowTax && {contribution.tax_amount|boolean}} <tr> <td {$labelStyle}> {ts} Amount before Tax : {/ts} @@ -8267,7 +8583,7 @@ INSERT INTO civicrm_msg_template </td> </tr> {else} - {if \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if {contribution.tax_amount|boolean}} <tr> <td {$labelStyle}> {ts}Total Tax Amount{/ts} @@ -8596,7 +8912,7 @@ INSERT INTO civicrm_msg_template </body> </html> ', 'contribution_online_receipt', @tpl_ovid_contribution_online_receipt, 1, 0), - ('Contributions - Receipt (on-line)', '{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name} + ('Contributions - Receipt (on-line)', '{if \'{contribution.contribution_status_id:name}\' === \'Pending\'}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name} ', '{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {if !empty($receipt_text)} {$receipt_text} @@ -8608,7 +8924,7 @@ INSERT INTO civicrm_msg_template =========================================================== {/if} -{if \'{contribution.total_amount|raw}\' !== \'0.00\'} +{if {contribution.total_amount|boolean}} =========================================================== {ts}Contribution Information{/ts} @@ -8619,19 +8935,19 @@ INSERT INTO civicrm_msg_template {capture assign=ts_item}{ts}Item{/ts}{/capture} {capture assign=ts_qty}{ts}Qty{/ts}{/capture} {capture assign=ts_each}{ts}Each{/ts}{/capture} -{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} +{if $isShowTax && {contribution.tax_amount|boolean}} {capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} {capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} {capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} {/if} {capture assign=ts_total}{ts}Total{/ts}{/capture} -{$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate} {$ts_taxAmount|string_format:"%10s"} {/if} {$ts_total|string_format:"%10s"} +{$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate} {$ts_taxAmount|string_format:"%10s"} {/if} {$ts_total|string_format:"%10s"} ---------------------------------------------------------- {foreach from=$lineItems item=line} -{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:"..."|string_format:"%-30s"} {$line.qty|string_format:"%5s"} {$line.unit_price|crmMoney:$currency|string_format:"%10s"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:"%10s"} {if $line.tax_rate || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:$currency|string_format:"%10s"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:"%10s"} +{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:"..."|string_format:"%-30s"} {$line.qty|string_format:"%5s"} {$line.unit_price|crmMoney:$currency|string_format:"%10s"} {if $isShowTax && {contribution.tax_amount|boolean}}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:"%10s"} {if $line.tax_rate || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:$currency|string_format:"%10s"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:"%10s"} {/foreach} -{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} +{if $isShowTax && {contribution.tax_amount|boolean}} {ts}Amount before Tax:{/ts} {$amount-$totalTaxAmount|crmMoney:$currency} {foreach from=$taxRateBreakdown item=taxDetail key=taxRate} {if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if} : {$taxDetail.amount|crmMoney:\'{contribution.currency}\'} @@ -8839,7 +9155,7 @@ INSERT INTO civicrm_msg_template </tr> </table> <table style="width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;"> - {if \'{contribution.total_amount|raw}\' !== \'0.00\'} + {if {contribution.total_amount|boolean}} <tr> <th {$headerStyle}> {ts}Contribution Information{/ts} @@ -8854,7 +9170,7 @@ INSERT INTO civicrm_msg_template <th>{ts}Item{/ts}</th> <th>{ts}Qty{/ts}</th> <th>{ts}Each{/ts}</th> - {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if $isShowTax && {contribution.tax_amount|boolean}} <th>{ts}Subtotal{/ts}</th> <th>{ts}Tax Rate{/ts}</th> <th>{ts}Tax Amount{/ts}</th> @@ -8866,7 +9182,7 @@ INSERT INTO civicrm_msg_template <td>{$line.title}</td> <td>{$line.qty}</td> <td>{$line.unit_price|crmMoney:$currency}</td> - {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if $isShowTax && {contribution.tax_amount|boolean}} <td>{$line.unit_price*$line.qty|crmMoney:$currency}</td> {if $line.tax_rate || $line.tax_amount != ""} <td>{$line.tax_rate|string_format:"%.2f"}%</td> @@ -8885,7 +9201,7 @@ INSERT INTO civicrm_msg_template </td> </tr> - {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if $isShowTax && {contribution.tax_amount|boolean}} <tr> <td {$labelStyle}> {ts} Amount before Tax : {/ts} @@ -8922,7 +9238,7 @@ INSERT INTO civicrm_msg_template </td> </tr> {else} - {if \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if {contribution.tax_amount|boolean}} <tr> <td {$labelStyle}> {ts}Total Tax Amount{/ts} @@ -11537,7 +11853,7 @@ INSERT INTO civicrm_msg_template {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts} {/if} -{ts}Received{/ts}: {$receive_date|crmDate} +{ts}Contribution Date{/ts}: {$receive_date|crmDate} {ts}Amount{/ts}: {$total_amount|crmMoney:$currency} @@ -11565,7 +11881,7 @@ INSERT INTO civicrm_msg_template {/if} </p> <table id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;"> - <tr><td>{ts}Received{/ts}:</td><td> {$receive_date|crmDate}</td></tr> + <tr><td>{ts}Contribution Date{/ts}:</td><td> {$receive_date|crmDate}</td></tr> <tr><td>{ts}Amount{/ts}:</td><td> {$total_amount|crmMoney:$currency}</td></tr> <tr><td>{ts}Name{/ts}:</td><td> {$donors_display_name}</td></tr> <tr><td>{ts}Email{/ts}:</td><td> {$donors_email}</td></tr> @@ -11589,7 +11905,7 @@ INSERT INTO civicrm_msg_template {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts} {/if} -{ts}Received{/ts}: {$receive_date|crmDate} +{ts}Contribution Date{/ts}: {$receive_date|crmDate} {ts}Amount{/ts}: {$total_amount|crmMoney:$currency} @@ -11617,7 +11933,7 @@ INSERT INTO civicrm_msg_template {/if} </p> <table id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;"> - <tr><td>{ts}Received{/ts}:</td><td> {$receive_date|crmDate}</td></tr> + <tr><td>{ts}Contribution Date{/ts}:</td><td> {$receive_date|crmDate}</td></tr> <tr><td>{ts}Amount{/ts}:</td><td> {$total_amount|crmMoney:$currency}</td></tr> <tr><td>{ts}Name{/ts}:</td><td> {$donors_display_name}</td></tr> <tr><td>{ts}Email{/ts}:</td><td> {$donors_email}</td></tr> @@ -12368,10 +12684,8 @@ INSERT INTO civicrm_msg_template {ts}You have been added to the WAIT LIST for this event.{/ts} -{if !empty($isPrimary)} {ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts} -{/if} ==========================================================={if !empty($pricesetFieldsCount) }===================={/if} {elseif !empty($isRequireApproval)} @@ -12379,10 +12693,8 @@ INSERT INTO civicrm_msg_template {ts}Your registration has been submitted.{/ts} -{if !empty($isPrimary)} {ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts} -{/if} ==========================================================={if !empty($pricesetFieldsCount) }===================={/if} {elseif $is_pay_later} @@ -12412,20 +12724,25 @@ INSERT INTO civicrm_msg_template {$location.address.1.display|strip_tags:false} {/if}{*End of isShowLocation condition*} -{if !empty($location.phone.1.phone) || !empty($location.email.1.email)} - +{if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}} {ts}Event Contacts:{/ts} -{foreach from=$location.phone item=phone} -{if $phone.phone} -{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if} -{/foreach} -{foreach from=$location.email item=eventEmail} -{if $eventEmail.email} +{if {event.loc_block_id.phone_id.phone|boolean}} +{if {event.loc_block_id.phone_id.phone_type_id|boolean}}{event.loc_block_id.phone_id.phone_type_id:label}{else}{ts}Phone{/ts}{/if} {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if} +{/if} -{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach} +{if {event.loc_block_id.phone_2_id.phone|boolean}} +{if {event.loc_block_id.phone_2_id.phone_type_id|boolean}}{event.loc_block_id.phone_2_id.phone_type_id:label}{else}{ts}Phone{/ts}{/if} {event.loc_block_id.phone_2_id.phone} {if {event.loc_block_id.phone_2_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_2_id.phone_ext}{/if} {/if} +{if {event.loc_block_id.email_id.email|boolean}} +{ts}Email {/ts}{event.loc_block_id.email_id.email} +{/if} +{if {event.loc_block_id.email_2_id.email|boolean}} +{ts}Email {/ts}{event.loc_block_id.email_2_id.email}{/if} +{/if} + + {if !empty($event.is_public)} {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture} {ts}Download iCalendar entry for this event.{/ts} {$icalFeed} @@ -12453,7 +12770,7 @@ INSERT INTO civicrm_msg_template {if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset} {if $value neq \'skip\'} -{if !empty($isPrimary)} +{if {event.is_monetary|boolean}} {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *} {ts 1=$priceset+1}Participant %1{/ts} {/if} @@ -12503,12 +12820,11 @@ INSERT INTO civicrm_msg_template {if $totalTaxAmount} {ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency} {/if} -{if !empty($isPrimary)} +{if {event.is_monetary|boolean}} -{if !empty($balanceAmount)}{ts}Total Paid{/ts}{else}{ts}Total Amount{/ts}{/if}: {if !empty($totalAmount)}{$totalAmount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} - -{if !empty($balanceAmount)} -{ts}Balance{/ts}: {$balanceAmount|crmMoney} +{if {contribution.balance_amount|boolean}}{ts}Total Paid{/ts}: {if {contribution.paid_amount|boolean}}{contribution.paid_amount}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} +{ts}Balance{/ts}: {contribution.balance_amount} +{else}{ts}Total Amount{/ts}: {if {contribution.total_amount|boolean}}{contribution.total_amount}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} {/if} {if !empty($pricesetFieldsCount) } @@ -12680,15 +12996,11 @@ INSERT INTO civicrm_msg_template {/if} {if !empty($isOnWaitlist)} - <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p> - {if !empty($isPrimary)} - <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p> - {/if} + <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p> + <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p> {elseif !empty($isRequireApproval)} - <p>{ts}Your registration has been submitted.{/ts}</p> - {if !empty($isPrimary)} + <p>{ts}Your registration has been submitted.{/ts}</p> <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p> - {/if} {elseif $is_pay_later} <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *} {/if} @@ -12729,40 +13041,65 @@ INSERT INTO civicrm_msg_template </tr> {/if} - {if !empty($location.phone.1.phone) || !empty($location.email.1.email)} + {if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}} <tr> <td colspan="2" {$labelStyle}> {ts}Event Contacts:{/ts} </td> </tr> - {foreach from=$location.phone item=phone} - {if $phone.phone} + + {if {event.loc_block_id.phone_id.phone|boolean}} <tr> <td {$labelStyle}> - {if $phone.phone_type} - {$phone.phone_type_display} + {if {event.loc_block_id.phone_id.phone_type_id|boolean}} + {event.loc_block_id.phone_id.phone_type_id:label} {else} {ts}Phone{/ts} {/if} </td> <td {$valueStyle}> - {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if} + {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if} </td> </tr> {/if} - {/foreach} - {foreach from=$location.email item=eventEmail} - {if $eventEmail.email} + {if {event.loc_block_id.phone_2_id.phone|boolean}} + <tr> + <td {$labelStyle}> + {if {event.loc_block_id.phone_2_id.phone_type_id|boolean}} + {event.loc_block_id.phone_2_id.phone_type_id:label} + {else} + {ts}Phone{/ts} + {/if} + </td> + <td {$valueStyle}> + {event.loc_block_id.phone_2_id.phone} {if {event.loc_block_id.phone_2_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_2_id.phone_ext}{/if} + </td> + </tr> + {/if} + + + {if {event.loc_block_id.email_id.email|boolean}} <tr> <td {$labelStyle}> {ts}Email{/ts} </td> <td {$valueStyle}> - {$eventEmail.email} + {event.loc_block_id.email_id.email} </td> </tr> {/if} - {/foreach} + + {if {event.loc_block_id.email_2_id.email|boolean}} + <tr> + <td {$labelStyle}> + {ts}Email{/ts} + </td> + <td {$valueStyle}> + {event.loc_block_id.email_2_id.email} + </td> + </tr> + {/if} + {/if} {if !empty($event.is_public)} @@ -12794,7 +13131,7 @@ INSERT INTO civicrm_msg_template {/if} - {if !empty($event.is_monetary)} + {if {event.is_monetary|boolean}} <tr> <th {$headerStyle}> @@ -12805,7 +13142,6 @@ INSERT INTO civicrm_msg_template {if !empty($lineItem)} {foreach from=$lineItem item=value key=priceset} {if $value neq \'skip\'} - {if !empty($isPrimary)} {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *} <tr> <td colspan="2" {$labelStyle}> @@ -12813,7 +13149,7 @@ INSERT INTO civicrm_msg_template </td> </tr> {/if} - {/if} + <tr> <td colspan="2" {$valueStyle}> <table> @@ -12915,29 +13251,26 @@ INSERT INTO civicrm_msg_template </td> </tr> {/if} - {if !empty($isPrimary)} - <tr> - <td {$labelStyle}> - {if isset($balanceAmount)} - {ts}Total Paid{/ts} + {if {event.is_monetary|boolean}} + {if {contribution.balance_amount|boolean}} + <tr> + <td {$labelStyle}>{ts}Total Paid{/ts}</td> + <td {$valueStyle}> + {if {contribution.paid_amount|boolean}}{contribution.paid_amount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} + </td> + </tr> + <tr> + <td {$labelStyle}>{ts}Balance{/ts}</td> + <td {$valueStyle}>{contribution.balance_amount}</td> + </tr> {else} - {ts}Total Amount{/ts} - {/if} - </td> - <td {$valueStyle}> - {if !empty($totalAmount)}{$totalAmount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} - </td> - </tr> - {if isset($balanceAmount)} - <tr> - <td {$labelStyle}> - {ts}Balance{/ts} - </td> - <td {$valueStyle}> - {$balanceAmount|crmMoney} - </td> - </tr> - {/if} + <tr> + <td {$labelStyle}>{ts}Total Amount{/ts}</td> + <td {$valueStyle}> + {if {contribution.total_amount|boolean}}{contribution.total_amount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} + </td> + </tr> + {/if} {if !empty($pricesetFieldsCount) } <tr> <td {$labelStyle}> @@ -13180,10 +13513,8 @@ INSERT INTO civicrm_msg_template {ts}You have been added to the WAIT LIST for this event.{/ts} -{if !empty($isPrimary)} {ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts} -{/if} ==========================================================={if !empty($pricesetFieldsCount) }===================={/if} {elseif !empty($isRequireApproval)} @@ -13191,10 +13522,8 @@ INSERT INTO civicrm_msg_template {ts}Your registration has been submitted.{/ts} -{if !empty($isPrimary)} {ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts} -{/if} ==========================================================={if !empty($pricesetFieldsCount) }===================={/if} {elseif $is_pay_later} @@ -13224,20 +13553,25 @@ INSERT INTO civicrm_msg_template {$location.address.1.display|strip_tags:false} {/if}{*End of isShowLocation condition*} -{if !empty($location.phone.1.phone) || !empty($location.email.1.email)} - +{if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}} {ts}Event Contacts:{/ts} -{foreach from=$location.phone item=phone} -{if $phone.phone} -{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if} -{/foreach} -{foreach from=$location.email item=eventEmail} -{if $eventEmail.email} +{if {event.loc_block_id.phone_id.phone|boolean}} +{if {event.loc_block_id.phone_id.phone_type_id|boolean}}{event.loc_block_id.phone_id.phone_type_id:label}{else}{ts}Phone{/ts}{/if} {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if} +{/if} -{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach} +{if {event.loc_block_id.phone_2_id.phone|boolean}} +{if {event.loc_block_id.phone_2_id.phone_type_id|boolean}}{event.loc_block_id.phone_2_id.phone_type_id:label}{else}{ts}Phone{/ts}{/if} {event.loc_block_id.phone_2_id.phone} {if {event.loc_block_id.phone_2_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_2_id.phone_ext}{/if} {/if} +{if {event.loc_block_id.email_id.email|boolean}} +{ts}Email {/ts}{event.loc_block_id.email_id.email} +{/if} +{if {event.loc_block_id.email_2_id.email|boolean}} +{ts}Email {/ts}{event.loc_block_id.email_2_id.email}{/if} +{/if} + + {if !empty($event.is_public)} {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture} {ts}Download iCalendar entry for this event.{/ts} {$icalFeed} @@ -13265,7 +13599,7 @@ INSERT INTO civicrm_msg_template {if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset} {if $value neq \'skip\'} -{if !empty($isPrimary)} +{if {event.is_monetary|boolean}} {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *} {ts 1=$priceset+1}Participant %1{/ts} {/if} @@ -13315,12 +13649,11 @@ INSERT INTO civicrm_msg_template {if $totalTaxAmount} {ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency} {/if} -{if !empty($isPrimary)} - -{if !empty($balanceAmount)}{ts}Total Paid{/ts}{else}{ts}Total Amount{/ts}{/if}: {if !empty($totalAmount)}{$totalAmount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} +{if {event.is_monetary|boolean}} -{if !empty($balanceAmount)} -{ts}Balance{/ts}: {$balanceAmount|crmMoney} +{if {contribution.balance_amount|boolean}}{ts}Total Paid{/ts}: {if {contribution.paid_amount|boolean}}{contribution.paid_amount}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} +{ts}Balance{/ts}: {contribution.balance_amount} +{else}{ts}Total Amount{/ts}: {if {contribution.total_amount|boolean}}{contribution.total_amount}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} {/if} {if !empty($pricesetFieldsCount) } @@ -13492,15 +13825,11 @@ INSERT INTO civicrm_msg_template {/if} {if !empty($isOnWaitlist)} - <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p> - {if !empty($isPrimary)} - <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p> - {/if} + <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p> + <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p> {elseif !empty($isRequireApproval)} - <p>{ts}Your registration has been submitted.{/ts}</p> - {if !empty($isPrimary)} + <p>{ts}Your registration has been submitted.{/ts}</p> <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p> - {/if} {elseif $is_pay_later} <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *} {/if} @@ -13541,40 +13870,65 @@ INSERT INTO civicrm_msg_template </tr> {/if} - {if !empty($location.phone.1.phone) || !empty($location.email.1.email)} + {if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}} <tr> <td colspan="2" {$labelStyle}> {ts}Event Contacts:{/ts} </td> </tr> - {foreach from=$location.phone item=phone} - {if $phone.phone} + + {if {event.loc_block_id.phone_id.phone|boolean}} <tr> <td {$labelStyle}> - {if $phone.phone_type} - {$phone.phone_type_display} + {if {event.loc_block_id.phone_id.phone_type_id|boolean}} + {event.loc_block_id.phone_id.phone_type_id:label} {else} {ts}Phone{/ts} {/if} </td> <td {$valueStyle}> - {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if} + {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if} </td> </tr> {/if} - {/foreach} - {foreach from=$location.email item=eventEmail} - {if $eventEmail.email} + {if {event.loc_block_id.phone_2_id.phone|boolean}} + <tr> + <td {$labelStyle}> + {if {event.loc_block_id.phone_2_id.phone_type_id|boolean}} + {event.loc_block_id.phone_2_id.phone_type_id:label} + {else} + {ts}Phone{/ts} + {/if} + </td> + <td {$valueStyle}> + {event.loc_block_id.phone_2_id.phone} {if {event.loc_block_id.phone_2_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_2_id.phone_ext}{/if} + </td> + </tr> + {/if} + + + {if {event.loc_block_id.email_id.email|boolean}} <tr> <td {$labelStyle}> {ts}Email{/ts} </td> <td {$valueStyle}> - {$eventEmail.email} + {event.loc_block_id.email_id.email} </td> </tr> {/if} - {/foreach} + + {if {event.loc_block_id.email_2_id.email|boolean}} + <tr> + <td {$labelStyle}> + {ts}Email{/ts} + </td> + <td {$valueStyle}> + {event.loc_block_id.email_2_id.email} + </td> + </tr> + {/if} + {/if} {if !empty($event.is_public)} @@ -13606,7 +13960,7 @@ INSERT INTO civicrm_msg_template {/if} - {if !empty($event.is_monetary)} + {if {event.is_monetary|boolean}} <tr> <th {$headerStyle}> @@ -13617,7 +13971,6 @@ INSERT INTO civicrm_msg_template {if !empty($lineItem)} {foreach from=$lineItem item=value key=priceset} {if $value neq \'skip\'} - {if !empty($isPrimary)} {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *} <tr> <td colspan="2" {$labelStyle}> @@ -13625,7 +13978,7 @@ INSERT INTO civicrm_msg_template </td> </tr> {/if} - {/if} + <tr> <td colspan="2" {$valueStyle}> <table> @@ -13727,29 +14080,26 @@ INSERT INTO civicrm_msg_template </td> </tr> {/if} - {if !empty($isPrimary)} - <tr> - <td {$labelStyle}> - {if isset($balanceAmount)} - {ts}Total Paid{/ts} + {if {event.is_monetary|boolean}} + {if {contribution.balance_amount|boolean}} + <tr> + <td {$labelStyle}>{ts}Total Paid{/ts}</td> + <td {$valueStyle}> + {if {contribution.paid_amount|boolean}}{contribution.paid_amount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} + </td> + </tr> + <tr> + <td {$labelStyle}>{ts}Balance{/ts}</td> + <td {$valueStyle}>{contribution.balance_amount}</td> + </tr> {else} - {ts}Total Amount{/ts} - {/if} - </td> - <td {$valueStyle}> - {if !empty($totalAmount)}{$totalAmount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} - </td> - </tr> - {if isset($balanceAmount)} - <tr> - <td {$labelStyle}> - {ts}Balance{/ts} - </td> - <td {$valueStyle}> - {$balanceAmount|crmMoney} - </td> - </tr> - {/if} + <tr> + <td {$labelStyle}>{ts}Total Amount{/ts}</td> + <td {$valueStyle}> + {if {contribution.total_amount|boolean}}{contribution.total_amount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} + </td> + </tr> + {/if} {if !empty($pricesetFieldsCount) } <tr> <td {$labelStyle}> @@ -14020,7 +14370,7 @@ INSERT INTO civicrm_msg_template ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} -{if isset($pay_later_receipt)}{$pay_later_receipt}{/if} +{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt|boolean}{/if} ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} {/if} @@ -14323,7 +14673,7 @@ You were registered by: {$payer.name} <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p> {/if} {elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)} - <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *} + <p>{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt|boolean}{/if}</p> {* FIXME: this might be text rather than HTML *} {/if} </td> @@ -14808,7 +15158,7 @@ You were registered by: {$payer.name} ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} -{if isset($pay_later_receipt)}{$pay_later_receipt}{/if} +{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt|boolean}{/if} ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} {/if} @@ -15111,7 +15461,7 @@ You were registered by: {$payer.name} <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p> {/if} {elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)} - <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *} + <p>{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt|boolean}{/if}</p> {* FIXME: this might be text rather than HTML *} {/if} </td> @@ -17839,7 +18189,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> {ts}Membership Expiration Date{/ts}: {membership.end_date|crmDate:"Full"} {/if} -{if \'{contribution.total_amount|raw}\' !== \'0.00\'} +{if {contribution.total_amount|boolean}} =========================================================== {ts}Membership Fee{/ts} @@ -17850,7 +18200,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> {if $isShowLineItems} {capture assign=ts_item}{ts}Item{/ts}{/capture} {capture assign=ts_total}{ts}Fee{/ts}{/capture} -{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} +{if $isShowTax && \'{contribution.tax_amount|boolean}\'} {capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} {capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} {capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} @@ -17858,14 +18208,14 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> {/if} {capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture} {capture assign=ts_end_date}{ts}Membership Expiration Date{/ts}{/capture} -{$ts_item|string_format:"%-30s"} {$ts_total|string_format:"%10s"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate|string_format:"%10s"} {$ts_taxAmount|string_format:"%10s"} {$ts_total|string_format:"%10s"} {/if} {$ts_start_date|string_format:"%20s"} {$ts_end_date|string_format:"%20s"} +{$ts_item|string_format:"%-30s"} {$ts_total|string_format:"%10s"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate|string_format:"%10s"} {$ts_taxAmount|string_format:"%10s"} {$ts_total|string_format:"%10s"} {/if} {$ts_start_date|string_format:"%20s"} {$ts_end_date|string_format:"%20s"} -------------------------------------------------------------------------------------------------- {foreach from=$lineItems item=line} -{line.title} {$line.line_total|crmMoney|string_format:"%10s"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {if $line.tax_rate || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:"%10s"} {/if} {$line.membership.start_date|string_format:"%20s"} {$line.membership.end_date|string_format:"%20s"} +{line.title} {$line.line_total|crmMoney|string_format:"%10s"} {if $isShowTax && {contribution.tax_amount|boolean}} {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {if $line.tax_rate || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:"%10s"} {/if} {$line.membership.start_date|string_format:"%20s"} {$line.membership.end_date|string_format:"%20s"} {/foreach} -{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} +{if $isShowTax && {contribution.tax_amount|boolean}} {ts}Amount before Tax:{/ts} {contribution.tax_exclusive_amount} {foreach from=$taxRateBreakdown item=taxDetail key=taxRate} @@ -17875,13 +18225,13 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> -------------------------------------------------------------------------------------------------- {/if} -{if \'{contribution.tax_amount|raw}\' !== \'0.00\'} +{if {contribution.tax_amount|boolean}} {ts}Total Tax Amount{/ts}: {contribution.tax_amount} {/if} {ts}Amount{/ts}: {contribution.total_amount} {if {contribution.receive_date|boolean}} -{ts}Date Received{/ts}: {contribution.receive_date} +{ts}Contribution Date{/ts}: {contribution.receive_date} {/if} {if {contribution.payment_instrument_id|boolean}} {ts}Paid By{/ts}: {contribution.payment_instrument_id:label} @@ -17992,7 +18342,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> </td> </tr> {/if} - {if \'{contribution.total_amount|raw}\' !== \'0.00\'} + {if {contribution.total_amount|boolean}} <tr> <th {$headerStyle}> {ts}Membership Fee{/ts} @@ -18016,7 +18366,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> <tr> <th>{ts}Item{/ts}</th> <th>{ts}Fee{/ts}</th> - {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if $isShowTax && {contribution.tax_amount|boolean}} <th>{ts}SubTotal{/ts}</th> <th>{ts}Tax Rate{/ts}</th> <th>{ts}Tax Amount{/ts}</th> @@ -18031,7 +18381,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> <td> {$line.line_total|crmMoney} </td> - {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if $isShowTax && {contribution.tax_amount|boolean}} <td> {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'} </td> @@ -18062,7 +18412,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> </td> </tr> - {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if $isShowTax && {contribution.tax_amount|boolean}} <tr> <td {$labelStyle}> {ts}Amount Before Tax:{/ts} @@ -18079,7 +18429,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> {/foreach} {/if} {/if} - {if \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if {contribution.tax_amount|boolean}} <tr> <td {$labelStyle}> {ts}Total Tax Amount{/ts} @@ -18100,7 +18450,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> {if {contribution.receive_date|boolean}} <tr> <td {$labelStyle}> - {ts}Date Received{/ts} + {ts}Contribution Date{/ts} </td> <td {$valueStyle}> {contribution.receive_date} @@ -18232,7 +18582,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> {ts}Membership Expiration Date{/ts}: {membership.end_date|crmDate:"Full"} {/if} -{if \'{contribution.total_amount|raw}\' !== \'0.00\'} +{if {contribution.total_amount|boolean}} =========================================================== {ts}Membership Fee{/ts} @@ -18243,7 +18593,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> {if $isShowLineItems} {capture assign=ts_item}{ts}Item{/ts}{/capture} {capture assign=ts_total}{ts}Fee{/ts}{/capture} -{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} +{if $isShowTax && \'{contribution.tax_amount|boolean}\'} {capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} {capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} {capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} @@ -18251,14 +18601,14 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> {/if} {capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture} {capture assign=ts_end_date}{ts}Membership Expiration Date{/ts}{/capture} -{$ts_item|string_format:"%-30s"} {$ts_total|string_format:"%10s"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate|string_format:"%10s"} {$ts_taxAmount|string_format:"%10s"} {$ts_total|string_format:"%10s"} {/if} {$ts_start_date|string_format:"%20s"} {$ts_end_date|string_format:"%20s"} +{$ts_item|string_format:"%-30s"} {$ts_total|string_format:"%10s"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate|string_format:"%10s"} {$ts_taxAmount|string_format:"%10s"} {$ts_total|string_format:"%10s"} {/if} {$ts_start_date|string_format:"%20s"} {$ts_end_date|string_format:"%20s"} -------------------------------------------------------------------------------------------------- {foreach from=$lineItems item=line} -{line.title} {$line.line_total|crmMoney|string_format:"%10s"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {if $line.tax_rate || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:"%10s"} {/if} {$line.membership.start_date|string_format:"%20s"} {$line.membership.end_date|string_format:"%20s"} +{line.title} {$line.line_total|crmMoney|string_format:"%10s"} {if $isShowTax && {contribution.tax_amount|boolean}} {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {if $line.tax_rate || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:"%10s"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:"%10s"} {/if} {$line.membership.start_date|string_format:"%20s"} {$line.membership.end_date|string_format:"%20s"} {/foreach} -{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} +{if $isShowTax && {contribution.tax_amount|boolean}} {ts}Amount before Tax:{/ts} {contribution.tax_exclusive_amount} {foreach from=$taxRateBreakdown item=taxDetail key=taxRate} @@ -18268,13 +18618,13 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> -------------------------------------------------------------------------------------------------- {/if} -{if \'{contribution.tax_amount|raw}\' !== \'0.00\'} +{if {contribution.tax_amount|boolean}} {ts}Total Tax Amount{/ts}: {contribution.tax_amount} {/if} {ts}Amount{/ts}: {contribution.total_amount} {if {contribution.receive_date|boolean}} -{ts}Date Received{/ts}: {contribution.receive_date} +{ts}Contribution Date{/ts}: {contribution.receive_date} {/if} {if {contribution.payment_instrument_id|boolean}} {ts}Paid By{/ts}: {contribution.payment_instrument_id:label} @@ -18385,7 +18735,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> </td> </tr> {/if} - {if \'{contribution.total_amount|raw}\' !== \'0.00\'} + {if {contribution.total_amount|boolean}} <tr> <th {$headerStyle}> {ts}Membership Fee{/ts} @@ -18409,7 +18759,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> <tr> <th>{ts}Item{/ts}</th> <th>{ts}Fee{/ts}</th> - {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if $isShowTax && {contribution.tax_amount|boolean}} <th>{ts}SubTotal{/ts}</th> <th>{ts}Tax Rate{/ts}</th> <th>{ts}Tax Amount{/ts}</th> @@ -18424,7 +18774,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> <td> {$line.line_total|crmMoney} </td> - {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if $isShowTax && {contribution.tax_amount|boolean}} <td> {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'} </td> @@ -18455,7 +18805,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> </td> </tr> - {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if $isShowTax && {contribution.tax_amount|boolean}} <tr> <td {$labelStyle}> {ts}Amount Before Tax:{/ts} @@ -18472,7 +18822,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> {/foreach} {/if} {/if} - {if \'{contribution.tax_amount|raw}\' !== \'0.00\'} + {if {contribution.tax_amount|boolean}} <tr> <td {$labelStyle}> {ts}Total Tax Amount{/ts} @@ -18493,7 +18843,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> {if {contribution.receive_date|boolean}} <tr> <td {$labelStyle}> - {ts}Date Received{/ts} + {ts}Contribution Date{/ts} </td> <td {$valueStyle}> {contribution.receive_date} @@ -18603,7 +18953,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> ', 'membership_offline_receipt', @tpl_ovid_membership_offline_receipt, 0, 1) , - ('Memberships - Receipt (on-line)', '{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name} + ('Memberships - Receipt (on-line)', '{if \'{contribution.contribution_status_id:name}\' === \'Pending\'}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name} ', '{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {if !empty($receipt_text)} {$receipt_text} @@ -19397,7 +19747,7 @@ or want to inquire about reinstating your registration for this event.{/ts}</p> </body> </html> ', 'membership_online_receipt', @tpl_ovid_membership_online_receipt, 1, 0), - ('Memberships - Receipt (on-line)', '{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name} + ('Memberships - Receipt (on-line)', '{if \'{contribution.contribution_status_id:name}\' === \'Pending\'}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name} ', '{assign var="greeting" value="{contact.email_greeting_display}"}{if $greeting}{$greeting},{/if} {if !empty($receipt_text)} {$receipt_text} @@ -22741,29 +23091,51 @@ INSERT INTO civicrm_msg_template </html> ' ,NULL, 1, 0); --- CRM-8358 +INSERT INTO civicrm_job (`api_action`,`api_entity`,`description`,`domain_id`,`is_active`,`last_run`,`name`,`parameters`,`run_frequency`) VALUES +("version_check","job","Checks for CiviCRM version updates. Important for keeping the database secure. Also sends anonymous usage statistics to civicrm.org to to assist in prioritizing ongoing development efforts.",@domainID,"1",NULL,"CiviCRM Update Check",NULL,"Daily"), +("process_mailing","job","Sends out scheduled CiviMail mailings",@domainID,"0",NULL,"Send Scheduled Mailings",NULL,"Always"), +("fetch_bounces","job","Fetches bounces from mailings and writes them to mailing statistics",@domainID,"0",NULL,"Fetch Bounces",NULL,"Hourly"), +("fetch_activities","job","Inserts activity for a contact or a case by retrieving inbound emails from a mail directory",@domainID,"0",NULL,"Process Inbound Emails",NULL,"Hourly"), +("process_pledge","job","Updates pledge records and sends out reminders",@domainID,"0",NULL,"Process Pledges","send_reminders=[1 or 0] optional- 1 to send payment reminders","Daily"), +("geocode","job","Retrieves geocodes (lat and long) and / or parses street addresses (populates street number, street name, etc.)",@domainID,"0",NULL,"Geocode and Parse Addresses","geocoding=[1 or 0] required\nparse=[1 or 0] required\nstart=[contact ID] optional-begin with this contact ID\nend=[contact ID] optional-process contacts with IDs less than this\nthrottle=[1 or 0] optional-1 adds five second sleep","Daily"), +("update_greeting","job","Goes through contact records and updates email and postal greetings, or addressee value",@domainID,"0",NULL,"Update Greetings and Addressees","ct=[Individual or Household or Organization] required\ngt=[email_greeting or postal_greeting or addressee] required\nforce=[0 or 1] optional-0 update contacts with null value, 1 update all\nlimit=Number optional-Limit the number of contacts to update","Daily"), +("mail_report","job","Generates and sends out reports via email",@domainID,"0",NULL,"Mail Reports","instanceId=[ID of report instance] required\nformat=[csv or print] optional-output CSV or print-friendly HTML, else PDF","Daily"), +("send_reminder","job","Sends out scheduled reminders via email",@domainID,"0",NULL,"Send Scheduled Reminders",NULL,"Hourly"), +("process_participant","job","Updates pending event participant statuses based on time",@domainID,"0",NULL,"Update Participant Statuses",NULL,"Always"), +("process_membership","job","Updates membership statuses. WARNING: Membership renewal reminders have been migrated to the Schedule Reminders functionality, which supports multiple renewal reminders.",@domainID,"0",NULL,"Update Membership Statuses",NULL,"Daily"), +("process_respondent","job","Releases reserved survey respondents when they have been reserved for longer than the Release Frequency days specified for that survey.",@domainID,"0",NULL,"Process Survey Respondents",NULL,"Always"), +("cleanup","job","Removes temporary data and files, and clears old data from cache tables. Recommend running this job every hour to help prevent database and file system bloat.",@domainID,"0",NULL,"Clean-up Temporary Data and Files",NULL,"Hourly"), +("process_sms","job","Sends out scheduled SMS",@domainID,"0",NULL,"Send Scheduled SMS",NULL,"Always"), +("group_rebuild","job","Rebuilds the smart group cache.",@domainID,"0",NULL,"Rebuild Smart Group Cache","limit=Number optional-Limit the number of smart groups rebuild","Always"), +("disable_expired_relationships","job","Disables relationships that have expired (ie. those relationships whose end date is in the past).",@domainID,"0",NULL,"Disable expired relationships",NULL,"Daily"), +("update_email_resetdate","mailing","Updates the reset_date on an email address to indicate that there was a valid delivery to this email address.",@domainID,"0",NULL,"Validate Email Address from Mailings.","minDays, maxDays=Consider mailings that have completed between minDays and maxDays","Daily") +; -INSERT INTO `civicrm_job` - ( domain_id, run_frequency, last_run, name, description, api_entity, api_action, parameters, is_active ) -VALUES - ( @domainID, 'Daily' , NULL, 'CiviCRM Update Check', 'Checks for CiviCRM version updates. Important for keeping the database secure. Also sends anonymous usage statistics to civicrm.org to to assist in prioritizing ongoing development efforts.', 'job', 'version_check', NULL, 1), - ( @domainID, 'Always' , NULL, 'Send Scheduled Mailings', 'Sends out scheduled CiviMail mailings', 'job', 'process_mailing', NULL, 0), - ( @domainID, 'Hourly' , NULL, 'Fetch Bounces', 'Fetches bounces from mailings and writes them to mailing statistics', 'job', 'fetch_bounces', NULL, 0), - ( @domainID, 'Hourly' , NULL, 'Process Inbound Emails', 'Inserts activity for a contact or a case by retrieving inbound emails from a mail directory', 'job', 'fetch_activities', NULL, 0), - ( @domainID, 'Daily' , NULL, 'Process Pledges', 'Updates pledge records and sends out reminders', 'job', 'process_pledge','send_reminders=[1 or 0] optional- 1 to send payment reminders', 0), - ( @domainID, 'Daily' , NULL, 'Geocode and Parse Addresses', 'Retrieves geocodes (lat and long) and / or parses street addresses (populates street number, street name, etc.)', 'job', 'geocode', 'geocoding=[1 or 0] required\nparse=[1 or 0] required\nstart=[contact ID] optional-begin with this contact ID\nend=[contact ID] optional-process contacts with IDs less than this\nthrottle=[1 or 0] optional-1 adds five second sleep', 0), - ( @domainID, 'Daily' , NULL, 'Update Greetings and Addressees','Goes through contact records and updates email and postal greetings, or addressee value', 'job', 'update_greeting','ct=[Individual or Household or Organization] required\ngt=[email_greeting or postal_greeting or addressee] required\nforce=[0 or 1] optional-0 update contacts with null value, 1 update all\nlimit=Number optional-Limit the number of contacts to update', 0), - ( @domainID, 'Daily' , NULL, 'Mail Reports', 'Generates and sends out reports via email', 'job', 'mail_report','instanceId=[ID of report instance] required\nformat=[csv or print] optional-output CSV or print-friendly HTML, else PDF', 0), - ( @domainID, 'Hourly' , NULL, 'Send Scheduled Reminders', 'Sends out scheduled reminders via email', 'job', 'send_reminder', NULL, 0), - ( @domainID, 'Always' , NULL, 'Update Participant Statuses', 'Updates pending event participant statuses based on time', 'job', 'process_participant', NULL, 0), - ( @domainID, 'Daily' , NULL, 'Update Membership Statuses', 'Updates membership statuses. WARNING: Membership renewal reminders have been migrated to the Schedule Reminders functionality, which supports multiple renewal reminders.', 'job', 'process_membership', NULL, 0), - ( @domainID, 'Always' , NULL, 'Process Survey Respondents', 'Releases reserved survey respondents when they have been reserved for longer than the Release Frequency days specified for that survey.', 'job', 'process_respondent',NULL, 0), - ( @domainID, 'Hourly' , NULL, 'Clean-up Temporary Data and Files','Removes temporary data and files, and clears old data from cache tables. Recommend running this job every hour to help prevent database and file system bloat.', 'job', 'cleanup', NULL, 0), - ( @domainID, 'Always' , NULL, 'Send Scheduled SMS', 'Sends out scheduled SMS', 'job', 'process_sms', NULL, 0), - ( @domainID, 'Always' , NULL, 'Rebuild Smart Group Cache', 'Rebuilds the smart group cache.', 'job', 'group_rebuild', 'limit=Number optional-Limit the number of smart groups rebuild', 0), - ( @domainID, 'Daily' , NULL, 'Disable expired relationships','Disables relationships that have expired (ie. those relationships whose end date is in the past).', 'job', 'disable_expired_relationships', NULL, 0), - ( @domainID, 'Daily' , NULL, 'Validate Email Address from Mailings.', 'Updates the reset_date on an email address to indicate that there was a valid delivery to this email address.', 'mailing', 'update_email_resetdate', 'minDays, maxDays=Consider mailings that have completed between minDays and maxDays', 0); +-- financial accounts +SELECT @option_group_id_fat := max(id) from civicrm_option_group where name = 'financial_account_type'; +SELECT @opval := value FROM civicrm_option_value WHERE name = 'Revenue' and option_group_id = @option_group_id_fat; +SELECT @opexp := value FROM civicrm_option_value WHERE name = 'Expenses' and option_group_id = @option_group_id_fat; +SELECT @opAsset := value FROM civicrm_option_value WHERE name = 'Asset' and option_group_id = @option_group_id_fat; +SELECT @opLiability := value FROM civicrm_option_value WHERE name = 'Liability' and option_group_id = @option_group_id_fat; +SELECT @opCost := value FROM civicrm_option_value WHERE name = 'Cost of Sales' and option_group_id = @option_group_id_fat; +INSERT INTO civicrm_financial_account (`account_type_code`,`accounting_code`,`contact_id`,`description`,`financial_account_type_id`,`is_active`,`is_deductible`,`is_default`,`is_reserved`,`name`) VALUES +("INC","4200",@contactID,"Default account for donations",@opval,"1","1","1","0","Donation"), +("INC","4400",@contactID,"Default account for membership sales",@opval,"1","1","0","0","Member Dues"), +("INC","4100",@contactID,"Sample account for recording payments to a campaign",@opval,"1","0","0","0","Campaign Contribution"), +("INC","4300",@contactID,"Default account for event ticket sales",@opval,"1","0","0","0","Event Fee"), +("EXP","5200",@contactID,"Payment processor fees and manually recorded banking fees",@opexp,"1","0","1","0","Banking Fees"), +("BANK","1100",@contactID,"All manually recorded cash and cheques go to this account",@opAsset,"1","0","1","0","Deposit Bank Account"), +("AR","1200",@contactID,"Amounts to be received later (eg pay later event revenues)",@opAsset,"1","0","0","0","Accounts Receivable"), +("AP","2200",@contactID,"Amounts to be paid out such as grants and refunds",@opLiability,"1","0","1","0","Accounts Payable"), +("COGS","5100",@contactID,"Account to record cost of premiums provided to payors",@opCost,"1","0","1","0","Premiums"), +("OCASSET","1375",@contactID,"Account representing value of premiums inventory",@opAsset,"1","0","0","0","Premiums inventory"), +("INC","4900",@contactID,"Contra-revenue account for amounts discounted from sales",@opval,"1","0","0","0","Discounts"), +("BANK","1150",@contactID,"Account to record payments into a payment processor merchant account",@opAsset,"1","0","0","0","Payment Processor Account"), +("OCLIAB","2730",@contactID,"Event revenue to be recognized in future months when the events occur",@opLiability,"1","0","0","0","Deferred Revenue - Event Fee"), +("OCLIAB","2740",@contactID,"Membership revenue to be recognized in future months",@opLiability,"1","0","0","0","Deferred Revenue - Member Dues") +; +SELECT @option_group_id_arel := max(id) from civicrm_option_group where name = 'account_relationship'; SELECT @option_value_rel_id := value FROM civicrm_option_value WHERE option_group_id = @option_group_id_arel AND name = 'Income Account is'; SELECT @option_value_rel_id_exp := value FROM civicrm_option_value WHERE option_group_id = @option_group_id_arel AND name = 'Expense Account is'; SELECT @option_value_rel_id_ar := value FROM civicrm_option_value WHERE option_group_id = @option_group_id_arel AND name = 'Accounts Receivable Account is'; @@ -22816,6 +23188,7 @@ SELECT 'civicrm_option_value', cov.id, @option_value_rel_id_as, @financial_accou LEFT JOIN civicrm_option_value cov ON cog.id = cov.option_group_id WHERE cog.name = 'payment_instrument' AND cov.name NOT IN ('Credit Card', 'Debit Card'); +SELECT @option_group_id_pi := max(id) from civicrm_option_group where name = 'payment_instrument'; SELECT @option_value_cc_id := max(id) FROM `civicrm_option_value` WHERE `option_group_id` = @option_group_id_pi AND `name` = 'Credit Card'; SELECT @option_value_dc_id := max(id) FROM `civicrm_option_value` WHERE `option_group_id` = @option_group_id_pi AND `name` = 'Debit Card'; @@ -22841,57 +23214,64 @@ SELECT @fieldID := max(id) FROM civicrm_price_field WHERE name = 'contribution_a INSERT INTO `civicrm_price_field_value` ( `price_field_id`, `name`, `label`, `amount`, `weight`, `is_default`, `is_active`, `financial_type_id`) VALUES ( @fieldID, 'contribution_amount', 'Contribution Amount', '1', '1', '0', '1', 1); --- CRM-13833 -INSERT INTO civicrm_option_group (`name`, `title`, `is_reserved`, `is_active`) VALUES ('soft_credit_type', 'Soft Credit Types', 1, 1); - -SELECT @option_group_id_soft_credit_type := max(id) from civicrm_option_group where name = 'soft_credit_type'; +INSERT IGNORE INTO civicrm_extension (`file`,`full_name`,`is_active`,`label`,`name`,`type`) VALUES +("sequentialcreditnotes","sequentialcreditnotes","1","Sequential credit notes","Sequential credit notes","module"), +("greenwich","greenwich","1","Theme: Greenwich","Theme: Greenwich","module"), +("eventcart","eventcart","1","Event cart","Event cart","module"), +("financialacls","financialacls","1","Financial ACLs","Financial ACLs","module"), +("recaptcha","recaptcha","1","reCAPTCHA","reCAPTCHA","module"), +("ckeditor4","ckeditor4","1","CKEditor4","CKEditor4","module"), +("legacycustomsearches","legacycustomsearches","1","Custom search framework","Custom search framework","module"), +("flexmailer","org.civicrm.flexmailer","1","FlexMailer","FlexMailer","module"), +("civi_contribute","civi_contribute","1","CiviContribute","CiviContribute","module"), +("civi_event","civi_event","1","CiviEvent","CiviEvent","module"), +("civi_mail","civi_mail","1","CiviMail","CiviMail","module"), +("civi_member","civi_member","1","CiviMember","CiviMember","module"), +("civi_pledge","civi_pledge","1","CiviPledge","CiviPledge","module"), +("civi_report","civi_report","1","CiviReport","CiviReport","module") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","soft_credit_type","name,label,description","Soft Credit Types") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "soft_credit_type") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","In Honor of","in_honor_of",@this_option_group_id,"1",NULL,"1"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","In Memory of","in_memory_of",@this_option_group_id,"2",NULL,"2"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","1","0","1","Solicited","solicited",@this_option_group_id,"3",NULL,"3"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Household","household",@this_option_group_id,"4",NULL,"4"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Workplace Giving","workplace",@this_option_group_id,"5",NULL,"5"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Foundation Affiliate","foundation_affiliate",@this_option_group_id,"6",NULL,"6"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","3rd-party Service","3rd-party_service",@this_option_group_id,"7",NULL,"7"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Donor-advised Fund","donor-advised_fund",@this_option_group_id,"8",NULL,"8"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","0","Matched Gift","matched_gift",@this_option_group_id,"9",NULL,"9"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Personal Campaign Page","pcp",@this_option_group_id,"10",NULL,"10"), +(NULL,NULL,NULL,NULL,"0",NULL,NULL,"1","0","0","1","Gift","gift",@this_option_group_id,"11",NULL,"11") +; +INSERT INTO civicrm_option_group (`is_active`,`is_reserved`,`name`,`option_value_fields`,`title`) VALUES +("1","1","recent_items_providers","name,label,description","Recent Items Providers") +; +SELECT @this_option_group_id := max(id) +FROM civicrm_option_group +WHERE (name = "recent_items_providers") +; +INSERT INTO civicrm_option_value (`color`,`component_id`,`description`,`domain_id`,`filter`,`grouping`,`icon`,`is_active`,`is_default`,`is_optgroup`,`is_reserved`,`label`,`name`,`option_group_id`,`value`,`visibility_id`,`weight`) VALUES +(NULL,NULL,"",NULL,NULL,NULL,NULL,"1","0","0","1","Contacts","Contact",@this_option_group_id,"Contact",NULL,"1"), +(NULL,NULL,"",NULL,NULL,NULL,NULL,"1","0","0","1","Relationships","Relationship",@this_option_group_id,"Relationship",NULL,"1"), +(NULL,NULL,"",NULL,NULL,NULL,NULL,"1","0","0","1","Activities","Activity",@this_option_group_id,"Activity",NULL,"1"), +(NULL,NULL,"",NULL,NULL,NULL,NULL,"1","0","0","1","Notes","Note",@this_option_group_id,"Note",NULL,"1"), +(NULL,NULL,"",NULL,NULL,NULL,NULL,"1","0","0","1","Groups","Group",@this_option_group_id,"Group",NULL,"1"), +(NULL,NULL,"",NULL,NULL,NULL,NULL,"1","0","0","1","Cases","Case",@this_option_group_id,"Case",NULL,"1"), +(NULL,NULL,"",NULL,NULL,NULL,NULL,"1","0","0","1","Contributions","Contribution",@this_option_group_id,"Contribution",NULL,"1"), +(NULL,NULL,"",NULL,NULL,NULL,NULL,"1","0","0","1","Participants","Participant",@this_option_group_id,"Participant",NULL,"1"), +(NULL,NULL,"",NULL,NULL,NULL,NULL,"1","0","0","1","Memberships","Membership",@this_option_group_id,"Membership",NULL,"1"), +(NULL,NULL,"",NULL,NULL,NULL,NULL,"1","0","0","1","Pledges","Pledge",@this_option_group_id,"Pledge",NULL,"1"), +(NULL,NULL,"",NULL,NULL,NULL,NULL,"1","0","0","1","Events","Event",@this_option_group_id,"Event",NULL,"1"), +(NULL,NULL,"",NULL,NULL,NULL,NULL,"1","0","0","1","Campaigns","Campaign",@this_option_group_id,"Campaign",NULL,"1") +; -INSERT INTO `civicrm_option_value` (`option_group_id`, `label`, `value`, `name`, `weight`, `is_default`, `is_active`, `is_reserved`) -VALUES - (@option_group_id_soft_credit_type , 'In Honor of', 1, 'in_honor_of', 1, 0, 1, 1), - (@option_group_id_soft_credit_type , 'In Memory of', 2, 'in_memory_of', 2, 0, 1, 1), - (@option_group_id_soft_credit_type , 'Solicited', 3, 'solicited', 3, 1, 1, 1), - (@option_group_id_soft_credit_type , 'Household', 4, 'household', 4, 0, 1, 0), - (@option_group_id_soft_credit_type , 'Workplace Giving', 5, 'workplace', 5, 0, 1, 0), - (@option_group_id_soft_credit_type , 'Foundation Affiliate', 6, 'foundation_affiliate', 6, 0, 1, 0), - (@option_group_id_soft_credit_type , '3rd-party Service', 7, '3rd-party_service', 7, 0, 1, 0), - (@option_group_id_soft_credit_type , 'Donor-advised Fund', 8, 'donor-advised_fund', 8, 0, 1, 0), - (@option_group_id_soft_credit_type , 'Matched Gift', 9, 'matched_gift', 9, 0, 1, 0), - (@option_group_id_soft_credit_type , 'Personal Campaign Page', 10, 'pcp', 10, 0, 1, 1), - (@option_group_id_soft_credit_type , 'Gift', 11, 'gift', 11, 0, 1, 1); - --- Auto-install core extension. --- Note this is a limited interim technique for installing core extensions - the goal is that core extensions would be installed --- in the setup routine based on their tags & using the standard extension install api. --- do not try this at home folks. -INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'sequentialcreditnotes', 'Sequential credit notes', 'Sequential credit notes', 'sequentialcreditnotes', 1); -INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'greenwich', 'Theme: Greenwich', 'Theme: Greenwich', 'greenwich', 1); -INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'eventcart', 'Event cart', 'Event cart', 'eventcart', 1); -INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'financialacls', 'Financial ACLs', 'Financial ACLs', 'financialacls', 1); -INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'recaptcha', 'reCAPTCHA', 'reCAPTCHA', 'recaptcha', 1); -INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'ckeditor4', 'CKEditor4', 'CKEditor4', 'ckeditor4', 1); -INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'legacycustomsearches', 'Custom search framework', 'Custom search framework', 'legacycustomsearches', 1); -INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'org.civicrm.flexmailer', 'FlexMailer', 'FlexMailer', 'flexmailer', 1); - --- dev/core#3783 Recent Items providers -INSERT INTO civicrm_option_group (`name`, `title`, `is_reserved`, `is_active`) VALUES ('recent_items_providers', 'Recent Items Providers', 1, 1); - -SELECT @option_group_id_recent := max(id) from civicrm_option_group where name = 'recent_items_providers'; - -INSERT INTO civicrm_option_value (`option_group_id`, label, `value`, `name`, `grouping`, `filter`, `is_default`, `weight`, description, `is_optgroup`, `is_reserved`, `is_active`, `component_id`, `visibility_id`) - VALUES - (@option_group_id_recent, 'Contacts', 'Contact', 'Contact', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, 'Relationships', 'Relationship', 'Relationship', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, 'Activities', 'Activity', 'Activity', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, 'Notes', 'Note', 'Note', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, 'Groups', 'Group', 'Group', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, 'Cases', 'Case', 'Case', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, 'Contributions', 'Contribution', 'Contribution', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, 'Participants', 'Participant', 'Participant', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, 'Memberships', 'Membership', 'Membership', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, 'Pledges', 'Pledge', 'Pledge', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, 'Events', 'Event', 'Event', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, 'Campaigns', 'Campaign', 'Campaign', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL); -- +--------------------------------------------------------------------+ -- | Copyright CiviCRM LLC. All rights reserved. | -- | | @@ -23401,18 +23781,16 @@ SET @adminHelplastID:=LAST_INSERT_ID(); INSERT INTO civicrm_navigation ( domain_id, url, label, name, permission, permission_operator, parent_id, is_active, has_separator, weight ) VALUES - ( @domainID, 'https://civicrm.org/get-started?src=iam', 'Get started', 'Get started', NULL, 'AND', @adminHelplastID, '1', NULL, 1 ), - ( @domainID, 'https://civicrm.org/documentation?src=iam', 'Documentation', 'Documentation', NULL, 'AND', @adminHelplastID, '1', NULL, 2 ), - ( @domainID, 'https://civicrm.org/ask-a-question?src=iam', 'Ask a question', 'Ask a question', NULL, 'AND', @adminHelplastID, '1', NULL, 3 ), - ( @domainID, 'https://civicrm.org/experts?src=iam', 'Get expert help', 'Get expert help', NULL, 'AND', @adminHelplastID, '1', NULL, 4 ), - ( @domainID, 'https://civicrm.org/about?src=iam', 'About CiviCRM', 'About CiviCRM', NULL, 'AND', @adminHelplastID, '1', 1, 5 ), - ( @domainID, 'https://civicrm.org/register-your-site?src=iam&sid={sid}', 'Register your site', 'Register your site', NULL, 'AND', @adminHelplastID, '1', NULL, 6 ), - ( @domainID, 'https://civicrm.org/become-a-member?src=iam&sid={sid}', 'Join CiviCRM', 'Join CiviCRM', NULL, 'AND', @adminHelplastID, '1', NULL, 7 ); + ( @domainID, 'https://docs.civicrm.org/user/?src=iam', 'User Guide', 'User Guide', NULL, 'AND', @adminHelplastID, '1', NULL, 1 ), + ( @domainID, 'https://civicrm.org/help?src=iam', 'Get Help', 'Get Help', NULL, 'AND', @adminHelplastID, '1', NULL, 2 ), + ( @domainID, 'https://civicrm.org/about?src=iam', 'About CiviCRM', 'About CiviCRM', NULL, 'AND', @adminHelplastID, '1', 1, 3 ), + ( @domainID, 'https://civicrm.org/register-your-site?src=iam&sid={sid}', 'Register Your Site', 'Register Your Site', NULL, 'AND', @adminHelplastID, '1', NULL, 4 ), + ( @domainID, 'https://civicrm.org/become-a-member?src=iam&sid={sid}', 'Join CiviCRM', 'Join CiviCRM', NULL, 'AND', @adminHelplastID, '1', NULL, 5 ); INSERT INTO civicrm_navigation ( domain_id, url, label, name, permission, permission_operator, parent_id, is_active, has_separator, weight ) VALUES - ( @domainID, NULL, 'Developer', 'Developer', 'administer CiviCRM', '', @adminHelplastID, '1', 1, 8 ); + ( @domainID, NULL, 'Developer', 'Developer', 'administer CiviCRM', '', @adminHelplastID, '1', 1, 6 ); SET @devellastID:=LAST_INSERT_ID(); INSERT INTO civicrm_navigation @@ -23647,4 +24025,4 @@ INSERT INTO `civicrm_report_instance` ( `domain_id`, `title`, `report_id`, `description`, `permission`, `form_values`) VALUES ( @domainID, 'Survey Details', 'survey/detail', 'Detailed report for canvassing, phone-banking, walk lists or other surveys.', 'access CiviReport', 'a:39:{s:6:"fields";a:2:{s:9:"sort_name";s:1:"1";s:6:"result";s:1:"1";}s:22:"assignee_contact_id_op";s:2:"eq";s:25:"assignee_contact_id_value";s:0:"";s:12:"sort_name_op";s:3:"has";s:15:"sort_name_value";s:0:"";s:17:"street_number_min";s:0:"";s:17:"street_number_max";s:0:"";s:16:"street_number_op";s:3:"lte";s:19:"street_number_value";s:0:"";s:14:"street_name_op";s:3:"has";s:17:"street_name_value";s:0:"";s:15:"postal_code_min";s:0:"";s:15:"postal_code_max";s:0:"";s:14:"postal_code_op";s:3:"lte";s:17:"postal_code_value";s:0:"";s:7:"city_op";s:3:"has";s:10:"city_value";s:0:"";s:20:"state_province_id_op";s:2:"in";s:23:"state_province_id_value";a:0:{}s:13:"country_id_op";s:2:"in";s:16:"country_id_value";a:0:{}s:12:"survey_id_op";s:2:"in";s:15:"survey_id_value";a:0:{}s:12:"status_id_op";s:2:"eq";s:15:"status_id_value";s:1:"1";s:11:"custom_1_op";s:2:"in";s:14:"custom_1_value";a:0:{}s:11:"custom_2_op";s:2:"in";s:14:"custom_2_value";a:0:{}s:17:"custom_3_relative";s:1:"0";s:13:"custom_3_from";s:0:"";s:11:"custom_3_to";s:0:"";s:11:"description";s:75:"Detailed report for canvassing, phone-banking, walk lists or other surveys.";s:13:"email_subject";s:0:"";s:8:"email_to";s:0:"";s:8:"email_cc";s:0:"";s:10:"permission";s:17:"access CiviReport";s:6:"groups";s:0:"";s:9:"domain_id";i:1;}'); -UPDATE civicrm_domain SET version = '5.62.1'; +UPDATE civicrm_domain SET version = '5.63.0'; diff --git a/civicrm/sql/civicrm_data/civicrm_action_mapping.sqldata.php b/civicrm/sql/civicrm_data/civicrm_action_mapping.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..c9346eaa1a4b4301ab1464e93c571cfba79bd351 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_action_mapping.sqldata.php @@ -0,0 +1,65 @@ +<?php +// CRM-8150 +return CRM_Core_CodeGen_SqlData::create('civicrm_action_mapping') + ->addValues([ + [ + 'entity' => 'civicrm_activity', + 'entity_value' => 'activity_type', + 'entity_value_label' => 'Activity Type', + 'entity_status' => 'activity_status', + 'entity_status_label' => 'Activity Status', + 'entity_date_start' => 'activity_date_time', + 'entity_date_end' => NULL, + 'entity_recipient' => 'activity_contacts', + ], + [ + 'entity' => 'civicrm_participant', + 'entity_value' => 'event_type', + 'entity_value_label' => 'Event Type', + 'entity_status' => 'civicrm_participant_status_type', + 'entity_status_label' => 'Participant Status', + 'entity_date_start' => 'event_start_date', + 'entity_date_end' => 'event_end_date', + 'entity_recipient' => 'event_contacts', + ], + [ + 'entity' => 'civicrm_participant', + 'entity_value' => 'civicrm_event', + 'entity_value_label' => 'Event Name', + 'entity_status' => 'civicrm_participant_status_type', + 'entity_status_label' => 'Participant Status', + 'entity_date_start' => 'event_start_date', + 'entity_date_end' => 'event_end_date', + 'entity_recipient' => 'event_contacts', + ], + [ + 'entity' => 'civicrm_membership', + 'entity_value' => 'civicrm_membership_type', + 'entity_value_label' => 'Membership Type', + 'entity_status' => 'auto_renew_options', + 'entity_status_label' => 'Auto Renew Options', + 'entity_date_start' => 'membership_join_date', + 'entity_date_end' => 'membership_end_date', + 'entity_recipient' => NULL, + ], + [ + 'entity' => 'civicrm_participant', + 'entity_value' => 'event_template', + 'entity_value_label' => 'Event Template', + 'entity_status' => 'civicrm_participant_status_type', + 'entity_status_label' => 'Participant Status', + 'entity_date_start' => 'event_start_date', + 'entity_date_end' => 'event_end_date', + 'entity_recipient' => 'event_contacts', + ], + [ + 'entity' => 'civicrm_contact', + 'entity_value' => 'civicrm_contact', + 'entity_value_label' => 'Date Field', + 'entity_status' => 'contact_date_reminder_options', + 'entity_status_label' => 'Annual Options', + 'entity_date_start' => 'date_field', + 'entity_date_end' => NULL, + 'entity_recipient' => NULL, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_contact_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_contact_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..09d2b580f01f82781d94b4eb08e110282dce734b --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_contact_type.sqldata.php @@ -0,0 +1,34 @@ +<?php +return CRM_Core_CodeGen_SqlData::create('civicrm_contact_type') + ->addValues([ + [ + 'id' => 1, + 'name' => 'Individual', + 'label' => ts('Individual'), + 'image_URL' => NULL, + 'parent_id' => NULL, + 'is_active' => 1, + 'is_reserved' => 1, + 'icon' => 'fa-user', + ], + [ + 'id' => 2, + 'name' => 'Household', + 'label' => ts('Household'), + 'image_URL' => NULL, + 'parent_id' => NULL, + 'is_active' => 1, + 'is_reserved' => 1, + 'icon' => 'fa-home', + ], + [ + 'id' => 3, + 'name' => 'Organization', + 'label' => ts('Organization'), + 'image_URL' => NULL, + 'parent_id' => NULL, + 'is_active' => 1, + 'is_reserved' => 1, + 'icon' => 'fa-building', + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_county.sqldata.php b/civicrm/sql/civicrm_data/civicrm_county.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..bf1f19083ff2a94bb6bbb924c70dfca93ab391f5 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_county.sqldata.php @@ -0,0 +1,28 @@ +<?php +return CRM_Core_CodeGen_SqlData::create('civicrm_county') + ->addValues([ + [ + 'name' => 'Alameda', + 'state_province_id' => 1004, + ], + [ + 'name' => 'Contra Costa', + 'state_province_id' => 1004, + ], + [ + 'name' => 'Marin', + 'state_province_id' => 1004, + ], + [ + 'name' => 'San Francisco', + 'state_province_id' => 1004, + ], + [ + 'name' => 'San Mateo', + 'state_province_id' => 1004, + ], + [ + 'name' => 'Santa Clara', + 'state_province_id' => 1004, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_dedupe_rule/HouseholdSupervised.sqldata.php b/civicrm/sql/civicrm_data/civicrm_dedupe_rule/HouseholdSupervised.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..b907f0cadd8a2af6e7ba8ba7c53e171fcd38d80f --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_dedupe_rule/HouseholdSupervised.sqldata.php @@ -0,0 +1,13 @@ +<?php +return CRM_Core_CodeGen_DedupeRule::create('HouseholdSupervised') + ->addMetadata([ + 'contact_type' => 'Household', + 'threshold' => 10, + 'used' => 'Supervised', + 'title' => ts('Name and Email'), + 'is_reserved' => 0, + ]) + ->addValueTable(['rule_table', 'rule_field', 'rule_weight'], [ + ['civicrm_contact', 'household_name', 10], + ['civicrm_email', 'email', 10], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_dedupe_rule/HouseholdUnsupervised.sqldata.php b/civicrm/sql/civicrm_data/civicrm_dedupe_rule/HouseholdUnsupervised.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..37499430e6d019566d43dd1c6b18901741cac6e8 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_dedupe_rule/HouseholdUnsupervised.sqldata.php @@ -0,0 +1,13 @@ +<?php +return CRM_Core_CodeGen_DedupeRule::create('HouseholdUnsupervised') + ->addMetadata([ + 'contact_type' => 'Household', + 'threshold' => 10, + 'used' => 'Unsupervised', + 'title' => ts('Name and Email'), + 'is_reserved' => 0, + ]) + ->addValueTable(['rule_table', 'rule_field', 'rule_weight'], [ + ['civicrm_contact', 'household_name', 10], + ['civicrm_email', 'email', 10], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_dedupe_rule/IndividualGeneral.sqldata.php b/civicrm/sql/civicrm_data/civicrm_dedupe_rule/IndividualGeneral.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..762682e1b91e3a3b4b44d880100d7d35bde23327 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_dedupe_rule/IndividualGeneral.sqldata.php @@ -0,0 +1,17 @@ +<?php +// IndividualGeneral uses hard-coded optimized query (CRM_Dedupe_BAO_QueryBuilder_IndividualGeneral) +return CRM_Core_CodeGen_DedupeRule::create('IndividualGeneral') + ->addMetadata([ + 'contact_type' => 'Individual', + 'threshold' => 15, + 'used' => 'General', + 'title' => ts('Name and Address (reserved)'), + 'is_reserved' => 1, + ]) + ->addValueTable(['rule_table', 'rule_field', 'rule_weight'], [ + ['civicrm_contact', 'first_name', '5'], + ['civicrm_contact', 'last_name', '5'], + ['civicrm_address', 'street_address', '5'], + ['civicrm_contact', 'middle_name', '1'], + ['civicrm_contact', 'suffix_id', '1'], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_dedupe_rule/IndividualSupervised.sqldata.php b/civicrm/sql/civicrm_data/civicrm_dedupe_rule/IndividualSupervised.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..c4ce709b71de77a22d79c197a86afebc3c3899be --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_dedupe_rule/IndividualSupervised.sqldata.php @@ -0,0 +1,15 @@ +<?php +// IndividualSupervised uses hard-coded optimized query (CRM_Dedupe_BAO_QueryBuilder_IndividualSupervised) +return CRM_Core_CodeGen_DedupeRule::create('IndividualSupervised') + ->addMetadata([ + 'contact_type' => 'Individual', + 'threshold' => 20, + 'used' => 'Supervised', + 'title' => ts('Name and Email (reserved)'), + 'is_reserved' => 1, + ]) + ->addValueTable(['rule_table', 'rule_field', 'rule_weight'], [ + ['civicrm_contact', 'first_name', 5], + ['civicrm_contact', 'last_name', 7], + ['civicrm_email', 'email', 10], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_dedupe_rule/IndividualUnsupervised.sqldata.php b/civicrm/sql/civicrm_data/civicrm_dedupe_rule/IndividualUnsupervised.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..b18f2cdc5c7b076819f61f37f4858d7dce8e9497 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_dedupe_rule/IndividualUnsupervised.sqldata.php @@ -0,0 +1,13 @@ +<?php +// IndividualUnsupervised uses hard-coded optimized query (CRM_Dedupe_BAO_QueryBuilder_IndividualUnsupervised) +return CRM_Core_CodeGen_DedupeRule::create('IndividualUnsupervised') + ->addMetadata([ + 'contact_type' => 'Individual', + 'threshold' => 10, + 'used' => 'Unsupervised', + 'title' => ts('Email (reserved)'), + 'is_reserved' => 1, + ]) + ->addValueTable(['rule_table', 'rule_field', 'rule_weight'], [ + ['civicrm_email', 'email', 10], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_dedupe_rule/OrganizationSupervised.sqldata.php b/civicrm/sql/civicrm_data/civicrm_dedupe_rule/OrganizationSupervised.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..556feea24a5a2c8148290402845e834720f4239f --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_dedupe_rule/OrganizationSupervised.sqldata.php @@ -0,0 +1,13 @@ +<?php +return CRM_Core_CodeGen_DedupeRule::create('OrganizationSupervised') + ->addMetadata([ + 'contact_type' => 'Organization', + 'threshold' => 10, + 'used' => 'Supervised', + 'title' => ts('Name and Email'), + 'is_reserved' => 0, + ]) + ->addValueTable(['rule_table', 'rule_field', 'rule_weight'], [ + ['civicrm_contact', 'organization_name', 10], + ['civicrm_email', 'email', 10], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_dedupe_rule/OrganizationUnsupervised.sqldata.php b/civicrm/sql/civicrm_data/civicrm_dedupe_rule/OrganizationUnsupervised.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..f1fe0c33680738bbf3522aeffc00f48d76f1496e --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_dedupe_rule/OrganizationUnsupervised.sqldata.php @@ -0,0 +1,13 @@ +<?php +return CRM_Core_CodeGen_DedupeRule::create('OrganizationUnsupervised') + ->addMetadata([ + 'contact_type' => 'Organization', + 'threshold' => 10, + 'used' => 'Unsupervised', + 'title' => ts('Name and Email'), + 'is_reserved' => 0, + ]) + ->addValueTable(['rule_table', 'rule_field', 'rule_weight'], [ + ['civicrm_contact', 'organization_name', 10], + ['civicrm_email', 'email', 10], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_extension.sqldata.php b/civicrm/sql/civicrm_data/civicrm_extension.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..2ec47f048a64a8ea9b3ec07fefcc2033a8b1012a --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_extension.sqldata.php @@ -0,0 +1,74 @@ +<?php + +// Auto-install core extension. +// Note this is a limited interim technique for installing core extensions - the goal is that core extensions would be installed +// in the setup routine based on their tags & using the standard extension install api. +// do not try this at home folks. + +return CRM_Core_CodeGen_SqlData::create('civicrm_extension', 'INSERT IGNORE INTO') + ->addDefaults([ + 'type' => 'module', + 'is_active' => 1, + ]) + ->syncColumns('fill', ['full_name' => 'file', 'name' => 'label']) + ->addValues([ + [ + 'full_name' => 'sequentialcreditnotes', + 'name' => 'Sequential credit notes', + ], + [ + 'full_name' => 'greenwich', + 'name' => 'Theme: Greenwich', + ], + [ + 'full_name' => 'eventcart', + 'name' => 'Event cart', + ], + [ + 'full_name' => 'financialacls', + 'name' => 'Financial ACLs', + ], + [ + 'full_name' => 'recaptcha', + 'name' => 'reCAPTCHA', + ], + [ + 'full_name' => 'ckeditor4', + 'name' => 'CKEditor4', + ], + [ + 'full_name' => 'legacycustomsearches', + 'name' => 'Custom search framework', + ], + [ + 'full_name' => 'org.civicrm.flexmailer', + 'name' => 'FlexMailer', + 'file' => 'flexmailer', + ], + + // The following should be kept in sync with the *default* list of components (`enable_components`). + [ + 'full_name' => 'civi_contribute', + 'name' => 'CiviContribute', + ], + [ + 'full_name' => 'civi_event', + 'name' => 'CiviEvent', + ], + [ + 'full_name' => 'civi_mail', + 'name' => 'CiviMail', + ], + [ + 'full_name' => 'civi_member', + 'name' => 'CiviMember', + ], + [ + 'full_name' => 'civi_pledge', + 'name' => 'CiviPledge', + ], + [ + 'full_name' => 'civi_report', + 'name' => 'CiviReport', + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_financial_account.sqldata.php b/civicrm/sql/civicrm_data/civicrm_financial_account.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..cb0b311f20a0d2bdd108f603f55288f8c14ae4d8 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_financial_account.sqldata.php @@ -0,0 +1,138 @@ +<?php + +use CRM_Utils_SQL_Literal as Literal; + +return CRM_Core_CodeGen_SqlData::create('civicrm_financial_account') + ->addDefaults([ + 'contact_id' => new Literal('@contactID'), + 'is_active' => 1, + 'is_reserved' => 0, + ]) + ->addValues([ + [ + 'name' => ts('Donation'), + 'financial_account_type_id' => new Literal('@opval'), + 'description' => 'Default account for donations', + 'accounting_code' => '4200', + 'account_type_code' => 'INC', + 'is_deductible' => 1, + 'is_default' => 1, + ], + [ + 'name' => ts('Member Dues'), + 'financial_account_type_id' => new Literal('@opval'), + 'description' => 'Default account for membership sales', + 'accounting_code' => '4400', + 'account_type_code' => 'INC', + 'is_deductible' => 1, + 'is_default' => 0, + ], + [ + 'name' => ts('Campaign Contribution'), + 'financial_account_type_id' => new Literal('@opval'), + 'description' => 'Sample account for recording payments to a campaign', + 'accounting_code' => '4100', + 'account_type_code' => 'INC', + 'is_deductible' => 0, + 'is_default' => 0, + ], + [ + 'name' => ts('Event Fee'), + 'financial_account_type_id' => new Literal('@opval'), + 'description' => 'Default account for event ticket sales', + 'accounting_code' => '4300', + 'account_type_code' => 'INC', + 'is_deductible' => 0, + 'is_default' => 0, + ], + [ + 'name' => ts('Banking Fees'), + 'financial_account_type_id' => new Literal('@opexp'), + 'description' => 'Payment processor fees and manually recorded banking fees', + 'accounting_code' => '5200', + 'account_type_code' => 'EXP', + 'is_deductible' => 0, + 'is_default' => 1, + ], + [ + 'name' => ts('Deposit Bank Account'), + 'financial_account_type_id' => new Literal('@opAsset'), + 'description' => 'All manually recorded cash and cheques go to this account', + 'accounting_code' => '1100', + 'account_type_code' => 'BANK', + 'is_deductible' => 0, + 'is_default' => 1, + ], + [ + 'name' => ts('Accounts Receivable'), + 'financial_account_type_id' => new Literal('@opAsset'), + 'description' => 'Amounts to be received later (eg pay later event revenues)', + 'accounting_code' => '1200', + 'account_type_code' => 'AR', + 'is_deductible' => 0, + 'is_default' => 0, + ], + [ + 'name' => ts('Accounts Payable'), + 'financial_account_type_id' => new Literal('@opLiability'), + 'description' => 'Amounts to be paid out such as grants and refunds', + 'accounting_code' => '2200', + 'account_type_code' => 'AP', + 'is_deductible' => 0, + 'is_default' => 1, + ], + [ + 'name' => ts('Premiums'), + 'financial_account_type_id' => new Literal('@opCost'), + 'description' => 'Account to record cost of premiums provided to payors', + 'accounting_code' => '5100', + 'account_type_code' => 'COGS', + 'is_deductible' => 0, + 'is_default' => 1, + ], + [ + 'name' => ts('Premiums inventory'), + 'financial_account_type_id' => new Literal('@opAsset'), + 'description' => 'Account representing value of premiums inventory', + 'accounting_code' => '1375', + 'account_type_code' => 'OCASSET', + 'is_deductible' => 0, + 'is_default' => 0, + ], + [ + 'name' => ts('Discounts'), + 'financial_account_type_id' => new Literal('@opval'), + 'description' => 'Contra-revenue account for amounts discounted from sales', + 'accounting_code' => '4900', + 'account_type_code' => 'INC', + 'is_deductible' => 0, + 'is_default' => 0, + ], + [ + 'name' => ts('Payment Processor Account'), + 'financial_account_type_id' => new Literal('@opAsset'), + 'description' => 'Account to record payments into a payment processor merchant account', + 'accounting_code' => '1150', + 'account_type_code' => 'BANK', + 'is_deductible' => 0, + 'is_default' => 0, + ], + [ + 'name' => ts('Deferred Revenue - Event Fee'), + 'financial_account_type_id' => new Literal('@opLiability'), + 'description' => 'Event revenue to be recognized in future months when the events occur', + 'accounting_code' => '2730', + 'account_type_code' => 'OCLIAB', + 'is_deductible' => 0, + 'is_default' => 0, + ], + [ + 'name' => ts('Deferred Revenue - Member Dues'), + 'financial_account_type_id' => new Literal('@opLiability'), + 'description' => 'Membership revenue to be recognized in future months', + 'accounting_code' => '2740', + 'account_type_code' => 'OCLIAB', + 'is_deductible' => 0, + 'is_default' => 0, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_financial_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_financial_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..e823d697230f076afa4ba3e3e0129d0330524439 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_financial_type.sqldata.php @@ -0,0 +1,12 @@ +<?php +return CRM_Core_CodeGen_SqlData::create('civicrm_financial_type') + ->addValueTable(['name', 'is_deductible'], [ + [ts('Donation'), 1], + [ts('Member Dues'), 1], + [ts('Campaign Contribution'), 0], + [ts('Event Fee'), 0], + ]) + ->addDefaults([ + 'is_reserved' => 0, + 'is_active' => 1, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_job.sqldata.php b/civicrm/sql/civicrm_data/civicrm_job.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..1bf00ed20e54bd70a3e9722232a2d92d602703fd --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_job.sqldata.php @@ -0,0 +1,171 @@ +<?php +// CRM-8358 +return CRM_Core_CodeGen_SqlData::create('civicrm_job') + ->addDefaults([ + 'domain_id' => new CRM_Utils_SQL_Literal('@domainID'), + 'last_run' => NULL, + ]) + ->addValues([ + [ + 'run_frequency' => 'Daily', + 'name' => 'CiviCRM Update Check', + 'description' => 'Checks for CiviCRM version updates. Important for keeping the database secure. Also sends anonymous usage statistics to civicrm.org to to assist in prioritizing ongoing development efforts.', + // FIXME: "to to" + 'api_entity' => 'job', + 'api_action' => 'version_check', + 'parameters' => NULL, + 'is_active' => 1, + ], + [ + 'run_frequency' => 'Always', + 'name' => 'Send Scheduled Mailings', + 'description' => 'Sends out scheduled CiviMail mailings', + 'api_entity' => 'job', + 'api_action' => 'process_mailing', + 'parameters' => NULL, + 'is_active' => 0, + ], + [ + 'run_frequency' => 'Hourly', + 'name' => 'Fetch Bounces', + 'description' => 'Fetches bounces from mailings and writes them to mailing statistics', + 'api_entity' => 'job', + 'api_action' => 'fetch_bounces', + 'parameters' => NULL, + 'is_active' => 0, + ], + [ + 'run_frequency' => 'Hourly', + 'name' => 'Process Inbound Emails', + 'description' => 'Inserts activity for a contact or a case by retrieving inbound emails from a mail directory', + 'api_entity' => 'job', + 'api_action' => 'fetch_activities', + 'parameters' => NULL, + 'is_active' => 0, + ], + [ + 'run_frequency' => 'Daily', + 'name' => 'Process Pledges', + 'description' => 'Updates pledge records and sends out reminders', + 'api_entity' => 'job', + 'api_action' => 'process_pledge', + 'parameters' => 'send_reminders=[1 or 0] optional- 1 to send payment reminders', + 'is_active' => 0, + ], + [ + 'run_frequency' => 'Daily', + 'name' => 'Geocode and Parse Addresses', + 'description' => 'Retrieves geocodes (lat and long) and / or parses street addresses (populates street number, street name, etc.)', + 'api_entity' => 'job', + 'api_action' => 'geocode', + 'parameters' => 'geocoding=[1 or 0] required +parse=[1 or 0] required +start=[contact ID] optional-begin with this contact ID +end=[contact ID] optional-process contacts with IDs less than this +throttle=[1 or 0] optional-1 adds five second sleep', + 'is_active' => 0, + ], + [ + 'run_frequency' => 'Daily', + 'name' => 'Update Greetings and Addressees', + 'description' => 'Goes through contact records and updates email and postal greetings, or addressee value', + 'api_entity' => 'job', + 'api_action' => 'update_greeting', + 'parameters' => 'ct=[Individual or Household or Organization] required +gt=[email_greeting or postal_greeting or addressee] required +force=[0 or 1] optional-0 update contacts with null value, 1 update all +limit=Number optional-Limit the number of contacts to update', + 'is_active' => 0, + ], + [ + 'run_frequency' => 'Daily', + 'name' => 'Mail Reports', + 'description' => 'Generates and sends out reports via email', + 'api_entity' => 'job', + 'api_action' => 'mail_report', + 'parameters' => 'instanceId=[ID of report instance] required +format=[csv or print] optional-output CSV or print-friendly HTML, else PDF', + 'is_active' => 0, + ], + [ + 'run_frequency' => 'Hourly', + 'name' => 'Send Scheduled Reminders', + 'description' => 'Sends out scheduled reminders via email', + 'api_entity' => 'job', + 'api_action' => 'send_reminder', + 'parameters' => NULL, + 'is_active' => 0, + ], + [ + 'run_frequency' => 'Always', + 'name' => 'Update Participant Statuses', + 'description' => 'Updates pending event participant statuses based on time', + 'api_entity' => 'job', + 'api_action' => 'process_participant', + 'parameters' => NULL, + 'is_active' => 0, + ], + [ + 'run_frequency' => 'Daily', + 'name' => 'Update Membership Statuses', + 'description' => 'Updates membership statuses. WARNING: Membership renewal reminders have been migrated to the Schedule Reminders functionality, which supports multiple renewal reminders.', + 'api_entity' => 'job', + 'api_action' => 'process_membership', + 'parameters' => NULL, + 'is_active' => 0, + ], + [ + 'run_frequency' => 'Always', + 'name' => 'Process Survey Respondents', + 'description' => 'Releases reserved survey respondents when they have been reserved for longer than the Release Frequency days specified for that survey.', + 'api_entity' => 'job', + 'api_action' => 'process_respondent', + 'parameters' => NULL, + 'is_active' => 0, + ], + [ + 'run_frequency' => 'Hourly', + 'name' => 'Clean-up Temporary Data and Files', + 'description' => 'Removes temporary data and files, and clears old data from cache tables. Recommend running this job every hour to help prevent database and file system bloat.', + 'api_entity' => 'job', + 'api_action' => 'cleanup', + 'parameters' => NULL, + 'is_active' => 0, + ], + [ + 'run_frequency' => 'Always', + 'name' => 'Send Scheduled SMS', + 'description' => 'Sends out scheduled SMS', + 'api_entity' => 'job', + 'api_action' => 'process_sms', + 'parameters' => NULL, + 'is_active' => 0, + ], + [ + 'run_frequency' => 'Always', + 'name' => 'Rebuild Smart Group Cache', + 'description' => 'Rebuilds the smart group cache.', + 'api_entity' => 'job', + 'api_action' => 'group_rebuild', + 'parameters' => 'limit=Number optional-Limit the number of smart groups rebuild', + 'is_active' => 0, + ], + [ + 'run_frequency' => 'Daily', + 'name' => 'Disable expired relationships', + 'description' => 'Disables relationships that have expired (ie. those relationships whose end date is in the past).', + 'api_entity' => 'job', + 'api_action' => 'disable_expired_relationships', + 'parameters' => NULL, + 'is_active' => 0, + ], + [ + 'run_frequency' => 'Daily', + 'name' => 'Validate Email Address from Mailings.', + 'description' => 'Updates the reset_date on an email address to indicate that there was a valid delivery to this email address.', + 'api_entity' => 'mailing', + 'api_action' => 'update_email_resetdate', + 'parameters' => 'minDays, maxDays=Consider mailings that have completed between minDays and maxDays', + 'is_active' => 0, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_location_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_location_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..4753ed7599afb4fd6e4eb80ffd449901689d020e --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_location_type.sqldata.php @@ -0,0 +1,50 @@ +<?php + +return CRM_Core_CodeGen_SqlData::create('civicrm_location_type') + ->addValues([ + // CRM-9120 for legacy reasons we are continuing to translate the 'name', but this + // field is used mainly as an ID, and display_name will be shown to the user, but + // we have not yet finished modifying all places where the 'name' is shown. + [ + 'name' => ts('Home'), + 'display_name' => ts('Home'), + 'vcard_name' => 'HOME', + 'description' => ts('Place of residence'), + 'is_reserved' => 0, + 'is_default' => 1, + ], + [ + 'name' => ts('Work'), + 'display_name' => ts('Work'), + 'vcard_name' => 'WORK', + 'description' => ts('Work location'), + 'is_reserved' => 0, + ], + [ + 'name' => ts('Main'), + 'display_name' => ts('Main'), + 'vcard_name' => NULL, + 'description' => ts('Main office location'), + 'is_reserved' => 0, + ], + [ + 'name' => ts('Other'), + 'display_name' => ts('Other'), + 'vcard_name' => NULL, + 'description' => ts('Other location'), + 'is_reserved' => 0, + ], + // -- the following location must stay with the untranslated Billing name, CRM-2064 + [ + 'name' => 'Billing', + 'display_name' => ts('Billing'), + 'vcard_name' => NULL, + 'description' => ts('Billing Address location'), + 'is_reserved' => 1, + ], + ]) + ->addDefaults([ + 'is_active' => 1, + 'is_default' => NULL, + // FIXME: Doesn't 0 make more sense than NULL? + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/AOL.sqldata.php b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/AOL.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..c22d64b26582b3d73841a1e207aba4263029c836 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/AOL.sqldata.php @@ -0,0 +1,9 @@ +<?php +return CRM_Core_CodeGen_BounceType::create('AOL') + ->addMetadata([ + 'description' => ts('AOL Terms of Service complaint'), + 'hold_threshold' => 1, + ]) + ->addValueTable(['pattern'], [ + ['Client TOS Notification'], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Away.sqldata.php b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Away.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..8e508635bc85eddb23c90143c97eed55fb45a9d4 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Away.sqldata.php @@ -0,0 +1,10 @@ +<?php +return CRM_Core_CodeGen_BounceType::create('Away') + ->addMetadata([ + 'description' => ts('Recipient is on vacation'), + 'hold_threshold' => 30, + ]) + ->addValueTable(['pattern'], [ + ['(be|am)? (out of|away from) (the|my)? (office|computer|town)'], + ['i am on vacation'], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Dns.sqldata.php b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Dns.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..1bdb64d40bee428e4bf0f257608bc1025292ee8d --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Dns.sqldata.php @@ -0,0 +1,13 @@ +<?php +return CRM_Core_CodeGen_BounceType::create('Dns') + ->addMetadata([ + 'description' => ts('Unable to resolve recipient domain'), + 'hold_threshold' => 3, + ]) + ->addValueTable(['pattern'], [ + ['name(server entry| lookup failure)'], + ['no (mail server|matches to nameserver query|dns entries)'], + ['reverse dns entry'], + ['Host or domain name not found'], + ['Unable to resolve MX record for'], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Host.sqldata.php b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Host.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..916cefc7e2383b6ff2991d07c56c35cc3377e3a9 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Host.sqldata.php @@ -0,0 +1,29 @@ +<?php +return CRM_Core_CodeGen_BounceType::create('Host') + ->addMetadata([ + // FIXME: Typo + 'description' => ts('Unable to deliver to destintation mail server'), + // 'description' => ts('Unable to deliver to destination mail server'), + 'hold_threshold' => 3, + ]) + ->addValueTable(['pattern'], [ + ['(unknown|not local) host'], + ['all hosts have been failing'], + ['allowed rcpthosts'], + ['connection (refused|timed out)'], + ['not connected'], + ['couldn\'t find any host named'], + ['error involving remote host'], + ['host unknown'], + ['invalid host name'], + ['isn\'t in my control/locals file'], + ['local configuration error'], + ['not a gateway'], + ['server is (down or unreachable|not responding)'], + ['too many connections'], + ['unable to connect'], + ['lost connection'], + ['conversation with [^ ]* timed out while'], + ['server requires authentication'], + ['authentication (is )?required'], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Inactive.sqldata.php b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Inactive.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..aa45415f58e7e15ae3d0de1879a357f2d20abf59 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Inactive.sqldata.php @@ -0,0 +1,30 @@ +<?php +return CRM_Core_CodeGen_BounceType::create('Inactive') + ->addMetadata([ + 'description' => ts('User account is no longer active'), + 'hold_threshold' => 1, + ]) + ->addValueTable(['pattern'], [ + ['(my )?e-?mail( address)? has changed'], + ['account (inactive|expired|deactivated)'], + ['account is locked'], + + // FIXME: In the old SQL, the "\" in "\w" didn't get through. We're probably loading the wrong data. + // ['changed \w+( e-?mail)? address'], + ['changed w+( e-?mail)? address'], + + ['deactivated mailbox'], + ['disabled or discontinued'], + ['inactive user'], + ['is inactive on this domain'], + ['mail receiving disabled'], + ['mail( ?)address is administrative?ly disabled'], + ['mailbox (temporarily disabled|currently suspended)'], + ['no longer (accepting mail|on server|in use|with|employed|on staff|works for|using this account)'], + ['not accepting (mail|messages)'], + ['please use my new e-?mail address'], + ['this address no longer accepts mail'], + ['user account suspended'], + ['account that you tried to reach is disabled'], + ['User banned'], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Invalid.sqldata.php b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Invalid.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..86828e4957876eee13e2fbf9afa23e2cf7572d19 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Invalid.sqldata.php @@ -0,0 +1,65 @@ +<?php +return CRM_Core_CodeGen_BounceType::create('Invalid') + ->addMetadata([ + 'description' => ts('Email address is not valid'), + 'hold_threshold' => 1, + ]) + ->addValueTable(['pattern'], [ + ['(user|recipient( name)?) is not recognized'], + ['554 delivery error'], + ['address does not exist'], + ['address(es)?( you (entered|specified))? (could|was)( not|n.t)( be)? found'], + ['address(ee)? (unknown|invalid)'], + ['bad destination'], + ['badly formatted address'], + ['can\'t open mailbox for'], + ['cannot deliver'], + ['delivery to the following recipient(s)? failed'], + ['destination addresses were unknown'], + ['did not reach the following recipient'], + ['does not exist'], + ['does not like recipient'], + ['does not specify a valid notes mail file'], + ['illegal alias'], + ['invalid (mailbox|(e-?mail )?address|recipient|final delivery)'], + ['invalid( or unknown)?( virtual)? user'], + ['(mail )?delivery (to this user )?is not allowed'], + ['mailbox (not found|unavailable|name not allowed)'], + ['message could not be forwarded'], + ['missing or malformed local(-| )part'], + ['no e-?mail address registered'], + ['no such (mail drop|mailbox( \\w+)?|(e-?mail )?address|recipient|(local )?user|person)( here)?'], + ['no mailbox (here )?by that name'], + ['not (listed in|found in directory|known at this site|our customer)'], + ['not a valid( (user|mailbox))?'], + ['not present in directory entry'], + ['recipient (does not exist|(is )?unknown|rejected|denied|not found)'], + ['this user doesn\'t have a yahoo.com address'], + ['unavailable to take delivery of the message'], + ['unavailable mailbox'], + ['unknown (local( |-)part|recipient|address error)'], + ['unknown( or illegal)? user( account)?'], + ['unrecognized recipient'], + ['unregistered address'], + ['user (unknown|(does not|doesn\'t) exist)'], + + // FIXME: In the old SQL, the "\" in "\w" didn't get through. We're probably loading the wrong data. + // ['user doesn\'t have an? \w+ account'], + ['user doesn\'t have an? w+ account'], + + ['user(\'s e-?mail name is)? not found'], + ['^Validation failed for:'], + ['5.1.0 Address rejected'], + ['no valid recipients?'], + ['RecipNotFound'], + ['no one at this address'], + ['misconfigured forwarding address'], + ['account is not allowed'], + ['Address .<[^>]*>. not known here'], + ['Recipient address rejected: ([a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,}'], + ['Non sono riuscito a trovare l.indirizzo e-mail'], + ['nadie con esta direcci..?n'], + ['ni bilo mogo..?e najti prejemnikovega e-po..?tnega naslova'], + ['Elektronski naslov (je ukinjen|ne obstaja)'], + ['nepravilno nastavljen predal'], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Loop.sqldata.php b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Loop.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..a1e9ca9b39b02ac2da5340af2c6ed9bec47768bd --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Loop.sqldata.php @@ -0,0 +1,14 @@ +<?php +return CRM_Core_CodeGen_BounceType::create('Loop') + ->addMetadata([ + 'description' => ts('Mail routing error'), + 'hold_threshold' => 3, + ]) + ->addValueTable(['pattern'], [ + ['(mail( forwarding)?|routing).loop'], + ['excessive recursion'], + ['loop detected'], + ['maximum hop count exceeded'], + ['message was forwarded more than the maximum allowed times'], + ['too many (hops|recursive forwards)'], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Quota.sqldata.php b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Quota.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..d1ab5d8139ee1fe66143d5b63b5b4fdb9a6f7835 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Quota.sqldata.php @@ -0,0 +1,25 @@ +<?php +return CRM_Core_CodeGen_BounceType::create('Quota') + ->addMetadata([ + 'description' => ts('User inbox is full'), + 'hold_threshold' => 3, + ]) + ->addValueTable(['pattern'], [ + ['(disk(space)?|over the allowed|exceed(ed|s)?|storage) quota'], + ['522_mailbox_full'], + ['exceeds allowed message count'], + ['file too large'], + ['full mailbox'], + ['(mail|in)(box|folder) ((for user \\w+ )?is )?full'], + ['mailbox (has exceeded|is over) the limit'], + ['mailbox( exceeds allowed)? size'], + ['no space left for this user'], + ['over\\s?quota'], + ['quota (for the mailbox )?has been exceeded'], + ['quota ?(usage|violation|exceeded)'], + ['recipient storage full'], + ['not able to receive more mail'], + ['doesn.t have enough disk space left'], + ['exceeded storage allocation'], + ['running out of disk space'], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Relay.sqldata.php b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Relay.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..f7ba7380fd1e7cc4925273ed4688476916055365 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Relay.sqldata.php @@ -0,0 +1,22 @@ +<?php +return CRM_Core_CodeGen_BounceType::create('Relay') + ->addMetadata([ + 'description' => ts('Unable to reach destination mail server'), + 'hold_threshold' => 3, + ]) + ->addValueTable(['pattern'], [ + ['cannot find your hostname'], + ['ip name lookup'], + ['not configured to relay mail'], + ['relay(ing)? (not permitted|(access )?denied)'], + ['relayed mail to .+? not allowed'], + ['sender ip must resolve'], + ['unable to relay'], + ['No route to host'], + ['Network is unreachable'], + ['unrouteable address'], + ['We don.t handle mail for'], + ['we do not relay'], + ['Rejected by next-hop'], + ['not permitted to( *550)? relay through this server'], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Spam.sqldata.php b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Spam.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..a68a52dfcfb3f40dac537a89286777684849e293 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Spam.sqldata.php @@ -0,0 +1,39 @@ +<?php +return CRM_Core_CodeGen_BounceType::create('Spam') + ->addMetadata([ + 'description' => ts('Message caught by a content filter'), + 'hold_threshold' => 1, + ]) + ->addValueTable(['pattern'], [ + ['(bulk( e-?mail)|content|attachment blocking|virus|mail system) filters?'], + ['(hostile|questionable|unacceptable) content'], + ['address .+? has not been verified'], + + // FIXME: In the old SQL, the "\" in "\w" didn't get through. We're probably loading the wrong data. + // ['anti-?spam (polic\w+|software)'], + ['anti-?spam (policw+|software)'], + + ['anti-?virus gateway has detected'], + ['blacklisted'], + ['blocked message'], + ['content control'], + ['delivery not authorized'], + ['does not conform to our e-?mail policy'], + ['excessive spam content'], + ['message looks suspicious'], + ['open relay'], + ['sender was rejected'], + ['spam(check| reduction software| filters?)'], + ['blocked by a user configured filter'], + ['(detected|rejected) (as|due to) spam'], + ['X-HmXmrOriginalRecipient'], + ['Client host .[^ ]*. blocked'], + ['automatic(ally-generated)? messages are not accepted'], + ['denied by policy'], + ['has no corresponding reverse \\(PTR\\) address'], + ['has a policy that( [^ ]*)? prohibited the mail that you sent'], + ['is likely unsolicited mail'], + ['Local Policy Violation'], + ['ni bilo mogo..?e dostaviti zaradi varnostnega pravilnika'], + ['abuse report'], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Syntax.sqldata.php b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Syntax.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..a2ddd206ca528f1c247ce692ac4e654b6a0f6f55 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_mailing_bounce_type/Syntax.sqldata.php @@ -0,0 +1,11 @@ +<?php +return CRM_Core_CodeGen_BounceType::create('Syntax') + ->addMetadata([ + 'description' => ts('Error in SMTP transaction'), + 'hold_threshold' => 3, + ]) + ->addValueTable(['pattern'], [ + ['nonstandard smtp line terminator'], + ['syntax error in from address'], + ['unknown smtp code'], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_mailing_component.sqldata.php b/civicrm/sql/civicrm_data/civicrm_mailing_component.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..bd1283618a67b4144151a30d93966cb45011b53e --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_mailing_component.sqldata.php @@ -0,0 +1,98 @@ +<?php + +$subgroup = '{subscribe.group}'; +$suburl = '{subscribe.url}'; +$welgroup = '{welcome.group}'; +$unsubgroup = '{unsubscribe.group}'; +$actresub = '{action.resubscribe}'; +$actresuburl = '{action.resubscribeUrl}'; +$resubgroup = '{resubscribe.group}'; +$actunsub = '{action.unsubscribe}'; +$actunsuburl = '{action.unsubscribeUrl}'; +$domname = '{domain.name}'; + +return CRM_Core_CodeGen_SqlData::create('civicrm_mailing_component') + ->addValues([ + [ + 'name' => ts('Mailing Header'), + "component_type" => 'Header', + 'subject' => ts('Descriptive Title for this Header'), + 'body_html' => ts('Sample Header for HTML formatted content.'), + 'body_text' => ts('Sample Header for TEXT formatted content.'), + ], + [ + 'name' => ts("Mailing Footer"), + "component_type" => "Footer", + 'subject' => ts("Descriptive Title for this Footer."), + 'body_html' => ts('Sample Footer for HTML formatted content<br/><a href="{action.optOutUrl}">Unsubscribe</a> <br/> {domain.address}'), + 'body_text' => ts("to unsubscribe: {action.optOutUrl}\n{domain.address}"), + ], + [ + 'name' => ts('Subscribe Message'), + "component_type" => 'Subscribe', + 'subject' => ts('Subscription Confirmation Request'), + 'body_html' => ts("You have a pending subscription to the %1 mailing list. To confirm this subscription, reply to this email or click <a href=\"%2\">here</a>.", [ + 1 => $subgroup, + 2 => $suburl, + ]), + 'body_text' => ts('You have a pending subscription to the %1 mailing list. To confirm this subscription, reply to this email or click on this link: %2', [ + 1 => $subgroup, + 2 => $suburl, + ]), + ], + [ + 'name' => ts('Welcome Message'), + "component_type" => 'Welcome', + 'subject' => ts('Your Subscription has been Activated'), + 'body_html' => ts('Welcome. Your subscription to the %1 mailing list has been activated.', [1 => $welgroup]), + 'body_text' => ts('Welcome. Your subscription to the %1 mailing list has been activated.', [1 => $welgroup]), + ], + [ + 'name' => ts('Unsubscribe Message'), + 'component_type' => 'Unsubscribe', + 'subject' => ts('Un-subscribe Confirmation'), + 'body_html' => ts("You have been un-subscribed from the following groups: %1. You can re-subscribe by mailing %2 or clicking <a href=\"%3\">here</a>.", [ + 1 => $unsubgroup, + 2 => $actresub, + 3 => $actresuburl, + ]), + 'body_text' => ts('You have been un-subscribed from the following groups: %1. You can re-subscribe by mailing %2 or clicking %3', [ + 1 => $unsubgroup, + 2 => $actresub, + 3 => $actresuburl, + ]), + ], + [ + 'name' => ts('Resubscribe Message'), + 'component_type' => 'Resubscribe', + 'subject' => ts('Re-subscribe Confirmation'), + 'body_html' => ts('You have been re-subscribed to the following groups: %1. You can un-subscribe by mailing %2 or clicking <a href="%3">here</a>.', [ + 1 => $resubgroup, + 2 => $actunsub, + 3 => $actunsuburl, + ]), + 'body_text' => ts('You have been re-subscribed to the following groups: %1. You can un-subscribe by mailing %2 or clicking %3', [ + 1 => $resubgroup, + 2 => $actunsub, + 3 => $actunsuburl, + ]), + ], + [ + 'name' => ts('Opt-out Message'), + 'component_type' => 'OptOut', + 'subject' => ts('Opt-out Confirmation'), + 'body_html' => ts('Your email address has been removed from %1 mailing lists.', [1 => $domname]), + 'body_text' => ts('Your email address has been removed from %1 mailing lists.', [1 => $domname]), + ], + [ + 'name' => ts('Auto-responder'), + 'component_type' => 'Reply', + 'subject' => ts('Please Send Inquiries to Our Contact Email Address'), + 'body_html' => ts('This is an automated reply from an un-attended mailbox. Please send any inquiries to the contact email address listed on our web-site.'), + 'body_text' => ts('This is an automated reply from an un-attended mailbox. Please send any inquiries to the contact email address listed on our web-site.'), + ], + ]) + ->addDefaults([ + 'is_default' => 1, + 'is_active' => 1, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_membership_status.sqldata.php b/civicrm/sql/civicrm_data/civicrm_membership_status.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..22e7431edbaf69cc2b8e51375363ac50a047d794 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_membership_status.sqldata.php @@ -0,0 +1,117 @@ +<?php + +return CRM_Core_CodeGen_SqlData::create('civicrm_membership_status') + ->addValues([ + [ + 'name' => 'New', + 'label' => ts('New'), + 'start_event' => 'join_date', + 'start_event_adjust_unit' => NULL, + 'start_event_adjust_interval' => NULL, + 'end_event' => 'join_date', + 'end_event_adjust_unit' => 'month', + 'end_event_adjust_interval' => 3, + 'is_current_member' => 1, + 'is_admin' => 0, + 'weight' => 1, + 'is_default' => 0, + 'is_active' => 1, + 'is_reserved' => 0, + ], + [ + 'name' => 'Current', + 'label' => ts('Current'), + 'start_event' => 'start_date', + 'start_event_adjust_unit' => NULL, + 'start_event_adjust_interval' => NULL, + 'end_event' => 'end_date', + 'end_event_adjust_unit' => NULL, + 'end_event_adjust_interval' => NULL, + 'is_current_member' => 1, + 'is_admin' => 0, + 'weight' => 2, + 'is_default' => 1, + 'is_active' => 1, + 'is_reserved' => 0, + ], + [ + 'name' => 'Grace', + 'label' => ts('Grace'), + 'start_event' => 'end_date', + 'start_event_adjust_unit' => NULL, + 'start_event_adjust_interval' => NULL, + 'end_event' => 'end_date', + 'end_event_adjust_unit' => 'month', + 'end_event_adjust_interval' => 1, + 'is_current_member' => 1, + 'is_admin' => 0, + 'weight' => 3, + 'is_default' => 0, + 'is_active' => 1, + 'is_reserved' => 0, + ], + [ + 'name' => 'Expired', + 'label' => ts('Expired'), + 'start_event' => 'end_date', + 'start_event_adjust_unit' => 'month', + 'start_event_adjust_interval' => 1, + 'end_event' => NULL, + 'end_event_adjust_unit' => NULL, + 'end_event_adjust_interval' => NULL, + 'is_current_member' => 0, + 'is_admin' => 0, + 'weight' => 4, + 'is_default' => 0, + 'is_active' => 1, + 'is_reserved' => 0, + ], + [ + 'name' => 'Pending', + 'label' => ts('Pending'), + 'start_event' => 'join_date', + 'start_event_adjust_unit' => NULL, + 'start_event_adjust_interval' => NULL, + 'end_event' => 'join_date', + 'end_event_adjust_unit' => NULL, + 'end_event_adjust_interval' => NULL, + 'is_current_member' => 0, + 'is_admin' => 0, + 'weight' => 5, + 'is_default' => 0, + 'is_active' => 1, + 'is_reserved' => 1, + ], + [ + 'name' => 'Cancelled', + 'label' => ts('Cancelled'), + 'start_event' => 'join_date', + 'start_event_adjust_unit' => NULL, + 'start_event_adjust_interval' => NULL, + 'end_event' => 'join_date', + 'end_event_adjust_unit' => NULL, + 'end_event_adjust_interval' => NULL, + 'is_current_member' => 0, + 'is_admin' => 0, + 'weight' => 6, + 'is_default' => 0, + 'is_active' => 1, + 'is_reserved' => 1, + ], + [ + 'name' => 'Deceased', + 'label' => ts('Deceased'), + 'start_event' => NULL, + 'start_event_adjust_unit' => NULL, + 'start_event_adjust_interval' => NULL, + 'end_event' => NULL, + 'end_event_adjust_unit' => NULL, + 'end_event_adjust_interval' => NULL, + 'is_current_member' => 0, + 'is_admin' => 1, + 'weight' => 7, + 'is_default' => 0, + 'is_active' => 1, + 'is_reserved' => 1, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group.php b/civicrm/sql/civicrm_data/civicrm_option_group.php new file mode 100644 index 0000000000000000000000000000000000000000..ea0e4594ce0814d6beb42f0af1e0594e61c630bd --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group.php @@ -0,0 +1,14 @@ +<?php + +$readOptionGroups = function (): array { + $files = (array) glob(__DIR__ . '/civicrm_option_group/*.sqldata.php'); + $result = []; + foreach ($files as $file) { + $basename = preg_replace('/\.sqldata\.php$/', '', basename($file)); + $result[$basename] = include $file; + } + uasort($result, ['CRM_Core_CodeGen_OptionGroup', 'compare']); + return $result; +}; + +return $readOptionGroups(); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/accept_creditcard.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/accept_creditcard.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..5a79615e28d1716afe07645f2521cd7bbaaf7aac --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/accept_creditcard.sqldata.php @@ -0,0 +1,13 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('accept_creditcard', 'a/0009') + ->addMetadata([ + 'title' => ts('Accepted Credit Cards'), + 'description' => ts('The following credit card options will be offered to contributors using Online Contribution pages. You will need to verify which cards are accepted by your chosen Payment Processor and update these entries accordingly.') . ts('IMPORTANT: These options do not control credit card/payment method choices for sites and/or contributors using the PayPal Express service (e.g. where billing information is collected on the Payment Processor\\\'s website).'), + ]) + ->addValueTable(['name', 'value'], [ + ['Visa', 1], + ['MasterCard', 2], + ['Amex', 3], + ['Discover', 4], + ]) + ->syncColumns('fill', ['name' => 'label']); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/account_relationship.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/account_relationship.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..4a3a9a68e9c93493225ee78c04a7d5914b7292e8 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/account_relationship.sqldata.php @@ -0,0 +1,105 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('account_relationship', 'a/0061') + ->addMetadata([ + 'title' => ts('Account Relationship'), + ]) + ->addValues([ + [ + 'label' => ts('Income Account is'), + 'value' => 1, + 'name' => 'Income Account is', + 'is_default' => 1, + 'description' => 'Income Account is', + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Credit/Contra Revenue Account is'), + 'value' => 2, + 'name' => 'Credit/Contra Revenue Account is', + 'description' => 'Credit/Contra Revenue Account is', + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Accounts Receivable Account is'), + 'value' => 3, + 'name' => 'Accounts Receivable Account is', + 'description' => 'Accounts Receivable Account is', + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Credit Liability Account is'), + 'value' => 4, + 'name' => 'Credit Liability Account is', + 'description' => 'Credit Liability Account is', + 'is_reserved' => 1, + 'is_active' => 0, + 'component_id' => 2, + ], + [ + 'label' => ts('Expense Account is'), + 'value' => 5, + 'name' => 'Expense Account is', + 'description' => 'Expense Account is', + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Asset Account is'), + 'value' => 6, + 'name' => 'Asset Account is', + 'description' => 'Asset Account is', + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Cost of Sales Account is'), + 'value' => 7, + 'name' => 'Cost of Sales Account is', + 'description' => 'Cost of Sales Account is', + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Premiums Inventory Account is'), + 'value' => 8, + 'name' => 'Premiums Inventory Account is', + 'description' => 'Premiums Inventory Account is', + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Discounts Account is'), + 'value' => 9, + 'name' => 'Discounts Account is', + 'description' => 'Discounts Account is', + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Sales Tax Account is'), + 'value' => 10, + 'name' => 'Sales Tax Account is', + 'description' => 'Sales Tax Account is', + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Chargeback Account is'), + 'value' => 11, + 'name' => 'Chargeback Account is', + 'description' => 'Chargeback Account is', + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Deferred Revenue Account is'), + 'value' => 12, + 'name' => 'Deferred Revenue Account is', + 'description' => 'Deferred Revenue Account is', + 'is_reserved' => 1, + 'component_id' => 2, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/acl_role.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/acl_role.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..4caadde9cc3ef35275d9275ac40f5eefd19e1531 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/acl_role.sqldata.php @@ -0,0 +1,18 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('acl_role', 'a/0008') + ->addMetadata([ + 'title' => ts('ACL Role'), + ]) + ->addValues([ + [ + 'label' => ts('Administrator'), + 'value' => 1, + 'name' => 'Admin', + ], + [ + 'label' => ts('Authenticated'), + 'value' => 2, + 'name' => 'Auth', + 'is_reserved' => 1, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/activity_contacts.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/activity_contacts.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..8b54ea586707edfed1d8cb4d8a3d5e620c52dcd7 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/activity_contacts.sqldata.php @@ -0,0 +1,11 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('activity_contacts', 'a/0060') + ->addMetadata([ + 'title' => ts('Activity Contacts'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value', 'weight'], [ + [ts('Activity Assignees'), 'Activity Assignees', 1, 3], + [ts('Activity Source'), 'Activity Source', 2, 2], + [ts('Activity Targets'), 'Activity Targets', 3, 1], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/activity_default_assignee.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/activity_default_assignee.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..c8021926cc0368f6cc1f32d5f1424c7894f7fb37 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/activity_default_assignee.sqldata.php @@ -0,0 +1,32 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('activity_default_assignee', 'a/0082') + ->addMetadata([ + 'title' => ts('Activity default assignee'), + ]) + ->addValues([ + [ + 'label' => ts('None'), + 'value' => 1, + 'name' => 'NONE', + 'is_default' => 1, + 'weight' => 1, + ], + [ + 'label' => ts('By relationship to case client'), + 'value' => 2, + 'name' => 'BY_RELATIONSHIP', + 'weight' => 1, + ], + [ + 'label' => ts('Specific contact'), + 'value' => 3, + 'name' => 'SPECIFIC_CONTACT', + 'weight' => 1, + ], + [ + 'label' => ts('User creating the case'), + 'value' => 4, + 'name' => 'USER_CREATING_THE_CASE', + 'weight' => 1, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/activity_status.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/activity_status.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..f27dc1bf19cb9628afe4817f25238dbbc05bdf9e --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/activity_status.sqldata.php @@ -0,0 +1,58 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('activity_status', 'a/0024') + ->addMetadata([ + 'title' => ts('Activity Status'), + 'data_type' => 'Integer', + 'option_value_fields' => 'name,label,description,color', + ]) + ->addValues([ + [ + 'label' => ts('Scheduled'), + 'value' => 1, + 'name' => 'Scheduled', + 'is_default' => 1, + 'is_reserved' => 1, + ], + [ + 'label' => ts('Completed'), + 'value' => 2, + 'name' => 'Completed', + 'filter' => 1, + 'is_reserved' => 1, + ], + [ + 'label' => ts('Cancelled'), + 'value' => 3, + 'name' => 'Cancelled', + 'filter' => 2, + 'is_reserved' => 1, + ], + [ + 'label' => ts('Left Message'), + 'value' => 4, + 'name' => 'Left Message', + ], + [ + 'label' => ts('Unreachable'), + 'value' => 5, + 'name' => 'Unreachable', + 'filter' => 2, + ], + [ + 'label' => ts('Not Required'), + 'value' => 6, + 'name' => 'Not Required', + 'filter' => 2, + ], + [ + 'label' => ts('Available'), + 'value' => 7, + 'name' => 'Available', + ], + [ + 'label' => ts('No-show'), + 'value' => 8, + 'name' => 'No_show', + 'filter' => 2, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/activity_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/activity_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..9f6b191973c1b9bc3db11616c57fa6d087d36282 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/activity_type.sqldata.php @@ -0,0 +1,494 @@ +<?php + +return CRM_Core_CodeGen_OptionGroup::create('activity_type', 'a/0002') + ->addMetadata([ + 'title' => ts('Activity Type'), + 'description' => ts('Activities track interactions with contacts. Some activity types are reserved for use by automated processes, others can be freely configured.'), + 'data_type' => 'Integer', + 'option_value_fields' => 'name,label,description,icon', + ]) + ->addValues([ + [ + 'label' => ts('Meeting'), + 'value' => 1, + 'name' => 'Meeting', + 'is_reserved' => 1, + 'icon' => 'fa-slideshare', + ], + [ + 'label' => ts('Phone Call'), + 'value' => 2, + 'name' => 'Phone Call', + 'is_reserved' => 1, + 'icon' => 'fa-phone', + ], + [ + 'label' => ts('Email'), + 'value' => 3, + 'name' => 'Email', + 'filter' => 1, + 'description' => ts('Email sent.'), + 'is_reserved' => 1, + 'icon' => 'fa-envelope-o', + ], + [ + 'label' => ts('Outbound SMS'), + 'value' => 4, + 'name' => 'SMS', + 'filter' => 1, + 'description' => ts('Text message (SMS) sent.'), + 'is_reserved' => 1, + 'icon' => 'fa-mobile', + ], + [ + 'label' => ts('Event Registration'), + 'value' => 5, + 'name' => 'Event Registration', + 'filter' => 1, + 'description' => ts('Online or offline event registration.'), + 'is_reserved' => 1, + 'component_id' => 1, + ], + [ + 'label' => ts('Contribution'), + 'value' => 6, + 'name' => 'Contribution', + 'filter' => 1, + 'description' => ts('Online or offline contribution.'), + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Membership Signup'), + 'value' => 7, + 'name' => 'Membership Signup', + 'filter' => 1, + 'description' => ts('Online or offline membership signup.'), + 'is_reserved' => 1, + 'component_id' => 3, + ], + [ + 'label' => ts('Membership Renewal'), + 'value' => 8, + 'name' => 'Membership Renewal', + 'filter' => 1, + 'description' => ts('Online or offline membership renewal.'), + 'is_reserved' => 1, + 'component_id' => 3, + ], + [ + 'label' => ts('Tell a Friend'), + 'value' => 9, + 'name' => 'Tell a Friend', + 'filter' => 1, + 'description' => ts('Send information about a contribution campaign or event to a friend.'), + 'is_reserved' => 1, + ], + [ + 'label' => ts('Pledge Acknowledgment'), + 'value' => 10, + 'name' => 'Pledge Acknowledgment', + 'filter' => 1, + 'description' => ts('Send Pledge Acknowledgment.'), + 'is_reserved' => 1, + 'component_id' => 6, + ], + [ + 'label' => ts('Pledge Reminder'), + 'value' => 11, + 'name' => 'Pledge Reminder', + 'filter' => 1, + 'description' => ts('Send Pledge Reminder.'), + 'is_reserved' => 1, + 'component_id' => 6, + ], + [ + 'label' => ts('Inbound Email'), + 'value' => 12, + 'name' => 'Inbound Email', + 'filter' => 1, + 'description' => ts('Inbound Email.'), + 'is_reserved' => 1, + ], + [ + 'label' => ts('Open Case'), + 'value' => 13, + 'name' => 'Open Case', + 'is_reserved' => 1, + 'component_id' => 7, + 'icon' => 'fa-folder-open-o', + 'description' => '', + ], + [ + 'label' => ts('Follow up'), + 'value' => 14, + 'name' => 'Follow up', + 'is_reserved' => 1, + 'component_id' => 7, + 'icon' => 'fa-share-square-o', + 'description' => '', + ], + [ + 'label' => ts('Change Case Type'), + 'value' => 15, + 'name' => 'Change Case Type', + 'is_reserved' => 1, + 'component_id' => 7, + 'icon' => 'fa-random', + 'description' => '', + ], + [ + 'label' => ts('Change Case Status'), + 'value' => 16, + 'name' => 'Change Case Status', + 'is_reserved' => 1, + 'component_id' => 7, + 'icon' => 'fa-pencil-square-o', + 'description' => '', + ], + [ + 'label' => ts('Change Case Subject'), + 'value' => 53, + 'name' => 'Change Case Subject', + 'is_reserved' => 1, + 'component_id' => 7, + 'icon' => 'fa-pencil-square-o', + 'description' => '', + ], + [ + 'label' => ts('Change Custom Data'), + 'value' => 33, + 'name' => 'Change Custom Data', + 'is_reserved' => 1, + 'component_id' => 7, + 'icon' => 'fa-table', + 'description' => '', + ], + [ + 'label' => ts('Membership Renewal Reminder'), + 'value' => 17, + 'name' => 'Membership Renewal Reminder', + 'filter' => 1, + 'description' => ts('offline membership renewal reminder.'), + 'is_reserved' => 1, + 'component_id' => 3, + ], + [ + 'label' => ts('Change Case Start Date'), + 'value' => 18, + 'name' => 'Change Case Start Date', + 'is_reserved' => 1, + 'component_id' => 7, + 'icon' => 'fa-calendar', + 'description' => '', + ], + [ + 'label' => ts('Bulk Email'), + 'value' => 19, + 'name' => 'Bulk Email', + 'filter' => 1, + 'description' => ts('Bulk Email Sent.'), + 'is_reserved' => 1, + ], + [ + 'label' => ts('Assign Case Role'), + 'value' => 20, + 'name' => 'Assign Case Role', + 'is_reserved' => 1, + 'component_id' => 7, + 'icon' => 'fa-user-plus', + 'description' => '', + ], + [ + 'label' => ts('Remove Case Role'), + 'value' => 21, + 'name' => 'Remove Case Role', + 'is_reserved' => 1, + 'component_id' => 7, + 'icon' => 'fa-user-times', + 'description' => '', + ], + [ + 'label' => ts('Print/Merge Document'), + 'value' => 22, + 'name' => 'Print PDF Letter', + 'description' => ts('Export letters and other printable documents.'), + 'is_reserved' => 1, + 'icon' => 'fa-file-pdf-o', + ], + [ + 'label' => ts('Merge Case'), + 'value' => 23, + 'name' => 'Merge Case', + 'is_reserved' => 1, + 'component_id' => 7, + 'icon' => 'fa-compress', + 'description' => '', + ], + [ + 'label' => ts('Reassigned Case'), + 'value' => 24, + 'name' => 'Reassigned Case', + 'is_reserved' => 1, + 'component_id' => 7, + 'icon' => 'fa-user-circle-o', + 'description' => '', + ], + [ + 'label' => ts('Link Cases'), + 'value' => 25, + 'name' => 'Link Cases', + 'is_reserved' => 1, + 'component_id' => 7, + 'icon' => 'fa-link', + 'description' => '', + ], + [ + 'label' => ts('Change Case Tags'), + 'value' => 26, + 'name' => 'Change Case Tags', + 'is_reserved' => 1, + 'component_id' => 7, + 'icon' => 'fa-tags', + 'description' => '', + ], + [ + 'label' => ts('Add Client To Case'), + 'value' => 27, + 'name' => 'Add Client To Case', + // FIXME: Weird weight + 'weight' => 27 - 1, + 'is_reserved' => 1, + 'component_id' => 7, + 'icon' => 'fa-users', + 'description' => '', + ], + [ + 'label' => ts('Survey'), + 'value' => 28, + 'name' => 'Survey', + // FIXME: Weird weight + 'weight' => 28 - 1, + 'is_reserved' => 1, + 'component_id' => 9, + 'description' => '', + ], + [ + 'label' => ts('Canvass'), + 'value' => 29, + 'name' => 'Canvass', + // FIXME: Weird weight + 'weight' => 29 - 1, + 'is_reserved' => 1, + 'component_id' => 9, + 'description' => '', + ], + [ + 'label' => ts('PhoneBank'), + 'value' => 30, + 'name' => 'PhoneBank', + // FIXME: Weird weight + 'weight' => 30 - 1, + 'is_reserved' => 1, + 'component_id' => 9, + 'description' => '', + ], + [ + 'label' => ts('WalkList'), + 'value' => 31, + 'name' => 'WalkList', + // FIXME: Weird weight + 'weight' => 31 - 1, + 'is_reserved' => 1, + 'component_id' => 9, + 'description' => '', + ], + [ + 'label' => ts('Petition Signature'), + 'value' => 32, + 'name' => 'Petition', + // FIXME: Weird weight + 'weight' => 32 - 1, + 'is_reserved' => 1, + 'component_id' => 9, + 'description' => '', + ], + [ + 'label' => ts('Mass SMS'), + 'value' => 34, + 'name' => 'Mass SMS', + 'filter' => 1, + 'weight' => 34, + 'description' => ts('Mass SMS'), + 'is_reserved' => 1, + ], + [ + 'label' => ts('Change Membership Status'), + 'value' => 35, + 'name' => 'Change Membership Status', + 'filter' => 1, + 'weight' => 35, + 'description' => ts('Change Membership Status.'), + 'is_reserved' => 1, + 'component_id' => 3, + ], + [ + 'label' => ts('Change Membership Type'), + 'value' => 36, + 'name' => 'Change Membership Type', + 'filter' => 1, + 'description' => ts('Change Membership Type.'), + 'is_reserved' => 1, + 'component_id' => 3, + ], + [ + 'label' => ts('Cancel Recurring Contribution'), + 'value' => 37, + 'name' => 'Cancel Recurring Contribution', + 'filter' => 1, + 'is_reserved' => 1, + 'component_id' => 2, + 'description' => '', + ], + [ + 'label' => ts('Update Recurring Contribution Billing Details'), + 'value' => 38, + 'name' => 'Update Recurring Contribution Billing Details', + 'filter' => 1, + 'is_reserved' => 1, + 'component_id' => 2, + 'description' => '', + ], + [ + 'label' => ts('Update Recurring Contribution'), + 'value' => 39, + 'name' => 'Update Recurring Contribution', + 'filter' => 1, + 'is_reserved' => 1, + 'component_id' => 2, + 'description' => '', + ], + [ + 'label' => ts('Reminder Sent'), + 'value' => 40, + 'name' => 'Reminder Sent', + 'filter' => 1, + 'is_reserved' => 1, + 'description' => '', + ], + [ + 'label' => ts('Export Accounting Batch'), + 'value' => 41, + 'name' => 'Export Accounting Batch', + 'filter' => 1, + // FIXME: Shouldn't this use ts() + 'description' => 'Export Accounting Batch', + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Create Batch'), + 'value' => 42, + 'name' => 'Create Batch', + 'filter' => 1, + // FIXME: Shouldn't this use ts() + 'description' => 'Create Batch', + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Edit Batch'), + 'value' => 43, + 'name' => 'Edit Batch', + 'filter' => 1, + // FIXME: Shouldn't this use ts() + 'description' => 'Edit Batch', + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('SMS delivery'), + 'value' => 44, + 'name' => 'SMS delivery', + 'filter' => 1, + 'description' => ts('SMS delivery'), + 'is_reserved' => 1, + ], + [ + 'label' => ts('Inbound SMS'), + 'value' => 45, + 'name' => 'Inbound SMS', + 'filter' => 1, + 'description' => ts('Inbound SMS'), + 'is_reserved' => 1, + ], + [ + 'label' => ts('Payment'), + 'value' => 46, + 'name' => 'Payment', + 'filter' => 1, + 'description' => ts('Additional payment recorded for event or membership fee.'), + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Refund'), + 'value' => 47, + 'name' => 'Refund', + 'filter' => 1, + 'description' => ts('Refund recorded for event or membership fee.'), + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Change Registration'), + 'value' => 48, + 'name' => 'Change Registration', + 'filter' => 1, + 'description' => ts('Changes to an existing event registration.'), + 'is_reserved' => 1, + 'component_id' => 1, + ], + [ + 'label' => ts('Downloaded Invoice'), + 'value' => 49, + 'name' => 'Downloaded Invoice', + 'filter' => 1, + 'description' => ts('Downloaded Invoice.'), + 'is_reserved' => 1, + ], + [ + 'label' => ts('Emailed Invoice'), + 'value' => 50, + 'name' => 'Emailed Invoice', + 'filter' => 1, + 'description' => ts('Emailed Invoice.'), + 'is_reserved' => 1, + ], + [ + 'label' => ts('Contact Merged'), + 'value' => 51, + 'name' => 'Contact Merged', + 'filter' => 1, + 'description' => ts('Contact Merged'), + 'is_reserved' => 1, + ], + [ + 'label' => ts('Contact Deleted by Merge'), + 'value' => 52, + 'name' => 'Contact Deleted by Merge', + 'filter' => 1, + 'description' => ts('Contact was merged into another contact'), + 'is_reserved' => 1, + ], + [ + 'label' => ts('Failed Payment'), + 'value' => 54, + 'name' => 'Failed Payment', + 'filter' => 1, + 'description' => ts('Failed Payment'), + 'is_reserved' => 1, + 'component_id' => 2, + ], + ]) + ->syncColumns('fill', ['value' => 'weight']); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/address_options.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/address_options.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..6b83ffc229dbcb5a01a1ea357ee846bbcd2d1d46 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/address_options.sqldata.php @@ -0,0 +1,21 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('address_options', 'a/0021') + ->addMetadata([ + 'title' => ts('Addressing Options'), + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Street Address'), 'street_address', 1], + [ts('Supplemental Address 1'), 'supplemental_address_1', 2], + [ts('Supplemental Address 2'), 'supplemental_address_2', 3], + [ts('Supplemental Address 3'), 'supplemental_address_3', 4], + [ts('City'), 'city', 5], + [ts('Postal Code'), 'postal_code', 6], + [ts('Postal Code Suffix'), 'postal_code_suffix', 7], + [ts('County'), 'county', 8], + [ts('State/Province'), 'state_province', 9], + [ts('Country'), 'country', 10], + [ts('Latitude'), 'geo_code_1', 11], + [ts('Longitude'), 'geo_code_2', 12], + [ts('Address Name'), 'address_name', 13], + [ts('Street Address Parsing'), 'street_address_parsing', 14], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/addressee.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/addressee.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..fa95f1cd827e032ca1b08c221cb9fe3abe9b6807 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/addressee.sqldata.php @@ -0,0 +1,31 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('addressee', 'a/0042') + ->addMetadata([ + 'title' => ts('Addressee Type'), + ]) + ->addValues([ + [ + 'value' => 1, + 'name' => '{contact.prefix_id:label}{ }{contact.first_name}{ }{contact.middle_name}{ }{contact.last_name}{ }{contact.suffix_id:label}', + 'filter' => 1, + 'is_default' => 1, + ], + [ + 'value' => 2, + 'name' => '{contact.household_name}', + 'filter' => 2, + 'is_default' => 1, + ], + [ + 'value' => 3, + 'name' => '{contact.organization_name}', + 'filter' => 3, + 'is_default' => 1, + ], + [ + 'value' => 4, + 'name' => 'Customized', + 'is_reserved' => 1, + ], + ]) + ->syncColumns('fill', ['name' => 'label']); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/advanced_search_options.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/advanced_search_options.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..534802718e4a0648cd0da68e943010e0f1866ee3 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/advanced_search_options.sqldata.php @@ -0,0 +1,24 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('advanced_search_options', 'a/0019') + ->addMetadata([ + 'title' => ts('Advanced Search Options'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value', 'weight'], [ + [ts('Address Fields'), 'location', 1, 1], + [ts('Custom Fields'), 'custom', 2, 2], + [ts('Activities'), 'activity', 3, 4], + [ts('Relationships'), 'relationship', 4, 5], + [ts('Notes'), 'notes', 5, 6], + [ts('Change Log'), 'changeLog', 6, 7], + [ts('Contributions'), 'CiviContribute', 7, 8], + [ts('Memberships'), 'CiviMember', 8, 9], + [ts('Events'), 'CiviEvent', 9, 10], + [ts('Cases'), 'CiviCase', 10, 11], + [ts('Demographics'), 'demographics', 13, 15], + [ts('Pledges'), 'CiviPledge', 15, 17], + [ts('Contact Type'), 'contactType', 16, 18], + [ts('Groups'), 'groups', 17, 19], + [ts('Tags'), 'tags', 18, 20], + [ts('Mailing'), 'CiviMail', 19, 21], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/auto_renew_options.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/auto_renew_options.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..68985a7184ac98a8a6381ac24feb0387fe166310 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/auto_renew_options.sqldata.php @@ -0,0 +1,14 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('auto_renew_options', 'a/0069') + ->addMetadata([ + 'title' => ts('Auto Renew Options'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Renewal Reminder (non-auto-renew memberships only)'), 'Renewal Reminder (non-auto-renew memberships only)', 1], + [ts('Auto-renew Memberships Only'), 'Auto-renew Memberships Only', 2], + [ts('Reminder for Both'), 'Reminder for Both', 3], + ]) + ->addDefaults([ + 'is_default' => NULL, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/batch_mode.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/batch_mode.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..19cfa33a009f239f125374cbf4cea2b720ff173a --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/batch_mode.sqldata.php @@ -0,0 +1,15 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('batch_mode', 'a/0065') + ->addMetadata([ + 'title' => ts('Batch Mode'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value', 'description'], [ + // TODO: Shouldn't we have ts() for these descriptions? + [ts('Manual Batch'), 'Manual Batch', 1, 'Manual Batch'], + [ts('Automatic Batch'), 'Automatic Batch', 2, 'Automatic Batch'], + ]) + ->addDefaults([ + 'is_reserved' => 1, + 'component_id' => 2, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/batch_status.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/batch_status.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..61d1719b22b028bc094839caee59ad39f98f4176 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/batch_status.sqldata.php @@ -0,0 +1,13 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('batch_status', 'a/0066') + ->addMetadata([ + 'title' => ts('Batch Status'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Open'), 'Open', 1], + [ts('Closed'), 'Closed', 2], + [ts('Data Entry'), 'Data Entry', 3], + [ts('Reopened'), 'Reopened', 4], + [ts('Exported'), 'Exported', 5], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/batch_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/batch_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..2278d1ee1b240e97b11d9d3181a391d72e5a4c6b --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/batch_type.sqldata.php @@ -0,0 +1,11 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('batch_type', 'a/0064') + ->addMetadata([ + 'title' => ts('Batch Type'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Contribution'), 'Contribution', 1], + [ts('Membership'), 'Membership', 2], + [ts('Pledge Payment'), 'Pledge Payment', 3], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/campaign_status.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/campaign_status.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..81b78f8fe702c841573eb488c69aa679a3e99a63 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/campaign_status.sqldata.php @@ -0,0 +1,14 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('campaign_status', 'a/0052') + ->addMetadata([ + 'title' => ts('Campaign Status'), + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Planned'), 'Planned', 1], + [ts('In Progress'), 'In Progress', 2], + [ts('Completed'), 'Completed', 3], + [ts('Cancelled'), 'Cancelled', 4], + ]) + ->addDefaults([ + 'weight' => 1, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/campaign_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/campaign_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..1a0e3ac2670d75f9efff7027d03daaba43443c41 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/campaign_type.sqldata.php @@ -0,0 +1,13 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('campaign_type', 'a/0051') + ->addMetadata([ + 'title' => ts('Campaign Type'), + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Direct Mail'), 'Direct Mail', 1], + [ts('Referral Program'), 'Referral Program', 2], + [ts('Constituent Engagement'), 'Constituent Engagement', 3], + ]) + ->addDefaults([ + 'weight' => 1, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/case_status.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/case_status.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..41cc891f589802961a34769124f58d48f517ec29 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/case_status.sqldata.php @@ -0,0 +1,29 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('case_status', 'a/0026') + ->addMetadata([ + 'title' => ts('Case Status'), + 'option_value_fields' => 'name,label,description,color', + ]) + ->addValues([ + [ + 'label' => ts('Ongoing'), + 'value' => 1, + 'name' => 'Open', + 'grouping' => 'Opened', + 'is_default' => 1, + 'is_reserved' => 1, + ], + [ + 'label' => ts('Resolved'), + 'value' => 2, + 'name' => 'Closed', + 'grouping' => 'Closed', + 'is_reserved' => 1, + ], + [ + 'label' => ts('Urgent'), + 'value' => 3, + 'name' => 'Urgent', + 'grouping' => 'Opened', + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/case_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/case_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..62d2ef7d97a715b5bfd4d74d258a7728c0467c28 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/case_type.sqldata.php @@ -0,0 +1,5 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('case_type', 'a/0025') + ->addMetadata([ + 'title' => ts('Case Type'), + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/cg_extend_objects.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/cg_extend_objects.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..3fd3a5b2d31b689ac46830042ac020ed81f76a71 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/cg_extend_objects.sqldata.php @@ -0,0 +1,18 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('cg_extend_objects', 'a/0056') + ->addMetadata([ + 'title' => ts('Objects a custom group extends to'), + ]) + ->addValues([ + [ + 'label' => ts('Survey'), + 'value' => 'Survey', + 'name' => 'civicrm_survey', + ], + [ + 'label' => ts('Cases'), + 'value' => 'Case', + 'name' => 'civicrm_case', + 'grouping' => 'case_type_id', + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/communication_style.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/communication_style.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..be01faeff24e5681be2e45bc4036418fdd918546 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/communication_style.sqldata.php @@ -0,0 +1,18 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('communication_style', 'a/0074') + ->addMetadata([ + 'title' => ts('Communication Style'), + ]) + ->addValues([ + [ + 'label' => ts('Formal'), + 'value' => 1, + 'name' => 'formal', + 'is_default' => 1, + ], + [ + 'label' => ts('Familiar'), + 'value' => 2, + 'name' => 'familiar', + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/conference_slot.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/conference_slot.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..8748d52e4a85a5ae44049e3b2477190dd512934f --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/conference_slot.sqldata.php @@ -0,0 +1,9 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('conference_slot', 'a/0063') + ->addMetadata([ + 'title' => ts('Conference Slot'), + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Morning Sessions'), 'Morning Sessions', 1], + [ts('Evening Sessions'), 'Evening Sessions', 2], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/contact_autocomplete_options.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/contact_autocomplete_options.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..1d345481ed3f54d45fd1ad5669013335935e0552 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/contact_autocomplete_options.sqldata.php @@ -0,0 +1,16 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('contact_autocomplete_options', 'a/0043') + ->addMetadata([ + 'title' => ts('Autocomplete Contact Search'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Email Address'), 'email', 2], + [ts('Phone'), 'phone', 3], + [ts('Street Address'), 'street_address', 4], + [ts('City'), 'city', 5], + [ts('State/Province'), 'state_province', 6], + [ts('Country'), 'country', 7], + [ts('Postal Code'), 'postal_code', 8], + ]) + ->syncColumns('fill', ['value' => 'weight']); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/contact_date_reminder_options.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/contact_date_reminder_options.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..888e0b6485de513bc0c2ee5e2d4e8444d3a84b06 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/contact_date_reminder_options.sqldata.php @@ -0,0 +1,13 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('contact_date_reminder_options', 'a/0076') + ->addMetadata([ + 'title' => ts('Contact Date Reminder Options'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Actual date only'), 'Actual date only', 1, 'is_reserved' => 1], + [ts('Each anniversary'), 'Each anniversary', 2, 'is_reserved' => 1], + ]) + ->addDefaults([ + 'filter' => NULL, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/contact_edit_options.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/contact_edit_options.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..17d38f7306016c136e8e432322264ded921cddef --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/contact_edit_options.sqldata.php @@ -0,0 +1,25 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('contact_edit_options', 'a/0018') + ->addMetadata([ + 'title' => ts('Contact Edit Options'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Custom Data'), 'CustomData', 1], + [ts('Address'), 'Address', 2], + [ts('Communication Preferences'), 'CommunicationPreferences', 3], + [ts('Notes'), 'Notes', 4], + [ts('Demographics'), 'Demographics', 5], + [ts('Tags and Groups'), 'TagsAndGroups', 6], + [ts('Email'), 'Email', 7, 'filter' => 1], + [ts('Phone'), 'Phone', 8, 'filter' => 1], + [ts('Instant Messenger'), 'IM', 9, 'filter' => 1], + [ts('Open ID'), 'OpenID', 10, 'filter' => 1], + [ts('Website'), 'Website', 11, 'filter' => 1], + [ts('Prefix'), 'Prefix', 12, 'filter' => 2], + [ts('Formal Title'), 'Formal Title', 13, 'filter' => 2], + [ts('First Name'), 'First Name', 14, 'filter' => 2], + [ts('Middle Name'), 'Middle Name', 15, 'filter' => 2], + [ts('Last Name'), 'Last Name', 16, 'filter' => 2], + [ts('Suffix'), 'Suffix', 17, 'filter' => 2], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/contact_reference_options.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/contact_reference_options.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..0cf884bc5ad74dfc112783108e49db7087203ff6 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/contact_reference_options.sqldata.php @@ -0,0 +1,17 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('contact_reference_options', 'a/0044') + ->addMetadata([ + 'title' => ts('Contact Reference Autocomplete Options'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value'], [ + // We don't talk about One-No. We don't talk about One-No! + [ts('Email Address'), 'email', 2], + [ts('Phone'), 'phone', 3], + [ts('Street Address'), 'street_address', 4], + [ts('City'), 'city', 5], + [ts('State/Province'), 'state_province', 6], + [ts('Country'), 'country', 7], + [ts('Postal Code'), 'postal_code', 8], + ]) + ->syncColumns('fill', ['value' => 'weight']); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/contact_smart_group_display.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/contact_smart_group_display.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..59806a393ab256d60a895e2fdf47eb373a1ed669 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/contact_smart_group_display.sqldata.php @@ -0,0 +1,11 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('contact_smart_group_display', 'a/0017') + ->addMetadata([ + 'title' => ts('Contact Smart Group View Options'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Show Smart Groups on Demand'), 'showondemand', 1], + [ts('Always Show Smart Groups'), 'alwaysshow', 2], + [ts('Hide Smart Groups'), 'hide', 3], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/contact_view_options.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/contact_view_options.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..e1358ac0a82b5c6cf5c258c988ebcb9938ed92e7 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/contact_view_options.sqldata.php @@ -0,0 +1,28 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('contact_view_options', 'a/0016') + ->addMetadata([ + 'title' => ts('Contact View Options'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value'], [ + + // NOTE: The original SQL had this inaccurate comment. It is unclear if the comment is inaccurate + // because the situation changed for the better or the worse. + // + // -- note that these are not ts'ed since they are used for logic in most cases and not display + // -- they are used for display only in the prefernces field settings + + [ts('Activities'), 'activity', 1], + [ts('Relationships'), 'rel', 2], + [ts('Groups'), 'group', 3], + [ts('Notes'), 'note', 4], + [ts('Tags'), 'tag', 5], + [ts('Change Log'), 'log', 6], + [ts('Contributions'), 'CiviContribute', 7], + [ts('Memberships'), 'CiviMember', 8], + [ts('Events'), 'CiviEvent', 9], + [ts('Cases'), 'CiviCase', 10], + [ts('Pledges'), 'CiviPledge', 13], + [ts('Mailings'), 'CiviMail', 14], + ]) + ->syncColumns('fill', ['value' => 'weight']); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/contribution_recur_status.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/contribution_recur_status.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..e169ac1182b5fd4207665f00c8496ab631a9156b --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/contribution_recur_status.sqldata.php @@ -0,0 +1,19 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('contribution_recur_status', 'a/0080') + ->addMetadata([ + 'title' => ts('Recurring Contribution Status'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Completed'), 'Completed', 1], + [ts('Pending'), 'Pending', 2], + [ts('Cancelled'), 'Cancelled', 3], + [ts('Failed'), 'Failed', 4], + [ts('In Progress'), 'In Progress', 5], + [ts('Overdue'), 'Overdue', 6], + [ts('Processing'), 'Processing', 7], + [ts('Failing'), 'Failing', 8], + ]) + ->addDefaults([ + 'is_reserved' => 1, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/contribution_status.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/contribution_status.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..0f695b2bdbb5e3e2280e9d92f4a16641147c7bff --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/contribution_status.sqldata.php @@ -0,0 +1,22 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('contribution_status', 'a/0011') + ->addMetadata([ + 'title' => ts('Contribution Status'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Completed'), 'Completed', 1], + [ts('Pending'), 'Pending', 2], + [ts('Cancelled'), 'Cancelled', 3], + [ts('Failed'), 'Failed', 4], + // 5 and 6 went fishing. + [ts('Refunded'), 'Refunded', 7], + [ts('Partially paid'), 'Partially paid', 8], + [ts('Pending refund'), 'Pending refund', 9], + [ts('Chargeback'), 'Chargeback', 10], + [ts('Template'), 'Template', 11, 'description' => ts('Status for contribution records which represent a template for a recurring contribution rather than an actual contribution. This status is transitional, to ensure that said contributions don\\\'t appear in reports. The is_template field is the preferred way to find and filter these contributions.')], + ]) + ->addDefaults([ + 'is_reserved' => 1, + ]) + ->syncColumns('fill', ['value' => 'weight']); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/currencies_enabled.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/currencies_enabled.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..1266d455025b78d767f5b68ff8708b7a99dba5fb --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/currencies_enabled.sqldata.php @@ -0,0 +1,12 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('currencies_enabled', 'a/0048') + ->addMetadata([ + 'title' => ts('Currencies Enabled'), + ]) + ->addValueTable(['label', 'name', 'value'], [ + ['USD ($)', 'USD', 'USD', 'is_default' => 1], + ['CAD ($)', 'CAD', 'CAD'], + ['EUR (€)', 'EUR', 'EUR'], + ['GBP (£)', 'GBP', 'GBP'], + ['JPY (Â¥)', 'JPY', 'JPY'], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/custom_data_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/custom_data_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..0ecea058f3de2f82cc1b830cd49670b4d64d21c0 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/custom_data_type.sqldata.php @@ -0,0 +1,25 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('custom_data_type', 'a/0034') + ->addMetadata([ + 'title' => ts('Custom Data Type'), + ]) + ->addValues([ + [ + 'label' => ts('Participants (Role)'), + 'value' => 1, + 'name' => 'ParticipantRole', + 'grouping' => 'role_id', + ], + [ + 'label' => ts('Participants (Event Name)'), + 'value' => 2, + 'name' => 'ParticipantEventName', + 'grouping' => 'event_id', + ], + [ + 'label' => ts('Participants (Event Type)'), + 'value' => 3, + 'name' => 'ParticipantEventType', + 'grouping' => 'event_id.event_type_id', + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/custom_search.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/custom_search.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..16dbb72ccd90713f8d13303ed9fb470810f1ff97 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/custom_search.sqldata.php @@ -0,0 +1,93 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('custom_search', 'a/0023') + ->addMetadata([ + 'title' => ts('Custom Search'), + ]) + ->addValues([ + [ + 'value' => 1, + 'name' => 'CRM_Contact_Form_Search_Custom_Sample', + 'weight' => 1, + 'description' => ts('Household Name and State'), + ], + [ + 'value' => 2, + 'name' => 'CRM_Contact_Form_Search_Custom_ContributionAggregate', + 'weight' => 2, + 'description' => ts('Contribution Aggregate'), + ], + [ + 'value' => 4, + 'name' => 'CRM_Contact_Form_Search_Custom_Group', + 'weight' => 4, + 'description' => ts('Include / Exclude Search'), + ], + [ + 'value' => 5, + 'name' => 'CRM_Contact_Form_Search_Custom_PostalMailing', + 'weight' => 5, + 'description' => ts('Postal Mailing'), + ], + [ + 'value' => 6, + 'name' => 'CRM_Contact_Form_Search_Custom_Proximity', + 'weight' => 6, + 'description' => ts('Proximity Search'), + ], + [ + 'value' => 7, + 'name' => 'CRM_Contact_Form_Search_Custom_EventAggregate', + 'weight' => 7, + 'description' => ts('Event Aggregate'), + ], + [ + 'value' => 8, + 'name' => 'CRM_Contact_Form_Search_Custom_ActivitySearch', + 'weight' => 8, + 'description' => ts('Activity Search'), + 'is_active' => 0, + ], + [ + 'value' => 9, + 'name' => 'CRM_Contact_Form_Search_Custom_PriceSet', + 'weight' => 9, + 'description' => ts('Price Set Details for Event Participants'), + ], + [ + 'value' => 10, + 'name' => 'CRM_Contact_Form_Search_Custom_ZipCodeRange', + 'weight' => 10, + 'description' => ts('Zip Code Range'), + ], + [ + 'value' => 11, + 'name' => 'CRM_Contact_Form_Search_Custom_DateAdded', + 'weight' => 11, + 'description' => ts('Date Added to CiviCRM'), + ], + [ + 'value' => 12, + 'name' => 'CRM_Contact_Form_Search_Custom_MultipleValues', + 'weight' => 12, + 'description' => ts('Custom Group Multiple Values Listing'), + ], + [ + 'value' => 13, + 'name' => 'CRM_Contact_Form_Search_Custom_ContribSYBNT', + 'weight' => 13, + 'description' => ts('Contributions made in Year X and not Year Y'), + ], + [ + 'value' => 14, + 'name' => 'CRM_Contact_Form_Search_Custom_TagContributions', + 'weight' => 14, + 'description' => ts('Find Contribution Amounts by Tag'), + ], + [ + 'value' => 15, + 'name' => 'CRM_Contact_Form_Search_Custom_FullText', + 'weight' => 15, + 'description' => ts('Full-text Search'), + ], + ]) + ->syncColumns('fill', ['name' => 'label']); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/email_greeting.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/email_greeting.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..72527edaa073d2a832bbdcad027809c18abdd2fd --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/email_greeting.sqldata.php @@ -0,0 +1,35 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('email_greeting', 'a/0040') + ->addMetadata([ + 'title' => ts('Email Greeting Type'), + ]) + ->addValues([ + [ + 'value' => 1, + 'name' => 'Dear {contact.first_name}', + 'filter' => 1, + 'is_default' => 1, + ], + [ + 'value' => 2, + 'name' => 'Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}', + 'filter' => 1, + ], + [ + 'value' => 3, + 'name' => 'Dear {contact.prefix_id:label} {contact.last_name}', + 'filter' => 1, + ], + [ + 'value' => 4, + 'name' => 'Customized', + 'is_reserved' => 1, + ], + [ + 'value' => 5, + 'name' => 'Dear {contact.household_name}', + 'filter' => 2, + 'is_default' => 1, + ], + ]) + ->syncColumns('fill', ['name' => 'label']); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/encounter_medium.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/encounter_medium.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..45ccf450c2e3f2edc3de7fc03776575922886afe --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/encounter_medium.sqldata.php @@ -0,0 +1,19 @@ +<?php + +// Encounter Medium Option Values (for case activities) +return CRM_Core_CodeGen_OptionGroup::create('encounter_medium', 'b/97') + ->addMetadata([ + // FIXME: Shouldn't these be translated? + 'title' => 'Encounter Medium', + 'description' => 'Encounter medium for case activities (e.g. In Person, By Phone, etc.)', + ]) + ->addValueTable(['label', 'name'], [ + [ts('In Person'), 'in_person'], + [ts('Phone'), 'phone', 'is_default' => 1], + [ts('Email'), 'email'], + [ts('Fax'), 'fax'], + [ts('Letter Mail'), 'letter_mail'], + ]) + ->addDefaults([ + 'is_reserved' => 1, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/engagement_index.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/engagement_index.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..617b04dffbe08f0418aab35d325b41bcb2cf23b1 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/engagement_index.sqldata.php @@ -0,0 +1,12 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('engagement_index', 'a/0055') + ->addMetadata([ + 'title' => ts('Engagement Index'), + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('1'), 1, 1], + [ts('2'), 2, 2], + [ts('3'), 3, 3], + [ts('4'), 4, 4], + [ts('5'), 5, 5], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/entity_batch_extends.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/entity_batch_extends.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..937d07eb9f4a693c00d765ea4e1bb69249000bc9 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/entity_batch_extends.sqldata.php @@ -0,0 +1,14 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('entity_batch_extends', 'a/0083') + ->addMetadata([ + 'title' => ts('Entity Batch Extends'), + ]) + ->addValues([ + [ + 'label' => ts('Financial Transactions'), + 'value' => 'civicrm_financial_trxn', + 'name' => 'civicrm_financial_trxn', + 'is_default' => 1, + 'component_id' => 2, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/environment.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/environment.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..e6f378a366acbdc1ac37cd9601d1887dd7af5aef --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/environment.sqldata.php @@ -0,0 +1,30 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('environment', 'a/0081') + ->addMetadata([ + 'title' => ts('Environment'), + ]) + ->addValues([ + [ + 'label' => ts('Production'), + 'value' => 'Production', + 'name' => 'Production', + 'is_default' => 1, + 'description' => ts('Production Environment'), + ], + [ + 'label' => ts('Staging'), + 'value' => 'Staging', + 'name' => 'Staging', + 'description' => ts('Staging Environment'), + ], + [ + 'label' => ts('Development'), + 'value' => 'Development', + 'name' => 'Development', + 'description' => ts('Development Environment'), + ], + ]) + ->addDefaults([ + 'filter' => NULL, + 'is_reserved' => 1, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/event_badge.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/event_badge.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..64721f241fcb4da8ae277a46f43b112a42ff28cd --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/event_badge.sqldata.php @@ -0,0 +1,35 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('event_badge', 'a/0049') + ->addMetadata([ + 'title' => ts('Event Name Badge'), + ]) + ->addValues([ + [ + 'label' => ts('Name Only'), + 'value' => 1, + 'name' => 'CRM_Event_Badge_Simple', + 'description' => ts('Simple Event Name Badge'), + 'is_reserved' => 1, + ], + [ + 'label' => ts('Name Tent'), + 'value' => 2, + 'name' => 'CRM_Event_Badge_NameTent', + 'description' => ts('Name Tent'), + 'is_reserved' => 1, + ], + [ + 'label' => ts('With Logo'), + 'value' => 3, + 'name' => 'CRM_Event_Badge_Logo', + 'description' => ts('You can set your own background image'), + 'is_reserved' => 1, + ], + [ + 'label' => ts('5395 with Logo'), + 'value' => 4, + 'name' => 'CRM_Event_Badge_Logo5395', + 'description' => ts('Avery 5395 compatible labels with logo (4 up by 2, 59.2mm x 85.7mm)'), + 'is_reserved' => 1, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/event_contacts.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/event_contacts.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..db40a2f9d4898f5ade5dedc89af3893fa57f3928 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/event_contacts.sqldata.php @@ -0,0 +1,8 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('event_contacts', 'a/0062') + ->addMetadata([ + 'title' => ts('Event Recipients'), + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Participant Role'), 'participant_role', 1], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/event_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/event_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..71bc521a39b3652000a0cabc57b4973b55f82a15 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/event_type.sqldata.php @@ -0,0 +1,15 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('event_type', 'a/0015') + ->addMetadata([ + 'title' => ts('Event Type'), + 'description' => ts('Use Event Types to categorize your events. Event feeds can be filtered by Event Type and participant searches can use Event Type as a criteria.'), + 'data_type' => 'Integer', + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Conference'), 'Conference', 1], + [ts('Exhibition'), 'Exhibition', 2], + [ts('Fundraiser'), 'Fundraiser', 3], + [ts('Meeting'), 'Meeting', 4], + [ts('Performance'), 'Performance', 5], + [ts('Workshop'), 'Workshop', 6], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/file_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/file_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..c0cd7ca7913b255e3af4e974918803469a24cc9b --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/file_type.sqldata.php @@ -0,0 +1,6 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('file_type', 'a/0084') + ->addMetadata([ + 'title' => ts('File Type'), + 'data_type' => 'Integer', + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/financial_account_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/financial_account_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..b5d3972b0f496527f22848f7456474c88d91b2e5 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/financial_account_type.sqldata.php @@ -0,0 +1,48 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('financial_account_type', 'a/0070') + ->addMetadata([ + 'title' => ts('Financial Account Type'), + ]) + ->addValues([ + [ + 'label' => ts('Asset'), + 'value' => 1, + 'name' => 'Asset', + 'description' => ts('Things you own'), + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Liability'), + 'value' => 2, + 'name' => 'Liability', + 'description' => ts('Things you owe, like a grant still to be disbursed'), + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Revenue'), + 'value' => 3, + 'name' => 'Revenue', + 'is_default' => 1, + 'description' => ts('Income from contributions and sales of tickets and memberships'), + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Cost of Sales'), + 'value' => 4, + 'name' => 'Cost of Sales', + 'description' => ts('Costs incurred to get revenue, e.g. premiums for donations, dinner for a fundraising dinner ticket'), + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Expenses'), + 'value' => 5, + 'name' => 'Expenses', + 'description' => ts('Things that are paid for that are consumable, e.g. grants disbursed'), + 'is_reserved' => 1, + 'component_id' => 2, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/financial_item_status.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/financial_item_status.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..e1947479212ee01d89456c4ce858fa8a96959c46 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/financial_item_status.sqldata.php @@ -0,0 +1,35 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('financial_item_status', 'a/0071') + ->addMetadata([ + 'title' => ts('Financial Item Status'), + 'is_locked' => 1, + ]) + ->addValues([ + [ + 'label' => ts('Paid'), + 'value' => 1, + 'name' => 'Paid', + 'weight' => 1, + 'description' => 'Paid', + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Unpaid'), + 'value' => 3, + 'name' => 'Unpaid', + 'weight' => 1, + 'description' => 'Unpaid', + 'is_reserved' => 1, + 'component_id' => 2, + ], + [ + 'label' => ts('Partially paid'), + 'value' => 2, + 'name' => 'Partially paid', + 'weight' => 2, + 'description' => 'Partially paid', + 'is_reserved' => 1, + 'component_id' => 2, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/from_email_address.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/from_email_address.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..0a6f272729922ee01f38c12b53e62660100eb784 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/from_email_address.sqldata.php @@ -0,0 +1,16 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('from_email_address', 'a/0029') + ->addMetadata([ + 'title' => ts('From Email Address'), + 'description' => ts('By default, CiviCRM uses the primary email address of the logged in user as the FROM address when sending emails to contacts. However, you can use this page to define one or more general Email Addresses that can be selected as an alternative. EXAMPLE: "Client Services" <clientservices@example.org>.'), + ]) + ->addValues([ + [ + 'label' => '"FIXME" <info@EXAMPLE.ORG>', + 'value' => 1, + 'name' => '"FIXME" <info@EXAMPLE.ORG>', + 'is_default' => 1, + 'description' => ts('Default domain email address and from name.'), + 'domain_id' => new CRM_Utils_SQL_Literal('@domainID'), + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/gender.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/gender.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..ec2456ed89aadc9af080bc6e7e11a3c9f2a4d693 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/gender.sqldata.php @@ -0,0 +1,12 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('gender', 'a/0003') + ->addMetadata([ + 'title' => ts('Gender'), + 'description' => ts('CiviCRM is pre-configured with standard options for individual gender (Male, Female, Other). Modify these options as needed for your installation.'), + 'data_type' => 'Integer', + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Female'), 'Female', 1], + [ts('Male'), 'Male', 2], + [ts('Other'), 'Other', 3], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/group_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/group_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..c39a0ef34b8a49e8dd2ceaa67a2b7984ea021419 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/group_type.sqldata.php @@ -0,0 +1,12 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('group_type', 'a/0022') + ->addMetadata([ + 'title' => ts('Group Type'), + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Access Control'), 'Access Control', 1], + [ts('Mailing List'), 'Mailing List', 2], + ]) + ->addDefaults([ + 'is_reserved' => 1, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/individual_prefix.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/individual_prefix.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..492db508c6d89c6452217406ec191bd022fb6097 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/individual_prefix.sqldata.php @@ -0,0 +1,12 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('individual_prefix', 'a/0006') + ->addMetadata([ + 'title' => ts('Individual contact prefixes'), + 'description' => ts('CiviCRM is pre-configured with standard options for individual contact prefixes (Ms., Mr., Dr. etc.). Customize these options and add new ones as needed for your installation.'), + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Mrs.'), 'Mrs.', 1], + [ts('Ms.'), 'Ms.', 2], + [ts('Mr.'), 'Mr.', 3], + [ts('Dr.'), 'Dr.', 4], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/individual_suffix.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/individual_suffix.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..6ff347dc137f4fbeba0b11afa3ef2150bf29dd62 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/individual_suffix.sqldata.php @@ -0,0 +1,16 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('individual_suffix', 'a/0007') + ->addMetadata([ + 'title' => ts('Individual contact suffixes'), + 'description' => ts('CiviCRM is pre-configured with standard options for individual contact name suffixes (Jr., Sr., II etc.). Customize these options and add new ones as needed for your installation.'), + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Jr.'), 'Jr.', 1], + [ts('Sr.'), 'Sr.', 2], + ['II', 'II', 3], + ['III', 'III', 4], + ['IV', 'IV', 5], + ['V', 'V', 6], + ['VI', 'VI', 7], + ['VII', 'VII', 8], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/instant_messenger_service.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/instant_messenger_service.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..676c75006ccb92b9ed65fab53fac80762ecc486d --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/instant_messenger_service.sqldata.php @@ -0,0 +1,17 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('instant_messenger_service', 'a/0004') + ->addMetadata([ + 'title' => ts('Instant Messenger (IM) screen-names'), + 'description' => ts('Commonly-used messaging apps are listed here. Administrators may define as many additional providers as needed.'), + ]) + ->addValueTable(['label', 'name', 'value'], [ + ['Yahoo', 'Yahoo', 1], + ['MSN', 'Msn', 2], + ['AIM', 'Aim', 3], + ['GTalk', 'Gtalk', 4], + ['Jabber', 'Jabber', 5], + ['Skype', 'Skype', 6], + ]) + ->addDefaults([ + 'is_default' => NULL, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/label_format.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/label_format.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..7653a92066ff5f8b53aad32282bac1ae72a82571 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/label_format.sqldata.php @@ -0,0 +1,87 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('label_format', 'a/0059') + ->addMetadata([ + 'title' => ts('Mailing Label Format'), + ]) + ->addValues([ + [ + 'label' => ts('Avery 3475'), + 'value' => '{"paper-size":"a4","orientation":"portrait","font-name":"dejavusans","font-size":10,"font-style":"","metric":"mm","lMargin":0,"tMargin":5,"NX":3,"NY":8,"SpaceX":0,"SpaceY":0,"width":70,"height":36,"lPadding":5.08,"tPadding":5.08}', + 'name' => 3475, + 'grouping' => 'Avery', + 'is_reserved' => 1, + ], + [ + 'label' => ts('Avery 5160'), + 'value' => '{"paper-size":"letter","orientation":"portrait","font-name":"dejavusans","font-size":8,"font-style":"","metric":"in","lMargin":0.21975,"tMargin":0.5,"NX":3,"NY":10,"SpaceX":0.14,"SpaceY":0,"width":2.5935,"height":1,"lPadding":0.20,"tPadding":0.20}', + 'name' => 5160, + 'grouping' => 'Avery', + 'is_reserved' => 1, + ], + [ + 'label' => ts('Avery 5161'), + 'value' => '{"paper-size":"letter","orientation":"portrait","font-name":"dejavusans","font-size":8,"font-style":"","metric":"in","lMargin":0.175,"tMargin":0.5,"NX":2,"NY":10,"SpaceX":0.15625,"SpaceY":0,"width":4,"height":1,"lPadding":0.20,"tPadding":0.20}', + 'name' => 5161, + 'grouping' => 'Avery', + 'is_reserved' => 1, + ], + [ + 'label' => ts('Avery 5162'), + 'value' => '{"paper-size":"letter","orientation":"portrait","font-name":"dejavusans","font-size":8,"font-style":"","metric":"in","lMargin":0.1525,"tMargin":0.88,"NX":2,"NY":7,"SpaceX":0.195,"SpaceY":0,"width":4,"height":1.33,"lPadding":0.20,"tPadding":0.20}', + 'name' => 5162, + 'grouping' => 'Avery', + 'is_reserved' => 1, + ], + [ + 'label' => ts('Avery 5163'), + 'value' => '{"paper-size":"letter","orientation":"portrait","font-name":"dejavusans","font-size":8,"font-style":"","metric":"in","lMargin":0.18,"tMargin":0.5,"NX":2,"NY":5,"SpaceX":0.14,"SpaceY":0,"width":4,"height":2,"lPadding":0.20,"tPadding":0.20}', + 'name' => 5163, + 'grouping' => 'Avery', + 'is_reserved' => 1, + ], + [ + 'label' => ts('Avery 5164'), + 'value' => '{"paper-size":"letter","orientation":"portrait","font-name":"dejavusans","font-size":12,"font-style":"","metric":"in","lMargin":0.156,"tMargin":0.5,"NX":2,"NY":3,"SpaceX":0.1875,"SpaceY":0,"width":4,"height":3.33,"lPadding":0.20,"tPadding":0.20}', + 'name' => 5164, + 'grouping' => 'Avery', + 'is_reserved' => 1, + ], + [ + 'label' => ts('Avery 8600'), + 'value' => '{"paper-size":"letter","orientation":"portrait","font-name":"dejavusans","font-size":8,"font-style":"","metric":"mm","lMargin":7.1,"tMargin":19,"NX":3,"NY":10,"SpaceX":9.5,"SpaceY":3.1,"width":66.6,"height":25.4,"lPadding":5.08,"tPadding":5.08}', + 'name' => 8600, + 'grouping' => 'Avery', + 'is_reserved' => 1, + ], + [ + 'label' => ts('Avery L7160'), + 'value' => '{"paper-size":"a4","orientation":"portrait","font-name":"dejavusans","font-size":9,"font-style":"","metric":"in","lMargin":0.28,"tMargin":0.6,"NX":3,"NY":7,"SpaceX":0.1,"SpaceY":0,"width":2.5,"height":1.5,"lPadding":0.20,"tPadding":0.20}', + 'name' => 'L7160', + 'grouping' => 'Avery', + 'is_reserved' => 1, + ], + [ + 'label' => ts('Avery L7161'), + 'value' => '{"paper-size":"a4","orientation":"portrait","font-name":"dejavusans","font-size":9,"font-style":"","metric":"in","lMargin":0.28,"tMargin":0.35,"NX":3,"NY":6,"SpaceX":0.1,"SpaceY":0,"width":2.5,"height":1.83,"lPadding":0.20,"tPadding":0.20}', + 'name' => 'L7161', + 'grouping' => 'Avery', + 'is_reserved' => 1, + ], + [ + 'label' => ts('Avery L7162'), + 'value' => '{"paper-size":"a4","orientation":"portrait","font-name":"dejavusans","font-size":9,"font-style":"","metric":"in","lMargin":0.18,"tMargin":0.51,"NX":2,"NY":8,"SpaceX":0.1,"SpaceY":0,"width":3.9,"height":1.33,"lPadding":0.20,"tPadding":0.20}', + 'name' => 'L7162', + 'grouping' => 'Avery', + 'is_reserved' => 1, + ], + [ + 'label' => ts('Avery L7163'), + 'value' => '{"paper-size":"a4","orientation":"portrait","font-name":"dejavusans","font-size":9,"font-style":"","metric":"in","lMargin":0.18,"tMargin":0.6,"NX":2,"NY":7,"SpaceX":0.1,"SpaceY":0,"width":3.9,"height":1.5,"lPadding":0.20,"tPadding":0.20}', + 'name' => 'L7163', + 'grouping' => 'Avery', + 'is_reserved' => 1, + ], + ]) + ->addDefaults([ + 'filter' => NULL, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/label_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/label_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..4d252087d5856d012440bb887b0a6cec8736ba02 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/label_type.sqldata.php @@ -0,0 +1,11 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('label_type', 'a/0072') + ->addMetadata([ + 'title' => ts('Label Type'), + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Event Badge'), 'Event Badge', 1], + ]) + ->addDefaults([ + 'is_default' => NULL, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/mail_approval_status.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/mail_approval_status.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..66d8a2f100e7c78556df74774c1f9fe98e6da069 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/mail_approval_status.sqldata.php @@ -0,0 +1,32 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('mail_approval_status', 'a/0054') + ->addMetadata([ + 'title' => ts('CiviMail Approval Status'), + ]) + ->addValues([ + [ + 'label' => ts('Approved'), + 'value' => 1, + 'name' => 'Approved', + 'is_default' => 1, + 'is_reserved' => 1, + 'component_id' => 4, + 'domain_id' => 1, + ], + [ + 'label' => ts('Rejected'), + 'value' => 2, + 'name' => 'Rejected', + 'is_reserved' => 1, + 'component_id' => 4, + 'domain_id' => 1, + ], + [ + 'label' => ts('None'), + 'value' => 3, + 'name' => 'None', + 'is_reserved' => 1, + 'component_id' => 4, + 'domain_id' => 1, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/mail_protocol.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/mail_protocol.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..755a2695902c0e439371eaf62dba867e19451f01 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/mail_protocol.sqldata.php @@ -0,0 +1,12 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('mail_protocol', 'a/0036') + ->addMetadata([ + 'title' => ts('Mail Protocol'), + ]) + ->addValueTable(['name', 'value'], [ + ['IMAP', 1], + ['Maildir', 2], + ['POP3', 3], + ['Localdir', 4], + ]) + ->syncColumns('fill', ['name' => 'label']); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/mapping_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/mapping_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..4f8bad26f06b636511ed8b5e93082797ab4a5a42 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/mapping_type.sqldata.php @@ -0,0 +1,26 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('mapping_type', 'a/0030') + ->addMetadata([ + 'title' => ts('Mapping Type'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Search Builder'), 'Search Builder', 1], + [ts('Import Contact'), 'Import Contact', 2], + [ts('Import Activity'), 'Import Activity', 3], + [ts('Import Contribution'), 'Import Contribution', 4], + [ts('Import Membership'), 'Import Membership', 5], + [ts('Import Participant'), 'Import Participant', 6], + [ts('Export Contact'), 'Export Contact', 7], + [ts('Export Contribution'), 'Export Contribution', 8], + [ts('Export Membership'), 'Export Membership', 9], + [ts('Export Participant'), 'Export Participant', 10], + [ts('Export Pledge'), 'Export Pledge', 11], + [ts('Export Case'), 'Export Case', 12], + // Never go to the 13th floor. + [ts('Export Activity'), 'Export Activity', 14], + ]) + ->addDefaults([ + 'is_reserved' => 1, + ]) + ->syncColumns('fill', ['value' => 'weight']); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/mobile_provider.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/mobile_provider.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..541553586844c613dbdf6537fb98e3be8890d725 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/mobile_provider.sqldata.php @@ -0,0 +1,11 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('mobile_provider', 'a/0005') + ->addMetadata([ + 'title' => ts('Mobile Phone Providers'), + 'description' => ts('When recording mobile phone numbers for contacts, it may be useful to include the Mobile Phone Service Provider (e.g. Cingular, Sprint, etc.). CiviCRM is installed with the most commonly encountered service providers. Administrators may define as many additional providers as needed.'), + ]) + ->addValueTable(['label', 'name', 'value'], [ + ['Sprint', 'Sprint', 1], + ['Verizon', 'Verizon', 2], + ['Cingular', 'Cingular', 3], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/msg_mode.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/msg_mode.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..aef74bb52cd25cd6a173358aec98d723d96541d1 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/msg_mode.sqldata.php @@ -0,0 +1,26 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('msg_mode', 'a/0075') + ->addMetadata([ + 'title' => ts('Message Mode'), + ]) + ->addValues([ + [ + 'label' => ts('Email'), + 'value' => 'Email', + 'name' => 'Email', + 'is_default' => 1, + 'is_reserved' => 1, + ], + [ + 'label' => ts('SMS'), + 'value' => 'SMS', + 'name' => 'SMS', + 'is_reserved' => 1, + ], + [ + 'label' => ts('User Preference'), + 'value' => 'User_Preference', + 'name' => 'User Preference', + 'is_reserved' => 1, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/name_badge.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/name_badge.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..0f2c8f67cca8cf0181b5efe0db5b2b0531425413 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/name_badge.sqldata.php @@ -0,0 +1,27 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('name_badge', 'a/0073') + ->addMetadata([ + 'title' => ts('Name Badge Format'), + ]) + ->addValues([ + [ + 'label' => ts('Avery 5395'), + 'value' => '{"name":"Avery 5395","paper-size":"a4","metric":"mm","lMargin":15,"tMargin":26,"NX":2,"NY":4,"SpaceX":10,"SpaceY":5,"width":83,"height":57,"font-size":12,"orientation":"portrait","font-name":"helvetica","font-style":"","lPadding":3,"tPadding":3}', + 'name' => 'Avery 5395', + ], + [ + 'label' => ts('A6 Badge Portrait 150x106'), + 'value' => '{"paper-size":"a4","orientation":"landscape","font-name":"times","font-size":6,"font-style":"","NX":2,"NY":1,"metric":"mm","lMargin":25,"tMargin":27,"SpaceX":0,"SpaceY":35,"width":106,"height":150,"lPadding":5,"tPadding":5}', + 'name' => 'A6 Badge Portrait 150x106', + ], + [ + 'label' => ts('Fattorini Name Badge 100x65'), + 'value' => '{"paper-size":"a4","orientation":"portrait","font-name":"times","font-size":6,"font-style":"","NX":2,"NY":4,"metric":"mm","lMargin":6,"tMargin":19,"SpaceX":0,"SpaceY":0,"width":100,"height":65,"lPadding":0,"tPadding":0}', + 'name' => 'Fattorini Name Badge 100x65', + ], + [ + 'label' => ts('Hanging Badge 3-3/4" x 4-3"/4'), + 'value' => '{"paper-size":"a4","orientation":"portrait","font-name":"times","font-size":6,"font-style":"","NX":2,"NY":2,"metric":"mm","lMargin":10,"tMargin":28,"SpaceX":0,"SpaceY":0,"width":96,"height":121,"lPadding":5,"tPadding":5}', + 'name' => 'Hanging Badge 3-3/4" x 4-3"/4', + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/note_privacy.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/note_privacy.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..3c79d882a03d6c6568dca2e184742d9240de6bc8 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/note_privacy.sqldata.php @@ -0,0 +1,20 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('note_privacy', 'a/0050') + ->addMetadata([ + 'title' => ts('Privacy levels for notes'), + ]) + ->addValues([ + [ + 'label' => ts('None'), + 'value' => 0, + 'name' => 'None', + 'is_default' => 1, + 'is_reserved' => 1, + ], + [ + 'label' => ts('Author Only'), + 'value' => 1, + 'name' => 'Author Only', + 'is_reserved' => 1, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/note_used_for.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/note_used_for.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..a3ed714dccad68547279857c50427e504c9861af --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/note_used_for.sqldata.php @@ -0,0 +1,12 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('note_used_for', 'a/0047') + ->addMetadata([ + 'title' => ts('Note Used For'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Contacts'), 'Contact', 'civicrm_contact'], + [ts('Relationships'), 'Relationship', 'civicrm_relationship'], + [ts('Participants'), 'Participant', 'civicrm_participant'], + [ts('Contributions'), 'Contribution', 'civicrm_contribution'], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/paper_size.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/paper_size.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..41f3cdd93ea5dd4780bdecaf848ce203402b2b74 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/paper_size.sqldata.php @@ -0,0 +1,321 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('paper_size', 'a/0057') + ->addMetadata([ + 'title' => ts('Paper Size'), + ]) + ->addValues([ + [ + 'label' => ts('Letter'), + 'value' => '{"metric":"in","width":8.5,"height":11}', + 'name' => 'letter', + 'is_default' => 1, + ], + [ + 'label' => ts('Legal'), + 'value' => '{"metric":"in","width":8.5,"height":14}', + 'name' => 'legal', + ], + [ + 'label' => ts('Ledger'), + 'value' => '{"metric":"in","width":17,"height":11}', + 'name' => 'ledger', + ], + [ + 'label' => ts('Tabloid'), + 'value' => '{"metric":"in","width":11,"height":17}', + 'name' => 'tabloid', + ], + [ + 'label' => ts('Executive'), + 'value' => '{"metric":"in","width":7.25,"height":10.5}', + 'name' => 'executive', + ], + [ + 'label' => ts('Folio'), + 'value' => '{"metric":"in","width":8.5,"height":13}', + 'name' => 'folio', + ], + [ + 'label' => ts('Envelope #9'), + 'value' => '{"metric":"pt","width":638.93,"height":278.93}', + 'name' => 'envelope-9', + ], + [ + 'label' => ts('Envelope #10'), + 'value' => '{"metric":"pt","width":684,"height":297}', + 'name' => 'envelope-10', + ], + [ + 'label' => ts('Envelope #11'), + 'value' => '{"metric":"pt","width":747,"height":324}', + 'name' => 'envelope-11', + ], + [ + 'label' => ts('Envelope #12'), + 'value' => '{"metric":"pt","width":792,"height":342}', + 'name' => 'envelope-12', + ], + [ + 'label' => ts('Envelope #14'), + 'value' => '{"metric":"pt","width":828,"height":360}', + 'name' => 'envelope-14', + ], + [ + 'label' => ts('Envelope ISO B4'), + 'value' => '{"metric":"pt","width":1000.63,"height":708.66}', + 'name' => 'envelope-b4', + ], + [ + 'label' => ts('Envelope ISO B5'), + 'value' => '{"metric":"pt","width":708.66,"height":498.9}', + 'name' => 'envelope-b5', + ], + [ + 'label' => ts('Envelope ISO B6'), + 'value' => '{"metric":"pt","width":498.9,"height":354.33}', + 'name' => 'envelope-b6', + ], + [ + 'label' => ts('Envelope ISO C3'), + 'value' => '{"metric":"pt","width":1298.27,"height":918.42}', + 'name' => 'envelope-c3', + ], + [ + 'label' => ts('Envelope ISO C4'), + 'value' => '{"metric":"pt","width":918.42,"height":649.13}', + 'name' => 'envelope-c4', + ], + [ + 'label' => ts('Envelope ISO C5'), + 'value' => '{"metric":"pt","width":649.13,"height":459.21}', + 'name' => 'envelope-c5', + ], + [ + 'label' => ts('Envelope ISO C6'), + 'value' => '{"metric":"pt","width":459.21,"height":323.15}', + 'name' => 'envelope-c6', + ], + [ + 'label' => ts('Envelope ISO DL'), + 'value' => '{"metric":"pt","width":623.622,"height":311.811}', + 'name' => 'envelope-dl', + ], + [ + 'label' => ts('ISO A0'), + 'value' => '{"metric":"pt","width":2383.94,"height":3370.39}', + 'name' => 'a0', + ], + [ + 'label' => ts('ISO A1'), + 'value' => '{"metric":"pt","width":1683.78,"height":2383.94}', + 'name' => 'a1', + ], + [ + 'label' => ts('ISO A2'), + 'value' => '{"metric":"pt","width":1190.55,"height":1683.78}', + 'name' => 'a2', + ], + [ + 'label' => ts('ISO A3'), + 'value' => '{"metric":"pt","width":841.89,"height":1190.55}', + 'name' => 'a3', + ], + [ + 'label' => ts('ISO A4'), + 'value' => '{"metric":"pt","width":595.28,"height":841.89}', + 'name' => 'a4', + ], + [ + 'label' => ts('ISO A5'), + 'value' => '{"metric":"pt","width":419.53,"height":595.28}', + 'name' => 'a5', + ], + [ + 'label' => ts('ISO A6'), + 'value' => '{"metric":"pt","width":297.64,"height":419.53}', + 'name' => 'a6', + ], + [ + 'label' => ts('ISO A7'), + 'value' => '{"metric":"pt","width":209.76,"height":297.64}', + 'name' => 'a7', + ], + [ + 'label' => ts('ISO A8'), + 'value' => '{"metric":"pt","width":147.4,"height":209.76}', + 'name' => 'a8', + ], + [ + 'label' => ts('ISO A9'), + 'value' => '{"metric":"pt","width":104.88,"height":147.4}', + 'name' => 'a9', + ], + [ + 'label' => ts('ISO A10'), + 'value' => '{"metric":"pt","width":73.7,"height":104.88}', + 'name' => 'a10', + ], + [ + 'label' => ts('ISO B0'), + 'value' => '{"metric":"pt","width":2834.65,"height":4008.19}', + 'name' => 'b0', + ], + [ + 'label' => ts('ISO B1'), + 'value' => '{"metric":"pt","width":2004.09,"height":2834.65}', + 'name' => 'b1', + ], + [ + 'label' => ts('ISO B2'), + 'value' => '{"metric":"pt","width":1417.32,"height":2004.09}', + 'name' => 'b2', + ], + [ + 'label' => ts('ISO B3'), + 'value' => '{"metric":"pt","width":1000.63,"height":1417.32}', + 'name' => 'b3', + ], + [ + 'label' => ts('ISO B4'), + 'value' => '{"metric":"pt","width":708.66,"height":1000.63}', + 'name' => 'b4', + ], + [ + 'label' => ts('ISO B5'), + 'value' => '{"metric":"pt","width":498.9,"height":708.66}', + 'name' => 'b5', + ], + [ + 'label' => ts('ISO B6'), + 'value' => '{"metric":"pt","width":354.33,"height":498.9}', + 'name' => 'b6', + ], + [ + 'label' => ts('ISO B7'), + 'value' => '{"metric":"pt","width":249.45,"height":354.33}', + 'name' => 'b7', + ], + [ + 'label' => ts('ISO B8'), + 'value' => '{"metric":"pt","width":175.75,"height":249.45}', + 'name' => 'b8', + ], + [ + 'label' => ts('ISO B9'), + 'value' => '{"metric":"pt","width":124.72,"height":175.75}', + 'name' => 'b9', + ], + [ + 'label' => ts('ISO B10'), + 'value' => '{"metric":"pt","width":87.87,"height":124.72}', + 'name' => 'b10', + ], + [ + 'label' => ts('ISO C0'), + 'value' => '{"metric":"pt","width":2599.37,"height":3676.54}', + 'name' => 'c0', + ], + [ + 'label' => ts('ISO C1'), + 'value' => '{"metric":"pt","width":1836.85,"height":2599.37}', + 'name' => 'c1', + ], + [ + 'label' => ts('ISO C2'), + 'value' => '{"metric":"pt","width":1298.27,"height":1836.85}', + 'name' => 'c2', + ], + [ + 'label' => ts('ISO C3'), + 'value' => '{"metric":"pt","width":918.43,"height":1298.27}', + 'name' => 'c3', + ], + [ + 'label' => ts('ISO C4'), + 'value' => '{"metric":"pt","width":649.13,"height":918.43}', + 'name' => 'c4', + ], + [ + 'label' => ts('ISO C5'), + 'value' => '{"metric":"pt","width":459.21,"height":649.13}', + 'name' => 'c5', + ], + [ + 'label' => ts('ISO C6'), + 'value' => '{"metric":"pt","width":323.15,"height":459.21}', + 'name' => 'c6', + ], + [ + 'label' => ts('ISO C7'), + 'value' => '{"metric":"pt","width":229.61,"height":323.15}', + 'name' => 'c7', + ], + [ + 'label' => ts('ISO C8'), + 'value' => '{"metric":"pt","width":161.57,"height":229.61}', + 'name' => 'c8', + ], + [ + 'label' => ts('ISO C9'), + 'value' => '{"metric":"pt","width":113.39,"height":161.57}', + 'name' => 'c9', + ], + [ + 'label' => ts('ISO C10'), + 'value' => '{"metric":"pt","width":79.37,"height":113.39}', + 'name' => 'c10', + ], + [ + 'label' => ts('ISO RA0'), + 'value' => '{"metric":"pt","width":2437.8,"height":3458.27}', + 'name' => 'ra0', + ], + [ + 'label' => ts('ISO RA1'), + 'value' => '{"metric":"pt","width":1729.13,"height":2437.8}', + 'name' => 'ra1', + ], + [ + 'label' => ts('ISO RA2'), + 'value' => '{"metric":"pt","width":1218.9,"height":1729.13}', + 'name' => 'ra2', + ], + [ + 'label' => ts('ISO RA3'), + 'value' => '{"metric":"pt","width":864.57,"height":1218.9}', + 'name' => 'ra3', + ], + [ + 'label' => ts('ISO RA4'), + 'value' => '{"metric":"pt","width":609.45,"height":864.57}', + 'name' => 'ra4', + ], + [ + 'label' => ts('ISO SRA0'), + 'value' => '{"metric":"pt","width":2551.18,"height":3628.35}', + 'name' => 'sra0', + ], + [ + 'label' => ts('ISO SRA1'), + 'value' => '{"metric":"pt","width":1814.17,"height":2551.18}', + 'name' => 'sra1', + ], + [ + 'label' => ts('ISO SRA2'), + 'value' => '{"metric":"pt","width":1275.59,"height":1814.17}', + 'name' => 'sra2', + ], + [ + 'label' => ts('ISO SRA3'), + 'value' => '{"metric":"pt","width":907.09,"height":1275.59}', + 'name' => 'sra3', + ], + [ + 'label' => ts('ISO SRA4'), + 'value' => '{"metric":"pt","width":637.8,"height":907.09}', + 'name' => 'sra4', + ], + ]) + ->addDefaults([ + 'filter' => NULL, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/participant_listing.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/participant_listing.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..b7f2c187c6329822809d452c0203baf6ab959665 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/participant_listing.sqldata.php @@ -0,0 +1,28 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('participant_listing', 'a/0027') + ->addMetadata([ + 'title' => ts('Participant Listing'), + ]) + ->addValues([ + [ + 'label' => ts('Name Only'), + 'value' => 1, + 'name' => 'Name Only', + 'description' => ts('CRM_Event_Page_ParticipantListing_Name'), + 'is_reserved' => 1, + ], + [ + 'label' => ts('Name and Email'), + 'value' => 2, + 'name' => 'Name and Email', + 'description' => ts('CRM_Event_Page_ParticipantListing_NameAndEmail'), + 'is_reserved' => 1, + ], + [ + 'label' => ts('Name, Status and Register Date'), + 'value' => 3, + 'name' => 'Name, Status and Register Date', + 'description' => ts('CRM_Event_Page_ParticipantListing_NameStatusAndDate'), + 'is_reserved' => 1, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/participant_role.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/participant_role.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..4b1d9b29c0e04a31eca389687c0b6a50f4e5f086 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/participant_role.sqldata.php @@ -0,0 +1,16 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('participant_role', 'a/0014') + ->addMetadata([ + 'title' => ts('Participant Role'), + 'description' => ts('Define participant roles for events here (e.g. Attendee, Host, Speaker...). You can then assign roles and search for participants by role.'), + 'data_type' => 'Integer', + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Attendee'), 'Attendee', 1], + [ts('Volunteer'), 'Volunteer', 2], + [ts('Host'), 'Host', 3], + [ts('Speaker'), 'Speaker', 4], + ]) + ->addDefaults([ + 'filter' => 1, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/payment_instrument.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/payment_instrument.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..cca6514100de3b9e180268cb26ce8a37b9f9e931 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/payment_instrument.sqldata.php @@ -0,0 +1,38 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('payment_instrument', 'a/0010') + ->addMetadata([ + 'title' => ts('Payment Methods'), + 'description' => ts('You may choose to record the payment method used for each contribution and fee. Reserved payment methods are required - you may modify their labels but they can not be deleted (e.g. Check, Credit Card, Debit Card). If your site requires additional payment methods, you can add them here. You can associate each payment method with a Financial Account which specifies where the payment is going (e.g. a bank account for checks and cash).'), + 'data_type' => 'Integer', + ]) + ->addValues([ + [ + 'label' => ts('Credit Card'), + 'value' => 1, + 'name' => 'Credit Card', + 'is_reserved' => 1, + ], + [ + 'label' => ts('Debit Card'), + 'value' => 2, + 'name' => 'Debit Card', + 'is_reserved' => 1, + ], + [ + 'label' => ts('Cash'), + 'value' => 3, + 'name' => 'Cash', + ], + [ + 'label' => ts('Check'), + 'value' => 4, + 'name' => 'Check', + 'is_default' => 1, + 'is_reserved' => 1, + ], + [ + 'label' => ts('EFT'), + 'value' => 5, + 'name' => 'EFT', + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/pcp_owner_notify.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/pcp_owner_notify.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..20ed1361c5d67b63de684388b82f39ddbd8a7cb2 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/pcp_owner_notify.sqldata.php @@ -0,0 +1,27 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('pcp_owner_notify', 'a/0013') + ->addMetadata([ + 'title' => ts('PCP owner notifications'), + 'is_locked' => 1, + ]) + ->addValues([ + [ + 'label' => ts('Owner chooses whether to receive notifications'), + 'value' => 1, + 'name' => 'owner_chooses', + 'is_default' => 1, + 'is_reserved' => 1, + ], + [ + 'label' => ts('Notifications are sent to ALL owners'), + 'value' => 2, + 'name' => 'all_owners', + 'is_reserved' => 1, + ], + [ + 'label' => ts('Notifications are NOT available'), + 'value' => 3, + 'name' => 'no_notifications', + 'is_reserved' => 1, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/pcp_status.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/pcp_status.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..b4759b4ddefab1cae3535be9a1180d8f0026eed9 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/pcp_status.sqldata.php @@ -0,0 +1,14 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('pcp_status', 'a/0012') + ->addMetadata([ + 'title' => ts('PCP Status'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Waiting Review'), 'Waiting Review', 1], + [ts('Approved'), 'Approved', 2], + [ts('Not Approved'), 'Not Approved', 3], + ]) + ->addDefaults([ + 'is_reserved' => 1, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/pdf_format.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/pdf_format.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..31392e769ce34246ed8e3679aeaa946f356cd523 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/pdf_format.sqldata.php @@ -0,0 +1,13 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('pdf_format', 'a/0058') + ->addMetadata([ + 'title' => ts('PDF Page Format'), + ]) + ->addValues([ + [ + 'label' => ts('Invoice PDF Format'), + 'value' => '{"metric":"px","margin_top":10,"margin_bottom":0,"margin_left":65,"margin_right":0}', + 'name' => 'default_invoice_pdf_format', + 'is_reserved' => 1, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/phone_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/phone_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..cfa0b66429fc92b851df32fa799d8201ce574275 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/phone_type.sqldata.php @@ -0,0 +1,12 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('phone_type', 'a/0033') + ->addMetadata([ + 'title' => ts('Phone Type'), + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Phone'), 'Phone', 1], + [ts('Mobile'), 'Mobile', 2], + [ts('Fax'), 'Fax', 3], + [ts('Pager'), 'Pager', 4], + [ts('Voicemail'), 'Voicemail', 5], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/pledge_status.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/pledge_status.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..407252c2081322dd1d823df9130df7800387b8c2 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/pledge_status.sqldata.php @@ -0,0 +1,16 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('pledge_status', 'a/0079') + ->addMetadata([ + 'title' => ts('Pledge Status'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Completed'), 'Completed', 1], + [ts('Pending'), 'Pending', 2], + [ts('Cancelled'), 'Cancelled', 3], + [ts('In Progress'), 'In Progress', 5], + [ts('Overdue'), 'Overdue', 6], + ]) + ->addDefaults([ + 'is_reserved' => 1, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/postal_greeting.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/postal_greeting.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..f68249388d009c890f879170fbd59072888d9b2e --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/postal_greeting.sqldata.php @@ -0,0 +1,35 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('postal_greeting', 'a/0041') + ->addMetadata([ + 'title' => ts('Postal Greeting Type'), + ]) + ->addValues([ + [ + 'value' => 1, + 'name' => 'Dear {contact.first_name}', + 'filter' => 1, + 'is_default' => 1, + ], + [ + 'value' => 2, + 'name' => 'Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}', + 'filter' => 1, + ], + [ + 'value' => 3, + 'name' => 'Dear {contact.prefix_id:label} {contact.last_name}', + 'filter' => 1, + ], + [ + 'value' => 4, + 'name' => 'Customized', + 'is_reserved' => 1, + ], + [ + 'value' => 5, + 'name' => 'Dear {contact.household_name}', + 'filter' => 2, + 'is_default' => 1, + ], + ]) + ->syncColumns('fill', ['name' => 'label']); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/preferred_communication_method.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/preferred_communication_method.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..fb2511ece90c126fa76b61d38c2f2bbe8f622329 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/preferred_communication_method.sqldata.php @@ -0,0 +1,12 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('preferred_communication_method', 'a/0001') + ->addMetadata([ + 'title' => ts('Preferred Communication Method'), + ]) + ->addValueTable(['label', 'name'], [ + [ts('Phone'), 'Phone'], + [ts('Email'), 'Email'], + [ts('Postal Mail'), 'Postal Mail'], + [ts('SMS'), 'SMS'], + [ts('Fax'), 'Fax'], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/priority.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/priority.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..3733464ad718b20f9035cacd1d642064d9166184 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/priority.sqldata.php @@ -0,0 +1,10 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('priority', 'a/0037') + ->addMetadata([ + 'title' => ts('Priority'), + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Urgent'), 'Urgent', 1], + [ts('Normal'), 'Normal', 2], + [ts('Low'), 'Low', 3], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/recent_items_providers.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/recent_items_providers.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..ccc86df7c9a9f8f645c1c3ea9fb4b039f8e62716 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/recent_items_providers.sqldata.php @@ -0,0 +1,29 @@ +<?php + +// dev/core#3783 Recent Items providers +return CRM_Core_CodeGen_OptionGroup::create('recent_items_providers', 'b/99') + ->addMetadata([ + 'title' => ts('Recent Items Providers'), + ]) + ->addValueTable(['label', 'name'], [ + [ts('Contacts'), 'Contact'], + [ts('Relationships'), 'Relationship'], + [ts('Activities'), 'Activity'], + [ts('Notes'), 'Note'], + [ts('Groups'), 'Group'], + [ts('Cases'), 'Case'], + [ts('Contributions'), 'Contribution'], + [ts('Participants'), 'Participant'], + [ts('Memberships'), 'Membership'], + [ts('Pledges'), 'Pledge'], + [ts('Events'), 'Event'], + [ts('Campaigns'), 'Campaign'], + ]) + ->addDefaults([ + 'description' => '', + 'filter' => NULL, + 'weight' => 1, + // Why do these all have the same weight? Shrug. + 'is_reserved' => 1, + ]) + ->syncColumns('fill', ['name' => 'value']); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/recur_frequency_units.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/recur_frequency_units.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..886a429c6f65e029014bc603366bfa70297976dd --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/recur_frequency_units.sqldata.php @@ -0,0 +1,15 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('recur_frequency_units', 'a/0032') + ->addMetadata([ + 'title' => ts('Recurring Frequency Units'), + ]) + ->addValueTable(['label', 'name'], [ + [ts('day'), 'day'], + [ts('week'), 'week'], + [ts('month'), 'month'], + [ts('year'), 'year'], + ]) + ->syncColumns('fill', ['name' => 'value']) + ->addDefaults([ + 'is_reserved' => 1, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/redaction_rule.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/redaction_rule.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..82474c7af92be6d037c28dc9ad1660ce3cbd7f96 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/redaction_rule.sqldata.php @@ -0,0 +1,20 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('redaction_rule', 'a/0038') + ->addMetadata([ + 'title' => ts('Redaction Rule'), + ]) + ->addValues([ + [ + 'label' => 'Vancouver', + 'value' => 'city_', + 'name' => 'city_', + 'is_active' => 0, + ], + [ + 'label' => '/(19|20)(\\d{2})-(\\d{1,2})-(\\d{1,2})/', + 'value' => 'date_', + 'name' => 'date_', + 'filter' => 1, + 'is_active' => 0, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/relative_date_filters.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/relative_date_filters.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..6240b1cbe465a1befc6687669cb2e2b79b101fc6 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/relative_date_filters.sqldata.php @@ -0,0 +1,76 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('relative_date_filters', 'a/0078') + ->addMetadata([ + 'title' => ts('Relative Date Filters'), + ]) + ->addValueTable(['label', 'name'], [ + [ts('Today'), 'this.day'], + [ts('This week'), 'this.week'], + [ts('This calendar month'), 'this.month'], + [ts('This quarter'), 'this.quarter'], + [ts('This fiscal year'), 'this.fiscal_year'], + [ts('This calendar year'), 'this.year'], + [ts('Yesterday'), 'previous.day'], + [ts('Previous week'), 'previous.week'], + [ts('Previous calendar month'), 'previous.month'], + [ts('Previous quarter'), 'previous.quarter'], + [ts('Previous fiscal year'), 'previous.fiscal_year'], + [ts('Previous calendar year'), 'previous.year'], + [ts('Last 7 days including today'), 'ending.week'], + [ts('Last 30 days including today'), 'ending.month', 'value' => 'ending_30.day'], + [ts('Last 60 days including today'), 'ending_2.month', 'value' => 'ending_60.day'], + [ts('Last 90 days including today'), 'ending.quarter', 'value' => 'ending_90.day'], + // Suspicious... name and value disagree... ^^^ + [ts('Last 12 months including today'), 'ending.year'], + [ts('Last 2 years including today'), 'ending_2.year'], + [ts('Last 3 years including today'), 'ending_3.year'], + [ts('Tomorrow'), 'starting.day'], + [ts('Next week'), 'next.week'], + [ts('Next calendar month'), 'next.month'], + [ts('Next quarter'), 'next.quarter'], + [ts('Next fiscal year'), 'next.fiscal_year'], + [ts('Next calendar year'), 'next.year'], + [ts('Next 7 days including today'), 'starting.week'], + [ts('Next 30 days including today'), 'starting.month'], + [ts('Next 60 days including today'), 'starting_2.month'], + [ts('Next 90 days including today'), 'starting.quarter'], + [ts('Next 12 months including today'), 'starting.year'], + [ts('Current week to-date'), 'current.week'], + [ts('Current calendar month to-date'), 'current.month'], + [ts('Current quarter to-date'), 'current.quarter'], + [ts('Current calendar year to-date'), 'current.year'], + [ts('To end of yesterday'), 'earlier.day'], + [ts('To end of previous week'), 'earlier.week'], + [ts('To end of previous calendar month'), 'earlier.month'], + [ts('To end of previous quarter'), 'earlier.quarter'], + [ts('To end of previous calendar year'), 'earlier.year'], + [ts('From start of current day'), 'greater.day'], + [ts('From start of current week'), 'greater.week'], + [ts('From start of current calendar month'), 'greater.month'], + [ts('From start of current quarter'), 'greater.quarter'], + [ts('From start of current calendar year'), 'greater.year'], + [ts('To end of current week'), 'less.week'], + [ts('To end of current calendar month'), 'less.month'], + [ts('To end of current quarter'), 'less.quarter'], + [ts('To end of current calendar year'), 'less.year'], + [ts('Previous 2 days'), 'previous_2.day'], + [ts('Previous 2 weeks'), 'previous_2.week'], + [ts('Previous 2 calendar months'), 'previous_2.month'], + [ts('Previous 2 quarters'), 'previous_2.quarter'], + [ts('Previous 2 calendar years'), 'previous_2.year'], + [ts('Previous 2 fiscal years'), 'previous_2.fiscal_year'], + [ts('Day prior to yesterday'), 'previous_before.day'], + [ts('Week prior to previous week'), 'previous_before.week'], + [ts('Month prior to previous calendar month'), 'previous_before.month', 'is_default' => NULL], + [ts('Quarter prior to previous quarter'), 'previous_before.quarter'], + [ts('Year prior to previous calendar year'), 'previous_before.year'], + [ts('Fiscal year prior to previous fiscal year'), 'previous_before.fiscal_year'], + [ts('From end of previous week'), 'greater_previous.week'], + [ts('From end of previous calendar month'), 'greater_previous.month'], + [ts('From end of previous quarter'), 'greater_previous.quarter'], + [ts('From end of previous calendar year'), 'greater_previous.year'], + ]) + ->syncColumns('fill', ['name' => 'value']) + ->addDefaults([ + 'filter' => NULL, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/report_template.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/report_template.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..c77ed8a230578b17420c8299db72d4e38f2f4cce --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/report_template.sqldata.php @@ -0,0 +1,376 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('report_template', 'a/0039') + ->addMetadata([ + 'title' => ts('Report Template'), + ]) + ->addValues([ + [ + 'label' => ts('Constituent Report (Summary)'), + 'value' => 'contact/summary', + 'name' => 'CRM_Report_Form_Contact_Summary', + 'weight' => 1, + 'description' => ts('Provides a list of address and telephone information for constituent records in your system.'), + ], + [ + 'label' => ts('Constituent Report (Detail)'), + 'value' => 'contact/detail', + 'name' => 'CRM_Report_Form_Contact_Detail', + 'weight' => 2, + 'description' => ts('Provides contact-related information on contributions, memberships, events and activities.'), + ], + [ + 'label' => ts('Activity Details Report'), + 'value' => 'activity', + 'name' => 'CRM_Report_Form_Activity', + 'weight' => 3, + 'description' => ts('Provides a list of constituent activity including activity statistics for one/all contacts during a given date range(required)'), + ], + [ + 'label' => ts('Walk / Phone List Report'), + 'value' => 'walklist', + 'name' => 'CRM_Report_Form_Walklist_Walklist', + 'weight' => 4, + 'description' => ts('Provides a detailed report for your walk/phonelist for targeted contacts'), + 'is_active' => 0, + ], + [ + 'label' => ts('Current Employer Report'), + 'value' => 'contact/currentEmployer', + 'name' => 'CRM_Report_Form_Contact_CurrentEmployer', + 'weight' => 5, + 'description' => ts('Provides detail list of employer employee relationships along with employment details Ex Join Date'), + ], + [ + 'label' => ts('Contribution Summary Report'), + 'value' => 'contribute/summary', + 'name' => 'CRM_Report_Form_Contribute_Summary', + 'weight' => 6, + 'description' => ts('Groups and totals contributions by criteria including contact, time period, financial type, contributor location, etc.'), + 'component_id' => 2, + ], + [ + 'label' => ts('Contribution Detail Report'), + 'value' => 'contribute/detail', + 'name' => 'CRM_Report_Form_Contribute_Detail', + 'weight' => 7, + 'description' => ts('Lists specific contributions by criteria including contact, time period, financial type, contributor location, etc. Contribution summary report points to this report for contribution details.'), + 'component_id' => 2, + ], + [ + 'label' => ts('Repeat Contributions Report'), + 'value' => 'contribute/repeat', + 'name' => 'CRM_Report_Form_Contribute_Repeat', + 'weight' => 8, + 'description' => ts('Given two date ranges, shows contacts who contributed in both the date ranges with the amount contributed in each and the percentage increase / decrease.'), + 'component_id' => 2, + ], + [ + 'label' => ts('Contributions by Organization Report'), + 'value' => 'contribute/organizationSummary', + 'name' => 'CRM_Report_Form_Contribute_OrganizationSummary', + 'weight' => 9, + 'description' => ts('Displays a detailed list of contributions grouped by organization, which includes contributions made by employees for the organisation.'), + 'component_id' => 2, + ], + [ + 'label' => ts('Contributions by Household Report'), + 'value' => 'contribute/householdSummary', + 'name' => 'CRM_Report_Form_Contribute_HouseholdSummary', + 'weight' => 10, + 'description' => ts('Displays a detailed list of contributions grouped by household which includes contributions made by members of the household.'), + 'component_id' => 2, + ], + [ + 'label' => ts('Top Donors Report'), + 'value' => 'contribute/topDonor', + 'name' => 'CRM_Report_Form_Contribute_TopDonor', + 'weight' => 11, + 'description' => ts('Provides a list of the top donors during a time period you define. You can include as many donors as you want (for example, top 100 of your donors).'), + 'component_id' => 2, + ], + [ + 'label' => ts('SYBUNT Report'), + 'value' => 'contribute/sybunt', + 'name' => 'CRM_Report_Form_Contribute_Sybunt', + 'weight' => 12, + 'description' => ts('SYBUNT means some year(s) but not this year. Provides a list of constituents who donated at some time in the history of your organization but did not donate during the time period you specify.'), + 'component_id' => 2, + ], + [ + 'label' => ts('LYBUNT Report'), + 'value' => 'contribute/lybunt', + 'name' => 'CRM_Report_Form_Contribute_Lybunt', + 'weight' => 13, + 'description' => ts('LYBUNT means last year but not this year. Provides a list of constituents who donated last year but did not donate during the time period you specify as the current year.'), + 'component_id' => 2, + ], + [ + 'label' => ts('Soft Credit Report'), + 'value' => 'contribute/softcredit', + 'name' => 'CRM_Report_Form_Contribute_SoftCredit', + 'weight' => 14, + 'description' => ts('Shows contributions made by contacts that have been soft-credited to other contacts.'), + 'component_id' => 2, + ], + [ + 'label' => ts('Membership Report (Summary)'), + 'value' => 'member/summary', + 'name' => 'CRM_Report_Form_Member_Summary', + 'weight' => 15, + 'description' => ts('Provides a summary of memberships by type and Member Since.'), + 'component_id' => 3, + ], + [ + 'label' => ts('Membership Report (Detail)'), + 'value' => 'member/detail', + 'name' => 'CRM_Report_Form_Member_Detail', + 'weight' => 16, + 'description' => ts('Provides a list of members along with their membership status and membership details (Member Since, Membership Start Date, Membership Expiration Date). Can also display contributions (payments) associated with each membership.'), + 'component_id' => 3, + ], + [ + 'label' => ts('Membership Report (Lapsed)'), + 'value' => 'member/lapse', + 'name' => 'CRM_Report_Form_Member_Lapse', + 'weight' => 17, + 'description' => ts('Provides a list of memberships that lapsed or will lapse before the date you specify.'), + 'component_id' => 3, + ], + [ + 'label' => ts('Event Participant Report (List)'), + 'value' => 'event/participantListing', + 'name' => 'CRM_Report_Form_Event_ParticipantListing', + 'weight' => 18, + 'description' => ts('Provides lists of participants for an event.'), + 'component_id' => 1, + ], + [ + 'label' => ts('Event Income Report (Summary)'), + 'value' => 'event/summary', + 'name' => 'CRM_Report_Form_Event_Summary', + 'weight' => 19, + 'description' => ts('Provides an overview of event income. You can include key information such as event ID, registration, attendance, and income generated to help you determine the success of an event.'), + 'component_id' => 1, + ], + [ + 'label' => ts('Event Income Report (Detail)'), + 'value' => 'event/income', + 'name' => 'CRM_Report_Form_Event_Income', + 'weight' => 20, + 'description' => ts('Helps you to analyze the income generated by an event. The report can include details by participant type, status and payment method.'), + 'component_id' => 1, + ], + [ + 'label' => ts('Pledge Detail Report'), + 'value' => 'pledge/detail', + 'name' => 'CRM_Report_Form_Pledge_Detail', + 'weight' => 21, + 'description' => ts('List of pledges including amount pledged, pledge status, next payment date, balance due, total amount paid etc.'), + 'component_id' => 6, + ], + [ + 'label' => ts('Pledged but not Paid Report'), + 'value' => 'pledge/pbnp', + 'name' => 'CRM_Report_Form_Pledge_Pbnp', + 'weight' => 22, + 'description' => ts('Pledged but not Paid Report'), + 'component_id' => 6, + ], + [ + 'label' => ts('Relationship Report'), + 'value' => 'contact/relationship', + 'name' => 'CRM_Report_Form_Contact_Relationship', + 'weight' => 23, + 'description' => ts('Relationship Report'), + ], + [ + 'label' => ts('Case Summary Report'), + 'value' => 'case/summary', + 'name' => 'CRM_Report_Form_Case_Summary', + 'weight' => 24, + 'description' => ts('Provides a summary of cases and their duration by date range, status, staff member and / or case role.'), + 'component_id' => 7, + ], + [ + 'label' => ts('Case Time Spent Report'), + 'value' => 'case/timespent', + 'name' => 'CRM_Report_Form_Case_TimeSpent', + 'weight' => 25, + 'description' => ts('Aggregates time spent on case and / or non-case activities by activity type and contact.'), + 'component_id' => 7, + ], + [ + 'label' => ts('Contact Demographics Report'), + 'value' => 'case/demographics', + 'name' => 'CRM_Report_Form_Case_Demographics', + 'weight' => 26, + 'description' => ts('Demographic breakdown for case clients (and or non-case contacts) in your database. Includes custom contact fields.'), + 'component_id' => 7, + ], + [ + 'label' => ts('Database Log Report'), + 'value' => 'contact/log', + 'name' => 'CRM_Report_Form_Contact_Log', + 'weight' => 27, + 'description' => ts('Log of contact and activity records created or updated in a given date range.'), + ], + [ + 'label' => ts('Activity Summary Report'), + 'value' => 'activitySummary', + 'name' => 'CRM_Report_Form_ActivitySummary', + 'weight' => 28, + 'description' => ts('Shows activity statistics by type / date'), + ], + [ + 'label' => ts('Bookkeeping Transactions Report'), + 'value' => 'contribute/bookkeeping', + 'name' => 'CRM_Report_Form_Contribute_Bookkeeping', + 'weight' => 29, + 'description' => ts('Shows Bookkeeping Transactions Report'), + 'component_id' => 2, + ], + [ + 'label' => ts('Participant list Count Report'), + 'value' => 'event/participantlist', + 'name' => 'CRM_Report_Form_Event_ParticipantListCount', + 'weight' => 31, + 'description' => ts('Shows the Participant list with Participant Count.'), + 'component_id' => 1, + ], + [ + 'label' => ts('Income Count Summary Report'), + 'value' => 'event/incomesummary', + 'name' => 'CRM_Report_Form_Event_IncomeCountSummary', + 'weight' => 32, + 'description' => ts('Shows the Income Summary of events with Count.'), + 'component_id' => 1, + ], + [ + 'label' => ts('Case Detail Report'), + 'value' => 'case/detail', + 'name' => 'CRM_Report_Form_Case_Detail', + 'weight' => 33, + 'description' => ts('Case Details'), + 'component_id' => 7, + ], + [ + 'label' => ts('Mail Bounce Report'), + 'value' => 'Mailing/bounce', + 'name' => 'CRM_Report_Form_Mailing_Bounce', + 'weight' => 34, + 'description' => ts('Bounce Report for mailings'), + 'component_id' => 4, + ], + [ + 'label' => ts('Mail Summary Report'), + 'value' => 'Mailing/summary', + 'name' => 'CRM_Report_Form_Mailing_Summary', + 'weight' => 35, + 'description' => ts('Summary statistics for mailings'), + 'component_id' => 4, + ], + [ + 'label' => ts('Mail Opened Report'), + 'value' => 'Mailing/opened', + 'name' => 'CRM_Report_Form_Mailing_Opened', + 'weight' => 36, + 'description' => ts('Display contacts who opened emails from a mailing'), + 'component_id' => 4, + ], + [ + 'label' => ts('Mail Click-Through Report'), + 'value' => 'Mailing/clicks', + 'name' => 'CRM_Report_Form_Mailing_Clicks', + 'weight' => 37, + 'description' => ts('Display clicks from each mailing'), + 'component_id' => 4, + ], + [ + 'label' => ts('Contact Logging Report (Summary)'), + 'value' => 'logging/contact/summary', + 'name' => 'CRM_Report_Form_Contact_LoggingSummary', + 'weight' => 38, + 'description' => ts('Contact modification report for the logging infrastructure (summary).'), + 'is_active' => 0, + ], + [ + 'label' => ts('Contact Logging Report (Detail)'), + 'value' => 'logging/contact/detail', + 'name' => 'CRM_Report_Form_Contact_LoggingDetail', + 'weight' => 39, + 'description' => ts('Contact modification report for the logging infrastructure (detail).'), + 'is_active' => 0, + ], + [ + 'label' => ts('Survey Report (Detail)'), + 'value' => 'survey/detail', + 'name' => 'CRM_Report_Form_Campaign_SurveyDetails', + 'weight' => 43, + 'description' => ts('Detailed report for canvassing, phone-banking, walk lists or other surveys.'), + 'component_id' => 9, + ], + [ + 'label' => ts('Personal Campaign Page Report'), + 'value' => 'contribute/pcp', + 'name' => 'CRM_Report_Form_Contribute_PCP', + 'weight' => 44, + 'description' => ts('Summarizes amount raised and number of contributors for each Personal Campaign Page.'), + 'component_id' => 2, + ], + [ + 'label' => ts('Pledge Summary Report'), + 'value' => 'pledge/summary', + 'name' => 'CRM_Report_Form_Pledge_Summary', + 'weight' => 45, + 'description' => ts('Groups and totals pledges by criteria including contact, time period, pledge status, location, etc.'), + 'component_id' => 6, + ], + [ + 'label' => ts('Contribution Aggregate by Relationship'), + 'value' => 'contribute/history', + 'name' => 'CRM_Report_Form_Contribute_History', + 'weight' => 46, + 'description' => ts('List contact\'s donation history, grouped by year, along with contributions attributed to any of the contact\'s related contacts.'), + 'component_id' => 2, + ], + [ + 'label' => ts('Mail Detail Report'), + 'value' => 'mailing/detail', + 'name' => 'CRM_Report_Form_Mailing_Detail', + 'weight' => 47, + 'description' => ts('Provides reporting on Intended and Successful Deliveries, Unsubscribes and Opt-outs, Replies and Forwards.'), + 'component_id' => 4, + ], + [ + 'label' => ts('Contribution and Membership Details'), + 'value' => 'member/contributionDetail', + 'name' => 'CRM_Report_Form_Member_ContributionDetail', + 'weight' => 48, + 'description' => ts('Contribution details for any type of contribution, plus associated membership information for contributions which are in payment for memberships.'), + 'component_id' => 3, + ], + [ + 'label' => ts('Recurring Contributions Report'), + 'value' => 'contribute/recur', + 'name' => 'CRM_Report_Form_Contribute_Recur', + 'weight' => 49, + 'description' => ts('Provides information about the status of recurring contributions'), + 'component_id' => 2, + ], + [ + 'label' => ts('Recurring Contributions Summary'), + 'value' => 'contribute/recursummary', + 'name' => 'CRM_Report_Form_Contribute_RecurSummary', + 'weight' => 49, + 'description' => ts('Provides simple summary for each payment instrument for which there are recurring contributions (e.g. Credit Card, Standing Order, Direct Debit, etc., NULL), showing within a given date range.'), + 'component_id' => 2, + ], + [ + 'label' => ts('Deferred Revenue Details'), + 'value' => 'contribute/deferredrevenue', + 'name' => 'CRM_Report_Form_Contribute_DeferredRevenue', + 'weight' => 50, + 'description' => ts('Deferred Revenue Details Report'), + 'component_id' => 2, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/safe_file_extension.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/safe_file_extension.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..4f0e84b14b193dcc2f63b8fdca966a7d619993ff --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/safe_file_extension.sqldata.php @@ -0,0 +1,24 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('safe_file_extension', 'a/0028') + ->addMetadata([ + 'title' => ts('Safe File Extension'), + ]) + ->addValueTable(['name', 'value'], [ + ['jpg', 1], + ['jpeg', 2], + ['png', 3], + ['gif', 4], + ['txt', 5], + ['pdf', 6], + ['doc', 7], + ['xls', 8], + ['rtf', 9], + ['csv', 10], + ['ppt', 11], + ['docx', 12], + ['xlsx', 13], + ['odt', 14], + ['ics', 15], + ['pptx', 16], + ]) + ->syncColumns('fill', ['name' => 'label']); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/sms_api_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/sms_api_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..a0d0bb72465f75ab826c86e05324c4ceca1e524a --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/sms_api_type.sqldata.php @@ -0,0 +1,13 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('sms_api_type', 'a/0067') + ->addMetadata([ + 'title' => ts('Api Type'), + ]) + ->addValueTable(['label', 'name', 'value'], [ + ['http', 'http', 1, 'is_reserved' => 1], + ['xml', 'xml', 2, 'is_reserved' => 1], + ['smtp', 'smtp', 3, 'is_reserved' => 1], + ]) + ->addDefaults([ + 'filter' => NULL, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/sms_provider_name.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/sms_provider_name.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..6a0bc0ad5fe93c46fa746bb3ffacadb9a1f2b36c --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/sms_provider_name.sqldata.php @@ -0,0 +1,5 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('sms_provider_name', 'a/0068') + ->addMetadata([ + 'title' => ts('Sms Provider Internal Name'), + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/soft_credit_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/soft_credit_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..6a1239333d55a4ab36b78ed5343592e7242318aa --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/soft_credit_type.sqldata.php @@ -0,0 +1,68 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('soft_credit_type', 'a/0096') + ->addMetadata([ + 'title' => ts('Soft Credit Types'), + ]) + ->addValues([ + [ + 'label' => ts('In Honor of'), + 'value' => 1, + 'name' => 'in_honor_of', + 'is_reserved' => 1, + ], + [ + 'label' => ts('In Memory of'), + 'value' => 2, + 'name' => 'in_memory_of', + 'is_reserved' => 1, + ], + [ + 'label' => ts('Solicited'), + 'value' => 3, + 'name' => 'solicited', + 'is_default' => 1, + 'is_reserved' => 1, + ], + [ + 'label' => ts('Household'), + 'value' => 4, + 'name' => 'household', + ], + [ + 'label' => ts('Workplace Giving'), + 'value' => 5, + 'name' => 'workplace', + ], + [ + 'label' => ts('Foundation Affiliate'), + 'value' => 6, + 'name' => 'foundation_affiliate', + ], + [ + 'label' => ts('3rd-party Service'), + 'value' => 7, + 'name' => '3rd-party_service', + ], + [ + 'label' => ts('Donor-advised Fund'), + 'value' => 8, + 'name' => 'donor-advised_fund', + ], + [ + 'label' => ts('Matched Gift'), + 'value' => 9, + 'name' => 'matched_gift', + ], + [ + 'label' => ts('Personal Campaign Page'), + 'value' => 10, + 'name' => 'pcp', + 'is_reserved' => 1, + ], + [ + 'label' => ts('Gift'), + 'value' => 11, + 'name' => 'gift', + 'is_reserved' => 1, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/system_extensions.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/system_extensions.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..4da5924bf7aec5a9aa6d8cb8fb0b119d1c1685ef --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/system_extensions.sqldata.php @@ -0,0 +1,8 @@ +<?php + +// This appears to be unused. My guess is that it still exists to preserve the OptionGroup IDs? + +return CRM_Core_CodeGen_OptionGroup::create('system_extensions', 'a/0053') + ->addMetadata([ + 'title' => ts('CiviCRM Extensions'), + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/tag_used_for.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/tag_used_for.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..815c3ebcd48aac9860cb524c8a67e5585f9bdccf --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/tag_used_for.sqldata.php @@ -0,0 +1,12 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('tag_used_for', 'a/0046') + ->addMetadata([ + 'title' => ts('Tag Used For'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Contacts'), 'Contact', 'civicrm_contact'], + [ts('Activities'), 'Activity', 'civicrm_activity'], + [ts('Cases'), 'Case', 'civicrm_case'], + [ts('Attachments'), 'File', 'civicrm_file'], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/user_dashboard_options.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/user_dashboard_options.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..34a162abf13d17c70d61da9154e6aa523cd00e30 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/user_dashboard_options.sqldata.php @@ -0,0 +1,19 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('user_dashboard_options', 'a/0020') + ->addMetadata([ + 'title' => ts('User Dashboard Options'), + 'is_locked' => 1, + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Groups'), 'Groups', 1], + [ts('Contributions'), 'CiviContribute', 2], + [ts('Memberships'), 'CiviMember', 3], + [ts('Events'), 'CiviEvent', 4], + [ts('My Contacts / Organizations'), 'Permissioned Orgs', 5], + // Wait, I like the number 6. What's wrong with 6? + [ts('Pledges'), 'CiviPledge', 7], + [ts('Personal Campaign Pages'), 'PCP', 8], + [ts('Assigned Activities'), 'Assigned Activities', 9], + [ts('Invoices / Credit Notes'), 'Invoices / Credit Notes', 10], + ]) + ->syncColumns('fill', ['value' => 'weight']); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/visibility.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/visibility.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..a2a98c28745f549f927f7e80fe1a1d43906589d2 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/visibility.sqldata.php @@ -0,0 +1,9 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('visibility', 'a/0035') + ->addMetadata([ + 'title' => ts('Visibility'), + ]) + ->addValueTable(['label', 'name', 'value'], [ + ['Public', 'public', 1], + ['Admin', 'admin', 2], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/website_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/website_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..1aa66a5a97ccb3e1399e0f39dcdda00a1af3d204 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/website_type.sqldata.php @@ -0,0 +1,20 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('website_type', 'a/0045') + ->addMetadata([ + 'title' => ts('Website Type'), + ]) + ->addValueTable(['name', 'value'], [ + ['Work', 1, 'is_default' => 1], + ['Main', 2], + ['Facebook', 3], + ['Instagram', 5], + ['LinkedIn', 6], + ['MySpace', 7], + ['Pinterest', 8], + ['SnapChat', 9], + ['Tumblr', 10], + ['Twitter', 11], + ['Vine ', 12, 'label' => 'Vine'], + // This appears to be locking-in a typo on the 'name' side, but they fixed the 'label'. + ]) + ->syncColumns('fill', ['value' => 'weight', 'name' => 'label']); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/wysiwyg_editor.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/wysiwyg_editor.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..68342aade5084174e92fabbc4d06cc6f3d657aa1 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/wysiwyg_editor.sqldata.php @@ -0,0 +1,12 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('wysiwyg_editor', 'a/0031') + ->addMetadata([ + 'title' => ts('WYSIWYG Editor'), + ]) + ->addValueTable(['label', 'name', 'value'], [ + [ts('Textarea'), 'Textarea', 1], + [ts('CKEditor 4'), 'CKEditor', 2], + ]) + ->addDefaults([ + 'is_reserved' => 1, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_option_group/wysiwyg_presets.sqldata.php b/civicrm/sql/civicrm_data/civicrm_option_group/wysiwyg_presets.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..b69391ff99ccaba56c77db970cfddb5e76b0d836 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_option_group/wysiwyg_presets.sqldata.php @@ -0,0 +1,29 @@ +<?php +return CRM_Core_CodeGen_OptionGroup::create('wysiwyg_presets', 'a/0077') + ->addMetadata([ + 'title' => ts('WYSIWYG Editor Presets'), + ]) + ->addValues([ + [ + 'label' => ts('Default'), + 'value' => 1, + 'name' => 'default', + 'is_default' => 1, + ], + [ + 'label' => ts('CiviMail'), + 'value' => 2, + 'name' => 'civimail', + 'component_id' => 4, + ], + [ + 'label' => ts('CiviEvent'), + 'value' => 3, + 'name' => 'civievent', + 'component_id' => 1, + ], + ]) + ->addDefaults([ + 'filter' => NULL, + 'is_reserved' => 1, + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_participant_status_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_participant_status_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..2145fee5f6a54ca67707d647ac533c08a7c1a6db --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_participant_status_type.sqldata.php @@ -0,0 +1,129 @@ +<?php +return CRM_Core_CodeGen_SqlData::create('civicrm_participant_status_type') + ->addDefaults([ + 'is_active' => 1, + 'is_reserved' => 1, + 'visibility_id' => 2, + ]) + ->addValues([ + [ + 'name' => 'Registered', + 'label' => ts('Registered'), + 'class' => 'Positive', + 'is_counted' => 1, + 'weight' => 1, + 'visibility_id' => 1, + ], + [ + 'name' => 'Attended', + 'label' => ts('Attended'), + 'class' => 'Positive', + 'is_reserved' => 0, + 'is_counted' => 1, + 'weight' => 2, + ], + [ + 'name' => 'No-show', + 'label' => ts('No-show'), + 'class' => 'Negative', + 'is_reserved' => 0, + 'is_counted' => 0, + 'weight' => 3, + ], + [ + 'name' => 'Cancelled', + 'label' => ts('Cancelled'), + 'class' => 'Negative', + 'is_counted' => 0, + 'weight' => 4, + ], + [ + 'name' => 'Pending from pay later', + 'label' => ts('Pending (pay later)'), + 'class' => 'Pending', + 'is_counted' => 1, + 'weight' => 5, + ], + [ + 'name' => 'Pending from incomplete transaction', + 'label' => ts('Pending (incomplete transaction)'), + 'class' => 'Pending', + 'is_counted' => 0, + 'weight' => 6, + ], + [ + 'name' => 'On waitlist', + 'label' => ts('On waitlist'), + 'class' => 'Waiting', + 'is_active' => 0, + 'is_counted' => 0, + 'weight' => 7, + ], + [ + 'name' => 'Awaiting approval', + 'label' => ts('Awaiting approval'), + 'class' => 'Waiting', + 'is_active' => 0, + 'is_counted' => 1, + 'weight' => 8, + ], + [ + 'name' => 'Pending from waitlist', + 'label' => ts('Pending from waitlist'), + 'class' => 'Pending', + 'is_active' => 0, + 'is_counted' => 1, + 'weight' => 9, + ], + [ + 'name' => 'Pending from approval', + 'label' => ts('Pending from approval'), + 'class' => 'Pending', + 'is_active' => 0, + 'is_counted' => 1, + 'weight' => 10, + ], + [ + 'name' => 'Rejected', + 'label' => ts('Rejected'), + 'class' => 'Negative', + 'is_active' => 0, + 'is_counted' => 0, + 'weight' => 11, + ], + [ + 'name' => 'Expired', + 'label' => ts('Expired'), + 'class' => 'Negative', + 'is_counted' => 0, + 'weight' => 12, + ], + [ + 'name' => 'Pending in cart', + 'label' => ts('Pending in cart'), + 'class' => 'Pending', + 'is_counted' => 0, + 'weight' => 13, + ], + [ + 'name' => 'Partially paid', + 'label' => ts('Partially paid'), + 'class' => 'Positive', + 'is_counted' => 1, + 'weight' => 14, + ], + [ + 'name' => 'Pending refund', + 'label' => ts('Pending refund'), + 'class' => 'Positive', + 'is_counted' => 1, + 'weight' => 15, + ], + [ + 'name' => 'Transferred', + 'label' => ts('Transferred'), + 'class' => 'Negative', + 'is_counted' => 0, + 'weight' => 16, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_payment_processor_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_payment_processor_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..834a25d0b08132f238648d6209b79cb568ddbfb6 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_payment_processor_type.sqldata.php @@ -0,0 +1,181 @@ +<?php + +return CRM_Core_CodeGen_SqlData::create('civicrm_payment_processor_type') + ->addValues([ + [ + 'name' => 'PayPal_Standard', + 'title' => ts('PayPal - Website Payments Standard'), + 'description' => NULL, + 'is_active' => 1, + 'is_default' => 0, + 'user_name_label' => ts('Merchant Account Email'), + 'password_label' => NULL, + 'signature_label' => NULL, + 'subject_label' => NULL, + 'class_name' => 'Payment_PayPalImpl', + 'url_site_default' => 'https://www.paypal.com/', + 'url_api_default' => NULL, + 'url_recur_default' => 'https://www.paypal.com/', + 'url_button_default' => NULL, + 'url_site_test_default' => 'https://www.sandbox.paypal.com/', + 'url_api_test_default' => NULL, + 'url_recur_test_default' => 'https://www.sandbox.paypal.com/', + 'url_button_test_default' => NULL, + 'billing_mode' => 4, + 'is_recur' => 1, + ], + [ + 'name' => 'PayPal', + 'title' => ts('PayPal - Website Payments Pro'), + 'description' => NULL, + 'is_active' => 1, + 'is_default' => 0, + 'user_name_label' => ts('User Name'), + 'password_label' => ts('Password'), + 'signature_label' => ts('Signature'), + 'subject_label' => NULL, + 'class_name' => 'Payment_PayPalImpl', + 'url_site_default' => 'https://www.paypal.com/', + 'url_api_default' => 'https://api-3t.paypal.com/', + 'url_recur_default' => 'https://www.paypal.com/', + 'url_button_default' => 'https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif', + 'url_site_test_default' => 'https://www.sandbox.paypal.com/', + 'url_api_test_default' => 'https://api-3t.sandbox.paypal.com/', + 'url_recur_test_default' => 'https://www.sandbox.paypal.com/', + 'url_button_test_default' => 'https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif', + 'billing_mode' => 3, + 'is_recur' => 1, + ], + [ + 'name' => 'PayPal_Express', + 'title' => ts('PayPal - Express'), + 'description' => NULL, + 'is_active' => 1, + 'is_default' => 0, + 'user_name_label' => ts('User Name'), + 'password_label' => ts('Password'), + 'signature_label' => ts('Signature'), + 'subject_label' => NULL, + 'class_name' => 'Payment_PayPalImpl', + 'url_site_default' => 'https://www.paypal.com/', + 'url_api_default' => 'https://api-3t.paypal.com/', + 'url_recur_default' => NULL, + 'url_button_default' => 'https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif', + 'url_site_test_default' => 'https://www.sandbox.paypal.com/', + 'url_api_test_default' => 'https://api-3t.sandbox.paypal.com/', + 'url_recur_test_default' => NULL, + 'url_button_test_default' => 'https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif', + 'billing_mode' => 2, + 'is_recur' => 1, + ], + [ + 'name' => 'AuthNet', + 'title' => ts('Authorize.Net'), + 'description' => NULL, + 'is_active' => 1, + 'is_default' => 0, + 'user_name_label' => ts('API Login'), + 'password_label' => ts('Payment Key'), + 'signature_label' => ts('MD5 Hash'), + 'subject_label' => NULL, + 'class_name' => 'Payment_AuthorizeNet', + 'url_site_default' => 'https://secure2.authorize.net/gateway/transact.dll', + 'url_api_default' => NULL, + 'url_recur_default' => 'https://api2.authorize.net/xml/v1/request.api', + 'url_button_default' => NULL, + 'url_site_test_default' => 'https://test.authorize.net/gateway/transact.dll', + 'url_api_test_default' => NULL, + 'url_recur_test_default' => 'https://apitest.authorize.net/xml/v1/request.api', + 'url_button_test_default' => NULL, + 'billing_mode' => 1, + 'is_recur' => 1, + ], + [ + 'name' => 'PayJunction', + 'title' => ts('PayJunction'), + 'description' => NULL, + 'is_active' => 0, + 'is_default' => 0, + 'user_name_label' => 'User Name', + 'password_label' => 'Password', + 'signature_label' => NULL, + 'subject_label' => NULL, + 'class_name' => 'Payment_PayJunction', + 'url_site_default' => 'https://payjunction.com/quick_link', + 'url_api_default' => NULL, + 'url_recur_default' => NULL, + 'url_button_default' => NULL, + 'url_site_test_default' => 'https://www.payjunctionlabs.com/quick_link', + 'url_api_test_default' => NULL, + 'url_recur_test_default' => NULL, + 'url_button_test_default' => NULL, + 'billing_mode' => 1, + 'is_recur' => 1, + ], + [ + 'name' => 'Dummy', + 'title' => ts('Dummy Payment Processor'), + 'description' => NULL, + 'is_active' => 1, + 'is_default' => 1, + 'user_name_label' => ts('User Name'), + 'password_label' => NULL, + 'signature_label' => NULL, + 'subject_label' => NULL, + 'class_name' => 'Payment_Dummy', + 'url_site_default' => NULL, + 'url_api_default' => NULL, + 'url_recur_default' => NULL, + 'url_button_default' => NULL, + 'url_site_test_default' => NULL, + 'url_api_test_default' => NULL, + 'url_recur_test_default' => NULL, + 'url_button_test_default' => NULL, + 'billing_mode' => 1, + 'is_recur' => 1, + ], + [ + 'name' => 'Realex', + 'title' => ts('Realex Payment'), + 'description' => NULL, + 'is_active' => 0, + 'is_default' => 0, + 'user_name_label' => 'Merchant ID', + 'password_label' => 'Password', + 'signature_label' => NULL, + 'subject_label' => 'Account', + 'class_name' => 'Payment_Realex', + 'url_site_default' => 'https://epage.payandshop.com/epage.cgi', + 'url_api_default' => NULL, + 'url_recur_default' => NULL, + 'url_button_default' => NULL, + 'url_site_test_default' => 'https://epage.payandshop.com/epage-remote.cgi', + 'url_api_test_default' => NULL, + 'url_recur_test_default' => NULL, + 'url_button_test_default' => NULL, + 'billing_mode' => 1, + 'is_recur' => 0, + ], + [ + 'name' => 'FirstData', + 'title' => ts('FirstData (aka linkpoint)'), + 'description' => ts('FirstData (aka linkpoint)'), + 'is_active' => 0, + 'is_default' => 0, + 'user_name_label' => 'Store name', + 'password_label' => 'certificate path', + 'signature_label' => NULL, + 'subject_label' => NULL, + 'class_name' => 'Payment_FirstData', + 'url_site_default' => 'https://secure.linkpt.net', + 'url_api_default' => NULL, + 'url_recur_default' => NULL, + 'url_button_default' => NULL, + 'url_site_test_default' => 'https://staging.linkpt.net', + 'url_api_test_default' => NULL, + 'url_recur_test_default' => NULL, + 'url_button_test_default' => NULL, + 'billing_mode' => 1, + 'is_recur' => 0, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_preferences_date.sqldata.php b/civicrm/sql/civicrm_data/civicrm_preferences_date.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..467460e28d7339197f1b5d508a3373b2683519d2 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_preferences_date.sqldata.php @@ -0,0 +1,60 @@ +<?php +return CRM_Core_CodeGen_SqlData::create('civicrm_preferences_date') + ->addValues([ + [ + 'name' => 'activityDate', + 'start' => 20, + 'end' => 10, + 'date_format' => '', + 'time_format' => '', + 'description' => ts('Date for relationships. activities. contributions: receive, receipt, cancel. membership: join, start, renew. case: start, end.'), + ], + [ + 'name' => 'activityDateTime', + 'start' => 20, + 'end' => 10, + 'date_format' => '', + 'time_format' => 1, + 'description' => ts('Date and time for activity: scheduled. participant: registered.'), + ], + [ + 'name' => 'birth', + 'start' => 100, + 'end' => 0, + 'date_format' => '', + 'time_format' => '', + 'description' => ts('Birth and deceased dates. Only year, month and day fields are supported.'), + ], + [ + 'name' => 'creditCard', + 'start' => 0, + 'end' => 10, + 'date_format' => 'M Y', + 'time_format' => '', + 'description' => ts('Month and year only for credit card expiration.'), + ], + [ + 'name' => 'custom', + 'start' => 20, + 'end' => 20, + 'date_format' => '', + 'time_format' => '', + 'description' => ts('Uses date range passed in by form field. Can pass in a posix date part parameter. Start and end offsets defined here are ignored.'), + ], + [ + 'name' => 'mailing', + 'start' => 0, + 'end' => 1, + 'date_format' => '', + 'time_format' => '', + 'description' => ts('Date and time. Used for scheduling mailings.'), + ], + [ + 'name' => 'searchDate', + 'start' => 20, + 'end' => 20, + 'date_format' => '', + 'time_format' => '', + 'description' => ts('Used in search forms.'), + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_relationship_type.sqldata.php b/civicrm/sql/civicrm_data/civicrm_relationship_type.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..d9967af5b580e19040cbc169d726db139a754db0 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_relationship_type.sqldata.php @@ -0,0 +1,105 @@ +<?php + +return CRM_Core_CodeGen_SqlData::create('civicrm_relationship_type') + ->addValues([ + [ + 'name_a_b' => 'Child of', + 'label_a_b' => ts('Child of'), + 'name_b_a' => 'Parent of', + 'label_b_a' => ts('Parent of'), + 'description' => ts('Parent/child relationship.'), + 'contact_type_a' => 'Individual', + 'contact_type_b' => 'Individual', + 'is_reserved' => 0, + ], + [ + 'name_a_b' => 'Spouse of', + 'label_a_b' => ts('Spouse of'), + 'name_b_a' => 'Spouse of', + 'label_b_a' => ts('Spouse of'), + 'description' => ts('Spousal relationship.'), + 'contact_type_a' => 'Individual', + 'contact_type_b' => 'Individual', + 'is_reserved' => 0, + ], + [ + 'name_a_b' => 'Partner of', + 'label_a_b' => ts('Partner of'), + 'name_b_a' => 'Partner of', + 'label_b_a' => ts('Partner of'), + 'description' => ts('Partner relationship.'), + 'contact_type_a' => 'Individual', + 'contact_type_b' => 'Individual', + 'is_reserved' => 0, + ], + [ + 'name_a_b' => 'Sibling of', + 'label_a_b' => ts('Sibling of'), + 'name_b_a' => 'Sibling of', + 'label_b_a' => ts('Sibling of'), + 'description' => ts('Sibling relationship.'), + 'contact_type_a' => 'Individual', + 'contact_type_b' => 'Individual', + 'is_reserved' => 0, + ], + [ + 'name_a_b' => 'Employee of', + 'label_a_b' => ts('Employee of'), + 'name_b_a' => 'Employer of', + 'label_b_a' => ts('Employer of'), + 'description' => ts('Employment relationship.'), + 'contact_type_a' => 'Individual', + 'contact_type_b' => 'Organization', + 'is_reserved' => 1, + ], + [ + 'name_a_b' => 'Volunteer for', + 'label_a_b' => ts('Volunteer for'), + 'name_b_a' => 'Volunteer is', + 'label_b_a' => ts('Volunteer is'), + 'description' => ts('Volunteer relationship.'), + 'contact_type_a' => 'Individual', + 'contact_type_b' => 'Organization', + 'is_reserved' => 0, + ], + [ + 'name_a_b' => 'Head of Household for', + 'label_a_b' => ts('Head of Household for'), + 'name_b_a' => 'Head of Household is', + 'label_b_a' => ts('Head of Household is'), + 'description' => ts('Head of household.'), + 'contact_type_a' => 'Individual', + 'contact_type_b' => 'Household', + 'is_reserved' => 1, + ], + [ + 'name_a_b' => 'Household Member of', + 'label_a_b' => ts('Household Member of'), + 'name_b_a' => 'Household Member is', + 'label_b_a' => ts('Household Member is'), + 'description' => ts('Household membership.'), + 'contact_type_a' => 'Individual', + 'contact_type_b' => 'Household', + 'is_reserved' => 1, + ], + [ + 'name_a_b' => 'Case Coordinator is', + 'label_a_b' => 'Case Coordinator is', + 'name_b_a' => 'Case Coordinator', + 'label_b_a' => 'Case Coordinator', + 'description' => 'Case Coordinator', + 'contact_type_a' => 'Individual', + 'contact_type_b' => 'Individual', + 'is_reserved' => 0, + ], + [ + 'name_a_b' => 'Supervised by', + 'label_a_b' => 'Supervised by', + 'name_b_a' => 'Supervisor', + 'label_b_a' => 'Supervisor', + 'description' => 'Immediate workplace supervisor', + 'contact_type_a' => 'Individual', + 'contact_type_b' => 'Individual', + 'is_reserved' => 0, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_tag.sqldata.php b/civicrm/sql/civicrm_data/civicrm_tag.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..ad638610b3bccef28f53ad0f588fe813f9c95371 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_tag.sqldata.php @@ -0,0 +1,34 @@ +<?php +return CRM_Core_CodeGen_SqlData::create('civicrm_tag') + ->addValues([ + [ + 'name' => ts('Non-profit'), + 'description' => ts('Any not-for-profit organization.'), + 'parent_id' => NULL, + 'used_for' => 'civicrm_contact', + ], + [ + 'name' => ts('Company'), + 'description' => ts('For-profit organization.'), + 'parent_id' => NULL, + 'used_for' => 'civicrm_contact', + ], + [ + 'name' => ts('Government Entity'), + 'description' => ts('Any governmental entity.'), + 'parent_id' => NULL, + 'used_for' => 'civicrm_contact', + ], + [ + 'name' => ts('Major Donor'), + 'description' => ts('High-value supporter of our organization.'), + 'parent_id' => NULL, + 'used_for' => 'civicrm_contact', + ], + [ + 'name' => ts('Volunteer'), + 'description' => ts('Active volunteers.'), + 'parent_id' => NULL, + 'used_for' => 'civicrm_contact', + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_uf_field.sqldata.php b/civicrm/sql/civicrm_data/civicrm_uf_field.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..43f291a083ba40829e8046e87e521f564f4356ac --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_uf_field.sqldata.php @@ -0,0 +1,620 @@ +<?php + +return CRM_Core_CodeGen_SqlData::create('civicrm_uf_field') + ->addDefaults([ + 'is_reserved' => 0, + 'is_required' => 0, + 'visibility' => 'User and User Admin Only', + 'phone_type_id' => NULL, + 'in_selector' => 0, + 'is_searchable' => 0, + 'help_post' => NULL, + 'location_type_id' => NULL, + ]) + ->addValues([ + [ + 'uf_group_id' => 1, + 'field_name' => 'first_name', + 'is_required' => 1, + 'weight' => 1, + 'label' => ts('First Name'), + 'field_type' => 'Individual', + ], + [ + 'uf_group_id' => 1, + 'field_name' => 'last_name', + 'is_required' => 1, + 'weight' => 2, + 'label' => ts('Last Name'), + 'field_type' => 'Individual', + ], + [ + 'uf_group_id' => 1, + 'field_name' => 'street_address', + 'weight' => 3, + 'location_type_id' => 1, + 'label' => ts('Street Address (Home)'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 1, + 'field_name' => 'city', + 'weight' => 4, + 'location_type_id' => 1, + 'label' => ts('City (Home)'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 1, + 'field_name' => 'postal_code', + 'weight' => 5, + 'location_type_id' => 1, + 'label' => ts('Postal Code (Home)'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 1, + 'field_name' => 'country', + 'weight' => 6, + 'location_type_id' => 1, + 'label' => ts('Country (Home)'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 1, + 'field_name' => 'state_province', + 'weight' => 7, + 'location_type_id' => 1, + 'label' => ts('State (Home)'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 2, + 'field_name' => 'first_name', + 'is_required' => 1, + 'weight' => 1, + 'label' => ts('First Name'), + 'field_type' => 'Individual', + ], + [ + 'uf_group_id' => 2, + 'field_name' => 'last_name', + 'is_required' => 1, + 'weight' => 2, + 'label' => ts('Last Name'), + 'field_type' => 'Individual', + ], + [ + 'uf_group_id' => 2, + 'field_name' => 'email', + 'is_required' => 1, + 'weight' => 3, + 'label' => ts('Email Address'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 3, + 'field_name' => 'participant_status', + 'is_required' => 1, + 'is_reserved' => 1, + 'weight' => 1, + 'label' => ts('Participant Status'), + 'field_type' => 'Participant', + ], + [ + 'uf_group_id' => 4, + 'field_name' => 'first_name', + 'is_required' => 1, + 'weight' => 1, + 'label' => ts('First Name'), + 'field_type' => 'Individual', + ], + [ + 'uf_group_id' => 4, + 'field_name' => 'last_name', + 'is_required' => 1, + 'weight' => 2, + 'label' => ts('Last Name'), + 'field_type' => 'Individual', + ], + [ + 'uf_group_id' => 4, + 'field_name' => 'email', + 'weight' => 3, + 'label' => ts('Email Address'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 5, + 'field_name' => 'organization_name', + 'is_required' => 1, + 'weight' => 2, + 'label' => ts('Organization Name'), + 'field_type' => 'Organization', + ], + [ + 'uf_group_id' => 5, + 'field_name' => 'email', + 'weight' => 3, + 'label' => ts('Email Address'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 6, + 'field_name' => 'household_name', + 'is_required' => 1, + 'weight' => 2, + 'label' => ts('Household Name'), + 'field_type' => 'Household', + ], + [ + 'uf_group_id' => 6, + 'field_name' => 'email', + 'weight' => 3, + 'label' => ts('Email Address'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 7, + 'field_name' => 'phone', + 'is_required' => 1, + 'weight' => 1, + 'location_type_id' => 1, + 'label' => ts('Home Phone'), + 'field_type' => 'Contact', + 'phone_type_id' => 1, + ], + [ + 'uf_group_id' => 7, + 'field_name' => 'phone', + 'is_required' => 1, + 'weight' => 2, + 'location_type_id' => 1, + 'label' => ts('Home Mobile'), + 'field_type' => 'Contact', + 'phone_type_id' => 2, + ], + [ + 'uf_group_id' => 7, + 'field_name' => 'street_address', + 'is_required' => 1, + 'weight' => 3, + 'label' => ts('Primary Address'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 7, + 'field_name' => 'city', + 'is_required' => 1, + 'weight' => 4, + 'label' => ts('City'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 7, + 'field_name' => 'state_province', + 'is_required' => 1, + 'weight' => 5, + 'label' => ts('State'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 7, + 'field_name' => 'postal_code', + 'is_required' => 1, + 'weight' => 6, + 'label' => ts('Postal Code'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 7, + 'field_name' => 'email', + 'is_required' => 1, + 'weight' => 7, + 'label' => ts('Primary Email'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 7, + 'field_name' => 'group', + 'is_required' => 1, + 'weight' => 8, + 'label' => ts('Groups'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 7, + 'field_name' => 'tag', + 'is_required' => 1, + 'weight' => 9, + 'label' => ts('Tags'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 7, + 'field_name' => 'gender_id', + 'is_required' => 1, + 'weight' => 10, + 'label' => ts('Gender'), + 'field_type' => 'Individual', + ], + [ + 'uf_group_id' => 7, + 'field_name' => 'birth_date', + 'is_required' => 1, + 'weight' => 11, + 'label' => ts('Date of Birth'), + 'field_type' => 'Individual', + ], + [ + 'uf_group_id' => 8, + 'field_name' => 'street_address', + 'is_required' => 1, + 'is_reserved' => 1, + 'weight' => 1, + 'location_type_id' => 1, + 'label' => ts('Street Address (Home)'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 8, + 'field_name' => 'city', + 'is_required' => 1, + 'is_reserved' => 1, + 'weight' => 2, + 'location_type_id' => 1, + 'label' => ts('City (Home)'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 8, + 'field_name' => 'postal_code', + 'weight' => 3, + 'location_type_id' => 1, + 'label' => ts('Postal Code (Home)'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 8, + 'field_name' => 'country', + 'weight' => 4, + 'location_type_id' => 1, + 'label' => ts('Country (Home)'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 8, + 'field_name' => 'state_province', + 'weight' => 5, + 'location_type_id' => 1, + 'label' => ts('State (Home)'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 9, + 'field_name' => 'organization_name', + 'is_required' => 1, + 'weight' => 1, + 'label' => ts('Organization Name'), + 'field_type' => 'Organization', + ], + [ + 'uf_group_id' => 9, + 'field_name' => 'phone', + 'is_required' => 1, + 'weight' => 2, + 'location_type_id' => 3, + // FIXME: Space + 'label' => ts('Phone (Main) '), + 'field_type' => 'Contact', + 'phone_type_id' => 1, + ], + [ + 'uf_group_id' => 9, + 'field_name' => 'email', + 'is_required' => 1, + 'weight' => 3, + 'location_type_id' => 3, + // FIXME: Space + 'label' => ts('Email (Main) '), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 9, + 'field_name' => 'street_address', + 'is_required' => 1, + 'weight' => 4, + 'location_type_id' => 3, + 'label' => ts('Street Address'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 9, + 'field_name' => 'city', + 'is_required' => 1, + 'weight' => 5, + 'location_type_id' => 3, + 'label' => ts('City'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 9, + 'field_name' => 'postal_code', + 'is_required' => 1, + 'weight' => 6, + 'location_type_id' => 3, + 'label' => ts('Postal Code'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 9, + 'field_name' => 'country', + 'is_required' => 1, + 'weight' => 7, + 'location_type_id' => 3, + 'label' => ts('Country'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 9, + 'field_name' => 'state_province', + 'is_required' => 1, + 'weight' => 8, + 'location_type_id' => 3, + 'label' => ts('State/Province'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 10, + 'field_name' => 'financial_type', + 'is_reserved' => 1, + 'weight' => 1, + 'label' => ts('Financial Type'), + 'field_type' => 'Contribution', + ], + [ + 'uf_group_id' => 10, + 'field_name' => 'total_amount', + 'is_reserved' => 1, + 'weight' => 2, + 'label' => ts('Amount'), + 'field_type' => 'Contribution', + ], + [ + 'uf_group_id' => 10, + 'field_name' => 'contribution_status_id', + 'is_required' => 1, + 'is_reserved' => 1, + 'weight' => 3, + 'label' => ts('Status'), + 'field_type' => 'Contribution', + ], + [ + 'uf_group_id' => 10, + 'field_name' => 'receive_date', + 'is_required' => 1, + 'is_reserved' => 1, + 'weight' => 4, + 'label' => ts('Contribution Date'), + 'field_type' => 'Contribution', + ], + [ + 'uf_group_id' => 10, + 'field_name' => 'contribution_source', + 'weight' => 5, + 'label' => ts('Contribution Source'), + 'field_type' => 'Contribution', + ], + [ + 'uf_group_id' => 10, + 'field_name' => 'payment_instrument', + 'weight' => 6, + 'label' => ts('Payment Method'), + 'field_type' => 'Contribution', + ], + [ + 'uf_group_id' => 10, + 'field_name' => 'contribution_check_number', + 'weight' => 7, + 'label' => ts('Check Number'), + 'field_type' => 'Contribution', + ], + [ + 'uf_group_id' => 10, + 'field_name' => 'send_receipt', + 'weight' => 8, + 'label' => ts('Send Receipt'), + 'field_type' => 'Contribution', + ], + [ + 'uf_group_id' => 10, + 'field_name' => 'invoice_id', + 'weight' => 9, + 'label' => ts('Invoice ID'), + 'field_type' => 'Contribution', + ], + [ + 'uf_group_id' => 10, + 'field_name' => 'soft_credit', + 'weight' => 10, + 'label' => ts('Soft Credit'), + 'field_type' => 'Contribution', + ], + [ + 'uf_group_id' => 10, + 'field_name' => 'soft_credit_type', + 'weight' => 11, + 'label' => ts('Soft Credit Type'), + 'field_type' => 'Contribution', + ], + [ + 'uf_group_id' => 11, + 'field_name' => 'membership_type', + 'is_required' => 1, + 'is_reserved' => 1, + 'weight' => 1, + 'label' => ts('Membership Type'), + 'field_type' => 'Membership', + ], + [ + 'uf_group_id' => 11, + 'field_name' => 'membership_join_date', + 'is_required' => 1, + 'is_reserved' => 1, + 'weight' => 2, + 'label' => ts('Member Since'), + 'field_type' => 'Membership', + ], + [ + 'uf_group_id' => 11, + 'field_name' => 'membership_start_date', + 'is_reserved' => 1, + 'weight' => 3, + 'label' => ts('Start Date'), + 'field_type' => 'Membership', + ], + [ + 'uf_group_id' => 11, + 'field_name' => 'membership_end_date', + 'is_reserved' => 1, + 'weight' => 4, + 'label' => ts('End Date'), + 'field_type' => 'Membership', + ], + [ + 'uf_group_id' => 11, + 'field_name' => 'membership_source', + 'weight' => 5, + 'label' => ts('Membership Source'), + 'field_type' => 'Membership', + ], + [ + 'uf_group_id' => 11, + 'field_name' => 'send_receipt', + 'weight' => 6, + 'label' => ts('Send Receipt'), + 'field_type' => 'Membership', + ], + [ + 'uf_group_id' => 11, + 'field_name' => 'financial_type', + 'is_reserved' => 1, + 'weight' => 7, + 'label' => ts('Financial Type'), + 'field_type' => 'Membership', + ], + [ + 'uf_group_id' => 11, + 'field_name' => 'total_amount', + 'is_reserved' => 1, + 'weight' => 8, + 'label' => ts('Amount'), + 'field_type' => 'Membership', + ], + [ + 'uf_group_id' => 11, + 'field_name' => 'receive_date', + 'is_required' => 1, + 'is_reserved' => 1, + 'weight' => 9, + 'label' => ts('Contribution Date'), + 'field_type' => 'Membership', + ], + [ + 'uf_group_id' => 11, + 'field_name' => 'payment_instrument', + 'weight' => 10, + 'label' => ts('Payment Method'), + 'field_type' => 'Membership', + ], + [ + 'uf_group_id' => 11, + 'field_name' => 'contribution_check_number', + 'weight' => 11, + 'label' => ts('Check Number'), + 'field_type' => 'Membership', + ], + [ + 'uf_group_id' => 11, + 'field_name' => 'contribution_status_id', + 'is_required' => 1, + 'is_reserved' => 1, + 'weight' => 12, + 'label' => ts('Payment Status'), + 'field_type' => 'Membership', + ], + [ + 'uf_group_id' => 11, + 'field_name' => 'soft_credit', + 'weight' => 13, + + 'label' => ts('Soft Credit'), + 'field_type' => 'Membership', + ], + [ + 'uf_group_id' => 11, + 'field_name' => 'soft_credit_type', + 'weight' => 14, + 'label' => ts('Soft Credit Type'), + 'field_type' => 'Membership', + ], + [ + 'uf_group_id' => 12, + 'field_name' => 'first_name', + 'is_required' => 1, + 'weight' => 1, + 'label' => ts('First Name'), + 'field_type' => 'Individual', + ], + [ + 'uf_group_id' => 12, + 'field_name' => 'last_name', + 'is_required' => 1, + 'weight' => 2, + 'label' => ts('Last Name'), + 'field_type' => 'Individual', + ], + [ + 'uf_group_id' => 12, + 'field_name' => 'email', + 'is_required' => 1, + 'weight' => 3, + 'label' => ts('Email Address'), + 'field_type' => 'Contact', + ], + [ + 'uf_group_id' => 13, + 'field_name' => 'prefix_id', + 'is_reserved' => 1, + 'weight' => 1, + 'label' => ts('Individual Prefix'), + 'field_type' => 'Individual', + ], + [ + 'uf_group_id' => 13, + 'field_name' => 'first_name', + 'is_required' => 1, + 'is_reserved' => 1, + 'weight' => 2, + 'label' => ts('First Name'), + 'field_type' => 'Individual', + ], + [ + 'uf_group_id' => 13, + 'field_name' => 'last_name', + 'is_required' => 1, + 'is_reserved' => 1, + 'weight' => 3, + 'label' => ts('Last Name'), + 'field_type' => 'Individual', + ], + [ + 'uf_group_id' => 13, + 'field_name' => 'email', + 'is_reserved' => 1, + 'weight' => 4, + 'location_type_id' => 1, + 'label' => ts('Email Address'), + 'field_type' => 'Contact', + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_uf_group.sqldata.php b/civicrm/sql/civicrm_data/civicrm_uf_group.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..8692f93d4b21ef0100162b5a1a1421033b8788b3 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_uf_group.sqldata.php @@ -0,0 +1,122 @@ +<?php + +return CRM_Core_CodeGen_SqlData::create('civicrm_uf_group') + ->addValues([ + [ + 'id' => 1, + 'name' => 'name_and_address', + 'group_type' => 'Individual,Contact', + 'title' => ts('Name and Address'), + 'is_cms_user' => 0, + 'is_reserved' => 0, + 'help_post' => NULL, + ], + [ + 'id' => 2, + 'name' => 'supporter_profile', + 'group_type' => 'Individual,Contact', + 'title' => ts('Supporter Profile'), + 'is_cms_user' => 2, + 'is_reserved' => 0, + 'help_post' => '<p><strong>' . ts('The information you provide will NOT be shared with any third party organisations.') . '</strong></p><p>' . ts('Thank you for getting involved in our campaign!') . '</p>', + ], + [ + 'id' => 3, + 'name' => 'participant_status', + 'group_type' => 'Participant', + 'title' => ts('Participant Status'), + 'is_cms_user' => 0, + 'is_reserved' => 1, + 'help_post' => NULL, + ], + [ + 'id' => 4, + 'name' => 'new_individual', + 'group_type' => 'Individual,Contact', + 'title' => ts('New Individual'), + 'is_cms_user' => 0, + 'is_reserved' => 1, + 'help_post' => NULL, + ], + [ + 'id' => 5, + 'name' => 'new_organization', + 'group_type' => 'Organization,Contact', + 'title' => ts('New Organization'), + 'is_cms_user' => 0, + 'is_reserved' => 1, + 'help_post' => NULL, + ], + [ + 'id' => 6, + 'name' => 'new_household', + 'group_type' => 'Household,Contact', + 'title' => ts('New Household'), + 'is_cms_user' => 0, + 'is_reserved' => 1, + 'help_post' => NULL, + ], + [ + 'id' => 7, + 'name' => 'summary_overlay', + 'group_type' => 'Contact', + 'title' => ts('Summary Overlay'), + 'is_cms_user' => 0, + 'is_reserved' => 1, + 'help_post' => NULL, + ], + [ + 'id' => 8, + 'name' => 'shared_address', + 'group_type' => 'Contact', + 'title' => ts('Shared Address'), + 'is_cms_user' => 0, + 'is_reserved' => 1, + 'help_post' => NULL, + ], + [ + 'id' => 9, + 'name' => 'on_behalf_organization', + 'group_type' => 'Contact,Organization', + 'title' => ts('On Behalf Of Organization'), + 'is_cms_user' => 0, + 'is_reserved' => 1, + 'help_post' => NULL, + ], + [ + 'id' => 10, + 'name' => 'contribution_batch_entry', + 'group_type' => 'Contribution', + 'title' => ts('Contribution Bulk Entry'), + 'is_cms_user' => 0, + 'is_reserved' => 1, + 'help_post' => NULL, + ], + [ + 'id' => 11, + 'name' => 'membership_batch_entry', + 'group_type' => 'Membership', + 'title' => ts('Membership Bulk Entry'), + 'is_cms_user' => 0, + 'is_reserved' => 1, + 'help_post' => NULL, + ], + [ + 'id' => 12, + 'name' => 'event_registration', + 'group_type' => 'Individual,Contact', + 'title' => ts('Your Registration Info'), + 'is_cms_user' => 0, + 'is_reserved' => 0, + 'help_post' => NULL, + ], + [ + 'id' => 13, + 'name' => 'honoree_individual', + 'group_type' => 'Individual,Contact', + 'title' => ts('Honoree Individual'), + 'is_cms_user' => 0, + 'is_reserved' => 1, + 'help_post' => NULL, + ], + ]); diff --git a/civicrm/sql/civicrm_data/civicrm_uf_join.sqldata.php b/civicrm/sql/civicrm_data/civicrm_uf_join.sqldata.php new file mode 100644 index 0000000000000000000000000000000000000000..9d53e2c4e4219c4d759b92956e95c6f69d07d065 --- /dev/null +++ b/civicrm/sql/civicrm_data/civicrm_uf_join.sqldata.php @@ -0,0 +1,34 @@ +<?php +return CRM_Core_CodeGen_SqlData::create('civicrm_uf_join') + ->addDefaults([ + 'is_active' => 1, + 'entity_table' => NULL, + 'entity_id' => NULL, + ]) + ->addValues([ + [ + 'module' => 'User Registration', + 'weight' => 1, + 'uf_group_id' => 1, + ], + [ + 'module' => 'User Account', + 'weight' => 1, + 'uf_group_id' => 1, + ], + [ + 'module' => 'Profile', + 'weight' => 1, + 'uf_group_id' => 1, + ], + [ + 'module' => 'Profile', + 'weight' => 2, + 'uf_group_id' => 2, + ], + [ + 'module' => 'Profile', + 'weight' => 11, + 'uf_group_id' => 12, + ], + ]); diff --git a/civicrm/sql/civicrm_generated.mysql b/civicrm/sql/civicrm_generated.mysql index dbdb5fd7eb56bde1db751a8d035fcc88c9215955..5742e192757cc2db498e6568a8a98ab62acb2674 100644 --- a/civicrm/sql/civicrm_generated.mysql +++ b/civicrm/sql/civicrm_generated.mysql @@ -1,8 +1,8 @@ --- MySQL dump 10.13 Distrib 8.0.32, for Linux (x86_64) +-- MySQL dump 10.13 Distrib 8.0.29, for macos12.2 (arm64) -- --- Host: 127.0.0.1 Database: db +-- Host: 127.0.0.1 Database: dmastercivi_pa1rx -- ------------------------------------------------------ --- Server version 8.0.33 +-- Server version 8.0.29 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; @@ -162,647 +162,647 @@ UNLOCK TABLES; LOCK TABLES `civicrm_activity` WRITE; /*!40000 ALTER TABLE `civicrm_activity` DISABLE KEYS */; INSERT INTO `civicrm_activity` (`id`, `source_record_id`, `activity_type_id`, `subject`, `activity_date_time`, `duration`, `location`, `phone_id`, `phone_number`, `details`, `status_id`, `priority_id`, `parent_id`, `is_test`, `medium_id`, `is_auto`, `relationship_id`, `is_current_revision`, `original_id`, `result`, `is_deleted`, `campaign_id`, `engagement_level`, `weight`, `is_star`, `created_date`, `modified_date`) VALUES - (1,NULL,2,'Subject for Phone Call','2022-06-18 02:16:19',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:55','2023-04-30 16:20:55'), - (2,NULL,2,'Subject for Phone Call','2022-08-27 03:10:18',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:55','2023-04-30 16:20:55'), - (3,NULL,22,'Subject for Print/Merge Document','2022-12-06 11:31:30',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:55','2023-04-30 16:20:55'), - (4,NULL,22,'Subject for Print/Merge Document','2022-05-14 04:15:49',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:55','2023-04-30 16:20:55'), - (5,NULL,2,'Subject for Phone Call','2022-11-03 06:53:54',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:55','2023-04-30 16:20:55'), - (6,NULL,9,'Subject for Tell a Friend','2023-01-13 04:48:31',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:55','2023-04-30 16:20:55'), - (7,NULL,1,'Subject for Meeting','2022-11-10 19:40:53',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:55','2023-04-30 16:20:55'), - (8,NULL,22,'Subject for Print/Merge Document','2022-10-25 20:49:23',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (9,NULL,22,'Subject for Print/Merge Document','2023-04-08 08:40:13',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (10,NULL,9,'Subject for Tell a Friend','2023-02-01 04:44:04',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (11,NULL,55,'Subject for Interview','2022-11-30 20:36:21',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (12,NULL,9,'Subject for Tell a Friend','2023-04-09 10:15:09',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (13,NULL,22,'Subject for Print/Merge Document','2023-02-15 05:59:17',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (14,NULL,1,'Subject for Meeting','2022-07-04 06:44:11',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (15,NULL,1,'Subject for Meeting','2023-02-01 13:53:51',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (16,NULL,55,'Subject for Interview','2023-01-18 19:18:02',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (17,NULL,22,'Subject for Print/Merge Document','2022-07-07 15:46:33',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (18,NULL,55,'Subject for Interview','2022-06-07 17:10:19',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (19,NULL,22,'Subject for Print/Merge Document','2023-03-06 05:06:19',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (20,NULL,2,'Subject for Phone Call','2022-09-19 03:08:43',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (21,NULL,55,'Subject for Interview','2023-03-17 16:07:39',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (22,NULL,55,'Subject for Interview','2022-11-01 00:16:39',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (23,NULL,9,'Subject for Tell a Friend','2023-02-01 09:36:48',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (24,NULL,2,'Subject for Phone Call','2023-02-14 19:12:06',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (25,NULL,9,'Subject for Tell a Friend','2023-02-14 20:51:54',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (26,NULL,9,'Subject for Tell a Friend','2023-03-20 20:49:16',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (27,NULL,22,'Subject for Print/Merge Document','2022-09-09 06:33:27',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (28,NULL,9,'Subject for Tell a Friend','2022-06-15 00:00:24',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (29,NULL,55,'Subject for Interview','2023-04-15 01:38:55',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (30,NULL,55,'Subject for Interview','2023-03-17 20:04:19',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (31,NULL,2,'Subject for Phone Call','2022-11-26 17:29:24',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (32,NULL,2,'Subject for Phone Call','2023-04-18 08:44:44',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (33,NULL,9,'Subject for Tell a Friend','2022-11-02 08:29:27',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (34,NULL,55,'Subject for Interview','2022-07-23 02:38:29',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (35,NULL,9,'Subject for Tell a Friend','2022-08-09 22:58:49',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (36,NULL,9,'Subject for Tell a Friend','2023-02-27 17:03:40',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (37,NULL,55,'Subject for Interview','2022-05-23 12:28:28',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (38,NULL,55,'Subject for Interview','2022-06-14 11:25:57',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (39,NULL,22,'Subject for Print/Merge Document','2023-04-04 09:36:03',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (40,NULL,1,'Subject for Meeting','2022-09-08 17:55:04',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (41,NULL,2,'Subject for Phone Call','2023-03-25 05:49:20',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (42,NULL,55,'Subject for Interview','2023-03-27 19:58:48',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (43,NULL,1,'Subject for Meeting','2023-01-05 20:26:32',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (44,NULL,55,'Subject for Interview','2022-11-04 14:20:23',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (45,NULL,9,'Subject for Tell a Friend','2022-05-08 13:02:17',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (46,NULL,1,'Subject for Meeting','2022-07-07 11:14:41',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (47,NULL,55,'Subject for Interview','2022-09-08 14:36:23',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (48,NULL,2,'Subject for Phone Call','2022-12-27 15:09:05',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (49,NULL,2,'Subject for Phone Call','2022-06-04 14:20:23',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (50,NULL,2,'Subject for Phone Call','2023-04-07 09:09:40',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (51,NULL,55,'Subject for Interview','2022-07-15 23:46:58',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (52,NULL,22,'Subject for Print/Merge Document','2022-07-12 15:35:06',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (53,NULL,9,'Subject for Tell a Friend','2023-02-14 00:29:18',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (54,NULL,1,'Subject for Meeting','2022-07-09 04:02:54',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (55,NULL,2,'Subject for Phone Call','2022-09-10 01:33:09',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (56,NULL,2,'Subject for Phone Call','2023-02-16 04:55:02',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (57,NULL,9,'Subject for Tell a Friend','2023-01-08 08:57:35',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (58,NULL,55,'Subject for Interview','2023-04-03 03:36:12',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (59,NULL,2,'Subject for Phone Call','2022-05-13 11:49:33',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (60,NULL,9,'Subject for Tell a Friend','2022-05-30 23:44:58',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (61,NULL,9,'Subject for Tell a Friend','2022-05-03 00:14:24',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (62,NULL,22,'Subject for Print/Merge Document','2022-11-20 23:46:05',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (63,NULL,1,'Subject for Meeting','2022-06-30 00:49:03',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (64,NULL,1,'Subject for Meeting','2022-09-18 06:51:37',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (65,NULL,22,'Subject for Print/Merge Document','2023-04-21 03:18:18',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (66,NULL,55,'Subject for Interview','2022-10-20 19:15:36',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (67,NULL,1,'Subject for Meeting','2023-04-27 16:40:15',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (68,NULL,55,'Subject for Interview','2022-11-09 17:25:32',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (69,NULL,2,'Subject for Phone Call','2022-10-01 23:33:08',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (70,NULL,9,'Subject for Tell a Friend','2023-01-05 04:43:33',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (71,NULL,55,'Subject for Interview','2023-02-04 16:18:06',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (72,NULL,55,'Subject for Interview','2023-04-17 04:12:40',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (73,NULL,2,'Subject for Phone Call','2023-01-27 06:12:46',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (74,NULL,1,'Subject for Meeting','2022-09-19 05:51:22',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (75,NULL,2,'Subject for Phone Call','2023-03-03 15:43:55',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (76,NULL,2,'Subject for Phone Call','2023-02-05 10:58:46',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (77,NULL,2,'Subject for Phone Call','2022-09-09 12:17:15',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (78,NULL,1,'Subject for Meeting','2023-01-14 05:26:44',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (79,NULL,9,'Subject for Tell a Friend','2023-03-03 08:35:42',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (80,NULL,9,'Subject for Tell a Friend','2022-12-05 07:27:27',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (81,NULL,55,'Subject for Interview','2023-01-27 19:34:47',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (82,NULL,22,'Subject for Print/Merge Document','2023-04-09 18:42:14',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (83,NULL,2,'Subject for Phone Call','2022-05-22 16:33:15',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (84,NULL,55,'Subject for Interview','2023-02-18 21:33:37',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (85,NULL,9,'Subject for Tell a Friend','2022-08-02 17:55:21',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (86,NULL,2,'Subject for Phone Call','2022-11-01 02:27:57',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (87,NULL,9,'Subject for Tell a Friend','2022-08-02 08:16:45',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (88,NULL,22,'Subject for Print/Merge Document','2023-02-09 06:30:02',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (89,NULL,2,'Subject for Phone Call','2022-11-11 13:54:57',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (90,NULL,55,'Subject for Interview','2023-01-06 01:30:11',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (91,NULL,2,'Subject for Phone Call','2022-11-29 05:22:44',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (92,NULL,2,'Subject for Phone Call','2022-07-26 18:38:29',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (93,NULL,55,'Subject for Interview','2022-08-19 22:19:54',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (94,NULL,1,'Subject for Meeting','2022-05-18 03:57:01',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (95,NULL,55,'Subject for Interview','2022-07-20 07:06:02',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (96,NULL,1,'Subject for Meeting','2022-08-10 22:25:52',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (97,NULL,9,'Subject for Tell a Friend','2023-01-21 20:32:04',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (98,NULL,9,'Subject for Tell a Friend','2023-01-28 12:11:51',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (99,NULL,55,'Subject for Interview','2022-05-30 13:42:25',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (100,NULL,9,'Subject for Tell a Friend','2023-04-19 20:16:12',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (101,NULL,22,'Subject for Print/Merge Document','2022-10-31 22:08:05',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (102,NULL,9,'Subject for Tell a Friend','2022-12-03 02:47:26',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (103,NULL,22,'Subject for Print/Merge Document','2022-07-09 23:21:44',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (104,NULL,55,'Subject for Interview','2022-11-23 16:05:06',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (105,NULL,9,'Subject for Tell a Friend','2022-12-05 07:33:17',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (106,NULL,22,'Subject for Print/Merge Document','2023-01-17 16:35:52',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (107,NULL,55,'Subject for Interview','2022-06-28 04:17:27',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (108,NULL,9,'Subject for Tell a Friend','2023-03-21 05:08:03',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (109,NULL,2,'Subject for Phone Call','2022-10-30 19:35:59',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (110,NULL,2,'Subject for Phone Call','2022-08-01 15:27:58',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (111,NULL,2,'Subject for Phone Call','2022-11-10 00:45:19',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (112,NULL,22,'Subject for Print/Merge Document','2023-01-15 13:39:47',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (113,NULL,1,'Subject for Meeting','2023-02-19 04:06:09',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (114,NULL,9,'Subject for Tell a Friend','2023-01-01 12:07:25',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (115,NULL,55,'Subject for Interview','2022-10-01 03:52:21',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (116,NULL,2,'Subject for Phone Call','2022-08-14 18:17:34',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (117,NULL,1,'Subject for Meeting','2022-12-13 20:57:12',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (118,NULL,2,'Subject for Phone Call','2023-04-18 02:43:04',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (119,NULL,55,'Subject for Interview','2023-02-26 17:44:35',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (120,NULL,22,'Subject for Print/Merge Document','2023-04-28 02:29:01',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (121,NULL,22,'Subject for Print/Merge Document','2023-02-27 08:40:19',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (122,NULL,22,'Subject for Print/Merge Document','2023-03-29 12:04:19',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (123,NULL,55,'Subject for Interview','2022-06-01 16:29:47',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (124,NULL,9,'Subject for Tell a Friend','2023-04-06 13:57:27',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (125,NULL,55,'Subject for Interview','2022-09-09 00:09:44',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (126,NULL,55,'Subject for Interview','2022-10-08 21:57:32',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (127,NULL,22,'Subject for Print/Merge Document','2023-04-08 13:02:33',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (128,NULL,55,'Subject for Interview','2022-05-30 15:24:18',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (129,NULL,9,'Subject for Tell a Friend','2022-08-27 00:22:40',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (130,NULL,2,'Subject for Phone Call','2022-05-06 03:50:50',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (131,NULL,22,'Subject for Print/Merge Document','2022-09-13 06:11:17',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (132,NULL,9,'Subject for Tell a Friend','2022-11-30 09:41:36',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (133,NULL,9,'Subject for Tell a Friend','2023-01-01 22:16:30',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (134,NULL,1,'Subject for Meeting','2023-02-07 18:03:28',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (135,NULL,9,'Subject for Tell a Friend','2023-02-23 13:51:30',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (136,NULL,22,'Subject for Print/Merge Document','2023-03-28 20:09:37',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (137,NULL,1,'Subject for Meeting','2022-07-24 14:19:33',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (138,NULL,9,'Subject for Tell a Friend','2023-01-20 19:55:21',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (139,NULL,22,'Subject for Print/Merge Document','2022-06-22 05:11:17',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (140,NULL,2,'Subject for Phone Call','2023-03-23 00:59:51',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (141,NULL,22,'Subject for Print/Merge Document','2022-08-30 04:34:00',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (142,NULL,2,'Subject for Phone Call','2023-04-14 21:41:06',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (143,NULL,2,'Subject for Phone Call','2023-03-16 16:10:41',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (144,NULL,1,'Subject for Meeting','2022-05-20 07:49:18',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:56','2023-04-30 16:20:56'), - (145,NULL,55,'Subject for Interview','2022-11-26 15:20:02',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (146,NULL,9,'Subject for Tell a Friend','2022-09-18 06:51:49',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (147,NULL,9,'Subject for Tell a Friend','2023-04-07 20:00:25',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (148,NULL,9,'Subject for Tell a Friend','2022-11-20 20:12:50',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (149,NULL,1,'Subject for Meeting','2022-10-06 20:00:46',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (150,NULL,9,'Subject for Tell a Friend','2023-01-28 05:36:08',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (151,NULL,22,'Subject for Print/Merge Document','2022-05-25 21:31:34',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (152,NULL,55,'Subject for Interview','2023-03-25 16:05:01',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (153,NULL,1,'Subject for Meeting','2022-11-30 11:30:40',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (154,NULL,2,'Subject for Phone Call','2023-01-20 00:18:28',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (155,NULL,2,'Subject for Phone Call','2023-03-19 09:30:12',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (156,NULL,2,'Subject for Phone Call','2022-08-06 08:16:41',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (157,NULL,9,'Subject for Tell a Friend','2022-05-20 10:45:36',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (158,NULL,22,'Subject for Print/Merge Document','2022-10-22 20:35:20',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (159,NULL,55,'Subject for Interview','2023-01-09 21:11:19',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (160,NULL,2,'Subject for Phone Call','2022-12-16 00:26:57',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (161,NULL,1,'Subject for Meeting','2022-08-27 19:07:42',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (162,NULL,55,'Subject for Interview','2022-06-17 17:05:15',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (163,NULL,2,'Subject for Phone Call','2022-07-07 07:20:16',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (164,NULL,1,'Subject for Meeting','2023-01-09 18:26:16',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (165,NULL,2,'Subject for Phone Call','2023-03-21 13:23:02',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (166,NULL,22,'Subject for Print/Merge Document','2022-12-16 15:32:05',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (167,NULL,2,'Subject for Phone Call','2022-05-30 07:07:25',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (168,NULL,9,'Subject for Tell a Friend','2022-11-05 12:19:16',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (169,NULL,55,'Subject for Interview','2022-06-04 14:05:09',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (170,NULL,22,'Subject for Print/Merge Document','2022-05-18 00:53:13',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (171,NULL,55,'Subject for Interview','2022-08-21 09:19:42',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (172,NULL,9,'Subject for Tell a Friend','2022-08-31 11:23:32',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (173,NULL,22,'Subject for Print/Merge Document','2022-07-30 21:05:19',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (174,NULL,2,'Subject for Phone Call','2022-05-21 19:22:54',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (175,NULL,2,'Subject for Phone Call','2023-02-25 14:41:50',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (176,NULL,2,'Subject for Phone Call','2022-09-02 03:09:22',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (177,NULL,22,'Subject for Print/Merge Document','2022-09-29 10:03:56',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (178,NULL,9,'Subject for Tell a Friend','2022-07-21 14:28:58',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (179,NULL,9,'Subject for Tell a Friend','2022-06-15 21:55:40',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (180,NULL,55,'Subject for Interview','2023-04-12 07:18:12',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (181,NULL,55,'Subject for Interview','2022-05-29 11:18:14',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (182,NULL,55,'Subject for Interview','2022-09-02 12:48:28',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (183,NULL,55,'Subject for Interview','2022-11-07 22:21:01',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (184,NULL,9,'Subject for Tell a Friend','2022-07-02 20:15:38',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (185,NULL,2,'Subject for Phone Call','2022-10-20 21:30:59',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (186,NULL,1,'Subject for Meeting','2022-10-26 00:51:42',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (187,NULL,2,'Subject for Phone Call','2022-05-04 05:17:39',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (188,NULL,55,'Subject for Interview','2023-03-28 12:28:39',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (189,NULL,55,'Subject for Interview','2022-11-11 23:11:09',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (190,NULL,1,'Subject for Meeting','2023-02-28 19:16:02',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (191,NULL,55,'Subject for Interview','2022-06-24 07:55:01',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (192,NULL,55,'Subject for Interview','2022-06-24 03:48:39',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (193,NULL,22,'Subject for Print/Merge Document','2022-07-21 10:44:37',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (194,NULL,2,'Subject for Phone Call','2022-12-01 18:21:36',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (195,NULL,9,'Subject for Tell a Friend','2023-04-13 12:11:39',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (196,NULL,55,'Subject for Interview','2022-08-28 05:18:59',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (197,NULL,55,'Subject for Interview','2022-07-27 04:37:52',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (198,NULL,55,'Subject for Interview','2022-05-30 04:31:59',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (199,NULL,55,'Subject for Interview','2022-12-26 09:32:44',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (200,NULL,2,'Subject for Phone Call','2022-08-29 14:22:24',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (201,NULL,2,'Subject for Phone Call','2023-03-05 00:16:27',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (202,NULL,55,'Subject for Interview','2022-12-07 10:51:51',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (203,NULL,1,'Subject for Meeting','2023-01-09 08:13:06',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (204,NULL,1,'Subject for Meeting','2022-07-29 05:31:33',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (205,NULL,1,'Subject for Meeting','2022-12-06 18:46:12',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (206,NULL,22,'Subject for Print/Merge Document','2022-11-01 23:56:02',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (207,NULL,9,'Subject for Tell a Friend','2023-02-16 11:05:54',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (208,NULL,22,'Subject for Print/Merge Document','2022-06-30 18:16:16',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (209,NULL,55,'Subject for Interview','2022-06-25 03:01:50',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (210,NULL,55,'Subject for Interview','2022-11-07 20:44:08',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (211,NULL,9,'Subject for Tell a Friend','2022-11-06 20:58:45',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (212,NULL,55,'Subject for Interview','2022-11-06 21:17:44',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (213,NULL,22,'Subject for Print/Merge Document','2022-10-23 10:43:04',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (214,NULL,55,'Subject for Interview','2022-11-29 05:21:21',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (215,NULL,9,'Subject for Tell a Friend','2022-06-26 05:32:11',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (216,NULL,9,'Subject for Tell a Friend','2023-04-09 19:10:11',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (217,NULL,2,'Subject for Phone Call','2022-12-02 21:27:27',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (218,NULL,9,'Subject for Tell a Friend','2022-07-07 11:43:56',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (219,NULL,2,'Subject for Phone Call','2022-11-27 03:31:18',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (220,NULL,1,'Subject for Meeting','2022-07-08 05:32:21',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (221,NULL,9,'Subject for Tell a Friend','2022-08-17 22:54:57',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (222,NULL,9,'Subject for Tell a Friend','2022-11-11 03:33:51',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (223,NULL,9,'Subject for Tell a Friend','2023-04-04 01:12:57',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (224,NULL,2,'Subject for Phone Call','2023-01-06 15:29:10',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (225,NULL,22,'Subject for Print/Merge Document','2022-05-26 09:09:25',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (226,NULL,22,'Subject for Print/Merge Document','2023-01-05 18:26:41',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (227,NULL,2,'Subject for Phone Call','2023-01-13 21:55:34',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (228,NULL,9,'Subject for Tell a Friend','2023-01-07 15:06:19',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (229,NULL,9,'Subject for Tell a Friend','2022-11-04 14:13:34',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (230,NULL,1,'Subject for Meeting','2022-07-24 09:02:49',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (231,NULL,9,'Subject for Tell a Friend','2022-12-21 22:03:29',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (232,NULL,2,'Subject for Phone Call','2022-11-22 10:41:45',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (233,NULL,2,'Subject for Phone Call','2022-05-22 20:21:44',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (234,NULL,22,'Subject for Print/Merge Document','2022-05-07 15:50:33',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (235,NULL,2,'Subject for Phone Call','2022-08-05 09:19:27',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (236,NULL,9,'Subject for Tell a Friend','2022-07-16 23:08:14',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (237,NULL,55,'Subject for Interview','2023-01-15 14:01:40',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (238,NULL,1,'Subject for Meeting','2022-09-26 08:18:53',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (239,NULL,9,'Subject for Tell a Friend','2022-12-06 03:11:13',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (240,NULL,9,'Subject for Tell a Friend','2022-12-30 09:39:36',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (241,NULL,9,'Subject for Tell a Friend','2023-04-08 20:56:09',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (242,NULL,22,'Subject for Print/Merge Document','2022-06-11 13:22:41',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (243,NULL,55,'Subject for Interview','2022-06-02 17:13:17',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (244,NULL,9,'Subject for Tell a Friend','2022-10-25 15:00:26',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (245,NULL,2,'Subject for Phone Call','2022-10-11 08:18:45',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (246,NULL,22,'Subject for Print/Merge Document','2022-09-21 00:18:50',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (247,NULL,2,'Subject for Phone Call','2022-10-31 01:32:41',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (248,NULL,9,'Subject for Tell a Friend','2022-07-31 11:08:44',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (249,NULL,1,'Subject for Meeting','2023-02-06 05:59:42',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (250,NULL,2,'Subject for Phone Call','2022-07-27 23:15:00',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (251,NULL,55,'Subject for Interview','2022-12-03 11:48:35',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (252,NULL,55,'Subject for Interview','2023-04-08 22:27:53',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (253,NULL,1,'Subject for Meeting','2023-01-31 22:15:06',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (254,NULL,1,'Subject for Meeting','2023-01-18 08:55:18',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (255,NULL,1,'Subject for Meeting','2022-12-30 01:45:07',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (256,NULL,2,'Subject for Phone Call','2022-11-07 04:37:41',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (257,NULL,22,'Subject for Print/Merge Document','2023-01-21 16:15:53',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (258,NULL,2,'Subject for Phone Call','2023-01-12 11:52:51',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (259,NULL,1,'Subject for Meeting','2022-06-25 17:00:09',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (260,NULL,9,'Subject for Tell a Friend','2022-05-21 10:03:23',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (261,NULL,22,'Subject for Print/Merge Document','2022-10-18 16:58:31',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (262,NULL,22,'Subject for Print/Merge Document','2022-11-12 08:43:52',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (263,NULL,9,'Subject for Tell a Friend','2023-04-02 09:29:45',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (264,NULL,1,'Subject for Meeting','2022-08-15 04:42:02',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (265,NULL,2,'Subject for Phone Call','2022-06-08 22:12:26',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (266,NULL,2,'Subject for Phone Call','2022-06-26 00:55:02',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (267,NULL,22,'Subject for Print/Merge Document','2022-11-26 10:28:28',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (268,NULL,9,'Subject for Tell a Friend','2022-06-07 17:49:12',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (269,NULL,22,'Subject for Print/Merge Document','2022-09-02 04:01:18',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (270,NULL,22,'Subject for Print/Merge Document','2022-08-25 18:18:06',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (271,NULL,1,'Subject for Meeting','2022-07-16 17:29:05',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (272,NULL,9,'Subject for Tell a Friend','2022-10-08 14:00:51',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (273,NULL,9,'Subject for Tell a Friend','2023-03-06 18:37:41',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (274,NULL,55,'Subject for Interview','2022-08-17 07:00:40',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (275,NULL,9,'Subject for Tell a Friend','2022-11-24 21:57:37',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:57','2023-04-30 16:20:57'), - (276,NULL,55,'Subject for Interview','2022-07-03 21:23:37',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (277,NULL,2,'Subject for Phone Call','2023-02-28 05:03:01',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (278,NULL,22,'Subject for Print/Merge Document','2022-08-28 15:48:12',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (279,NULL,9,'Subject for Tell a Friend','2022-10-26 23:44:52',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (280,NULL,9,'Subject for Tell a Friend','2023-02-06 09:04:58',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (281,NULL,22,'Subject for Print/Merge Document','2023-01-29 14:04:11',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (282,NULL,1,'Subject for Meeting','2022-07-26 11:25:37',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (283,NULL,2,'Subject for Phone Call','2023-03-10 23:03:51',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (284,NULL,2,'Subject for Phone Call','2023-02-01 11:38:28',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (285,NULL,2,'Subject for Phone Call','2022-09-19 07:53:04',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (286,NULL,2,'Subject for Phone Call','2023-01-16 14:29:32',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (287,NULL,9,'Subject for Tell a Friend','2023-03-05 07:39:50',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (288,NULL,2,'Subject for Phone Call','2023-04-04 19:54:33',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (289,NULL,22,'Subject for Print/Merge Document','2022-05-14 01:28:23',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (290,NULL,22,'Subject for Print/Merge Document','2022-06-16 13:49:15',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (291,NULL,9,'Subject for Tell a Friend','2023-02-09 15:20:53',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (292,NULL,2,'Subject for Phone Call','2022-08-18 16:26:28',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (293,NULL,9,'Subject for Tell a Friend','2022-05-21 02:56:07',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (294,NULL,55,'Subject for Interview','2023-04-16 17:24:10',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (295,NULL,55,'Subject for Interview','2022-07-23 19:27:15',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (296,NULL,22,'Subject for Print/Merge Document','2022-11-11 13:29:56',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (297,NULL,9,'Subject for Tell a Friend','2022-10-11 22:08:13',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (298,NULL,2,'Subject for Phone Call','2022-06-22 08:37:34',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (299,NULL,55,'Subject for Interview','2022-12-05 07:22:20',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (300,NULL,1,'Subject for Meeting','2022-11-24 22:35:41',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (301,NULL,22,'Subject for Print/Merge Document','2022-10-17 09:10:01',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (302,NULL,2,'Subject for Phone Call','2023-03-10 07:07:08',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (303,NULL,55,'Subject for Interview','2022-07-18 21:24:39',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (304,NULL,2,'Subject for Phone Call','2023-04-28 11:38:01',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (305,NULL,55,'Subject for Interview','2022-08-12 19:45:25',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (306,NULL,1,'Subject for Meeting','2023-01-16 23:17:05',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (307,NULL,1,'Subject for Meeting','2022-11-03 05:24:07',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (308,NULL,55,'Subject for Interview','2022-06-16 07:20:02',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (309,NULL,2,'Subject for Phone Call','2022-10-27 11:29:51',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (310,NULL,2,'Subject for Phone Call','2022-05-12 23:45:56',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (311,NULL,1,'Subject for Meeting','2022-11-21 16:37:36',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (312,NULL,1,'Subject for Meeting','2022-11-30 17:52:09',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (313,NULL,2,'Subject for Phone Call','2022-08-07 03:10:29',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (314,NULL,55,'Subject for Interview','2022-12-29 17:42:46',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (315,NULL,1,'Subject for Meeting','2023-02-12 05:52:41',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (316,NULL,22,'Subject for Print/Merge Document','2023-01-09 13:38:20',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (317,NULL,55,'Subject for Interview','2022-07-10 21:12:45',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (318,NULL,55,'Subject for Interview','2022-07-12 00:29:45',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (319,NULL,22,'Subject for Print/Merge Document','2023-03-08 08:19:51',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (320,NULL,1,'Subject for Meeting','2023-03-31 20:38:06',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (321,NULL,55,'Subject for Interview','2022-08-16 16:06:19',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (322,NULL,55,'Subject for Interview','2022-08-25 12:52:01',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (323,NULL,2,'Subject for Phone Call','2023-02-06 16:31:58',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (324,NULL,55,'Subject for Interview','2022-10-26 03:37:26',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (325,NULL,55,'Subject for Interview','2023-02-27 11:19:43',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (326,NULL,9,'Subject for Tell a Friend','2022-12-31 06:12:59',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (327,NULL,22,'Subject for Print/Merge Document','2023-01-30 00:07:11',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (328,NULL,2,'Subject for Phone Call','2022-12-06 00:14:47',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (329,NULL,1,'Subject for Meeting','2023-01-07 23:35:18',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (330,NULL,9,'Subject for Tell a Friend','2022-05-01 03:17:47',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (331,NULL,1,'Subject for Meeting','2023-03-09 09:32:20',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (332,NULL,22,'Subject for Print/Merge Document','2023-02-26 17:38:50',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (333,NULL,22,'Subject for Print/Merge Document','2022-05-10 03:30:43',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (334,NULL,9,'Subject for Tell a Friend','2023-04-27 13:42:32',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (335,NULL,9,'Subject for Tell a Friend','2022-12-30 05:10:35',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (336,NULL,1,'Subject for Meeting','2023-03-02 02:58:33',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (337,NULL,22,'Subject for Print/Merge Document','2022-05-26 04:22:57',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (338,NULL,22,'Subject for Print/Merge Document','2022-05-10 10:51:20',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (339,NULL,2,'Subject for Phone Call','2022-06-13 16:25:37',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (340,NULL,55,'Subject for Interview','2022-05-13 05:15:36',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (341,NULL,1,'Subject for Meeting','2022-12-22 07:56:42',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (342,NULL,1,'Subject for Meeting','2022-07-13 03:38:02',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (343,NULL,9,'Subject for Tell a Friend','2022-06-11 04:01:35',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (344,NULL,1,'Subject for Meeting','2023-02-10 15:07:31',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (345,NULL,1,'Subject for Meeting','2022-12-10 18:06:54',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (346,NULL,1,'Subject for Meeting','2022-09-23 03:54:38',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (347,NULL,55,'Subject for Interview','2022-08-16 09:56:16',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (348,NULL,55,'Subject for Interview','2023-03-12 06:08:55',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (349,NULL,22,'Subject for Print/Merge Document','2022-12-30 04:18:34',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (350,NULL,2,'Subject for Phone Call','2022-09-21 22:38:05',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (351,NULL,1,'Subject for Meeting','2022-08-25 13:19:23',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (352,NULL,22,'Subject for Print/Merge Document','2023-04-25 06:18:24',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (353,NULL,2,'Subject for Phone Call','2023-04-20 06:37:34',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (354,NULL,9,'Subject for Tell a Friend','2022-10-17 12:21:49',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (355,NULL,2,'Subject for Phone Call','2022-07-10 02:57:27',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (356,NULL,22,'Subject for Print/Merge Document','2023-01-10 03:23:01',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (357,NULL,22,'Subject for Print/Merge Document','2022-09-02 05:51:09',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (358,NULL,55,'Subject for Interview','2022-09-15 12:37:05',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (359,NULL,2,'Subject for Phone Call','2022-05-16 21:34:30',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (360,NULL,1,'Subject for Meeting','2022-10-10 11:30:24',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (361,NULL,1,'Subject for Meeting','2022-05-19 03:46:51',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (362,NULL,9,'Subject for Tell a Friend','2022-08-25 12:01:40',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (363,NULL,22,'Subject for Print/Merge Document','2022-10-18 11:12:32',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (364,NULL,55,'Subject for Interview','2022-08-10 13:33:06',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (365,NULL,9,'Subject for Tell a Friend','2022-09-06 10:30:35',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (366,NULL,22,'Subject for Print/Merge Document','2022-12-21 06:21:06',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (367,NULL,22,'Subject for Print/Merge Document','2023-04-29 06:09:04',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (368,NULL,2,'Subject for Phone Call','2022-12-29 12:44:33',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (369,NULL,1,'Subject for Meeting','2022-06-14 21:44:00',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (370,NULL,9,'Subject for Tell a Friend','2022-12-26 18:25:28',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (371,NULL,55,'Subject for Interview','2022-10-11 07:21:29',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (372,NULL,9,'Subject for Tell a Friend','2023-02-07 09:11:00',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (373,NULL,1,'Subject for Meeting','2022-08-27 01:43:37',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (374,NULL,9,'Subject for Tell a Friend','2022-09-19 13:14:59',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (375,NULL,55,'Subject for Interview','2022-09-07 08:18:40',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (376,NULL,1,'Subject for Meeting','2022-05-08 23:29:17',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (377,NULL,22,'Subject for Print/Merge Document','2022-05-05 01:24:33',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (378,NULL,9,'Subject for Tell a Friend','2022-09-29 15:17:22',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (379,NULL,22,'Subject for Print/Merge Document','2022-06-29 23:24:12',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (380,NULL,9,'Subject for Tell a Friend','2023-02-10 12:39:46',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (381,NULL,22,'Subject for Print/Merge Document','2023-02-16 14:58:06',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (382,NULL,55,'Subject for Interview','2022-09-11 16:04:12',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (383,NULL,2,'Subject for Phone Call','2022-07-11 13:34:20',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (384,NULL,22,'Subject for Print/Merge Document','2022-07-08 02:16:45',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (385,NULL,9,'Subject for Tell a Friend','2023-04-12 18:28:00',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (386,NULL,22,'Subject for Print/Merge Document','2022-09-17 23:09:48',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (387,NULL,55,'Subject for Interview','2022-10-03 14:16:45',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (388,NULL,55,'Subject for Interview','2023-02-28 18:21:00',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (389,NULL,22,'Subject for Print/Merge Document','2022-08-05 03:08:15',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (390,NULL,1,'Subject for Meeting','2023-03-03 08:44:54',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (391,NULL,9,'Subject for Tell a Friend','2022-08-14 09:06:07',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (392,NULL,55,'Subject for Interview','2023-01-06 14:12:53',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (393,NULL,1,'Subject for Meeting','2022-10-24 12:21:29',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (394,NULL,55,'Subject for Interview','2022-09-04 06:59:40',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (395,NULL,55,'Subject for Interview','2022-05-29 15:08:44',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (396,NULL,9,'Subject for Tell a Friend','2022-12-30 20:34:22',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (397,NULL,1,'Subject for Meeting','2022-10-02 05:33:07',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (398,NULL,2,'Subject for Phone Call','2022-12-11 20:21:36',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (399,NULL,1,'Subject for Meeting','2022-05-22 13:28:02',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (400,NULL,2,'Subject for Phone Call','2023-03-12 19:43:30',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (401,NULL,9,'Subject for Tell a Friend','2023-01-10 15:07:04',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (402,NULL,22,'Subject for Print/Merge Document','2022-06-20 17:47:33',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (403,NULL,9,'Subject for Tell a Friend','2022-10-12 00:15:52',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (404,NULL,22,'Subject for Print/Merge Document','2023-01-02 22:12:24',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (405,NULL,9,'Subject for Tell a Friend','2023-03-03 02:49:17',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (406,NULL,1,'Subject for Meeting','2023-01-16 13:58:36',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (407,NULL,9,'Subject for Tell a Friend','2022-05-08 16:31:17',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (408,NULL,2,'Subject for Phone Call','2023-04-23 15:17:58',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (409,NULL,9,'Subject for Tell a Friend','2022-11-19 13:28:12',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (410,NULL,22,'Subject for Print/Merge Document','2022-08-03 04:54:38',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:58','2023-04-30 16:20:58'), - (411,NULL,22,'Subject for Print/Merge Document','2023-04-09 09:22:59',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (412,NULL,55,'Subject for Interview','2022-06-26 06:46:09',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (413,NULL,2,'Subject for Phone Call','2022-07-28 00:38:32',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (414,NULL,2,'Subject for Phone Call','2022-07-01 14:01:50',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (415,NULL,9,'Subject for Tell a Friend','2022-09-05 05:00:53',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (416,NULL,9,'Subject for Tell a Friend','2022-12-27 04:32:34',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (417,NULL,2,'Subject for Phone Call','2022-10-10 14:17:19',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (418,NULL,1,'Subject for Meeting','2022-08-08 04:40:12',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (419,NULL,55,'Subject for Interview','2022-07-04 07:56:09',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (420,NULL,1,'Subject for Meeting','2022-08-31 16:37:26',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (421,NULL,22,'Subject for Print/Merge Document','2022-08-07 03:05:21',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (422,NULL,22,'Subject for Print/Merge Document','2023-03-14 07:12:42',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (423,NULL,55,'Subject for Interview','2022-05-12 12:32:23',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (424,NULL,22,'Subject for Print/Merge Document','2022-10-02 03:39:50',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (425,NULL,9,'Subject for Tell a Friend','2022-08-12 04:22:21',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (426,NULL,55,'Subject for Interview','2022-08-21 17:15:21',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (427,NULL,2,'Subject for Phone Call','2022-10-29 22:43:38',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (428,NULL,2,'Subject for Phone Call','2022-10-08 23:56:12',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (429,NULL,9,'Subject for Tell a Friend','2022-11-30 06:08:08',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (430,NULL,1,'Subject for Meeting','2022-09-07 00:26:44',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (431,NULL,22,'Subject for Print/Merge Document','2022-06-10 08:46:23',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (432,NULL,55,'Subject for Interview','2023-03-28 02:16:27',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (433,NULL,22,'Subject for Print/Merge Document','2023-01-23 19:19:11',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (434,NULL,55,'Subject for Interview','2023-04-26 09:49:35',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (435,NULL,55,'Subject for Interview','2022-09-29 20:59:21',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (436,NULL,22,'Subject for Print/Merge Document','2022-08-24 11:21:20',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (437,NULL,2,'Subject for Phone Call','2023-02-08 16:43:31',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (438,NULL,2,'Subject for Phone Call','2022-07-17 12:08:58',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (439,NULL,1,'Subject for Meeting','2022-10-11 05:19:24',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (440,NULL,1,'Subject for Meeting','2022-10-15 21:56:51',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (441,NULL,9,'Subject for Tell a Friend','2022-06-18 05:48:10',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (442,NULL,22,'Subject for Print/Merge Document','2023-04-19 21:12:25',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (443,NULL,1,'Subject for Meeting','2023-04-10 00:24:00',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (444,NULL,9,'Subject for Tell a Friend','2023-03-28 17:54:32',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (445,NULL,55,'Subject for Interview','2022-08-21 09:58:33',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (446,NULL,55,'Subject for Interview','2022-07-20 22:04:35',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (447,NULL,1,'Subject for Meeting','2023-02-04 17:14:35',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (448,NULL,9,'Subject for Tell a Friend','2023-02-24 20:24:04',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (449,NULL,9,'Subject for Tell a Friend','2023-04-19 02:59:02',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (450,NULL,9,'Subject for Tell a Friend','2023-03-18 23:11:40',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (451,1,6,'$ 125 April Mailer 1','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (452,2,6,'$ 50 Online: Save the Penguins','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (453,3,6,'£ 25 April Mailer 1','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (454,4,6,'$ 50 Online: Save the Penguins','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (455,5,6,'$ 50 Online: Save the Penguins','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (456,6,6,'$ 500 April Mailer 1','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (457,7,6,'$ 1750 Online: Save the Penguins','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (458,8,6,'$ 50 Online: Save the Penguins','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (459,9,6,'$ 10 Online: Help CiviCRM','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (460,10,6,'$ 250 Online: Help CiviCRM','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (461,11,6,'Â¥ 500 ','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (462,12,6,'$ 50 Online: Save the Penguins','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (463,13,6,'$ 50 ','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (464,14,6,'$ 50 ','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (465,15,6,'$ 25 Recurring contribution','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (466,16,6,'$ 25 Recurring contribution','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (467,17,6,'$ 25 Recurring contribution','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (468,18,6,'$ 25 Recurring contribution','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (469,19,6,'$ 25 Recurring contribution','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (470,20,6,'$ 25 Recurring contribution','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (471,21,6,'$ 25 Recurring contribution','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (472,22,6,'$ 25 Recurring contribution','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (473,23,6,'$ 25 Recurring contribution','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (474,24,6,'$ 25 Recurring contribution','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (475,25,6,'$ 25 Recurring contribution','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (476,26,6,'$ 10 Recurring contribution','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (477,27,6,'$ 10 Recurring contribution','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (478,28,6,'$ 10 Recurring contribution','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (479,29,6,'$ 10 Recurring contribution','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (480,30,6,'$ 10 Recurring contribution','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (481,31,6,'€ 5 Recurring contribution','2023-06-30 16:20:59',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (482,1,7,'General','2023-04-30 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (483,2,7,'Student','2023-04-29 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (484,3,7,'General','2023-04-28 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (485,4,7,'Student','2023-04-27 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (486,5,7,'General','2021-03-29 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (487,6,7,'Student','2023-04-25 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (488,7,7,'General','2023-04-24 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (489,8,7,'Student','2023-04-23 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (490,9,7,'General','2023-04-22 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (491,10,7,'General','2021-02-17 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (492,11,7,'Lifetime','2023-04-20 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (493,12,7,'Student','2023-04-19 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (494,13,7,'General','2023-04-18 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (495,14,7,'Student','2023-04-17 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (496,15,7,'Student','2022-04-16 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (497,16,7,'Student','2023-04-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (498,17,7,'General','2023-04-14 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (499,18,7,'Student','2023-04-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (500,19,7,'General','2023-04-12 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (501,20,7,'Student','2022-04-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (502,21,7,'General','2023-04-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (503,22,7,'Lifetime','2023-04-09 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (504,23,7,'General','2023-04-08 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (505,24,7,'Student','2023-04-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (506,25,7,'Student','2022-04-06 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (507,26,7,'Student','2023-04-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (508,27,7,'General','2023-04-04 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (509,28,7,'Student','2023-04-03 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (510,29,7,'General','2023-04-02 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (511,30,7,'General','2020-09-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (512,32,6,'$ 100.00 - General Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (513,33,6,'$ 50.00 - Student Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (514,34,6,'$ 100.00 - General Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (515,35,6,'$ 50.00 - Student Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (516,36,6,'$ 100.00 - General Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (517,37,6,'$ 50.00 - Student Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (518,38,6,'$ 100.00 - General Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (519,39,6,'$ 50.00 - Student Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (520,40,6,'$ 100.00 - General Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (521,41,6,'$ 100.00 - General Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (522,42,6,'$ 1200.00 - Lifetime Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (523,43,6,'$ 50.00 - Student Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (524,44,6,'$ 100.00 - General Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (525,45,6,'$ 50.00 - Student Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (526,46,6,'$ 50.00 - Student Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (527,47,6,'$ 50.00 - Student Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (528,48,6,'$ 100.00 - General Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (529,49,6,'$ 50.00 - Student Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (530,50,6,'$ 100.00 - General Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (531,51,6,'$ 50.00 - Student Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (532,52,6,'$ 100.00 - General Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (533,53,6,'$ 1200.00 - Lifetime Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (534,54,6,'$ 100.00 - General Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (535,55,6,'$ 50.00 - Student Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (536,56,6,'$ 50.00 - Student Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (537,57,6,'$ 50.00 - Student Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (538,58,6,'$ 100.00 - General Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (539,59,6,'$ 50.00 - Student Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (540,60,6,'$ 100.00 - General Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (541,61,6,'$ 100.00 - General Membership: Offline signup','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (543,1,5,'NULL','2009-01-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (544,2,5,'NULL','2008-05-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (545,3,5,'NULL','2008-05-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (546,4,5,'NULL','2008-10-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (547,5,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (548,6,5,'NULL','2008-03-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (549,7,5,'NULL','2009-07-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (550,8,5,'NULL','2009-03-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (551,9,5,'NULL','2008-02-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (552,10,5,'NULL','2008-02-01 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (553,11,5,'NULL','2009-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (554,12,5,'NULL','2009-03-06 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (555,13,5,'NULL','2008-06-04 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (556,14,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (557,15,5,'NULL','2008-07-04 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (558,16,5,'NULL','2009-01-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (559,17,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (560,18,5,'NULL','2009-03-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (561,19,5,'NULL','2008-10-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (562,20,5,'NULL','2009-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (563,21,5,'NULL','2008-03-25 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (564,22,5,'NULL','2009-10-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (565,23,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (566,24,5,'NULL','2008-03-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (567,25,5,'NULL','2008-04-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (568,26,5,'NULL','2009-01-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (569,27,5,'NULL','2008-05-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (570,28,5,'NULL','2009-12-12 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (571,29,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (572,30,5,'NULL','2009-12-14 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (573,31,5,'NULL','2009-12-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (574,32,5,'NULL','2009-07-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (575,33,5,'NULL','2009-03-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (576,34,5,'NULL','2009-12-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (577,35,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (578,36,5,'NULL','2009-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (579,37,5,'NULL','2009-03-06 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (580,38,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (581,39,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (582,40,5,'NULL','2009-12-14 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (583,41,5,'NULL','2009-01-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (584,42,5,'NULL','2009-12-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (585,43,5,'NULL','2009-03-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (586,44,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (587,45,5,'NULL','2009-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (588,46,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (589,47,5,'NULL','2009-10-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (590,48,5,'NULL','2009-12-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (591,49,5,'NULL','2009-03-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (592,50,5,'NULL','2009-04-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (593,63,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (594,64,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (595,65,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (596,66,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (597,67,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (598,68,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (599,69,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (600,70,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (601,71,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (602,72,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (603,73,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (604,74,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (605,75,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (606,76,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (607,77,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (608,78,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (609,79,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (610,80,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (611,81,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (612,82,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (613,83,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (614,84,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (615,85,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (616,86,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (617,87,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (618,88,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (619,89,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (620,90,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (621,91,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (622,92,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (623,93,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (624,94,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (625,95,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (626,96,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (627,97,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (628,98,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (629,99,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (630,100,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (631,101,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (632,102,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (633,103,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (634,104,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (635,105,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (636,106,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (637,107,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (638,108,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (639,109,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (640,110,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (641,111,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'), - (642,112,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-04-30 16:20:59',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-04-30 16:20:59','2023-04-30 16:20:59'); + (1,NULL,9,'Subject for Tell a Friend','2023-06-02 07:05:10',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (2,NULL,9,'Subject for Tell a Friend','2022-08-09 07:39:02',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (3,NULL,1,'Subject for Meeting','2022-11-24 12:29:35',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (4,NULL,1,'Subject for Meeting','2023-03-27 03:29:41',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (5,NULL,22,'Subject for Print/Merge Document','2022-09-09 15:30:24',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (6,NULL,55,'Subject for Interview','2023-03-13 10:17:47',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (7,NULL,55,'Subject for Interview','2022-08-20 19:20:19',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (8,NULL,9,'Subject for Tell a Friend','2023-03-27 19:09:25',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (9,NULL,55,'Subject for Interview','2022-06-16 23:58:21',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (10,NULL,22,'Subject for Print/Merge Document','2023-01-17 23:26:55',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (11,NULL,1,'Subject for Meeting','2022-12-10 10:40:04',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (12,NULL,1,'Subject for Meeting','2023-02-11 15:08:19',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (13,NULL,9,'Subject for Tell a Friend','2022-07-23 00:49:19',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (14,NULL,2,'Subject for Phone Call','2023-01-20 15:54:37',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (15,NULL,1,'Subject for Meeting','2022-08-07 11:27:37',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (16,NULL,1,'Subject for Meeting','2022-11-30 01:33:26',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (17,NULL,2,'Subject for Phone Call','2023-05-05 11:01:57',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (18,NULL,1,'Subject for Meeting','2023-02-01 18:16:48',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (19,NULL,55,'Subject for Interview','2023-04-23 04:04:07',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (20,NULL,9,'Subject for Tell a Friend','2022-08-03 06:35:25',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (21,NULL,2,'Subject for Phone Call','2023-05-20 13:21:55',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (22,NULL,1,'Subject for Meeting','2022-11-25 19:32:45',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (23,NULL,1,'Subject for Meeting','2023-02-10 14:51:22',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (24,NULL,22,'Subject for Print/Merge Document','2022-11-03 04:44:20',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (25,NULL,2,'Subject for Phone Call','2022-09-05 01:19:11',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (26,NULL,1,'Subject for Meeting','2022-09-14 22:54:12',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (27,NULL,2,'Subject for Phone Call','2023-05-28 23:33:11',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (28,NULL,2,'Subject for Phone Call','2022-06-10 18:14:50',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (29,NULL,1,'Subject for Meeting','2023-05-06 07:30:52',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (30,NULL,2,'Subject for Phone Call','2022-10-27 10:24:49',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (31,NULL,1,'Subject for Meeting','2023-05-31 00:31:08',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (32,NULL,55,'Subject for Interview','2022-11-17 19:19:48',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (33,NULL,9,'Subject for Tell a Friend','2022-08-12 06:24:51',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (34,NULL,9,'Subject for Tell a Friend','2023-04-04 07:57:31',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (35,NULL,22,'Subject for Print/Merge Document','2023-03-16 17:46:09',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (36,NULL,1,'Subject for Meeting','2023-05-09 10:56:30',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (37,NULL,2,'Subject for Phone Call','2022-11-16 17:33:43',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (38,NULL,22,'Subject for Print/Merge Document','2023-01-03 19:10:15',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (39,NULL,1,'Subject for Meeting','2022-12-16 05:23:04',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (40,NULL,22,'Subject for Print/Merge Document','2022-11-20 13:27:01',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (41,NULL,1,'Subject for Meeting','2023-01-08 17:36:13',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (42,NULL,2,'Subject for Phone Call','2022-10-31 07:25:07',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (43,NULL,9,'Subject for Tell a Friend','2023-03-11 12:24:53',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (44,NULL,2,'Subject for Phone Call','2023-02-27 07:08:56',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (45,NULL,55,'Subject for Interview','2022-09-14 01:30:06',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (46,NULL,9,'Subject for Tell a Friend','2023-06-02 05:56:10',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (47,NULL,55,'Subject for Interview','2023-05-19 13:39:26',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (48,NULL,1,'Subject for Meeting','2022-09-22 13:40:13',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (49,NULL,9,'Subject for Tell a Friend','2022-12-05 02:30:28',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (50,NULL,9,'Subject for Tell a Friend','2022-11-15 03:31:00',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (51,NULL,1,'Subject for Meeting','2023-05-29 17:19:55',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (52,NULL,22,'Subject for Print/Merge Document','2023-04-05 23:08:13',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (53,NULL,2,'Subject for Phone Call','2022-09-14 04:28:26',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (54,NULL,9,'Subject for Tell a Friend','2022-07-03 21:25:41',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (55,NULL,55,'Subject for Interview','2023-03-24 01:33:07',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (56,NULL,22,'Subject for Print/Merge Document','2023-03-10 17:55:19',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (57,NULL,22,'Subject for Print/Merge Document','2022-07-24 08:50:55',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (58,NULL,55,'Subject for Interview','2022-11-11 18:47:35',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (59,NULL,55,'Subject for Interview','2022-07-05 03:30:45',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (60,NULL,55,'Subject for Interview','2023-04-16 08:26:01',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (61,NULL,2,'Subject for Phone Call','2022-06-23 17:09:00',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (62,NULL,9,'Subject for Tell a Friend','2022-11-24 03:03:43',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (63,NULL,2,'Subject for Phone Call','2022-06-16 22:41:19',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (64,NULL,55,'Subject for Interview','2023-03-16 20:56:53',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (65,NULL,1,'Subject for Meeting','2023-02-23 04:58:45',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (66,NULL,22,'Subject for Print/Merge Document','2022-09-06 11:49:52',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (67,NULL,9,'Subject for Tell a Friend','2022-09-06 04:19:53',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (68,NULL,9,'Subject for Tell a Friend','2022-09-21 00:32:59',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (69,NULL,22,'Subject for Print/Merge Document','2023-02-08 04:11:28',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (70,NULL,2,'Subject for Phone Call','2022-07-03 17:59:19',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (71,NULL,55,'Subject for Interview','2022-09-01 03:36:57',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (72,NULL,2,'Subject for Phone Call','2022-11-25 17:35:12',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (73,NULL,2,'Subject for Phone Call','2022-11-08 08:03:33',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (74,NULL,22,'Subject for Print/Merge Document','2023-02-19 03:22:40',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (75,NULL,1,'Subject for Meeting','2022-08-30 07:09:11',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (76,NULL,22,'Subject for Print/Merge Document','2023-02-06 14:41:31',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (77,NULL,2,'Subject for Phone Call','2022-09-02 20:45:38',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (78,NULL,1,'Subject for Meeting','2023-03-09 03:46:33',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (79,NULL,9,'Subject for Tell a Friend','2022-10-06 20:16:11',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (80,NULL,2,'Subject for Phone Call','2023-06-05 19:50:09',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (81,NULL,9,'Subject for Tell a Friend','2022-07-18 18:29:07',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (82,NULL,22,'Subject for Print/Merge Document','2022-10-08 14:43:30',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (83,NULL,1,'Subject for Meeting','2022-10-10 14:18:38',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (84,NULL,1,'Subject for Meeting','2023-01-23 08:43:17',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (85,NULL,55,'Subject for Interview','2023-03-17 14:11:47',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (86,NULL,2,'Subject for Phone Call','2023-04-07 14:46:59',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (87,NULL,9,'Subject for Tell a Friend','2023-05-20 01:51:37',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (88,NULL,55,'Subject for Interview','2022-07-26 04:16:36',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (89,NULL,22,'Subject for Print/Merge Document','2023-05-13 10:52:47',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (90,NULL,9,'Subject for Tell a Friend','2022-08-14 21:31:03',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (91,NULL,55,'Subject for Interview','2022-11-22 23:58:56',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (92,NULL,1,'Subject for Meeting','2023-05-16 02:18:21',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (93,NULL,1,'Subject for Meeting','2022-07-05 07:22:39',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (94,NULL,22,'Subject for Print/Merge Document','2023-05-17 18:23:42',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (95,NULL,1,'Subject for Meeting','2023-04-05 20:14:49',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (96,NULL,55,'Subject for Interview','2022-11-26 23:00:40',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (97,NULL,1,'Subject for Meeting','2023-01-09 05:22:27',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (98,NULL,9,'Subject for Tell a Friend','2022-08-25 03:18:26',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (99,NULL,1,'Subject for Meeting','2022-12-21 21:17:20',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (100,NULL,22,'Subject for Print/Merge Document','2022-10-21 08:28:05',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (101,NULL,2,'Subject for Phone Call','2023-04-25 18:48:07',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (102,NULL,22,'Subject for Print/Merge Document','2023-01-06 12:10:32',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (103,NULL,9,'Subject for Tell a Friend','2022-12-16 08:32:05',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (104,NULL,1,'Subject for Meeting','2022-08-12 08:25:01',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (105,NULL,9,'Subject for Tell a Friend','2022-07-15 13:36:17',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (106,NULL,55,'Subject for Interview','2022-11-27 11:22:14',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (107,NULL,2,'Subject for Phone Call','2023-06-07 20:18:48',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (108,NULL,22,'Subject for Print/Merge Document','2022-07-23 14:28:31',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (109,NULL,22,'Subject for Print/Merge Document','2022-12-22 03:35:01',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (110,NULL,2,'Subject for Phone Call','2023-04-09 09:50:09',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (111,NULL,1,'Subject for Meeting','2023-03-30 08:09:18',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (112,NULL,1,'Subject for Meeting','2022-06-12 22:10:49',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (113,NULL,55,'Subject for Interview','2022-11-22 15:55:23',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (114,NULL,1,'Subject for Meeting','2022-12-23 23:35:23',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (115,NULL,22,'Subject for Print/Merge Document','2022-07-11 21:21:29',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (116,NULL,55,'Subject for Interview','2023-06-07 01:00:11',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (117,NULL,55,'Subject for Interview','2023-02-26 15:19:51',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (118,NULL,22,'Subject for Print/Merge Document','2022-11-21 17:06:35',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (119,NULL,55,'Subject for Interview','2023-02-25 05:57:14',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (120,NULL,55,'Subject for Interview','2022-09-19 09:37:40',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (121,NULL,2,'Subject for Phone Call','2022-10-20 02:56:54',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (122,NULL,1,'Subject for Meeting','2022-12-18 02:28:05',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (123,NULL,9,'Subject for Tell a Friend','2022-12-20 12:08:54',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (124,NULL,55,'Subject for Interview','2023-01-05 05:29:55',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (125,NULL,2,'Subject for Phone Call','2022-10-02 06:44:55',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (126,NULL,1,'Subject for Meeting','2023-02-18 18:56:10',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (127,NULL,55,'Subject for Interview','2022-12-30 22:23:38',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (128,NULL,55,'Subject for Interview','2022-12-14 00:44:44',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (129,NULL,9,'Subject for Tell a Friend','2023-03-07 14:21:43',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (130,NULL,22,'Subject for Print/Merge Document','2022-11-12 10:42:21',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (131,NULL,22,'Subject for Print/Merge Document','2022-12-20 04:32:54',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (132,NULL,1,'Subject for Meeting','2022-06-22 00:29:53',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (133,NULL,2,'Subject for Phone Call','2023-04-06 12:21:56',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (134,NULL,2,'Subject for Phone Call','2023-03-19 15:23:41',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (135,NULL,2,'Subject for Phone Call','2023-03-29 09:06:50',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (136,NULL,2,'Subject for Phone Call','2023-05-14 17:42:42',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (137,NULL,22,'Subject for Print/Merge Document','2022-11-21 19:53:38',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (138,NULL,2,'Subject for Phone Call','2022-07-22 14:07:19',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (139,NULL,9,'Subject for Tell a Friend','2023-02-11 09:44:32',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (140,NULL,22,'Subject for Print/Merge Document','2022-10-03 03:01:59',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (141,NULL,55,'Subject for Interview','2022-08-07 11:48:25',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (142,NULL,22,'Subject for Print/Merge Document','2022-11-01 15:54:43',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (143,NULL,9,'Subject for Tell a Friend','2023-02-19 02:41:36',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (144,NULL,2,'Subject for Phone Call','2023-04-09 15:52:27',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (145,NULL,1,'Subject for Meeting','2022-12-04 00:57:35',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (146,NULL,22,'Subject for Print/Merge Document','2022-06-16 00:48:26',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (147,NULL,2,'Subject for Phone Call','2023-03-10 17:19:14',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (148,NULL,9,'Subject for Tell a Friend','2022-07-06 23:03:54',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (149,NULL,1,'Subject for Meeting','2023-01-09 12:08:13',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (150,NULL,2,'Subject for Phone Call','2022-12-31 15:41:54',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (151,NULL,2,'Subject for Phone Call','2023-04-17 05:34:44',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (152,NULL,55,'Subject for Interview','2023-02-28 06:22:39',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (153,NULL,1,'Subject for Meeting','2023-03-07 15:49:39',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (154,NULL,1,'Subject for Meeting','2022-08-03 20:14:56',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (155,NULL,22,'Subject for Print/Merge Document','2023-04-14 17:54:42',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (156,NULL,1,'Subject for Meeting','2023-03-19 16:33:43',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (157,NULL,2,'Subject for Phone Call','2022-07-03 03:39:00',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (158,NULL,22,'Subject for Print/Merge Document','2023-04-24 13:51:05',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (159,NULL,9,'Subject for Tell a Friend','2023-01-26 09:23:13',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (160,NULL,9,'Subject for Tell a Friend','2023-03-22 17:39:09',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (161,NULL,1,'Subject for Meeting','2022-10-31 22:13:50',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (162,NULL,9,'Subject for Tell a Friend','2022-08-17 08:21:08',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (163,NULL,2,'Subject for Phone Call','2022-10-25 15:46:32',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (164,NULL,9,'Subject for Tell a Friend','2022-06-19 04:05:49',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (165,NULL,2,'Subject for Phone Call','2022-11-17 09:33:24',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (166,NULL,22,'Subject for Print/Merge Document','2022-11-21 01:32:34',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (167,NULL,55,'Subject for Interview','2023-04-04 07:21:19',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (168,NULL,22,'Subject for Print/Merge Document','2022-07-02 23:23:06',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (169,NULL,9,'Subject for Tell a Friend','2022-09-06 22:28:58',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (170,NULL,9,'Subject for Tell a Friend','2022-09-19 04:16:46',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (171,NULL,55,'Subject for Interview','2022-07-24 06:43:46',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (172,NULL,1,'Subject for Meeting','2022-10-12 11:02:56',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (173,NULL,55,'Subject for Interview','2023-05-03 08:11:02',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (174,NULL,22,'Subject for Print/Merge Document','2022-07-10 14:07:54',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (175,NULL,1,'Subject for Meeting','2023-03-22 02:50:06',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (176,NULL,9,'Subject for Tell a Friend','2022-11-06 00:36:03',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (177,NULL,55,'Subject for Interview','2023-05-18 11:36:56',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (178,NULL,1,'Subject for Meeting','2022-09-17 14:26:15',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (179,NULL,9,'Subject for Tell a Friend','2022-10-08 09:17:01',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (180,NULL,22,'Subject for Print/Merge Document','2023-03-11 11:26:28',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (181,NULL,9,'Subject for Tell a Friend','2022-08-28 21:49:19',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (182,NULL,2,'Subject for Phone Call','2023-05-15 10:04:53',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (183,NULL,55,'Subject for Interview','2022-12-22 09:27:52',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (184,NULL,22,'Subject for Print/Merge Document','2022-07-10 13:04:02',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (185,NULL,2,'Subject for Phone Call','2023-05-14 01:07:22',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (186,NULL,22,'Subject for Print/Merge Document','2022-06-22 20:34:21',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (187,NULL,1,'Subject for Meeting','2022-06-19 05:45:08',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (188,NULL,22,'Subject for Print/Merge Document','2023-04-30 14:31:52',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (189,NULL,1,'Subject for Meeting','2022-06-11 17:46:47',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (190,NULL,2,'Subject for Phone Call','2022-08-25 21:10:31',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (191,NULL,22,'Subject for Print/Merge Document','2023-02-12 02:25:23',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (192,NULL,2,'Subject for Phone Call','2023-03-24 14:50:30',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (193,NULL,22,'Subject for Print/Merge Document','2023-03-20 20:20:39',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (194,NULL,9,'Subject for Tell a Friend','2022-10-26 20:58:53',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (195,NULL,55,'Subject for Interview','2022-07-08 07:42:35',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (196,NULL,55,'Subject for Interview','2022-10-25 15:56:40',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (197,NULL,1,'Subject for Meeting','2022-09-08 09:01:38',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (198,NULL,1,'Subject for Meeting','2023-03-01 00:51:19',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (199,NULL,9,'Subject for Tell a Friend','2022-08-02 15:04:45',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (200,NULL,22,'Subject for Print/Merge Document','2022-07-28 22:42:08',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (201,NULL,22,'Subject for Print/Merge Document','2023-01-12 12:50:47',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (202,NULL,22,'Subject for Print/Merge Document','2022-06-28 05:44:03',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (203,NULL,9,'Subject for Tell a Friend','2022-06-22 11:02:26',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (204,NULL,9,'Subject for Tell a Friend','2022-10-15 21:42:58',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (205,NULL,22,'Subject for Print/Merge Document','2023-06-04 20:38:34',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (206,NULL,22,'Subject for Print/Merge Document','2022-09-10 15:03:22',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (207,NULL,2,'Subject for Phone Call','2022-10-31 08:09:07',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (208,NULL,22,'Subject for Print/Merge Document','2023-04-30 19:40:18',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (209,NULL,22,'Subject for Print/Merge Document','2023-02-06 14:26:37',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (210,NULL,55,'Subject for Interview','2023-03-16 12:11:45',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (211,NULL,2,'Subject for Phone Call','2022-07-22 06:14:06',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (212,NULL,22,'Subject for Print/Merge Document','2023-04-11 14:05:34',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (213,NULL,1,'Subject for Meeting','2023-03-22 23:38:47',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (214,NULL,1,'Subject for Meeting','2023-03-11 13:34:41',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (215,NULL,55,'Subject for Interview','2022-11-29 11:41:13',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (216,NULL,55,'Subject for Interview','2023-05-26 10:11:14',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (217,NULL,2,'Subject for Phone Call','2022-10-15 20:41:41',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (218,NULL,9,'Subject for Tell a Friend','2023-03-11 05:55:29',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (219,NULL,9,'Subject for Tell a Friend','2023-06-05 23:17:48',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (220,NULL,55,'Subject for Interview','2022-11-30 21:58:31',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (221,NULL,9,'Subject for Tell a Friend','2023-01-12 09:36:35',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (222,NULL,9,'Subject for Tell a Friend','2023-02-24 10:11:51',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (223,NULL,55,'Subject for Interview','2023-02-19 20:37:35',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (224,NULL,1,'Subject for Meeting','2023-03-04 08:44:55',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (225,NULL,9,'Subject for Tell a Friend','2023-03-30 02:44:10',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (226,NULL,9,'Subject for Tell a Friend','2022-11-06 20:38:52',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (227,NULL,1,'Subject for Meeting','2023-05-24 04:16:24',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (228,NULL,55,'Subject for Interview','2023-05-30 15:22:25',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (229,NULL,9,'Subject for Tell a Friend','2022-10-16 09:07:44',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (230,NULL,1,'Subject for Meeting','2022-07-28 13:40:06',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (231,NULL,2,'Subject for Phone Call','2022-12-31 13:07:56',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (232,NULL,9,'Subject for Tell a Friend','2023-02-08 10:45:58',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (233,NULL,22,'Subject for Print/Merge Document','2022-09-28 11:27:41',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (234,NULL,2,'Subject for Phone Call','2022-06-15 19:47:36',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (235,NULL,55,'Subject for Interview','2023-03-28 10:35:25',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (236,NULL,22,'Subject for Print/Merge Document','2023-04-27 02:45:24',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (237,NULL,1,'Subject for Meeting','2022-08-02 16:00:50',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (238,NULL,1,'Subject for Meeting','2023-04-16 04:59:06',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (239,NULL,1,'Subject for Meeting','2022-12-09 09:33:00',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (240,NULL,9,'Subject for Tell a Friend','2022-10-19 03:23:54',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (241,NULL,1,'Subject for Meeting','2022-12-07 23:38:23',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (242,NULL,22,'Subject for Print/Merge Document','2022-10-29 08:21:05',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (243,NULL,22,'Subject for Print/Merge Document','2022-12-16 19:47:14',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (244,NULL,55,'Subject for Interview','2022-11-15 10:18:14',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (245,NULL,9,'Subject for Tell a Friend','2022-07-29 19:05:03',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (246,NULL,55,'Subject for Interview','2022-10-03 23:55:45',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (247,NULL,1,'Subject for Meeting','2023-01-27 22:27:18',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (248,NULL,2,'Subject for Phone Call','2023-04-28 21:16:39',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (249,NULL,9,'Subject for Tell a Friend','2022-08-29 22:50:50',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (250,NULL,1,'Subject for Meeting','2022-10-05 19:30:57',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (251,NULL,22,'Subject for Print/Merge Document','2022-07-21 02:32:40',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (252,NULL,9,'Subject for Tell a Friend','2023-05-21 17:02:00',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (253,NULL,22,'Subject for Print/Merge Document','2022-11-13 14:27:21',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (254,NULL,2,'Subject for Phone Call','2022-10-19 18:23:07',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (255,NULL,2,'Subject for Phone Call','2022-10-09 02:03:09',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (256,NULL,55,'Subject for Interview','2023-04-16 12:54:41',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (257,NULL,2,'Subject for Phone Call','2023-04-03 14:30:40',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (258,NULL,9,'Subject for Tell a Friend','2023-06-02 21:59:17',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (259,NULL,22,'Subject for Print/Merge Document','2023-05-27 17:49:51',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (260,NULL,9,'Subject for Tell a Friend','2022-11-08 12:38:49',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (261,NULL,9,'Subject for Tell a Friend','2022-10-31 07:07:51',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (262,NULL,2,'Subject for Phone Call','2023-04-25 04:58:54',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (263,NULL,22,'Subject for Print/Merge Document','2023-03-03 07:41:03',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (264,NULL,55,'Subject for Interview','2023-01-11 18:15:44',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (265,NULL,2,'Subject for Phone Call','2022-08-13 10:28:12',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (266,NULL,55,'Subject for Interview','2023-03-19 14:38:02',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (267,NULL,2,'Subject for Phone Call','2023-03-12 23:04:18',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (268,NULL,1,'Subject for Meeting','2022-07-22 08:51:11',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (269,NULL,55,'Subject for Interview','2022-12-27 10:15:23',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (270,NULL,22,'Subject for Print/Merge Document','2022-12-16 03:59:41',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (271,NULL,55,'Subject for Interview','2023-06-07 06:07:42',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (272,NULL,55,'Subject for Interview','2022-06-20 17:27:20',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (273,NULL,55,'Subject for Interview','2022-06-13 10:11:18',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (274,NULL,2,'Subject for Phone Call','2023-03-15 20:36:03',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (275,NULL,55,'Subject for Interview','2022-06-13 10:46:47',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (276,NULL,22,'Subject for Print/Merge Document','2023-04-02 10:46:54',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (277,NULL,22,'Subject for Print/Merge Document','2022-09-25 07:57:34',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (278,NULL,2,'Subject for Phone Call','2022-08-11 19:59:01',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (279,NULL,22,'Subject for Print/Merge Document','2022-08-31 08:01:39',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (280,NULL,2,'Subject for Phone Call','2022-11-11 11:23:58',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (281,NULL,1,'Subject for Meeting','2023-01-08 13:55:27',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (282,NULL,22,'Subject for Print/Merge Document','2022-08-16 13:54:32',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (283,NULL,55,'Subject for Interview','2023-03-07 12:34:02',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (284,NULL,1,'Subject for Meeting','2022-09-16 08:47:42',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (285,NULL,22,'Subject for Print/Merge Document','2023-04-30 00:40:28',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (286,NULL,1,'Subject for Meeting','2022-07-31 18:02:56',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (287,NULL,22,'Subject for Print/Merge Document','2022-07-16 21:23:43',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (288,NULL,9,'Subject for Tell a Friend','2022-07-11 02:46:52',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (289,NULL,22,'Subject for Print/Merge Document','2023-05-04 16:55:57',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (290,NULL,2,'Subject for Phone Call','2022-10-23 06:32:35',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (291,NULL,1,'Subject for Meeting','2022-12-10 01:59:46',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (292,NULL,2,'Subject for Phone Call','2023-01-12 05:42:55',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (293,NULL,1,'Subject for Meeting','2023-01-29 23:44:55',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (294,NULL,9,'Subject for Tell a Friend','2023-03-17 07:43:03',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (295,NULL,22,'Subject for Print/Merge Document','2022-07-23 23:18:25',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (296,NULL,55,'Subject for Interview','2022-10-05 22:03:54',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (297,NULL,2,'Subject for Phone Call','2022-12-15 05:51:03',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (298,NULL,55,'Subject for Interview','2022-09-25 03:50:19',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (299,NULL,2,'Subject for Phone Call','2023-01-03 13:22:10',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (300,NULL,2,'Subject for Phone Call','2022-07-07 01:22:41',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (301,NULL,55,'Subject for Interview','2022-12-19 10:13:00',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (302,NULL,55,'Subject for Interview','2023-03-15 20:03:27',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (303,NULL,22,'Subject for Print/Merge Document','2023-03-11 19:11:08',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (304,NULL,1,'Subject for Meeting','2022-12-12 09:39:43',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (305,NULL,1,'Subject for Meeting','2023-03-05 08:59:19',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (306,NULL,55,'Subject for Interview','2022-11-06 12:39:27',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (307,NULL,55,'Subject for Interview','2023-02-01 18:00:44',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (308,NULL,22,'Subject for Print/Merge Document','2023-05-04 19:10:06',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (309,NULL,2,'Subject for Phone Call','2023-04-08 06:46:23',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (310,NULL,22,'Subject for Print/Merge Document','2022-08-26 02:58:36',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (311,NULL,9,'Subject for Tell a Friend','2023-02-17 22:22:10',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (312,NULL,2,'Subject for Phone Call','2022-09-05 10:41:19',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (313,NULL,55,'Subject for Interview','2023-01-01 07:44:39',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (314,NULL,22,'Subject for Print/Merge Document','2023-02-09 09:51:30',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (315,NULL,55,'Subject for Interview','2023-04-12 03:49:24',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (316,NULL,55,'Subject for Interview','2022-12-11 06:41:10',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (317,NULL,2,'Subject for Phone Call','2022-06-11 23:37:56',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (318,NULL,22,'Subject for Print/Merge Document','2023-05-26 16:23:57',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (319,NULL,55,'Subject for Interview','2022-11-03 19:24:16',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (320,NULL,55,'Subject for Interview','2022-07-05 21:27:01',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (321,NULL,1,'Subject for Meeting','2022-07-30 21:49:28',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (322,NULL,2,'Subject for Phone Call','2023-01-05 12:37:45',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (323,NULL,2,'Subject for Phone Call','2023-05-12 01:20:50',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (324,NULL,9,'Subject for Tell a Friend','2022-10-16 13:44:20',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (325,NULL,22,'Subject for Print/Merge Document','2022-07-24 21:30:33',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (326,NULL,22,'Subject for Print/Merge Document','2022-08-22 05:11:38',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (327,NULL,9,'Subject for Tell a Friend','2022-09-24 15:20:18',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (328,NULL,55,'Subject for Interview','2022-12-09 20:47:57',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (329,NULL,2,'Subject for Phone Call','2022-10-21 21:19:17',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (330,NULL,1,'Subject for Meeting','2022-08-26 15:23:18',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (331,NULL,2,'Subject for Phone Call','2023-06-06 06:31:54',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (332,NULL,9,'Subject for Tell a Friend','2023-01-02 22:12:17',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (333,NULL,55,'Subject for Interview','2022-10-26 00:18:24',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (334,NULL,9,'Subject for Tell a Friend','2023-06-01 12:20:13',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (335,NULL,9,'Subject for Tell a Friend','2022-07-04 02:57:34',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (336,NULL,9,'Subject for Tell a Friend','2023-03-10 03:39:50',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (337,NULL,9,'Subject for Tell a Friend','2022-07-17 14:33:24',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (338,NULL,9,'Subject for Tell a Friend','2022-08-04 18:26:16',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (339,NULL,55,'Subject for Interview','2022-12-14 14:48:59',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (340,NULL,55,'Subject for Interview','2022-06-21 21:26:20',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (341,NULL,2,'Subject for Phone Call','2023-01-25 13:18:57',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (342,NULL,22,'Subject for Print/Merge Document','2023-04-03 13:14:37',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (343,NULL,1,'Subject for Meeting','2023-06-06 20:10:44',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (344,NULL,55,'Subject for Interview','2022-06-30 01:08:01',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (345,NULL,55,'Subject for Interview','2022-11-10 12:53:03',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (346,NULL,1,'Subject for Meeting','2023-03-22 13:20:02',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (347,NULL,9,'Subject for Tell a Friend','2023-05-31 13:45:26',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (348,NULL,55,'Subject for Interview','2023-05-03 12:07:07',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (349,NULL,22,'Subject for Print/Merge Document','2023-04-25 05:30:09',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (350,NULL,9,'Subject for Tell a Friend','2023-01-18 13:27:43',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (351,NULL,55,'Subject for Interview','2022-06-26 03:15:34',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (352,NULL,1,'Subject for Meeting','2022-10-20 13:14:07',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (353,NULL,9,'Subject for Tell a Friend','2022-08-17 11:55:35',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (354,NULL,2,'Subject for Phone Call','2022-09-03 12:56:44',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (355,NULL,55,'Subject for Interview','2022-08-31 14:39:39',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (356,NULL,9,'Subject for Tell a Friend','2022-10-28 03:50:27',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (357,NULL,9,'Subject for Tell a Friend','2022-10-03 07:08:57',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (358,NULL,1,'Subject for Meeting','2022-09-15 15:12:14',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (359,NULL,9,'Subject for Tell a Friend','2023-02-02 22:57:50',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (360,NULL,1,'Subject for Meeting','2022-07-02 12:04:10',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (361,NULL,22,'Subject for Print/Merge Document','2023-03-19 05:02:44',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (362,NULL,9,'Subject for Tell a Friend','2023-04-22 05:01:46',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (363,NULL,22,'Subject for Print/Merge Document','2023-02-22 00:34:38',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (364,NULL,9,'Subject for Tell a Friend','2023-05-05 13:41:31',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (365,NULL,55,'Subject for Interview','2022-11-17 16:50:15',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (366,NULL,55,'Subject for Interview','2022-12-16 02:45:54',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (367,NULL,55,'Subject for Interview','2022-07-16 16:45:07',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (368,NULL,1,'Subject for Meeting','2022-09-13 05:33:08',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (369,NULL,2,'Subject for Phone Call','2022-10-03 12:06:09',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (370,NULL,22,'Subject for Print/Merge Document','2022-09-29 04:13:26',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (371,NULL,9,'Subject for Tell a Friend','2023-02-28 03:25:54',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (372,NULL,22,'Subject for Print/Merge Document','2022-12-31 06:22:18',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (373,NULL,2,'Subject for Phone Call','2023-03-18 22:18:25',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (374,NULL,1,'Subject for Meeting','2023-01-18 22:16:14',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (375,NULL,9,'Subject for Tell a Friend','2023-01-12 18:43:01',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (376,NULL,55,'Subject for Interview','2022-07-04 20:52:46',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (377,NULL,2,'Subject for Phone Call','2023-04-26 12:19:26',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (378,NULL,9,'Subject for Tell a Friend','2023-01-26 16:05:10',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (379,NULL,9,'Subject for Tell a Friend','2022-10-04 16:41:41',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (380,NULL,1,'Subject for Meeting','2023-01-15 05:21:18',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (381,NULL,9,'Subject for Tell a Friend','2022-07-16 01:49:50',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (382,NULL,22,'Subject for Print/Merge Document','2022-09-25 23:41:21',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (383,NULL,9,'Subject for Tell a Friend','2023-01-05 16:19:47',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (384,NULL,9,'Subject for Tell a Friend','2023-01-02 17:37:24',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (385,NULL,55,'Subject for Interview','2023-04-12 06:26:30',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (386,NULL,22,'Subject for Print/Merge Document','2022-06-10 12:09:21',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (387,NULL,55,'Subject for Interview','2023-01-01 00:36:38',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (388,NULL,22,'Subject for Print/Merge Document','2023-04-10 07:08:50',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (389,NULL,1,'Subject for Meeting','2022-06-10 14:02:19',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (390,NULL,22,'Subject for Print/Merge Document','2022-06-25 03:36:21',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (391,NULL,55,'Subject for Interview','2023-05-29 14:15:48',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (392,NULL,22,'Subject for Print/Merge Document','2022-09-15 02:35:38',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (393,NULL,9,'Subject for Tell a Friend','2023-05-30 18:45:41',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (394,NULL,9,'Subject for Tell a Friend','2023-02-18 15:08:49',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (395,NULL,9,'Subject for Tell a Friend','2022-10-05 15:31:17',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (396,NULL,2,'Subject for Phone Call','2022-08-28 02:20:24',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (397,NULL,9,'Subject for Tell a Friend','2022-09-18 13:27:55',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (398,NULL,9,'Subject for Tell a Friend','2022-06-12 23:44:35',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (399,NULL,9,'Subject for Tell a Friend','2022-07-29 21:21:02',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (400,NULL,22,'Subject for Print/Merge Document','2022-09-13 01:05:43',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (401,NULL,2,'Subject for Phone Call','2022-12-28 04:55:48',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (402,NULL,22,'Subject for Print/Merge Document','2023-05-04 23:05:11',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (403,NULL,9,'Subject for Tell a Friend','2023-02-05 01:15:50',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (404,NULL,22,'Subject for Print/Merge Document','2023-06-04 19:28:30',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (405,NULL,2,'Subject for Phone Call','2023-03-07 02:57:10',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (406,NULL,22,'Subject for Print/Merge Document','2022-11-09 16:34:54',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (407,NULL,1,'Subject for Meeting','2023-05-08 10:43:15',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (408,NULL,2,'Subject for Phone Call','2023-03-03 16:49:17',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (409,NULL,22,'Subject for Print/Merge Document','2022-07-21 06:03:01',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (410,NULL,55,'Subject for Interview','2022-12-16 15:11:19',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (411,NULL,1,'Subject for Meeting','2023-04-21 02:33:50',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (412,NULL,1,'Subject for Meeting','2023-04-22 18:42:43',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (413,NULL,22,'Subject for Print/Merge Document','2022-07-23 17:54:10',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (414,NULL,22,'Subject for Print/Merge Document','2023-01-30 07:12:02',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (415,NULL,55,'Subject for Interview','2023-03-07 10:56:30',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (416,NULL,2,'Subject for Phone Call','2022-10-17 17:59:53',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (417,NULL,9,'Subject for Tell a Friend','2023-02-22 05:28:40',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (418,NULL,55,'Subject for Interview','2022-10-03 07:16:13',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (419,NULL,1,'Subject for Meeting','2023-04-08 18:06:54',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (420,NULL,9,'Subject for Tell a Friend','2023-05-28 16:13:04',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (421,NULL,1,'Subject for Meeting','2023-02-01 15:29:31',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (422,NULL,22,'Subject for Print/Merge Document','2023-03-14 09:39:36',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (423,NULL,1,'Subject for Meeting','2023-02-02 15:41:13',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (424,NULL,55,'Subject for Interview','2022-08-15 08:15:41',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (425,NULL,2,'Subject for Phone Call','2022-12-25 15:14:52',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (426,NULL,55,'Subject for Interview','2023-01-21 22:33:27',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (427,NULL,22,'Subject for Print/Merge Document','2022-06-15 02:57:57',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (428,NULL,1,'Subject for Meeting','2022-09-10 22:25:37',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (429,NULL,22,'Subject for Print/Merge Document','2023-03-22 13:58:31',5,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (430,NULL,55,'Subject for Interview','2023-02-08 20:36:31',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (431,NULL,2,'Subject for Phone Call','2023-02-10 23:57:06',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (432,NULL,22,'Subject for Print/Merge Document','2023-04-16 02:01:14',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (433,NULL,9,'Subject for Tell a Friend','2022-12-08 13:15:23',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (434,NULL,1,'Subject for Meeting','2023-05-27 09:36:29',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (435,NULL,9,'Subject for Tell a Friend','2022-09-07 21:25:03',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (436,NULL,9,'Subject for Tell a Friend','2022-08-24 00:06:42',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (437,NULL,2,'Subject for Phone Call','2022-08-24 18:05:36',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (438,NULL,9,'Subject for Tell a Friend','2023-01-05 16:25:18',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (439,NULL,1,'Subject for Meeting','2022-10-23 10:23:10',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (440,NULL,22,'Subject for Print/Merge Document','2023-01-03 00:04:36',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (441,NULL,55,'Subject for Interview','2023-04-24 08:36:57',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (442,NULL,9,'Subject for Tell a Friend','2023-05-17 01:34:18',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (443,NULL,2,'Subject for Phone Call','2022-12-27 11:13:23',4,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (444,NULL,2,'Subject for Phone Call','2023-01-23 03:15:56',6,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (445,NULL,55,'Subject for Interview','2022-07-27 00:12:34',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (446,NULL,22,'Subject for Print/Merge Document','2022-10-20 06:24:15',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (447,NULL,1,'Subject for Meeting','2023-06-02 09:19:07',1,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (448,NULL,1,'Subject for Meeting','2023-02-08 08:54:22',3,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (449,NULL,9,'Subject for Tell a Friend','2022-10-28 08:47:09',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (450,NULL,2,'Subject for Phone Call','2023-04-29 01:56:40',2,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (451,1,6,'$ 125 April Mailer 1','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (452,2,6,'$ 50 Online: Save the Penguins','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (453,3,6,'£ 25 April Mailer 1','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (454,4,6,'$ 50 Online: Save the Penguins','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (455,5,6,'$ 50 Online: Save the Penguins','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (456,6,6,'$ 500 April Mailer 1','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (457,7,6,'$ 1750 Online: Save the Penguins','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (458,8,6,'$ 50 Online: Save the Penguins','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (459,9,6,'$ 10 Online: Help CiviCRM','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (460,10,6,'$ 250 Online: Help CiviCRM','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (461,11,6,'Â¥ 500 ','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (462,12,6,'$ 50 Online: Save the Penguins','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (463,13,6,'$ 50 ','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (464,14,6,'$ 50 ','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (465,15,6,'$ 25 Recurring contribution','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (466,16,6,'$ 25 Recurring contribution','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (467,17,6,'$ 25 Recurring contribution','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (468,18,6,'$ 25 Recurring contribution','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (469,19,6,'$ 25 Recurring contribution','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (470,20,6,'$ 25 Recurring contribution','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (471,21,6,'$ 25 Recurring contribution','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (472,22,6,'$ 25 Recurring contribution','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (473,23,6,'$ 25 Recurring contribution','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (474,24,6,'$ 25 Recurring contribution','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (475,25,6,'$ 25 Recurring contribution','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (476,26,6,'$ 10 Recurring contribution','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (477,27,6,'$ 10 Recurring contribution','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (478,28,6,'$ 10 Recurring contribution','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (479,29,6,'$ 10 Recurring contribution','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (480,30,6,'$ 10 Recurring contribution','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (481,31,6,'€ 5 Recurring contribution','2023-08-09 14:52:21',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (482,1,7,'General','2023-06-09 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (483,2,7,'Student','2023-06-08 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (484,3,7,'General','2023-06-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (485,4,7,'Student','2023-06-06 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (486,5,7,'General','2021-05-08 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (487,6,7,'Student','2023-06-04 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (488,7,7,'General','2023-06-03 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (489,8,7,'Student','2023-06-02 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (490,9,7,'General','2023-06-01 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (491,10,7,'General','2021-03-29 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (492,11,7,'Lifetime','2023-05-30 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (493,12,7,'Student','2023-05-29 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (494,13,7,'General','2023-05-28 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (495,14,7,'Student','2023-05-27 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (496,15,7,'General','2021-02-17 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (497,16,7,'Student','2023-05-25 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (498,17,7,'General','2023-05-24 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (499,18,7,'Student','2023-05-23 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (500,19,7,'General','2023-05-22 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (501,20,7,'Student','2022-05-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (502,21,7,'General','2023-05-20 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (503,22,7,'Lifetime','2023-05-19 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (504,23,7,'General','2023-05-18 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (505,24,7,'Student','2023-05-17 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (506,25,7,'Student','2022-05-16 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (507,26,7,'Student','2023-05-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (508,27,7,'General','2023-05-14 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (509,28,7,'Student','2023-05-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (510,29,7,'General','2023-05-12 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (511,30,7,'General','2020-10-20 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (512,32,6,'$ 100.00 - General Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (513,33,6,'$ 50.00 - Student Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (514,34,6,'$ 100.00 - General Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (515,35,6,'$ 50.00 - Student Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (516,36,6,'$ 100.00 - General Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (517,37,6,'$ 50.00 - Student Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (518,38,6,'$ 100.00 - General Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (519,39,6,'$ 50.00 - Student Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (520,40,6,'$ 100.00 - General Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (521,41,6,'$ 100.00 - General Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (522,42,6,'$ 1200.00 - Lifetime Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (523,43,6,'$ 50.00 - Student Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (524,44,6,'$ 100.00 - General Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (525,45,6,'$ 50.00 - Student Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (526,46,6,'$ 100.00 - General Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (527,47,6,'$ 50.00 - Student Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (528,48,6,'$ 100.00 - General Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (529,49,6,'$ 50.00 - Student Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (530,50,6,'$ 100.00 - General Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (531,51,6,'$ 50.00 - Student Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (532,52,6,'$ 100.00 - General Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (533,53,6,'$ 1200.00 - Lifetime Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (534,54,6,'$ 100.00 - General Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (535,55,6,'$ 50.00 - Student Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (536,56,6,'$ 50.00 - Student Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (537,57,6,'$ 50.00 - Student Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (538,58,6,'$ 100.00 - General Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (539,59,6,'$ 50.00 - Student Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (540,60,6,'$ 100.00 - General Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (541,61,6,'$ 100.00 - General Membership: Offline signup','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Membership Payment',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (543,1,5,'NULL','2009-01-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (544,2,5,'NULL','2008-05-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (545,3,5,'NULL','2008-05-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (546,4,5,'NULL','2008-10-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (547,5,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (548,6,5,'NULL','2008-03-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (549,7,5,'NULL','2009-07-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (550,8,5,'NULL','2009-03-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (551,9,5,'NULL','2008-02-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (552,10,5,'NULL','2008-02-01 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (553,11,5,'NULL','2009-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (554,12,5,'NULL','2009-03-06 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (555,13,5,'NULL','2008-06-04 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (556,14,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (557,15,5,'NULL','2008-07-04 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (558,16,5,'NULL','2009-01-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (559,17,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (560,18,5,'NULL','2009-03-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (561,19,5,'NULL','2008-10-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (562,20,5,'NULL','2009-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (563,21,5,'NULL','2008-03-25 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (564,22,5,'NULL','2009-10-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (565,23,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (566,24,5,'NULL','2008-03-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (567,25,5,'NULL','2008-04-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (568,26,5,'NULL','2009-01-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (569,27,5,'NULL','2008-05-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (570,28,5,'NULL','2009-12-12 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (571,29,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (572,30,5,'NULL','2009-12-14 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (573,31,5,'NULL','2009-12-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (574,32,5,'NULL','2009-07-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (575,33,5,'NULL','2009-03-07 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (576,34,5,'NULL','2009-12-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (577,35,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (578,36,5,'NULL','2009-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (579,37,5,'NULL','2009-03-06 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (580,38,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (581,39,5,'NULL','2008-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (582,40,5,'NULL','2009-12-14 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (583,41,5,'NULL','2009-01-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (584,42,5,'NULL','2009-12-15 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (585,43,5,'NULL','2009-03-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (586,44,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (587,45,5,'NULL','2009-01-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (588,46,5,'NULL','2009-12-13 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (589,47,5,'NULL','2009-10-21 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (590,48,5,'NULL','2009-12-10 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (591,49,5,'NULL','2009-03-11 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (592,50,5,'NULL','2009-04-05 00:00:00',NULL,NULL,NULL,NULL,NULL,2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (593,63,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (594,64,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (595,65,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (596,66,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (597,67,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (598,68,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (599,69,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (600,70,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (601,71,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (602,72,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (603,73,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (604,74,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (605,75,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (606,76,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (607,77,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (608,78,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (609,79,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (610,80,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (611,81,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (612,82,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (613,83,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (614,84,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (615,85,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (616,86,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (617,87,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (618,88,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (619,89,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (620,90,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (621,91,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (622,92,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (623,93,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (624,94,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (625,95,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (626,96,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (627,97,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (628,98,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (629,99,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (630,100,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (631,101,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (632,102,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (633,103,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (634,104,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (635,105,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (636,106,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (637,107,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (638,108,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (639,109,6,'$ 50.00 - Fall Fundraiser Dinner : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (640,110,6,'$ 50.00 - Summer Solstice Festival Day Concert : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (641,111,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (642,112,6,'$ 800.00 - Rain-forest Cup Youth Soccer Tournament : Offline registration','2023-06-09 14:52:21',NULL,NULL,NULL,NULL,'Participant',2,NULL,NULL,0,NULL,0,NULL,1,NULL,NULL,0,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21'); /*!40000 ALTER TABLE `civicrm_activity` ENABLE KEYS */; UNLOCK TABLES; @@ -813,963 +813,952 @@ UNLOCK TABLES; LOCK TABLES `civicrm_activity_contact` WRITE; /*!40000 ALTER TABLE `civicrm_activity_contact` DISABLE KEYS */; INSERT INTO `civicrm_activity_contact` (`id`, `activity_id`, `contact_id`, `record_type_id`) VALUES - (128,70,1,3), - (157,85,1,3), - (236,129,1,3), - (346,189,1,3), - (433,236,1,3), - (459,250,1,3), - (780,430,1,3), - (467,254,2,3), - (648,355,2,3), - (694,382,2,3), - (725,399,2,3), - (812,448,2,3), - (817,451,2,2), - (925,559,2,2), - (104,57,3,3), - (112,61,3,3), - (732,403,3,3), - (553,303,4,3), - (656,360,4,3), - (818,452,4,2), - (821,455,4,2), - (279,153,5,3), - (406,221,5,3), - (385,210,6,3), - (577,315,6,3), - (620,340,6,3), - (819,453,6,2), - (10,6,7,3), - (602,329,7,3), - (569,311,8,3), - (646,354,8,3), - (820,454,8,2), - (519,284,9,3), - (369,201,10,3), - (727,400,10,3), - (866,500,10,2), - (896,530,10,2), - (161,87,11,3), - (166,90,11,3), - (389,212,11,3), - (491,268,11,3), - (793,438,11,3), - (41,24,12,3), - (461,251,12,3), - (595,325,12,3), - (33,20,13,3), - (229,125,13,3), - (285,156,13,3), - (332,182,13,3), - (387,211,13,3), - (865,499,13,2), - (895,529,13,2), - (268,147,14,3), - (298,163,14,3), - (342,187,14,3), - (408,222,14,3), - (446,243,14,3), - (505,276,14,3), - (544,298,14,3), - (914,548,14,2), - (416,227,15,3), - (426,232,15,3), - (521,285,15,3), - (723,398,15,3), - (136,74,16,3), - (377,205,16,3), - (453,247,16,3), - (822,456,16,2), - (64,36,17,3), - (146,79,17,3), - (373,203,17,3), - (484,264,17,3), - (600,328,17,3), - (797,440,17,3), - (307,168,18,3), - (688,378,18,3), - (823,457,19,2), - (946,580,19,2), - (120,66,20,3), - (321,176,20,3), - (412,224,20,3), - (2,1,21,3), - (68,38,21,3), - (122,67,21,3), - (361,197,21,3), - (597,326,21,3), - (941,575,21,2), - (266,146,22,3), - (652,358,22,3), - (802,443,22,3), - (140,76,23,3), - (287,157,23,3), - (571,312,23,3), - (702,387,23,3), - (808,446,23,3), - (939,573,23,2), - (35,21,24,3), - (79,44,24,3), - (336,184,24,3), - (396,216,24,3), - (945,579,24,2), - (663,364,25,3), - (859,493,25,2), - (889,523,25,2), - (949,583,25,2), - (100,55,26,3), - (124,68,26,3), - (218,118,26,3), - (264,145,26,3), - (855,489,26,2), - (885,519,26,2), - (245,134,27,3), - (585,320,27,3), - (589,322,27,3), - (247,135,28,3), - (260,143,28,3), - (561,307,28,3), - (929,563,28,2), - (71,40,29,3), - (117,64,29,3), - (525,287,29,3), - (199,108,30,3), - (567,310,30,3), - (741,408,30,3), - (858,492,30,2), - (888,522,30,2), - (168,91,31,3), - (314,172,31,3), - (365,199,31,3), - (437,238,31,3), - (25,15,32,3), - (428,233,32,3), - (563,308,32,3), - (755,416,32,3), - (767,423,32,3), - (770,425,32,3), - (829,463,32,2), - (830,464,32,2), - (45,26,33,3), - (305,167,33,3), - (719,396,33,3), - (30,18,34,3), - (85,47,34,3), - (262,144,34,3), - (539,295,34,3), - (816,450,34,3), - (826,460,34,2), - (205,111,35,3), - (476,259,35,3), - (626,343,35,3), - (150,81,36,3), - (182,98,36,3), - (573,313,36,3), - (604,330,36,3), - (48,28,37,3), - (98,54,37,3), - (296,162,37,3), - (300,164,37,3), - (517,283,37,3), - (957,591,37,2), - (155,84,38,3), - (189,102,38,3), - (212,115,38,3), - (392,214,38,3), - (537,294,38,3), - (704,388,38,3), - (956,590,38,2), - (23,14,39,3), - (164,89,39,3), - (180,97,39,3), - (277,152,39,3), - (319,175,39,3), - (398,217,39,3), - (713,393,39,3), - (4,2,40,3), - (174,94,40,3), - (383,209,40,3), - (400,218,40,3), - (628,344,40,3), - (108,59,41,3), - (420,229,41,3), - (503,275,41,3), - (772,426,41,3), - (338,185,42,3), - (510,279,42,3), - (776,428,42,3), - (50,29,43,3), - (106,58,43,3), - (455,248,43,3), - (499,273,43,3), - (546,299,43,3), - (675,371,43,3), - (828,462,43,2), - (309,169,44,3), - (404,220,45,3), - (443,241,45,3), - (622,341,45,3), - (673,370,45,3), - (12,7,46,3), - (225,123,46,3), - (234,128,46,3), - (355,194,46,3), - (486,265,46,3), - (73,41,47,3), - (132,72,47,3), - (142,77,47,3), - (208,113,47,3), - (488,266,47,3), - (683,375,47,3), - (810,447,47,3), - (380,207,48,3), - (435,237,48,3), - (557,305,48,3), - (148,80,49,3), - (231,126,49,3), - (294,161,49,3), - (448,244,49,3), - (751,414,49,3), - (852,486,49,2), - (882,516,49,2), - (302,165,50,3), - (669,368,50,3), - (778,429,50,3), - (791,437,50,3), - (27,16,51,3), - (418,228,51,3), - (542,297,51,3), - (783,432,51,3), - (806,445,51,3), - (928,562,51,2), - (216,117,52,3), - (270,148,52,3), - (290,159,52,3), - (441,240,52,3), - (548,300,52,3), - (582,318,52,3), - (56,32,53,3), - (8,5,54,3), - (210,114,54,3), - (507,277,54,3), - (644,353,54,3), - (660,362,54,3), - (739,407,54,3), - (854,488,54,2), - (884,518,54,2), - (955,589,54,2), - (138,75,55,3), - (326,179,55,3), - (527,288,55,3), - (721,397,55,3), - (20,12,56,3), - (478,260,56,3), - (761,419,56,3), - (927,561,56,2), - (272,149,57,3), - (281,154,57,3), - (515,282,57,3), - (549,301,57,2), - (550,302,57,2), - (552,303,57,2), - (554,304,57,2), - (556,305,57,2), - (558,306,57,2), - (560,307,57,2), - (562,308,57,2), - (564,309,57,2), - (566,310,57,2), - (568,311,57,2), - (570,312,57,2), - (572,313,57,2), - (574,314,57,2), - (576,315,57,2), - (578,316,57,2), - (579,317,57,2), - (581,318,57,2), - (583,319,57,2), - (584,320,57,2), - (586,321,57,2), - (588,322,57,2), - (590,323,57,2), - (592,324,57,2), - (594,325,57,2), - (596,326,57,2), - (598,327,57,2), - (599,328,57,2), - (601,329,57,2), - (603,330,57,2), - (605,331,57,2), - (607,332,57,2), - (608,333,57,2), - (609,334,57,2), - (611,335,57,2), - (613,336,57,2), - (615,337,57,2), - (616,338,57,2), - (617,339,57,2), - (619,340,57,2), - (621,341,57,2), - (623,342,57,2), - (625,343,57,2), - (627,344,57,2), - (629,345,57,2), - (631,346,57,2), - (633,347,57,2), - (635,348,57,2), - (637,349,57,2), - (638,350,57,2), - (640,351,57,2), - (642,352,57,2), - (643,353,57,2), - (645,354,57,2), - (647,355,57,2), - (649,356,57,2), - (650,357,57,2), - (651,358,57,2), - (653,359,57,2), - (655,360,57,2), - (657,361,57,2), - (659,362,57,2), - (661,363,57,2), - (662,364,57,2), - (664,365,57,2), - (666,366,57,2), - (667,367,57,2), - (668,368,57,2), - (670,369,57,2), - (672,370,57,2), - (674,371,57,2), - (676,372,57,2), - (678,373,57,2), - (680,374,57,2), - (682,375,57,2), - (684,376,57,2), - (686,377,57,2), - (687,378,57,2), - (689,379,57,2), - (690,380,57,2), - (692,381,57,2), - (693,382,57,2), - (695,383,57,2), - (697,384,57,2), - (698,385,57,2), - (700,386,57,2), - (701,387,57,2), - (703,388,57,2), - (705,389,57,2), - (706,390,57,2), - (707,390,57,3), - (708,391,57,2), - (710,392,57,2), - (712,393,57,2), - (714,394,57,2), - (716,395,57,2), - (718,396,57,2), - (720,397,57,2), - (722,398,57,2), - (724,399,57,2), - (726,400,57,2), - (728,401,57,2), - (730,402,57,2), - (731,403,57,2), - (733,404,57,2), - (734,405,57,2), - (736,406,57,2), - (738,407,57,2), - (740,408,57,2), - (742,409,57,2), - (744,410,57,2), - (745,411,57,2), - (746,412,57,2), - (748,413,57,2), - (750,414,57,2), - (752,415,57,2), - (754,416,57,2), - (756,417,57,2), - (758,418,57,2), - (760,419,57,2), - (762,420,57,2), - (764,421,57,2), - (765,422,57,2), - (766,423,57,2), - (768,424,57,2), - (769,425,57,2), - (771,426,57,2), - (773,427,57,2), - (775,428,57,2), - (777,429,57,2), - (779,430,57,2), - (781,431,57,2), - (782,432,57,2), - (784,433,57,2), - (785,434,57,2), - (787,435,57,2), - (789,436,57,2), - (790,437,57,2), - (792,438,57,2), - (794,439,57,2), - (796,440,57,2), - (798,441,57,2), - (800,442,57,2), - (801,443,57,2), - (803,444,57,2), - (805,445,57,2), - (807,446,57,2), - (809,447,57,2), - (811,448,57,2), - (813,449,57,2), - (815,450,57,2), - (58,33,58,3), - (238,130,58,3), - (283,155,58,3), - (410,223,58,3), - (424,231,58,3), - (457,249,58,3), - (471,256,58,3), - (940,574,58,2), - (711,392,59,3), - (804,444,59,3), - (831,465,59,2), - (832,466,59,2), - (833,467,59,2), - (834,468,59,2), - (835,469,59,2), - (836,470,59,2), - (837,471,59,2), - (838,472,59,2), - (839,473,59,2), - (840,474,59,2), - (841,475,59,2), - (920,554,59,2), - (75,42,60,3), - (126,69,60,3), - (747,412,60,3), - (52,30,61,3), - (258,142,61,3), - (555,304,61,3), - (774,427,61,3), - (799,441,61,3), - (37,22,62,3), - (203,110,62,3), - (220,119,62,3), - (344,188,62,3), - (357,195,62,3), - (612,335,62,3), - (699,385,62,3), - (93,51,63,3), - (463,252,63,3), - (531,291,63,3), - (591,323,63,3), - (654,359,64,3), - (679,373,64,3), - (757,417,64,3), - (916,550,64,2), - (495,271,65,3), - (786,434,65,3), - (144,78,66,3), - (402,219,66,3), - (587,321,66,3), - (178,96,67,3), - (375,204,67,3), - (565,309,67,3), - (681,374,67,3), - (913,547,68,2), - (691,380,69,3), - (735,405,69,3), - (96,53,70,3), - (227,124,70,3), - (352,192,70,3), - (618,339,70,3), - (134,73,71,3), - (827,461,71,2), - (636,348,72,3), - (91,50,73,3), - (422,230,73,3), - (614,336,73,3), - (863,497,73,2), - (893,527,73,2), - (77,43,74,3), - (201,109,74,3), - (340,186,74,3), - (394,215,74,3), - (610,334,74,3), - (671,369,74,3), - (130,71,75,3), - (334,183,75,3), - (474,258,75,3), - (624,342,75,3), - (665,365,75,3), - (759,418,75,3), - (153,83,76,3), - (159,86,76,3), - (324,178,76,3), - (328,180,76,3), - (497,272,76,3), - (62,35,77,3), - (851,485,77,2), - (881,515,77,2), - (952,586,77,2), - (81,45,78,3), - (194,105,78,3), - (465,253,78,3), - (853,487,78,2), - (883,517,78,2), - (359,196,79,3), - (439,239,79,3), - (634,347,79,3), - (639,350,79,3), - (16,10,80,3), - (197,107,80,3), - (501,274,80,3), - (753,415,80,3), - (593,324,81,3), - (942,576,81,2), - (743,409,82,3), - (824,458,82,2), - (848,482,82,2), - (878,512,82,2), - (243,133,83,3), - (255,140,83,3), - (551,302,83,3), - (606,331,83,3), - (814,449,83,3), - (860,494,83,2), - (890,524,83,2), - (1,1,84,2), - (3,2,84,2), - (5,3,84,2), - (6,4,84,2), - (7,5,84,2), - (9,6,84,2), - (11,7,84,2), - (13,8,84,2), - (14,9,84,2), - (15,10,84,2), - (17,11,84,2), - (19,12,84,2), - (21,13,84,2), - (22,14,84,2), - (24,15,84,2), - (26,16,84,2), - (28,17,84,2), - (29,18,84,2), - (31,19,84,2), - (32,20,84,2), - (34,21,84,2), - (36,22,84,2), - (38,23,84,2), - (40,24,84,2), - (42,25,84,2), - (44,26,84,2), - (46,27,84,2), - (47,28,84,2), - (49,29,84,2), - (51,30,84,2), - (53,31,84,2), - (55,32,84,2), - (57,33,84,2), - (59,34,84,2), - (61,35,84,2), - (63,36,84,2), - (65,37,84,2), - (67,38,84,2), - (69,39,84,2), - (70,40,84,2), - (72,41,84,2), - (74,42,84,2), - (76,43,84,2), - (78,44,84,2), - (80,45,84,2), - (82,46,84,2), - (84,47,84,2), - (86,48,84,2), - (88,49,84,2), - (90,50,84,2), - (92,51,84,2), - (94,52,84,2), - (95,53,84,2), - (97,54,84,2), - (99,55,84,2), - (101,56,84,2), - (103,57,84,2), - (105,58,84,2), - (107,59,84,2), - (109,60,84,2), - (111,61,84,2), - (113,62,84,2), - (114,63,84,2), - (116,64,84,2), - (118,65,84,2), - (119,66,84,2), - (121,67,84,2), - (123,68,84,2), - (125,69,84,2), - (127,70,84,2), - (129,71,84,2), - (131,72,84,2), - (133,73,84,2), - (135,74,84,2), - (137,75,84,2), - (139,76,84,2), - (141,77,84,2), - (143,78,84,2), - (145,79,84,2), - (147,80,84,2), - (149,81,84,2), - (151,82,84,2), - (152,83,84,2), - (154,84,84,2), - (156,85,84,2), - (158,86,84,2), - (160,87,84,2), - (162,88,84,2), - (163,89,84,2), - (165,90,84,2), - (167,91,84,2), - (169,92,84,2), - (171,93,84,2), - (173,94,84,2), - (175,95,84,2), - (177,96,84,2), - (179,97,84,2), - (181,98,84,2), - (183,99,84,2), - (185,100,84,2), - (186,100,84,3), - (187,101,84,2), - (188,102,84,2), - (190,103,84,2), - (191,104,84,2), - (193,105,84,2), - (195,106,84,2), - (196,107,84,2), - (198,108,84,2), - (200,109,84,2), - (202,110,84,2), - (204,111,84,2), - (206,112,84,2), - (207,113,84,2), - (209,114,84,2), - (211,115,84,2), - (213,116,84,2), - (215,117,84,2), - (217,118,84,2), - (219,119,84,2), - (221,120,84,2), - (222,121,84,2), - (223,122,84,2), - (224,123,84,2), - (226,124,84,2), - (228,125,84,2), - (230,126,84,2), - (232,127,84,2), - (233,128,84,2), - (235,129,84,2), - (237,130,84,2), - (239,131,84,2), - (240,132,84,2), - (242,133,84,2), - (244,134,84,2), - (246,135,84,2), - (248,136,84,2), - (249,137,84,2), - (251,138,84,2), - (253,139,84,2), - (254,140,84,2), - (256,141,84,2), - (257,142,84,2), - (259,143,84,2), - (261,144,84,2), - (263,145,84,2), - (265,146,84,2), - (267,147,84,2), - (269,148,84,2), - (271,149,84,2), - (273,150,84,2), - (317,174,84,3), - (367,200,84,3), - (184,99,85,3), - (274,150,85,3), - (469,255,85,3), - (677,372,85,3), - (729,401,85,3), - (788,435,85,3), - (910,544,85,2), - (523,286,86,3), - (685,376,86,3), - (947,581,86,2), - (115,63,87,3), - (512,280,87,3), - (696,383,87,3), - (951,585,87,2), - (214,116,88,3), - (252,138,88,3), - (658,361,88,3), - (715,394,88,3), - (176,95,89,3), - (89,49,90,3), - (873,507,90,2), - (903,537,90,2), - (54,31,91,3), - (363,198,91,3), - (717,395,91,3), - (749,413,91,3), - (948,582,91,2), - (450,245,92,3), - (825,459,92,2), - (18,11,93,3), - (66,37,93,3), - (250,137,93,3), - (348,190,93,3), - (431,235,93,3), - (763,420,93,3), - (924,558,93,2), - (102,56,94,3), - (110,60,94,3), - (241,132,94,3), - (630,345,94,3), - (709,391,94,3), - (926,560,94,2), - (83,46,95,3), - (172,93,95,3), - (350,191,95,3), - (632,346,95,3), - (737,406,95,3), - (917,551,95,2), - (192,104,96,3), - (292,160,96,3), - (932,566,96,2), - (312,171,97,3), - (535,293,97,3), - (559,306,97,3), - (641,351,97,3), - (482,263,98,3), - (871,505,98,2), - (901,535,98,2), - (39,23,99,3), - (580,317,99,3), - (842,476,99,2), - (843,477,99,2), - (844,478,99,2), - (845,479,99,2), - (846,480,99,2), - (43,25,100,3), - (864,498,100,2), - (894,528,100,2), - (60,34,101,3), - (87,48,101,3), - (170,92,101,3), - (330,181,101,3), - (371,202,101,3), - (533,292,101,3), - (575,314,101,3), - (795,439,101,3), - (930,564,101,2), - (847,481,103,2), - (958,592,103,2), - (931,565,104,2), - (909,543,109,2), - (876,510,110,2), - (906,540,110,2), - (850,484,114,2), - (880,514,114,2), - (923,557,121,2), - (922,556,123,2), - (921,555,124,2), - (943,577,130,2), - (275,151,131,2), - (276,152,131,2), - (278,153,131,2), - (280,154,131,2), - (282,155,131,2), - (284,156,131,2), - (286,157,131,2), - (288,158,131,2), - (289,159,131,2), - (291,160,131,2), - (293,161,131,2), - (295,162,131,2), - (297,163,131,2), - (299,164,131,2), - (301,165,131,2), - (303,166,131,2), - (304,167,131,2), - (306,168,131,2), - (308,169,131,2), - (310,170,131,2), - (311,171,131,2), - (313,172,131,2), - (315,173,131,2), - (316,174,131,2), - (318,175,131,2), - (320,176,131,2), - (322,177,131,2), - (323,178,131,2), - (325,179,131,2), - (327,180,131,2), - (329,181,131,2), - (331,182,131,2), - (333,183,131,2), - (335,184,131,2), - (337,185,131,2), - (339,186,131,2), - (341,187,131,2), - (343,188,131,2), - (345,189,131,2), - (347,190,131,2), - (349,191,131,2), - (351,192,131,2), - (353,193,131,2), - (354,194,131,2), - (356,195,131,2), - (358,196,131,2), - (360,197,131,2), - (362,198,131,2), - (364,199,131,2), - (366,200,131,2), - (368,201,131,2), - (370,202,131,2), - (372,203,131,2), - (374,204,131,2), - (376,205,131,2), - (378,206,131,2), - (379,207,131,2), - (381,208,131,2), - (382,209,131,2), - (384,210,131,2), - (386,211,131,2), - (388,212,131,2), - (390,213,131,2), - (391,214,131,2), - (393,215,131,2), - (395,216,131,2), - (397,217,131,2), - (399,218,131,2), - (401,219,131,2), - (403,220,131,2), - (405,221,131,2), - (407,222,131,2), - (409,223,131,2), - (411,224,131,2), - (413,225,131,2), - (414,226,131,2), - (415,227,131,2), - (417,228,131,2), - (419,229,131,2), - (421,230,131,2), - (423,231,131,2), - (425,232,131,2), - (427,233,131,2), - (429,234,131,2), - (430,235,131,2), - (432,236,131,2), - (434,237,131,2), - (436,238,131,2), - (438,239,131,2), - (440,240,131,2), - (442,241,131,2), - (444,242,131,2), - (445,243,131,2), - (447,244,131,2), - (449,245,131,2), - (451,246,131,2), - (452,247,131,2), - (454,248,131,2), - (456,249,131,2), - (458,250,131,2), - (460,251,131,2), - (462,252,131,2), - (464,253,131,2), - (466,254,131,2), - (468,255,131,2), - (470,256,131,2), - (472,257,131,2), - (473,258,131,2), - (475,259,131,2), - (477,260,131,2), - (479,261,131,2), - (480,262,131,2), - (481,263,131,2), - (483,264,131,2), - (485,265,131,2), - (487,266,131,2), - (489,267,131,2), - (490,268,131,2), - (492,269,131,2), - (493,270,131,2), - (494,271,131,2), - (496,272,131,2), - (498,273,131,2), - (500,274,131,2), - (502,275,131,2), - (504,276,131,2), - (506,277,131,2), - (508,278,131,2), - (509,279,131,2), - (511,280,131,2), - (513,281,131,2), - (514,282,131,2), - (516,283,131,2), - (518,284,131,2), - (520,285,131,2), - (522,286,131,2), - (524,287,131,2), - (526,288,131,2), - (528,289,131,2), - (529,290,131,2), - (530,291,131,2), - (532,292,131,2), - (534,293,131,2), - (536,294,131,2), - (538,295,131,2), - (540,296,131,2), - (541,297,131,2), - (543,298,131,2), - (545,299,131,2), - (547,300,131,2), - (857,491,131,2), - (887,521,131,2), - (856,490,133,2), - (886,520,133,2), - (870,504,134,2), - (900,534,134,2), - (875,509,136,2), - (905,539,136,2), - (877,511,138,2), - (907,541,138,2), - (861,495,147,2), - (891,525,147,2), - (918,552,148,2), - (862,496,150,2), - (892,526,150,2), - (954,588,150,2), - (944,578,151,2), - (874,508,152,2), - (904,538,152,2), - (937,571,153,2), - (911,545,155,2), - (872,506,157,2), - (902,536,157,2), - (912,546,160,2), - (936,570,165,2), - (933,567,166,2), - (919,553,169,2), - (935,569,173,2), - (868,502,175,2), - (898,532,175,2), - (934,568,176,2), - (867,501,180,2), - (897,531,180,2), - (938,572,181,2), - (869,503,182,2), - (899,533,182,2), - (953,587,190,2), - (849,483,194,2), - (879,513,194,2), - (915,549,199,2), - (950,584,201,2); + (22,12,1,3), + (53,28,1,3), + (86,46,1,3), + (216,119,1,3), + (244,134,1,3), + (422,235,1,3), + (622,347,1,3), + (943,588,1,2), + (637,355,2,3), + (650,362,2,3), + (806,451,2,2), + (278,153,3,3), + (585,328,3,3), + (28,15,4,3), + (103,55,4,3), + (323,178,4,3), + (593,332,4,3), + (807,452,4,2), + (810,455,4,2), + (133,72,5,3), + (543,304,5,3), + (218,120,6,3), + (429,239,6,3), + (701,391,6,3), + (808,453,6,2), + (70,37,7,3), + (222,122,7,3), + (494,275,7,3), + (756,423,7,3), + (907,552,7,2), + (389,218,8,3), + (401,224,8,3), + (555,311,8,3), + (669,373,8,3), + (809,454,8,2), + (34,18,9,3), + (190,104,9,3), + (268,148,10,3), + (492,274,10,3), + (2,1,11,3), + (38,20,11,3), + (57,30,11,3), + (131,71,11,3), + (180,98,11,3), + (206,113,11,3), + (387,217,11,3), + (481,268,11,3), + (643,358,11,3), + (716,399,11,3), + (8,4,13,3), + (117,63,13,3), + (285,157,13,3), + (325,179,13,3), + (859,504,13,2), + (867,534,13,2), + (11,6,14,3), + (17,9,14,3), + (540,302,14,3), + (760,425,14,3), + (236,129,15,3), + (445,248,15,3), + (523,293,15,3), + (549,307,15,3), + (599,335,15,3), + (629,351,15,3), + (850,495,15,2), + (868,525,15,2), + (224,123,16,3), + (447,249,16,3), + (811,456,16,2), + (73,39,18,3), + (272,150,18,3), + (841,486,18,2), + (869,516,18,2), + (234,128,19,3), + (775,434,19,3), + (812,457,19,2), + (88,47,20,3), + (407,227,20,3), + (230,126,22,3), + (296,163,22,3), + (413,230,22,3), + (204,112,23,3), + (376,211,23,3), + (591,331,23,3), + (781,437,23,3), + (853,498,23,2), + (870,528,23,2), + (13,7,24,3), + (126,68,24,3), + (290,160,24,3), + (420,234,24,3), + (538,301,24,3), + (589,330,24,3), + (620,346,24,3), + (645,359,24,3), + (728,407,24,3), + (910,555,24,2), + (335,185,25,3), + (552,309,25,3), + (937,582,25,2), + (439,245,26,3), + (459,256,26,3), + (519,291,26,3), + (708,395,26,3), + (90,48,27,3), + (263,145,27,3), + (280,154,27,3), + (521,292,27,3), + (842,487,27,2), + (871,517,27,2), + (6,3,28,3), + (156,85,28,3), + (409,228,28,3), + (930,575,28,2), + (844,489,29,2), + (872,519,29,2), + (26,14,30,3), + (82,44,30,3), + (169,92,30,3), + (355,197,30,3), + (673,375,30,3), + (765,428,30,3), + (855,500,30,2), + (873,530,30,2), + (924,569,30,2), + (714,398,31,3), + (30,16,32,3), + (63,33,32,3), + (158,86,32,3), + (251,138,32,3), + (283,156,32,3), + (785,439,32,3), + (818,463,32,2), + (819,464,32,2), + (904,549,32,2), + (194,106,33,3), + (338,187,33,3), + (530,297,33,3), + (698,389,33,3), + (266,147,34,3), + (343,190,34,3), + (627,350,34,3), + (749,419,34,3), + (815,460,34,2), + (938,583,34,2), + (80,43,35,3), + (171,93,35,3), + (661,368,35,3), + (261,144,36,3), + (310,171,36,3), + (466,260,36,3), + (147,80,37,3), + (259,143,37,3), + (455,254,37,3), + (653,364,37,3), + (695,387,37,3), + (403,225,38,3), + (405,226,38,3), + (452,252,38,3), + (517,290,38,3), + (633,353,38,3), + (51,27,39,3), + (208,114,39,3), + (357,198,39,3), + (470,262,39,3), + (559,313,39,3), + (704,393,39,3), + (751,420,39,3), + (300,165,40,3), + (374,210,40,3), + (411,229,40,3), + (579,324,40,3), + (595,333,40,3), + (788,441,40,3), + (4,2,41,3), + (149,81,41,3), + (288,159,41,3), + (391,219,41,3), + (631,352,41,3), + (138,75,42,3), + (351,195,42,3), + (501,280,42,3), + (534,299,42,3), + (84,45,43,3), + (341,189,43,3), + (366,204,43,3), + (477,266,43,3), + (587,329,43,3), + (609,340,43,3), + (685,381,43,3), + (817,462,43,2), + (220,121,44,3), + (679,378,44,3), + (719,401,44,3), + (36,19,45,3), + (483,269,45,3), + (737,412,45,3), + (160,87,46,3), + (359,199,46,3), + (681,379,46,3), + (801,448,46,3), + (908,553,46,2), + (511,286,47,3), + (753,421,47,3), + (536,300,48,3), + (49,26,49,3), + (101,54,49,3), + (303,167,49,3), + (475,265,49,3), + (498,278,49,3), + (794,444,49,3), + (940,585,50,2), + (96,51,51,3), + (226,124,51,3), + (228,125,51,3), + (688,383,51,3), + (730,408,51,3), + (768,430,51,3), + (111,60,52,3), + (152,83,52,3), + (741,415,52,3), + (920,565,52,2), + (42,22,53,3), + (528,296,53,3), + (557,312,53,3), + (796,445,53,3), + (846,491,53,2), + (874,521,53,2), + (710,396,54,3), + (20,11,55,3), + (253,139,55,3), + (364,203,55,3), + (657,366,55,3), + (933,578,55,2), + (514,288,56,3), + (611,341,56,3), + (677,377,56,3), + (865,510,56,2), + (875,540,56,2), + (605,338,57,3), + (671,374,57,3), + (927,572,57,2), + (167,91,58,3), + (276,152,58,3), + (799,447,58,3), + (317,175,59,3), + (353,196,59,3), + (431,240,59,3), + (745,417,59,3), + (820,465,59,2), + (821,466,59,2), + (822,467,59,2), + (823,468,59,2), + (824,469,59,2), + (825,470,59,2), + (826,471,59,2), + (827,472,59,2), + (828,473,59,2), + (829,474,59,2), + (830,475,59,2), + (192,105,60,3), + (601,336,60,3), + (783,438,60,3), + (917,562,60,2), + (196,107,61,3), + (692,385,61,3), + (747,418,61,3), + (790,442,61,3), + (15,8,62,3), + (242,133,62,3), + (399,223,62,3), + (449,250,62,3), + (663,369,62,3), + (843,488,62,2), + (876,518,62,2), + (547,306,63,3), + (773,433,63,3), + (861,506,63,2), + (877,536,63,2), + (597,334,64,3), + (675,376,64,3), + (115,62,65,3), + (188,103,65,3), + (503,281,65,3), + (618,345,65,3), + (624,348,65,3), + (397,222,66,3), + (463,258,66,3), + (473,264,66,3), + (639,356,66,3), + (733,410,66,3), + (292,161,67,3), + (425,237,67,3), + (468,261,67,3), + (683,380,67,3), + (725,405,67,3), + (913,558,67,2), + (607,339,68,3), + (270,149,69,3), + (417,232,69,3), + (803,449,69,3), + (856,501,69,2), + (878,531,69,2), + (32,17,70,3), + (119,64,70,3), + (851,496,70,2), + (879,526,70,2), + (94,50,71,3), + (240,132,71,3), + (690,384,71,3), + (816,461,71,2), + (931,576,71,2), + (178,97,72,3), + (332,183,72,3), + (379,213,72,3), + (479,267,72,3), + (706,394,72,3), + (935,580,72,2), + (55,29,73,3), + (306,169,73,3), + (488,272,73,3), + (911,556,73,2), + (47,25,74,3), + (174,95,74,3), + (349,194,74,3), + (866,511,74,2), + (880,541,74,2), + (40,21,75,3), + (99,53,75,3), + (393,220,75,3), + (443,247,75,3), + (945,590,75,2), + (202,111,76,3), + (427,238,76,3), + (437,244,76,3), + (712,397,76,3), + (395,221,77,3), + (603,337,77,3), + (129,70,78,3), + (135,73,78,3), + (433,241,78,3), + (441,246,78,3), + (457,255,78,3), + (735,411,78,3), + (490,273,80,3), + (532,298,80,3), + (312,172,81,3), + (321,177,81,3), + (461,257,81,3), + (545,305,81,3), + (659,367,81,3), + (143,78,82,3), + (248,136,82,3), + (569,319,82,3), + (722,403,82,3), + (813,458,82,2), + (44,23,83,3), + (78,42,83,3), + (232,127,83,3), + (845,490,83,2), + (881,520,83,2), + (903,548,83,2), + (107,58,84,3), + (121,65,84,3), + (162,88,84,3), + (566,317,84,3), + (905,550,84,2), + (61,32,85,3), + (314,173,85,3), + (635,354,85,3), + (59,31,86,3), + (211,116,86,3), + (294,162,86,3), + (370,207,86,3), + (415,231,86,3), + (792,443,86,3), + (805,450,86,3), + (921,566,86,2), + (76,41,87,3), + (176,96,87,3), + (185,101,87,3), + (583,327,87,3), + (65,34,88,3), + (256,141,88,3), + (330,182,88,3), + (486,271,88,3), + (655,365,88,3), + (758,424,88,3), + (92,49,89,3), + (113,61,89,3), + (942,587,89,2), + (182,99,90,3), + (200,110,90,3), + (571,320,90,3), + (743,416,90,3), + (863,508,90,2), + (882,538,90,2), + (925,570,90,2), + (124,67,91,3), + (564,316,91,3), + (165,90,92,3), + (298,164,92,3), + (319,176,92,3), + (385,216,92,3), + (814,459,92,2), + (68,36,93,3), + (145,79,93,3), + (328,181,93,3), + (346,192,93,3), + (641,357,93,3), + (647,360,93,3), + (923,568,93,2), + (274,151,94,3), + (525,294,94,3), + (666,371,94,3), + (770,431,94,3), + (837,482,94,2), + (883,512,94,2), + (154,84,95,3), + (24,13,96,3), + (109,59,96,3), + (213,117,96,3), + (383,215,96,3), + (573,321,96,3), + (916,561,96,2), + (308,170,97,3), + (141,77,98,3), + (562,315,98,3), + (575,322,98,3), + (506,283,99,3), + (831,476,99,2), + (832,477,99,2), + (833,478,99,2), + (834,479,99,2), + (835,480,99,2), + (899,544,99,2), + (381,214,100,3), + (508,284,100,3), + (614,343,100,3), + (616,344,100,3), + (779,436,100,3), + (246,135,101,3), + (577,323,101,3), + (762,426,101,3), + (777,435,101,3), + (836,481,103,2), + (840,485,103,2), + (884,515,103,2), + (944,589,110,2), + (847,492,113,2), + (885,522,113,2), + (901,546,114,2), + (929,574,115,2), + (919,564,127,2), + (928,573,132,2), + (839,484,133,2), + (886,514,133,2), + (932,577,136,2), + (934,579,137,2), + (918,563,142,2), + (909,554,144,2), + (838,483,145,2), + (887,513,145,2), + (936,581,148,2), + (898,543,149,2), + (1,1,153,2), + (3,2,153,2), + (5,3,153,2), + (7,4,153,2), + (9,5,153,2), + (10,6,153,2), + (12,7,153,2), + (14,8,153,2), + (16,9,153,2), + (18,10,153,2), + (19,11,153,2), + (21,12,153,2), + (23,13,153,2), + (25,14,153,2), + (27,15,153,2), + (29,16,153,2), + (31,17,153,2), + (33,18,153,2), + (35,19,153,2), + (37,20,153,2), + (39,21,153,2), + (41,22,153,2), + (43,23,153,2), + (45,24,153,2), + (46,25,153,2), + (48,26,153,2), + (50,27,153,2), + (52,28,153,2), + (54,29,153,2), + (56,30,153,2), + (58,31,153,2), + (60,32,153,2), + (62,33,153,2), + (64,34,153,2), + (66,35,153,2), + (67,36,153,2), + (69,37,153,2), + (71,38,153,2), + (72,39,153,2), + (74,40,153,2), + (75,41,153,2), + (77,42,153,2), + (79,43,153,2), + (81,44,153,2), + (83,45,153,2), + (85,46,153,2), + (87,47,153,2), + (89,48,153,2), + (91,49,153,2), + (93,50,153,2), + (95,51,153,2), + (97,52,153,2), + (98,53,153,2), + (100,54,153,2), + (102,55,153,2), + (104,56,153,2), + (105,57,153,2), + (106,58,153,2), + (108,59,153,2), + (110,60,153,2), + (112,61,153,2), + (114,62,153,2), + (116,63,153,2), + (118,64,153,2), + (120,65,153,2), + (122,66,153,2), + (123,67,153,2), + (125,68,153,2), + (127,69,153,2), + (128,70,153,2), + (130,71,153,2), + (132,72,153,2), + (134,73,153,2), + (136,74,153,2), + (137,75,153,2), + (139,76,153,2), + (140,77,153,2), + (142,78,153,2), + (144,79,153,2), + (146,80,153,2), + (148,81,153,2), + (150,82,153,2), + (151,83,153,2), + (153,84,153,2), + (155,85,153,2), + (157,86,153,2), + (159,87,153,2), + (161,88,153,2), + (163,89,153,2), + (164,90,153,2), + (166,91,153,2), + (168,92,153,2), + (170,93,153,2), + (172,94,153,2), + (173,95,153,2), + (175,96,153,2), + (177,97,153,2), + (179,98,153,2), + (181,99,153,2), + (183,100,153,2), + (184,101,153,2), + (186,102,153,2), + (187,103,153,2), + (189,104,153,2), + (191,105,153,2), + (193,106,153,2), + (195,107,153,2), + (197,108,153,2), + (198,109,153,2), + (199,110,153,2), + (201,111,153,2), + (203,112,153,2), + (205,113,153,2), + (207,114,153,2), + (209,115,153,2), + (210,116,153,2), + (212,117,153,2), + (214,118,153,2), + (215,119,153,2), + (217,120,153,2), + (219,121,153,2), + (221,122,153,2), + (223,123,153,2), + (225,124,153,2), + (227,125,153,2), + (229,126,153,2), + (231,127,153,2), + (233,128,153,2), + (235,129,153,2), + (237,130,153,2), + (238,131,153,2), + (239,132,153,2), + (241,133,153,2), + (243,134,153,2), + (245,135,153,2), + (247,136,153,2), + (249,137,153,2), + (250,138,153,2), + (252,139,153,2), + (254,140,153,2), + (255,141,153,2), + (257,142,153,2), + (258,143,153,2), + (260,144,153,2), + (262,145,153,2), + (264,146,153,2), + (265,147,153,2), + (267,148,153,2), + (269,149,153,2), + (271,150,153,2), + (862,507,154,2), + (888,537,154,2), + (852,497,155,2), + (889,527,155,2), + (860,505,157,2), + (890,535,157,2), + (922,567,157,2), + (947,592,164,2), + (902,547,165,2), + (906,551,173,2), + (915,560,175,2), + (941,586,181,2), + (854,499,182,2), + (891,529,182,2), + (939,584,182,2), + (914,559,184,2), + (849,494,186,2), + (892,524,186,2), + (926,571,187,2), + (537,301,195,2), + (539,302,195,2), + (541,303,195,2), + (542,304,195,2), + (544,305,195,2), + (546,306,195,2), + (548,307,195,2), + (550,308,195,2), + (551,309,195,2), + (553,310,195,2), + (554,311,195,2), + (556,312,195,2), + (558,313,195,2), + (560,314,195,2), + (561,315,195,2), + (563,316,195,2), + (565,317,195,2), + (567,318,195,2), + (568,319,195,2), + (570,320,195,2), + (572,321,195,2), + (574,322,195,2), + (576,323,195,2), + (578,324,195,2), + (580,325,195,2), + (581,326,195,2), + (582,327,195,2), + (584,328,195,2), + (586,329,195,2), + (588,330,195,2), + (590,331,195,2), + (592,332,195,2), + (594,333,195,2), + (596,334,195,2), + (598,335,195,2), + (600,336,195,2), + (602,337,195,2), + (604,338,195,2), + (606,339,195,2), + (608,340,195,2), + (610,341,195,2), + (612,342,195,2), + (613,343,195,2), + (615,344,195,2), + (617,345,195,2), + (619,346,195,2), + (621,347,195,2), + (623,348,195,2), + (625,349,195,2), + (626,350,195,2), + (628,351,195,2), + (630,352,195,2), + (632,353,195,2), + (634,354,195,2), + (636,355,195,2), + (638,356,195,2), + (640,357,195,2), + (642,358,195,2), + (644,359,195,2), + (646,360,195,2), + (648,361,195,2), + (649,362,195,2), + (651,363,195,2), + (652,364,195,2), + (654,365,195,2), + (656,366,195,2), + (658,367,195,2), + (660,368,195,2), + (662,369,195,2), + (664,370,195,2), + (665,371,195,2), + (667,372,195,2), + (668,373,195,2), + (670,374,195,2), + (672,375,195,2), + (674,376,195,2), + (676,377,195,2), + (678,378,195,2), + (680,379,195,2), + (682,380,195,2), + (684,381,195,2), + (686,382,195,2), + (687,383,195,2), + (689,384,195,2), + (691,385,195,2), + (693,386,195,2), + (694,387,195,2), + (696,388,195,2), + (697,389,195,2), + (699,390,195,2), + (700,391,195,2), + (702,392,195,2), + (703,393,195,2), + (705,394,195,2), + (707,395,195,2), + (709,396,195,2), + (711,397,195,2), + (713,398,195,2), + (715,399,195,2), + (717,400,195,2), + (718,401,195,2), + (720,402,195,2), + (721,403,195,2), + (723,404,195,2), + (724,405,195,2), + (726,406,195,2), + (727,407,195,2), + (729,408,195,2), + (731,409,195,2), + (732,410,195,2), + (734,411,195,2), + (736,412,195,2), + (738,413,195,2), + (739,414,195,2), + (740,415,195,2), + (742,416,195,2), + (744,417,195,2), + (746,418,195,2), + (748,419,195,2), + (750,420,195,2), + (752,421,195,2), + (754,422,195,2), + (755,423,195,2), + (757,424,195,2), + (759,425,195,2), + (761,426,195,2), + (763,427,195,2), + (764,428,195,2), + (766,429,195,2), + (767,430,195,2), + (769,431,195,2), + (771,432,195,2), + (772,433,195,2), + (774,434,195,2), + (776,435,195,2), + (778,436,195,2), + (780,437,195,2), + (782,438,195,2), + (784,439,195,2), + (786,440,195,2), + (787,441,195,2), + (789,442,195,2), + (791,443,195,2), + (793,444,195,2), + (795,445,195,2), + (797,446,195,2), + (798,447,195,2), + (800,448,195,2), + (802,449,195,2), + (804,450,195,2), + (857,502,197,2), + (893,532,197,2), + (864,509,199,2), + (894,539,199,2), + (912,557,199,2), + (273,151,200,2), + (275,152,200,2), + (277,153,200,2), + (279,154,200,2), + (281,155,200,2), + (282,156,200,2), + (284,157,200,2), + (286,158,200,2), + (287,159,200,2), + (289,160,200,2), + (291,161,200,2), + (293,162,200,2), + (295,163,200,2), + (297,164,200,2), + (299,165,200,2), + (301,166,200,2), + (302,167,200,2), + (304,168,200,2), + (305,169,200,2), + (307,170,200,2), + (309,171,200,2), + (311,172,200,2), + (313,173,200,2), + (315,174,200,2), + (316,175,200,2), + (318,176,200,2), + (320,177,200,2), + (322,178,200,2), + (324,179,200,2), + (326,180,200,2), + (327,181,200,2), + (329,182,200,2), + (331,183,200,2), + (333,184,200,2), + (334,185,200,2), + (336,186,200,2), + (337,187,200,2), + (339,188,200,2), + (340,189,200,2), + (342,190,200,2), + (344,191,200,2), + (345,192,200,2), + (347,193,200,2), + (348,194,200,2), + (350,195,200,2), + (352,196,200,2), + (354,197,200,2), + (356,198,200,2), + (358,199,200,2), + (360,200,200,2), + (361,201,200,2), + (362,202,200,2), + (363,203,200,2), + (365,204,200,2), + (367,205,200,2), + (368,206,200,2), + (369,207,200,2), + (371,208,200,2), + (372,209,200,2), + (373,210,200,2), + (375,211,200,2), + (377,212,200,2), + (378,213,200,2), + (380,214,200,2), + (382,215,200,2), + (384,216,200,2), + (386,217,200,2), + (388,218,200,2), + (390,219,200,2), + (392,220,200,2), + (394,221,200,2), + (396,222,200,2), + (398,223,200,2), + (400,224,200,2), + (402,225,200,2), + (404,226,200,2), + (406,227,200,2), + (408,228,200,2), + (410,229,200,2), + (412,230,200,2), + (414,231,200,2), + (416,232,200,2), + (418,233,200,2), + (419,234,200,2), + (421,235,200,2), + (423,236,200,2), + (424,237,200,2), + (426,238,200,2), + (428,239,200,2), + (430,240,200,2), + (432,241,200,2), + (434,242,200,2), + (435,243,200,2), + (436,244,200,2), + (438,245,200,2), + (440,246,200,2), + (442,247,200,2), + (444,248,200,2), + (446,249,200,2), + (448,250,200,2), + (450,251,200,2), + (451,252,200,2), + (453,253,200,2), + (454,254,200,2), + (456,255,200,2), + (458,256,200,2), + (460,257,200,2), + (462,258,200,2), + (464,259,200,2), + (465,260,200,2), + (467,261,200,2), + (469,262,200,2), + (471,263,200,2), + (472,264,200,2), + (474,265,200,2), + (476,266,200,2), + (478,267,200,2), + (480,268,200,2), + (482,269,200,2), + (484,270,200,2), + (485,271,200,2), + (487,272,200,2), + (489,273,200,2), + (491,274,200,2), + (493,275,200,2), + (495,276,200,2), + (496,277,200,2), + (497,278,200,2), + (499,279,200,2), + (500,280,200,2), + (502,281,200,2), + (504,282,200,2), + (505,283,200,2), + (507,284,200,2), + (509,285,200,2), + (510,286,200,2), + (512,287,200,2), + (513,288,200,2), + (515,289,200,2), + (516,290,200,2), + (518,291,200,2), + (520,292,200,2), + (522,293,200,2), + (524,294,200,2), + (526,295,200,2), + (527,296,200,2), + (529,297,200,2), + (531,298,200,2), + (533,299,200,2), + (535,300,200,2), + (848,493,200,2), + (895,523,200,2), + (900,545,200,2), + (858,503,201,2), + (896,533,201,2), + (946,591,202,2); /*!40000 ALTER TABLE `civicrm_activity_contact` ENABLE KEYS */; UNLOCK TABLES; @@ -1780,195 +1769,185 @@ UNLOCK TABLES; LOCK TABLES `civicrm_address` WRITE; /*!40000 ALTER TABLE `civicrm_address` DISABLE KEYS */; INSERT INTO `civicrm_address` (`id`, `contact_id`, `location_type_id`, `is_primary`, `is_billing`, `street_address`, `street_number`, `street_number_suffix`, `street_number_predirectional`, `street_name`, `street_type`, `street_number_postdirectional`, `street_unit`, `supplemental_address_1`, `supplemental_address_2`, `supplemental_address_3`, `city`, `county_id`, `state_province_id`, `postal_code_suffix`, `postal_code`, `usps_adc`, `country_id`, `geo_code_1`, `geo_code_2`, `manual_geo_code`, `timezone`, `name`, `master_id`) VALUES - (1,68,1,1,0,'262X Bay Pl NE',262,'X',NULL,'Bay','Pl','NE',NULL,NULL,NULL,NULL,'Roxbury',1,1018,NULL,'04275',NULL,1228,44.727073,-70.6478,0,NULL,NULL,NULL), - (2,41,1,1,0,'173N States St S',173,'N',NULL,'States','St','S',NULL,NULL,NULL,NULL,'South Mansfield',1,1017,NULL,'71053',NULL,1228,32.048905,-93.608059,0,NULL,NULL,NULL), - (3,126,1,1,0,'490W El Camino Blvd N',490,'W',NULL,'El Camino','Blvd','N',NULL,NULL,NULL,NULL,'Crete',1,1026,NULL,'68333',NULL,1228,40.620175,-96.96099,0,NULL,NULL,NULL), - (4,161,1,1,0,'921K Northpoint Ave SW',921,'K',NULL,'Northpoint','Ave','SW',NULL,NULL,NULL,NULL,'Jamestown',1,1021,NULL,'49427',NULL,1228,42.826676,-85.844378,0,NULL,NULL,NULL), - (5,81,1,1,0,'376K Green Ave W',376,'K',NULL,'Green','Ave','W',NULL,NULL,NULL,NULL,'Beech Island',1,1039,NULL,'29842',NULL,1228,33.443562,-81.87994,0,NULL,NULL,NULL), - (6,168,1,1,0,'925G Pine Ln NE',925,'G',NULL,'Pine','Ln','NE',NULL,NULL,NULL,NULL,'Waveland',1,1013,NULL,'47989',NULL,1228,39.881586,-87.04635,0,NULL,NULL,NULL), - (7,13,1,1,0,'556Y Van Ness Way NW',556,'Y',NULL,'Van Ness','Way','NW',NULL,NULL,NULL,NULL,'Wilton',1,1000,NULL,'35187',NULL,1228,33.08104,-86.879328,0,NULL,NULL,NULL), - (8,50,1,1,0,'288K Jackson St NE',288,'K',NULL,'Jackson','St','NE',NULL,NULL,NULL,NULL,'Detroit',1,1021,NULL,'48206',NULL,1228,42.375787,-83.10849,0,NULL,NULL,NULL), - (9,94,1,1,0,'787X States Blvd W',787,'X',NULL,'States','Blvd','W',NULL,NULL,NULL,NULL,'Evansville',1,1013,NULL,'47730',NULL,1228,37.997128,-87.574963,0,NULL,NULL,NULL), - (10,63,1,1,0,'467N Pine Pl S',467,'N',NULL,'Pine','Pl','S',NULL,NULL,NULL,NULL,'Corrales',1,1030,NULL,'87048',NULL,1228,35.229614,-106.62141,0,NULL,NULL,NULL), - (11,44,1,1,0,'969Z El Camino Pl S',969,'Z',NULL,'El Camino','Pl','S',NULL,NULL,NULL,NULL,'Germantown',1,1041,NULL,'38183',NULL,1228,35.201738,-89.971538,0,NULL,NULL,NULL), - (12,169,1,1,0,'751M Jackson Rd SW',751,'M',NULL,'Jackson','Rd','SW',NULL,NULL,NULL,NULL,'Star City',1,1013,NULL,'46985',NULL,1228,40.950873,-86.57394,0,NULL,NULL,NULL), - (13,103,1,1,0,'206E Second St N',206,'E',NULL,'Second','St','N',NULL,NULL,NULL,NULL,'Williamstown',1,1047,NULL,'26187',NULL,1228,39.387718,-81.44585,0,NULL,NULL,NULL), - (14,120,1,1,0,'605L College Way N',605,'L',NULL,'College','Way','N',NULL,NULL,NULL,NULL,'Jackson',1,1023,NULL,'39211',NULL,1228,32.370544,-90.1297,0,NULL,NULL,NULL), - (15,100,1,1,0,'563A Northpoint Ave NW',563,'A',NULL,'Northpoint','Ave','NW',NULL,NULL,NULL,NULL,'Lynnwood',1,1046,NULL,'98046',NULL,1228,48.037258,-121.682271,0,NULL,NULL,NULL), - (16,159,1,1,0,'909Y Lincoln Pl N',909,'Y',NULL,'Lincoln','Pl','N',NULL,NULL,NULL,NULL,'Duenweg',1,1024,NULL,'64841',NULL,1228,37.081103,-94.41181,0,NULL,NULL,NULL), - (17,46,1,1,0,'770G Caulder Blvd SE',770,'G',NULL,'Caulder','Blvd','SE',NULL,NULL,NULL,NULL,'Fayette',1,1031,NULL,'13065',NULL,1228,42.822662,-76.80197,0,NULL,NULL,NULL), - (18,109,1,1,0,'372U Woodbridge St W',372,'U',NULL,'Woodbridge','St','W',NULL,NULL,NULL,NULL,'Croydon',1,1043,NULL,'84018',NULL,1228,41.084479,-111.53153,0,NULL,NULL,NULL), - (19,29,1,1,0,'612I Dowlen Way SW',612,'I',NULL,'Dowlen','Way','SW',NULL,NULL,NULL,NULL,'Trion',1,1009,NULL,'30753',NULL,1228,34.558404,-85.30301,0,NULL,NULL,NULL), - (20,180,1,1,0,'458R Beech Way NW',458,'R',NULL,'Beech','Way','NW',NULL,NULL,NULL,NULL,'Yerkes',1,1016,NULL,'41778',NULL,1228,37.279297,-83.3187,0,NULL,NULL,NULL), - (21,45,1,1,0,'903Q Bay Dr SE',903,'Q',NULL,'Bay','Dr','SE',NULL,NULL,NULL,NULL,'Baton Rouge',1,1017,NULL,'70813',NULL,1228,30.520111,-91.194863,0,NULL,NULL,NULL), - (22,54,1,1,0,'51R College Pl SW',51,'R',NULL,'College','Pl','SW',NULL,NULL,NULL,NULL,'Albert Lea',1,1022,NULL,'56007',NULL,1228,43.652042,-93.36916,0,NULL,NULL,NULL), - (23,35,1,1,0,'197W Dowlen Dr SE',197,'W',NULL,'Dowlen','Dr','SE',NULL,NULL,NULL,NULL,'Fairfield',1,1011,NULL,'83327',NULL,1228,43.365909,-114.77559,0,NULL,NULL,NULL), - (24,166,1,1,0,'40N Beech Path NW',40,'N',NULL,'Beech','Path','NW',NULL,NULL,NULL,NULL,'Old Ocean',1,1042,NULL,'77463',NULL,1228,29.135066,-95.78335,0,NULL,NULL,NULL), - (25,56,1,1,0,'553Q Main Way N',553,'Q',NULL,'Main','Way','N',NULL,NULL,NULL,NULL,'Long Island',1,1015,NULL,'67647',NULL,1228,39.947283,-99.53467,0,NULL,NULL,NULL), - (26,160,1,1,0,'267S Northpoint St SW',267,'S',NULL,'Northpoint','St','SW',NULL,NULL,NULL,NULL,'Bridgeton',1,1037,NULL,'18672',NULL,1228,40.540232,-75.104872,0,NULL,NULL,NULL), - (27,64,1,1,0,'829F Beech Dr E',829,'F',NULL,'Beech','Dr','E',NULL,NULL,NULL,NULL,'Hardaway',1,1000,NULL,'36039',NULL,1228,32.28032,-85.81979,0,NULL,NULL,NULL), - (28,150,1,1,0,'914S Van Ness Dr N',914,'S',NULL,'Van Ness','Dr','N',NULL,NULL,NULL,NULL,'Maxwell',1,1042,NULL,'78656',NULL,1228,29.887939,-97.83613,0,NULL,NULL,NULL), - (29,177,1,1,0,'831M Green Ln W',831,'M',NULL,'Green','Ln','W',NULL,NULL,NULL,NULL,'Sacramento',1,1004,NULL,'95824',NULL,1228,38.518356,-121.44378,0,NULL,NULL,NULL), - (30,171,1,1,0,'339T Dowlen Ave SW',339,'T',NULL,'Dowlen','Ave','SW',NULL,NULL,NULL,NULL,'College Grove',1,1041,NULL,'37046',NULL,1228,35.7557,-86.72272,0,NULL,NULL,NULL), - (31,20,1,1,0,'520Y Martin Luther King Pl SE',520,'Y',NULL,'Martin Luther King','Pl','SE',NULL,NULL,NULL,NULL,'Jacksonville',1,1042,NULL,'75766',NULL,1228,31.953855,-95.25281,0,NULL,NULL,NULL), - (32,172,1,1,0,'604I College St NE',604,'I',NULL,'College','St','NE',NULL,NULL,NULL,NULL,'Peru',1,1044,NULL,'05152',NULL,1228,43.24283,-72.88309,0,NULL,NULL,NULL), - (33,51,1,1,0,'868F States Path E',868,'F',NULL,'States','Path','E',NULL,NULL,NULL,NULL,'Glendale',1,1039,NULL,'29346',NULL,1228,35.044719,-81.977324,0,NULL,NULL,NULL), - (34,47,1,1,0,'985D Maple Blvd SW',985,'D',NULL,'Maple','Blvd','SW',NULL,NULL,NULL,NULL,'Lanesboro',1,1022,NULL,'55949',NULL,1228,43.70844,-91.95965,0,NULL,NULL,NULL), - (35,187,1,1,0,'261T Dowlen Ln SE',261,'T',NULL,'Dowlen','Ln','SE',NULL,NULL,NULL,NULL,'Hilton Head Island',1,1039,NULL,'29926',NULL,1228,32.226713,-80.74325,0,NULL,NULL,NULL), - (36,118,1,1,0,'315E College Blvd SE',315,'E',NULL,'College','Blvd','SE',NULL,NULL,NULL,NULL,'Roseville',1,1012,NULL,'61473',NULL,1228,40.70595,-90.65724,0,NULL,NULL,NULL), - (37,134,1,1,0,'162N College Dr E',162,'N',NULL,'College','Dr','E',NULL,NULL,NULL,NULL,'Sand Lake',1,1021,NULL,'49343',NULL,1228,43.291089,-85.50812,0,NULL,NULL,NULL), - (38,195,1,1,0,'435S Bay Rd N',435,'S',NULL,'Bay','Rd','N',NULL,NULL,NULL,NULL,'Cincinnati',1,1034,NULL,'45224',NULL,1228,39.204959,-84.53734,0,NULL,NULL,NULL), - (39,194,1,1,0,'18X Bay Pl NE',18,'X',NULL,'Bay','Pl','NE',NULL,NULL,NULL,NULL,'Lebanon',1,1012,NULL,'62254',NULL,1228,38.601648,-89.81317,0,NULL,NULL,NULL), - (40,154,1,1,0,'492E Green Pl SE',492,'E',NULL,'Green','Pl','SE',NULL,NULL,NULL,NULL,'Bowie',1,1019,NULL,'20719',NULL,1228,38.833563,-76.877743,0,NULL,NULL,NULL), - (41,182,1,1,0,'361B El Camino Ave N',361,'B',NULL,'El Camino','Ave','N',NULL,NULL,NULL,NULL,'Salem',1,1036,NULL,'97310',NULL,1228,44.927141,-122.986105,0,NULL,NULL,NULL), - (42,117,1,1,0,'727E College Path E',727,'E',NULL,'College','Path','E',NULL,NULL,NULL,NULL,'Hattieville',1,1003,NULL,'72063',NULL,1228,35.320423,-92.7496,0,NULL,NULL,NULL), - (43,2,1,1,0,'734I Lincoln Ave S',734,'I',NULL,'Lincoln','Ave','S',NULL,NULL,NULL,NULL,'Grinnell',1,1015,NULL,'67738',NULL,1228,39.042757,-100.64563,0,NULL,NULL,NULL), - (44,137,1,1,0,'805I Caulder Ln N',805,'I',NULL,'Caulder','Ln','N',NULL,NULL,NULL,NULL,'Fort Riley',1,1015,NULL,'66442',NULL,1228,39.074628,-96.80662,0,NULL,NULL,NULL), - (45,181,1,1,0,'714A Northpoint St NE',714,'A',NULL,'Northpoint','St','NE',NULL,NULL,NULL,NULL,'Norton',1,1047,NULL,'26285',NULL,1228,38.934414,-79.96518,0,NULL,NULL,NULL), - (46,143,1,1,0,'282O Van Ness Ave NW',282,'O',NULL,'Van Ness','Ave','NW',NULL,NULL,NULL,NULL,'Jackson',1,1021,NULL,'49203',NULL,1228,42.227536,-84.40913,0,NULL,NULL,NULL), - (47,199,1,1,0,'264K Caulder Blvd SE',264,'K',NULL,'Caulder','Blvd','SE',NULL,NULL,NULL,NULL,'Herndon',1,1045,NULL,'20170',NULL,1228,38.977109,-77.38527,0,NULL,NULL,NULL), - (48,141,1,1,0,'896W Maple Path W',896,'W',NULL,'Maple','Path','W',NULL,NULL,NULL,NULL,'Charlotte',1,1032,NULL,'28213',NULL,1228,35.280464,-80.75678,0,NULL,NULL,NULL), - (49,153,1,1,0,'806E States Pl E',806,'E',NULL,'States','Pl','E',NULL,NULL,NULL,NULL,'Great Falls',1,1039,NULL,'29055',NULL,1228,34.569908,-80.90972,0,NULL,NULL,NULL), - (50,83,1,1,0,'552W Pine Ave NE',552,'W',NULL,'Pine','Ave','NE',NULL,NULL,NULL,NULL,'Melrose Park',1,1012,NULL,'60160',NULL,1228,41.89988,-87.85978,0,NULL,NULL,NULL), - (51,17,1,1,0,'266X Van Ness Way NE',266,'X',NULL,'Van Ness','Way','NE',NULL,NULL,NULL,NULL,'Little Rock Air Force Base',1,1003,NULL,'72099',NULL,1228,34.908539,-92.11722,0,NULL,NULL,NULL), - (52,105,1,1,0,'460M El Camino Ln N',460,'M',NULL,'El Camino','Ln','N',NULL,NULL,NULL,NULL,'Owendale',1,1021,NULL,'48754',NULL,1228,43.736747,-83.24746,0,NULL,NULL,NULL), - (53,4,1,1,0,'103M States Blvd SE',103,'M',NULL,'States','Blvd','SE',NULL,NULL,NULL,NULL,'Ragan',1,1026,NULL,'68969',NULL,1228,40.176513,-99.404864,0,NULL,NULL,NULL), - (54,19,1,1,0,'36Y Pine Path N',36,'Y',NULL,'Pine','Path','N',NULL,NULL,NULL,NULL,'New Munich',1,1022,NULL,'56356',NULL,1228,45.628804,-94.75466,0,NULL,NULL,NULL), - (55,193,1,1,0,'773G Jackson Rd W',773,'G',NULL,'Jackson','Rd','W',NULL,NULL,NULL,NULL,'Grasston',1,1022,NULL,'55030',NULL,1228,45.842603,-93.11924,0,NULL,NULL,NULL), - (56,151,1,1,0,'558O States Way N',558,'O',NULL,'States','Way','N',NULL,NULL,NULL,NULL,'Mound Valley',1,1015,NULL,'67354',NULL,1228,37.200877,-95.41003,0,NULL,NULL,NULL), - (57,24,1,1,0,'859Z Main Blvd N',859,'Z',NULL,'Main','Blvd','N',NULL,NULL,NULL,NULL,'Franklin',1,1044,NULL,'05457',NULL,1228,44.961552,-72.89351,0,NULL,NULL,NULL), - (58,70,1,1,0,'32Z Bay Dr E',32,'Z',NULL,'Bay','Dr','E',NULL,NULL,NULL,NULL,'Denver',1,1005,NULL,'80255',NULL,1228,39.738752,-104.408349,0,NULL,NULL,NULL), - (59,86,1,1,0,'38O Woodbridge Ave SW',38,'O',NULL,'Woodbridge','Ave','SW',NULL,NULL,NULL,NULL,'Hereford',1,1005,NULL,'80732',NULL,1228,40.975104,-104.305265,0,NULL,NULL,NULL), - (60,27,1,1,0,'520X Northpoint Rd W',520,'X',NULL,'Northpoint','Rd','W',NULL,NULL,NULL,NULL,'Mount Aetna',1,1037,NULL,'19544',NULL,1228,40.418864,-76.29564,0,NULL,NULL,NULL), - (61,87,1,1,0,'842Q Van Ness Dr N',842,'Q',NULL,'Van Ness','Dr','N',NULL,NULL,NULL,NULL,'Knoxville',1,1041,NULL,'37924',NULL,1228,36.029987,-83.80705,0,NULL,NULL,NULL), - (62,198,1,1,0,'980E Beech Dr SE',980,'E',NULL,'Beech','Dr','SE',NULL,NULL,NULL,NULL,'Sebring',1,1008,NULL,'33876',NULL,1228,27.436826,-81.35515,0,NULL,NULL,NULL), - (63,185,1,1,0,'246S Pine Path NE',246,'S',NULL,'Pine','Path','NE',NULL,NULL,NULL,NULL,'Russellville',1,1003,NULL,'72822',NULL,1228,35.329457,-93.112368,0,NULL,NULL,NULL), - (64,124,1,1,0,'312Y Second Rd N',312,'Y',NULL,'Second','Rd','N',NULL,NULL,NULL,NULL,'Oakwood',1,1012,NULL,'61858',NULL,1228,40.121098,-87.74657,0,NULL,NULL,NULL), - (65,7,1,1,0,'53Y Maple Rd E',53,'Y',NULL,'Maple','Rd','E',NULL,NULL,NULL,NULL,'Whitten',1,1014,NULL,'50269',NULL,1228,42.261478,-93.00738,0,NULL,NULL,NULL), - (66,162,1,1,0,'858J Dowlen Pl W',858,'J',NULL,'Dowlen','Pl','W',NULL,NULL,NULL,NULL,'Huntingdon Valley',1,1037,NULL,'19006',NULL,1228,40.129509,-75.06115,0,NULL,NULL,NULL), - (67,149,1,1,0,'472Q Beech Path N',472,'Q',NULL,'Beech','Path','N',NULL,NULL,NULL,NULL,'Lorena',1,1042,NULL,'76655',NULL,1228,31.393062,-97.16178,0,NULL,NULL,NULL), - (68,79,1,1,0,'18O Pine Dr E',18,'O',NULL,'Pine','Dr','E',NULL,NULL,NULL,NULL,'Hingham',1,1025,NULL,'59528',NULL,1228,48.555089,-110.41769,0,NULL,NULL,NULL), - (69,128,1,1,0,'69Y El Camino Way N',69,'Y',NULL,'El Camino','Way','N',NULL,NULL,NULL,NULL,'Tempe',1,1002,NULL,'85280',NULL,1228,33.401395,-111.931298,0,NULL,NULL,NULL), - (70,59,1,1,0,'300L Green Pl W',300,'L',NULL,'Green','Pl','W',NULL,NULL,NULL,NULL,'Ravena',1,1031,NULL,'12143',NULL,1228,42.46915,-73.82956,0,NULL,NULL,NULL), - (71,39,1,1,0,'924C Van Ness Ave NW',924,'C',NULL,'Van Ness','Ave','NW',NULL,NULL,NULL,NULL,'Pomona',1,1029,NULL,'08240',NULL,1228,39.487717,-74.554334,0,NULL,NULL,NULL), - (72,191,1,1,0,'961N Lincoln Blvd S',961,'N',NULL,'Lincoln','Blvd','S',NULL,NULL,NULL,NULL,'Harlan',1,1013,NULL,'46743',NULL,1228,41.215338,-84.85575,0,NULL,NULL,NULL), - (73,192,1,1,0,'764I Jackson Pl SW',764,'I',NULL,'Jackson','Pl','SW',NULL,NULL,NULL,NULL,'Clam Gulch',1,1001,NULL,'99568',NULL,1228,60.23458,-151.3934,0,NULL,NULL,NULL), - (74,165,3,1,0,'371H Bay Path S',371,'H',NULL,'Bay','Path','S',NULL,'Attn: Accounting',NULL,NULL,'Norwood',1,1024,NULL,'65717',NULL,1228,37.093694,-92.41231,0,NULL,NULL,NULL), - (75,96,2,1,0,'371H Bay Path S',371,'H',NULL,'Bay','Path','S',NULL,'Attn: Accounting',NULL,NULL,'Norwood',1,1024,NULL,'65717',NULL,1228,37.093694,-92.41231,0,NULL,NULL,74), - (76,140,3,1,0,'64M Maple Blvd NE',64,'M',NULL,'Maple','Blvd','NE',NULL,'Attn: Accounting',NULL,NULL,'Kendleton',1,1042,NULL,'77451',NULL,1228,29.447947,-96.0007,0,NULL,NULL,NULL), - (77,122,2,1,0,'64M Maple Blvd NE',64,'M',NULL,'Maple','Blvd','NE',NULL,'Attn: Accounting',NULL,NULL,'Kendleton',1,1042,NULL,'77451',NULL,1228,29.447947,-96.0007,0,NULL,NULL,76), - (78,48,3,1,0,'203L Dowlen Way E',203,'L',NULL,'Dowlen','Way','E',NULL,'Mailstop 101',NULL,NULL,'Greensboro',1,1009,NULL,'30652',NULL,1228,33.559342,-83.364156,0,NULL,NULL,NULL), - (79,106,2,1,0,'203L Dowlen Way E',203,'L',NULL,'Dowlen','Way','E',NULL,'Mailstop 101',NULL,NULL,'Greensboro',1,1009,NULL,'30652',NULL,1228,33.559342,-83.364156,0,NULL,NULL,78), - (80,167,3,1,0,'831Q Main Ln SE',831,'Q',NULL,'Main','Ln','SE',NULL,'Disbursements',NULL,NULL,'Saint George',1,1043,NULL,'84790',NULL,1228,37.075039,-113.55568,0,NULL,NULL,NULL), - (81,5,2,1,0,'831Q Main Ln SE',831,'Q',NULL,'Main','Ln','SE',NULL,'Disbursements',NULL,NULL,'Saint George',1,1043,NULL,'84790',NULL,1228,37.075039,-113.55568,0,NULL,NULL,80), - (82,75,3,1,0,'481I Pine Pl SE',481,'I',NULL,'Pine','Pl','SE',NULL,'Cuffe Parade',NULL,NULL,'Cherry Point',1,1032,NULL,'28533',NULL,1228,34.903793,-76.899976,0,NULL,NULL,NULL), - (83,42,2,1,0,'481I Pine Pl SE',481,'I',NULL,'Pine','Pl','SE',NULL,'Cuffe Parade',NULL,NULL,'Cherry Point',1,1032,NULL,'28533',NULL,1228,34.903793,-76.899976,0,NULL,NULL,82), - (84,156,3,1,0,'883O Northpoint Blvd S',883,'O',NULL,'Northpoint','Blvd','S',NULL,'Subscriptions Dept',NULL,NULL,'Jackson',1,1023,NULL,'39283',NULL,1228,32.311287,-90.397157,0,NULL,NULL,NULL), - (85,17,2,0,0,'883O Northpoint Blvd S',883,'O',NULL,'Northpoint','Blvd','S',NULL,'Subscriptions Dept',NULL,NULL,'Jackson',1,1023,NULL,'39283',NULL,1228,32.311287,-90.397157,0,NULL,NULL,84), - (86,142,3,1,0,'901F Maple Ln SE',901,'F',NULL,'Maple','Ln','SE',NULL,'Community Relations',NULL,NULL,'Cottekill',1,1031,NULL,'12419',NULL,1228,41.852449,-74.10605,0,NULL,NULL,NULL), - (87,125,3,1,0,'861O College Blvd SE',861,'O',NULL,'College','Blvd','SE',NULL,'Community Relations',NULL,NULL,'Yorktown',1,1042,NULL,'78164',NULL,1228,28.988817,-97.51773,0,NULL,NULL,NULL), - (88,33,2,1,0,'861O College Blvd SE',861,'O',NULL,'College','Blvd','SE',NULL,'Community Relations',NULL,NULL,'Yorktown',1,1042,NULL,'78164',NULL,1228,28.988817,-97.51773,0,NULL,NULL,87), - (89,3,3,1,0,'126L Northpoint Ln NE',126,'L',NULL,'Northpoint','Ln','NE',NULL,'Cuffe Parade',NULL,NULL,'Revere',1,1024,NULL,'63465',NULL,1228,40.526542,-91.68075,0,NULL,NULL,NULL), - (90,110,2,1,0,'126L Northpoint Ln NE',126,'L',NULL,'Northpoint','Ln','NE',NULL,'Cuffe Parade',NULL,NULL,'Revere',1,1024,NULL,'63465',NULL,1228,40.526542,-91.68075,0,NULL,NULL,89), - (91,189,3,1,0,'465X Second Dr N',465,'X',NULL,'Second','Dr','N',NULL,'Community Relations',NULL,NULL,'Maple Shade',1,1029,NULL,'08052',NULL,1228,39.952212,-74.99464,0,NULL,NULL,NULL), - (92,51,2,0,0,'465X Second Dr N',465,'X',NULL,'Second','Dr','N',NULL,'Community Relations',NULL,NULL,'Maple Shade',1,1029,NULL,'08052',NULL,1228,39.952212,-74.99464,0,NULL,NULL,91), - (93,52,3,1,0,'63B Jackson Rd N',63,'B',NULL,'Jackson','Rd','N',NULL,'Attn: Development',NULL,NULL,'Aplington',1,1014,NULL,'50604',NULL,1228,42.606337,-92.8988,0,NULL,NULL,NULL), - (94,99,2,1,0,'63B Jackson Rd N',63,'B',NULL,'Jackson','Rd','N',NULL,'Attn: Development',NULL,NULL,'Aplington',1,1014,NULL,'50604',NULL,1228,42.606337,-92.8988,0,NULL,NULL,93), - (95,158,3,1,0,'310Q Lincoln Dr SW',310,'Q',NULL,'Lincoln','Dr','SW',NULL,'Community Relations',NULL,NULL,'Cave Spring',1,1009,NULL,'30124',NULL,1228,34.118206,-85.34001,0,NULL,NULL,NULL), - (96,116,3,1,0,'831P Lincoln Pl S',831,'P',NULL,'Lincoln','Pl','S',NULL,'Churchgate',NULL,NULL,'Exchange',1,1047,NULL,'26619',NULL,1228,38.788013,-80.73291,0,NULL,NULL,NULL), - (97,69,3,1,0,'978U Lincoln Ln S',978,'U',NULL,'Lincoln','Ln','S',NULL,'Community Relations',NULL,NULL,'Lyons',1,1048,NULL,'53148',NULL,1228,42.649557,-88.35965,0,NULL,NULL,NULL), - (98,43,2,1,0,'978U Lincoln Ln S',978,'U',NULL,'Lincoln','Ln','S',NULL,'Community Relations',NULL,NULL,'Lyons',1,1048,NULL,'53148',NULL,1228,42.649557,-88.35965,0,NULL,NULL,97), - (99,196,3,1,0,'529S Main Ln NW',529,'S',NULL,'Main','Ln','NW',NULL,'c/o OPDC',NULL,NULL,'Brownwood',1,1042,NULL,'76804',NULL,1228,31.77419,-99.09213,0,NULL,NULL,NULL), - (100,97,2,1,0,'529S Main Ln NW',529,'S',NULL,'Main','Ln','NW',NULL,'c/o OPDC',NULL,NULL,'Brownwood',1,1042,NULL,'76804',NULL,1228,31.77419,-99.09213,0,NULL,NULL,99), - (101,170,3,1,0,'399C El Camino Pl S',399,'C',NULL,'El Camino','Pl','S',NULL,'Urgent',NULL,NULL,'Cook',1,1022,NULL,'55723',NULL,1228,47.854987,-92.77077,0,NULL,NULL,NULL), - (102,14,3,1,0,'833A States Ln S',833,'A',NULL,'States','Ln','S',NULL,'Editorial Dept',NULL,NULL,'Friars Point',1,1023,NULL,'38631',NULL,1228,34.365436,-90.634,0,NULL,NULL,NULL), - (103,6,3,1,0,'426L Green Path SW',426,'L',NULL,'Green','Path','SW',NULL,'Receiving',NULL,NULL,'Dickinson',1,1042,NULL,'77537',NULL,1228,29.469835,-95.005317,0,NULL,NULL,NULL), - (104,164,3,1,0,'590O College Ave SE',590,'O',NULL,'College','Ave','SE',NULL,'Community Relations',NULL,NULL,'Chicago',1,1012,NULL,'60636',NULL,1228,41.776633,-87.66854,0,NULL,NULL,NULL), - (105,18,3,1,0,'259I Jackson Pl W',259,'I',NULL,'Jackson','Pl','W',NULL,'Disbursements',NULL,NULL,'Mayfield',1,1031,NULL,'12117',NULL,1228,43.146907,-74.23466,0,NULL,NULL,NULL), - (106,31,2,1,0,'259I Jackson Pl W',259,'I',NULL,'Jackson','Pl','W',NULL,'Disbursements',NULL,NULL,'Mayfield',1,1031,NULL,'12117',NULL,1228,43.146907,-74.23466,0,NULL,NULL,105), - (107,21,1,1,0,'36Y Pine Path N',36,'Y',NULL,'Pine','Path','N',NULL,NULL,NULL,NULL,'New Munich',1,1022,NULL,'56356',NULL,1228,45.628804,-94.75466,0,NULL,NULL,54), - (108,152,1,1,0,'36Y Pine Path N',36,'Y',NULL,'Pine','Path','N',NULL,NULL,NULL,NULL,'New Munich',1,1022,NULL,'56356',NULL,1228,45.628804,-94.75466,0,NULL,NULL,54), - (109,147,1,1,0,'36Y Pine Path N',36,'Y',NULL,'Pine','Path','N',NULL,NULL,NULL,NULL,'New Munich',1,1022,NULL,'56356',NULL,1228,45.628804,-94.75466,0,NULL,NULL,54), - (110,4,1,0,0,'148S Woodbridge Blvd N',148,'S',NULL,'Woodbridge','Blvd','N',NULL,NULL,NULL,NULL,'Paynes Creek',1,1004,NULL,'96075',NULL,1228,40.338253,-121.84025,0,NULL,NULL,NULL), - (111,201,1,1,0,'773G Jackson Rd W',773,'G',NULL,'Jackson','Rd','W',NULL,NULL,NULL,NULL,'Grasston',1,1022,NULL,'55030',NULL,1228,45.842603,-93.11924,0,NULL,NULL,55), - (112,43,1,0,0,'773G Jackson Rd W',773,'G',NULL,'Jackson','Rd','W',NULL,NULL,NULL,NULL,'Grasston',1,1022,NULL,'55030',NULL,1228,45.842603,-93.11924,0,NULL,NULL,55), - (113,15,1,1,0,'773G Jackson Rd W',773,'G',NULL,'Jackson','Rd','W',NULL,NULL,NULL,NULL,'Grasston',1,1022,NULL,'55030',NULL,1228,45.842603,-93.11924,0,NULL,NULL,55), - (114,127,1,1,0,'736S Pine Path SE',736,'S',NULL,'Pine','Path','SE',NULL,NULL,NULL,NULL,'Ponce',1,1056,NULL,'00731',NULL,1228,18.077329,-66.61192,0,NULL,NULL,NULL), - (115,163,1,1,0,'558O States Way N',558,'O',NULL,'States','Way','N',NULL,NULL,NULL,NULL,'Mound Valley',1,1015,NULL,'67354',NULL,1228,37.200877,-95.41003,0,NULL,NULL,56), - (116,91,1,1,0,'558O States Way N',558,'O',NULL,'States','Way','N',NULL,NULL,NULL,NULL,'Mound Valley',1,1015,NULL,'67354',NULL,1228,37.200877,-95.41003,0,NULL,NULL,56), - (117,67,1,1,0,'558O States Way N',558,'O',NULL,'States','Way','N',NULL,NULL,NULL,NULL,'Mound Valley',1,1015,NULL,'67354',NULL,1228,37.200877,-95.41003,0,NULL,NULL,56), - (118,188,1,1,0,'558O States Way N',558,'O',NULL,'States','Way','N',NULL,NULL,NULL,NULL,'Mound Valley',1,1015,NULL,'67354',NULL,1228,37.200877,-95.41003,0,NULL,NULL,56), - (119,102,1,1,0,'859Z Main Blvd N',859,'Z',NULL,'Main','Blvd','N',NULL,NULL,NULL,NULL,'Franklin',1,1044,NULL,'05457',NULL,1228,44.961552,-72.89351,0,NULL,NULL,57), - (120,145,1,1,0,'859Z Main Blvd N',859,'Z',NULL,'Main','Blvd','N',NULL,NULL,NULL,NULL,'Franklin',1,1044,NULL,'05457',NULL,1228,44.961552,-72.89351,0,NULL,NULL,57), - (121,176,1,1,0,'859Z Main Blvd N',859,'Z',NULL,'Main','Blvd','N',NULL,NULL,NULL,NULL,'Franklin',1,1044,NULL,'05457',NULL,1228,44.961552,-72.89351,0,NULL,NULL,57), - (122,65,1,1,0,'431V El Camino Pl S',431,'V',NULL,'El Camino','Pl','S',NULL,NULL,NULL,NULL,'Hinesburg',1,1044,NULL,'05461',NULL,1228,44.332217,-73.09254,0,NULL,NULL,NULL), - (123,84,1,1,0,'32Z Bay Dr E',32,'Z',NULL,'Bay','Dr','E',NULL,NULL,NULL,NULL,'Denver',1,1005,NULL,'80255',NULL,1228,39.738752,-104.408349,0,NULL,NULL,58), - (124,38,1,1,0,'32Z Bay Dr E',32,'Z',NULL,'Bay','Dr','E',NULL,NULL,NULL,NULL,'Denver',1,1005,NULL,'80255',NULL,1228,39.738752,-104.408349,0,NULL,NULL,58), - (125,174,1,1,0,'32Z Bay Dr E',32,'Z',NULL,'Bay','Dr','E',NULL,NULL,NULL,NULL,'Denver',1,1005,NULL,'80255',NULL,1228,39.738752,-104.408349,0,NULL,NULL,58), - (126,131,1,1,0,'32Z Bay Dr E',32,'Z',NULL,'Bay','Dr','E',NULL,NULL,NULL,NULL,'Denver',1,1005,NULL,'80255',NULL,1228,39.738752,-104.408349,0,NULL,NULL,58), - (127,55,1,1,0,'38O Woodbridge Ave SW',38,'O',NULL,'Woodbridge','Ave','SW',NULL,NULL,NULL,NULL,'Hereford',1,1005,NULL,'80732',NULL,1228,40.975104,-104.305265,0,NULL,NULL,59), - (128,144,1,1,0,'38O Woodbridge Ave SW',38,'O',NULL,'Woodbridge','Ave','SW',NULL,NULL,NULL,NULL,'Hereford',1,1005,NULL,'80732',NULL,1228,40.975104,-104.305265,0,NULL,NULL,59), - (129,72,1,1,0,'38O Woodbridge Ave SW',38,'O',NULL,'Woodbridge','Ave','SW',NULL,NULL,NULL,NULL,'Hereford',1,1005,NULL,'80732',NULL,1228,40.975104,-104.305265,0,NULL,NULL,59), - (130,178,1,1,0,'612M Van Ness Blvd SW',612,'M',NULL,'Van Ness','Blvd','SW',NULL,NULL,NULL,NULL,'Ridgeway',1,1047,NULL,'25440',NULL,1228,39.442661,-78.02628,0,NULL,NULL,NULL), - (131,183,1,1,0,'520X Northpoint Rd W',520,'X',NULL,'Northpoint','Rd','W',NULL,NULL,NULL,NULL,'Mount Aetna',1,1037,NULL,'19544',NULL,1228,40.418864,-76.29564,0,NULL,NULL,60), - (132,82,1,1,0,'520X Northpoint Rd W',520,'X',NULL,'Northpoint','Rd','W',NULL,NULL,NULL,NULL,'Mount Aetna',1,1037,NULL,'19544',NULL,1228,40.418864,-76.29564,0,NULL,NULL,60), - (133,73,1,1,0,'520X Northpoint Rd W',520,'X',NULL,'Northpoint','Rd','W',NULL,NULL,NULL,NULL,'Mount Aetna',1,1037,NULL,'19544',NULL,1228,40.418864,-76.29564,0,NULL,NULL,60), - (134,113,1,1,0,'922X Cadell Way SE',922,'X',NULL,'Cadell','Way','SE',NULL,NULL,NULL,NULL,'Fort Smith',1,1003,NULL,'72917',NULL,1228,35.191046,-94.23816,0,NULL,NULL,NULL), - (135,146,1,1,0,'842Q Van Ness Dr N',842,'Q',NULL,'Van Ness','Dr','N',NULL,NULL,NULL,NULL,'Knoxville',1,1041,NULL,'37924',NULL,1228,36.029987,-83.80705,0,NULL,NULL,61), - (136,133,1,1,0,'842Q Van Ness Dr N',842,'Q',NULL,'Van Ness','Dr','N',NULL,NULL,NULL,NULL,'Knoxville',1,1041,NULL,'37924',NULL,1228,36.029987,-83.80705,0,NULL,NULL,61), - (137,132,1,1,0,'842Q Van Ness Dr N',842,'Q',NULL,'Van Ness','Dr','N',NULL,NULL,NULL,NULL,'Knoxville',1,1041,NULL,'37924',NULL,1228,36.029987,-83.80705,0,NULL,NULL,61), - (138,106,1,0,0,'492D Pine St SW',492,'D',NULL,'Pine','St','SW',NULL,NULL,NULL,NULL,'Corona',1,1004,NULL,'91719',NULL,1228,33.735688,-117.42049,0,NULL,NULL,NULL), - (139,49,1,1,0,'980E Beech Dr SE',980,'E',NULL,'Beech','Dr','SE',NULL,NULL,NULL,NULL,'Sebring',1,1008,NULL,'33876',NULL,1228,27.436826,-81.35515,0,NULL,NULL,62), - (140,32,1,1,0,'980E Beech Dr SE',980,'E',NULL,'Beech','Dr','SE',NULL,NULL,NULL,NULL,'Sebring',1,1008,NULL,'33876',NULL,1228,27.436826,-81.35515,0,NULL,NULL,62), - (141,8,1,1,0,'980E Beech Dr SE',980,'E',NULL,'Beech','Dr','SE',NULL,NULL,NULL,NULL,'Sebring',1,1008,NULL,'33876',NULL,1228,27.436826,-81.35515,0,NULL,NULL,62), - (142,121,1,1,0,'382K Second Ln E',382,'K',NULL,'Second','Ln','E',NULL,NULL,NULL,NULL,'New Brockton',1,1000,NULL,'36351',NULL,1228,31.406536,-85.9175,0,NULL,NULL,NULL), - (143,31,1,0,0,'246S Pine Path NE',246,'S',NULL,'Pine','Path','NE',NULL,NULL,NULL,NULL,'Russellville',1,1003,NULL,'72822',NULL,1228,35.329457,-93.112368,0,NULL,NULL,63), - (144,80,1,1,0,'246S Pine Path NE',246,'S',NULL,'Pine','Path','NE',NULL,NULL,NULL,NULL,'Russellville',1,1003,NULL,'72822',NULL,1228,35.329457,-93.112368,0,NULL,NULL,63), - (145,179,1,1,0,'246S Pine Path NE',246,'S',NULL,'Pine','Path','NE',NULL,NULL,NULL,NULL,'Russellville',1,1003,NULL,'72822',NULL,1228,35.329457,-93.112368,0,NULL,NULL,63), - (146,78,1,1,0,'246S Pine Path NE',246,'S',NULL,'Pine','Path','NE',NULL,NULL,NULL,NULL,'Russellville',1,1003,NULL,'72822',NULL,1228,35.329457,-93.112368,0,NULL,NULL,63), - (147,37,1,1,0,'312Y Second Rd N',312,'Y',NULL,'Second','Rd','N',NULL,NULL,NULL,NULL,'Oakwood',1,1012,NULL,'61858',NULL,1228,40.121098,-87.74657,0,NULL,NULL,64), - (148,108,1,1,0,'312Y Second Rd N',312,'Y',NULL,'Second','Rd','N',NULL,NULL,NULL,NULL,'Oakwood',1,1012,NULL,'61858',NULL,1228,40.121098,-87.74657,0,NULL,NULL,64), - (149,190,1,1,0,'312Y Second Rd N',312,'Y',NULL,'Second','Rd','N',NULL,NULL,NULL,NULL,'Oakwood',1,1012,NULL,'61858',NULL,1228,40.121098,-87.74657,0,NULL,NULL,64), - (150,88,1,1,0,'312Y Second Rd N',312,'Y',NULL,'Second','Rd','N',NULL,NULL,NULL,NULL,'Oakwood',1,1012,NULL,'61858',NULL,1228,40.121098,-87.74657,0,NULL,NULL,64), - (151,96,1,0,0,'53Y Maple Rd E',53,'Y',NULL,'Maple','Rd','E',NULL,NULL,NULL,NULL,'Whitten',1,1014,NULL,'50269',NULL,1228,42.261478,-93.00738,0,NULL,NULL,65), - (152,77,1,1,0,'53Y Maple Rd E',53,'Y',NULL,'Maple','Rd','E',NULL,NULL,NULL,NULL,'Whitten',1,1014,NULL,'50269',NULL,1228,42.261478,-93.00738,0,NULL,NULL,65), - (153,53,1,1,0,'53Y Maple Rd E',53,'Y',NULL,'Maple','Rd','E',NULL,NULL,NULL,NULL,'Whitten',1,1014,NULL,'50269',NULL,1228,42.261478,-93.00738,0,NULL,NULL,65), - (154,123,1,1,0,'53Y Maple Rd E',53,'Y',NULL,'Maple','Rd','E',NULL,NULL,NULL,NULL,'Whitten',1,1014,NULL,'50269',NULL,1228,42.261478,-93.00738,0,NULL,NULL,65), - (155,148,1,1,0,'858J Dowlen Pl W',858,'J',NULL,'Dowlen','Pl','W',NULL,NULL,NULL,NULL,'Huntingdon Valley',1,1037,NULL,'19006',NULL,1228,40.129509,-75.06115,0,NULL,NULL,66), - (156,186,1,1,0,'858J Dowlen Pl W',858,'J',NULL,'Dowlen','Pl','W',NULL,NULL,NULL,NULL,'Huntingdon Valley',1,1037,NULL,'19006',NULL,1228,40.129509,-75.06115,0,NULL,NULL,66), - (157,36,1,1,0,'858J Dowlen Pl W',858,'J',NULL,'Dowlen','Pl','W',NULL,NULL,NULL,NULL,'Huntingdon Valley',1,1037,NULL,'19006',NULL,1228,40.129509,-75.06115,0,NULL,NULL,66), - (158,71,1,1,0,'773V Cadell Ln N',773,'V',NULL,'Cadell','Ln','N',NULL,NULL,NULL,NULL,'Milton',1,1014,NULL,'52570',NULL,1228,40.679958,-92.162,0,NULL,NULL,NULL), - (159,97,1,0,0,'472Q Beech Path N',472,'Q',NULL,'Beech','Path','N',NULL,NULL,NULL,NULL,'Lorena',1,1042,NULL,'76655',NULL,1228,31.393062,-97.16178,0,NULL,NULL,67), - (160,5,1,0,0,'472Q Beech Path N',472,'Q',NULL,'Beech','Path','N',NULL,NULL,NULL,NULL,'Lorena',1,1042,NULL,'76655',NULL,1228,31.393062,-97.16178,0,NULL,NULL,67), - (161,107,1,1,0,'472Q Beech Path N',472,'Q',NULL,'Beech','Path','N',NULL,NULL,NULL,NULL,'Lorena',1,1042,NULL,'76655',NULL,1228,31.393062,-97.16178,0,NULL,NULL,67), - (162,26,1,1,0,'472Q Beech Path N',472,'Q',NULL,'Beech','Path','N',NULL,NULL,NULL,NULL,'Lorena',1,1042,NULL,'76655',NULL,1228,31.393062,-97.16178,0,NULL,NULL,67), - (163,139,1,1,0,'18O Pine Dr E',18,'O',NULL,'Pine','Dr','E',NULL,NULL,NULL,NULL,'Hingham',1,1025,NULL,'59528',NULL,1228,48.555089,-110.41769,0,NULL,NULL,68), - (164,60,1,1,0,'18O Pine Dr E',18,'O',NULL,'Pine','Dr','E',NULL,NULL,NULL,NULL,'Hingham',1,1025,NULL,'59528',NULL,1228,48.555089,-110.41769,0,NULL,NULL,68), - (165,122,1,0,0,'18O Pine Dr E',18,'O',NULL,'Pine','Dr','E',NULL,NULL,NULL,NULL,'Hingham',1,1025,NULL,'59528',NULL,1228,48.555089,-110.41769,0,NULL,NULL,68), - (166,104,1,1,0,'18O Pine Dr E',18,'O',NULL,'Pine','Dr','E',NULL,NULL,NULL,NULL,'Hingham',1,1025,NULL,'59528',NULL,1228,48.555089,-110.41769,0,NULL,NULL,68), - (167,93,1,1,0,'69Y El Camino Way N',69,'Y',NULL,'El Camino','Way','N',NULL,NULL,NULL,NULL,'Tempe',1,1002,NULL,'85280',NULL,1228,33.401395,-111.931298,0,NULL,NULL,69), - (168,197,1,1,0,'69Y El Camino Way N',69,'Y',NULL,'El Camino','Way','N',NULL,NULL,NULL,NULL,'Tempe',1,1002,NULL,'85280',NULL,1228,33.401395,-111.931298,0,NULL,NULL,69), - (169,135,1,1,0,'69Y El Camino Way N',69,'Y',NULL,'El Camino','Way','N',NULL,NULL,NULL,NULL,'Tempe',1,1002,NULL,'85280',NULL,1228,33.401395,-111.931298,0,NULL,NULL,69), - (170,101,1,1,0,'285N Green St E',285,'N',NULL,'Green','St','E',NULL,NULL,NULL,NULL,'Ashfield',1,1020,NULL,'01330',NULL,1228,42.521131,-72.81116,0,NULL,NULL,NULL), - (171,40,1,1,0,'300L Green Pl W',300,'L',NULL,'Green','Pl','W',NULL,NULL,NULL,NULL,'Ravena',1,1031,NULL,'12143',NULL,1228,42.46915,-73.82956,0,NULL,NULL,70), - (172,90,1,1,0,'300L Green Pl W',300,'L',NULL,'Green','Pl','W',NULL,NULL,NULL,NULL,'Ravena',1,1031,NULL,'12143',NULL,1228,42.46915,-73.82956,0,NULL,NULL,70), - (173,25,1,1,0,'300L Green Pl W',300,'L',NULL,'Green','Pl','W',NULL,NULL,NULL,NULL,'Ravena',1,1031,NULL,'12143',NULL,1228,42.46915,-73.82956,0,NULL,NULL,70), - (174,16,1,1,0,'642M Bay Dr N',642,'M',NULL,'Bay','Dr','N',NULL,NULL,NULL,NULL,'Glendale Springs',1,1032,NULL,'28629',NULL,1228,36.343002,-81.37502,0,NULL,NULL,NULL), - (175,66,1,1,0,'924C Van Ness Ave NW',924,'C',NULL,'Van Ness','Ave','NW',NULL,NULL,NULL,NULL,'Pomona',1,1029,NULL,'08240',NULL,1228,39.487717,-74.554334,0,NULL,NULL,71), - (176,11,1,1,0,'924C Van Ness Ave NW',924,'C',NULL,'Van Ness','Ave','NW',NULL,NULL,NULL,NULL,'Pomona',1,1029,NULL,'08240',NULL,1228,39.487717,-74.554334,0,NULL,NULL,71), - (177,23,1,1,0,'924C Van Ness Ave NW',924,'C',NULL,'Van Ness','Ave','NW',NULL,NULL,NULL,NULL,'Pomona',1,1029,NULL,'08240',NULL,1228,39.487717,-74.554334,0,NULL,NULL,71), - (178,58,1,1,0,'41L Northpoint Way NE',41,'L',NULL,'Northpoint','Way','NE',NULL,NULL,NULL,NULL,'Revillo',1,1040,NULL,'57259',NULL,1228,45.013469,-96.55366,0,NULL,NULL,NULL), - (179,22,1,1,0,'961N Lincoln Blvd S',961,'N',NULL,'Lincoln','Blvd','S',NULL,NULL,NULL,NULL,'Harlan',1,1013,NULL,'46743',NULL,1228,41.215338,-84.85575,0,NULL,NULL,72), - (180,130,1,1,0,'961N Lincoln Blvd S',961,'N',NULL,'Lincoln','Blvd','S',NULL,NULL,NULL,NULL,'Harlan',1,1013,NULL,'46743',NULL,1228,41.215338,-84.85575,0,NULL,NULL,72), - (181,111,1,1,0,'961N Lincoln Blvd S',961,'N',NULL,'Lincoln','Blvd','S',NULL,NULL,NULL,NULL,'Harlan',1,1013,NULL,'46743',NULL,1228,41.215338,-84.85575,0,NULL,NULL,72), - (182,62,1,1,0,'961N Lincoln Blvd S',961,'N',NULL,'Lincoln','Blvd','S',NULL,NULL,NULL,NULL,'Harlan',1,1013,NULL,'46743',NULL,1228,41.215338,-84.85575,0,NULL,NULL,72), - (183,33,1,0,0,'764I Jackson Pl SW',764,'I',NULL,'Jackson','Pl','SW',NULL,NULL,NULL,NULL,'Clam Gulch',1,1001,NULL,'99568',NULL,1228,60.23458,-151.3934,0,NULL,NULL,73), - (184,110,1,0,0,'764I Jackson Pl SW',764,'I',NULL,'Jackson','Pl','SW',NULL,NULL,NULL,NULL,'Clam Gulch',1,1001,NULL,'99568',NULL,1228,60.23458,-151.3934,0,NULL,NULL,73), - (185,12,1,1,0,'764I Jackson Pl SW',764,'I',NULL,'Jackson','Pl','SW',NULL,NULL,NULL,NULL,'Clam Gulch',1,1001,NULL,'99568',NULL,1228,60.23458,-151.3934,0,NULL,NULL,73), - (186,61,1,1,0,'890W Cadell St SE',890,'W',NULL,'Cadell','St','SE',NULL,NULL,NULL,NULL,'Brocton',1,1012,NULL,'61917',NULL,1228,39.706131,-87.91691,0,NULL,NULL,NULL), - (187,NULL,1,1,1,'14S El Camino Way E',14,'S',NULL,'El Camino','Way',NULL,NULL,NULL,NULL,NULL,'Collinsville',NULL,1006,NULL,'6022',NULL,1228,41.8328,-72.9253,0,NULL,NULL,NULL), - (188,NULL,1,1,1,'11B Woodbridge Path SW',11,'B',NULL,'Woodbridge','Path',NULL,NULL,NULL,NULL,NULL,'Dayton',NULL,1034,NULL,'45417',NULL,1228,39.7531,-84.2471,0,NULL,NULL,NULL), - (189,NULL,1,1,1,'581O Lincoln Dr SW',581,'O',NULL,'Lincoln','Dr',NULL,NULL,NULL,NULL,NULL,'Santa Fe',NULL,1030,NULL,'87594',NULL,1228,35.5212,-105.982,0,NULL,NULL,NULL); + (1,146,1,1,0,'813P Green Ave N',813,'P',NULL,'Green','Ave','N',NULL,NULL,NULL,NULL,'South Pittsburg',1,1041,NULL,'37380',NULL,1228,35.045886,-85.72513,0,NULL,NULL,NULL), + (2,21,1,1,0,'784F Northpoint Dr SW',784,'F',NULL,'Northpoint','Dr','SW',NULL,NULL,NULL,NULL,'Wacissa',1,1008,NULL,'32361',NULL,1228,30.357761,-83.98882,0,NULL,NULL,NULL), + (3,115,1,1,0,'174S Cadell Pl SW',174,'S',NULL,'Cadell','Pl','SW',NULL,NULL,NULL,NULL,'Savannah',1,1009,NULL,'31498',NULL,1228,31.971394,-81.07156,0,NULL,NULL,NULL), + (4,152,1,1,0,'414O Caulder Ave N',414,'O',NULL,'Caulder','Ave','N',NULL,NULL,NULL,NULL,'Fort Lauderdale',1,1008,NULL,'33309',NULL,1228,26.185461,-80.17218,0,NULL,NULL,NULL), + (5,138,1,1,0,'76B Second Pl NW',76,'B',NULL,'Second','Pl','NW',NULL,NULL,NULL,NULL,'Forest',1,1034,NULL,'45843',NULL,1228,40.782854,-83.52862,0,NULL,NULL,NULL), + (6,71,1,1,0,'1H Lincoln Blvd SW',1,'H',NULL,'Lincoln','Blvd','SW',NULL,NULL,NULL,NULL,'Oakhurst',1,1004,NULL,'93644',NULL,1228,37.405699,-119.56754,0,NULL,NULL,NULL), + (7,110,1,1,0,'687J El Camino Dr NW',687,'J',NULL,'El Camino','Dr','NW',NULL,NULL,NULL,NULL,'Pleasant Valley',1,1045,NULL,'22848',NULL,1228,38.384681,-78.891422,0,NULL,NULL,NULL), + (8,4,1,1,0,'255M Pine Dr SW',255,'M',NULL,'Pine','Dr','SW',NULL,NULL,NULL,NULL,'Washington',1,1050,NULL,'20223',NULL,1228,38.893311,-77.014647,0,NULL,NULL,NULL), + (9,49,1,1,0,'243J Van Ness Blvd N',243,'J',NULL,'Van Ness','Blvd','N',NULL,NULL,NULL,NULL,'Elberon',1,1014,NULL,'52225',NULL,1228,42.011889,-92.32398,0,NULL,NULL,NULL), + (10,150,1,1,0,'747I Caulder St NE',747,'I',NULL,'Caulder','St','NE',NULL,NULL,NULL,NULL,'Encinitas',1,1004,NULL,'92023',NULL,1228,33.016928,-116.846046,0,NULL,NULL,NULL), + (11,153,1,1,0,'57M Jackson St SE',57,'M',NULL,'Jackson','St','SE',NULL,NULL,NULL,NULL,'Paterson',1,1029,NULL,'07524',NULL,1228,40.930398,-74.15829,0,NULL,NULL,NULL), + (12,171,1,1,0,'425E Pine Way W',425,'E',NULL,'Pine','Way','W',NULL,NULL,NULL,NULL,'Lafayette',1,1022,NULL,'56054',NULL,1228,44.431776,-94.37742,0,NULL,NULL,NULL), + (13,135,1,1,0,'477G Bay St S',477,'G',NULL,'Bay','St','S',NULL,NULL,NULL,NULL,'Modest Town',1,1045,NULL,'23412',NULL,1228,37.790415,-75.60347,0,NULL,NULL,NULL), + (14,52,1,1,0,'139D College Blvd W',139,'D',NULL,'College','Blvd','W',NULL,NULL,NULL,NULL,'Brock',1,1026,NULL,'68320',NULL,1228,40.487422,-95.96011,0,NULL,NULL,NULL), + (15,172,1,1,0,'365U States Dr SE',365,'U',NULL,'States','Dr','SE',NULL,NULL,NULL,NULL,'Youngstown',1,1034,NULL,'44505',NULL,1228,41.122524,-80.62043,0,NULL,NULL,NULL), + (16,106,1,1,0,'428V States Path S',428,'V',NULL,'States','Path','S',NULL,NULL,NULL,NULL,'Oxnard',1,1004,NULL,'93033',NULL,1228,34.166933,-119.16113,0,NULL,NULL,NULL), + (17,28,1,1,0,'483I Jackson Ln NW',483,'I',NULL,'Jackson','Ln','NW',NULL,NULL,NULL,NULL,'Sycamore',1,1009,NULL,'31790',NULL,1228,31.652542,-83.57934,0,NULL,NULL,NULL), + (18,31,1,1,0,'524V Lincoln Path S',524,'V',NULL,'Lincoln','Path','S',NULL,NULL,NULL,NULL,'North Lawrence',1,1034,NULL,'44666',NULL,1228,40.840256,-81.62724,0,NULL,NULL,NULL), + (19,108,1,1,0,'130Y Dowlen Ave SW',130,'Y',NULL,'Dowlen','Ave','SW',NULL,NULL,NULL,NULL,'Waconia',1,1022,NULL,'55387',NULL,1228,44.849912,-93.78514,0,NULL,NULL,NULL), + (20,72,1,1,0,'439V Caulder Dr SW',439,'V',NULL,'Caulder','Dr','SW',NULL,NULL,NULL,NULL,'Saint Charles',1,1024,NULL,'63301',NULL,1228,38.808583,-90.50687,0,NULL,NULL,NULL), + (21,123,1,1,0,'732C Van Ness Blvd E',732,'C',NULL,'Van Ness','Blvd','E',NULL,NULL,NULL,NULL,'Mayville',1,1048,NULL,'53050',NULL,1228,43.499518,-88.53911,0,NULL,NULL,NULL), + (22,25,1,1,0,'91T Dowlen St S',91,'T',NULL,'Dowlen','St','S',NULL,NULL,NULL,NULL,'Woodleaf',1,1032,NULL,'27054',NULL,1228,35.787743,-80.59377,0,NULL,NULL,NULL), + (23,27,1,1,0,'765F Woodbridge Way NE',765,'F',NULL,'Woodbridge','Way','NE',NULL,NULL,NULL,NULL,'Benton',1,1023,NULL,'39039',NULL,1228,32.832943,-90.21951,0,NULL,NULL,NULL), + (24,200,1,1,0,'736K Maple Rd S',736,'K',NULL,'Maple','Rd','S',NULL,NULL,NULL,NULL,'Sauquoit',1,1031,NULL,'13456',NULL,1228,43.005669,-75.26202,0,NULL,NULL,NULL), + (25,114,1,1,0,'632D Martin Luther King Ln NW',632,'D',NULL,'Martin Luther King','Ln','NW',NULL,NULL,NULL,NULL,'Jacksonville',1,1008,NULL,'32207',NULL,1228,30.294389,-81.6374,0,NULL,NULL,NULL), + (26,92,1,1,0,'18X Pine Path SW',18,'X',NULL,'Pine','Path','SW',NULL,NULL,NULL,NULL,'Houston',1,1042,NULL,'77055',NULL,1228,29.798877,-95.49629,0,NULL,NULL,NULL), + (27,190,1,1,0,'91B Second Ln SW',91,'B',NULL,'Second','Ln','SW',NULL,NULL,NULL,NULL,'Belle Chasse',1,1017,NULL,'70037',NULL,1228,29.822707,-90.00616,0,NULL,NULL,NULL), + (28,184,1,1,0,'436G Martin Luther King Rd S',436,'G',NULL,'Martin Luther King','Rd','S',NULL,NULL,NULL,NULL,'Prattsville',1,1003,NULL,'72129',NULL,1228,34.330808,-92.54349,0,NULL,NULL,NULL), + (29,163,1,1,0,'36M El Camino Dr NE',36,'M',NULL,'El Camino','Dr','NE',NULL,NULL,NULL,NULL,'Readstown',1,1048,NULL,'54652',NULL,1228,43.454264,-90.76116,0,NULL,NULL,NULL), + (30,91,1,1,0,'378B Northpoint Pl SE',378,'B',NULL,'Northpoint','Pl','SE',NULL,NULL,NULL,NULL,'Omaha',1,1026,NULL,'68134',NULL,1228,41.296748,-96.05181,0,NULL,NULL,NULL), + (31,141,1,1,0,'158A Woodbridge Way W',158,'A',NULL,'Woodbridge','Way','W',NULL,NULL,NULL,NULL,'Lake Worth',1,1008,NULL,'33462',NULL,1228,26.579714,-80.07437,0,NULL,NULL,NULL), + (32,97,1,1,0,'187X Green Rd S',187,'X',NULL,'Green','Rd','S',NULL,NULL,NULL,NULL,'Leoti',1,1015,NULL,'67861',NULL,1228,38.503037,-101.39536,0,NULL,NULL,NULL), + (33,44,1,1,0,'35E States Dr NW',35,'E',NULL,'States','Dr','NW',NULL,NULL,NULL,NULL,'Convent',1,1017,NULL,'70723',NULL,1228,30.063433,-90.84644,0,NULL,NULL,NULL), + (34,66,1,1,0,'234I States St NW',234,'I',NULL,'States','St','NW',NULL,NULL,NULL,NULL,'Coldiron',1,1016,NULL,'40819',NULL,1228,36.827233,-83.4645,0,NULL,NULL,NULL), + (35,75,1,1,0,'183P Northpoint Way N',183,'P',NULL,'Northpoint','Way','N',NULL,NULL,NULL,NULL,'Delray Beach',1,1008,NULL,'33446',NULL,1228,26.452473,-80.16509,0,NULL,NULL,NULL), + (36,65,1,1,0,'399N Martin Luther King Blvd W',399,'N',NULL,'Martin Luther King','Blvd','W',NULL,NULL,NULL,NULL,'Cedar Park',1,1042,NULL,'78613',NULL,1228,30.501272,-97.83087,0,NULL,NULL,NULL), + (37,144,1,1,0,'260R Second Path W',260,'R',NULL,'Second','Path','W',NULL,NULL,NULL,NULL,'Hi Hat',1,1016,NULL,'41636',NULL,1228,37.398774,-82.73257,0,NULL,NULL,NULL), + (38,142,1,1,0,'845N Bay Ave W',845,'N',NULL,'Bay','Ave','W',NULL,NULL,NULL,NULL,'Dayton',1,1034,NULL,'45409',NULL,1228,39.725705,-84.18927,0,NULL,NULL,NULL), + (39,164,1,1,0,'658E El Camino Pl S',658,'E',NULL,'El Camino','Pl','S',NULL,NULL,NULL,NULL,'Saint Louis',1,1024,NULL,'63196',NULL,1228,38.6531,-90.243462,0,NULL,NULL,NULL), + (40,111,1,1,0,'797K Bay Path E',797,'K',NULL,'Bay','Path','E',NULL,NULL,NULL,NULL,'Staplehurst',1,1026,NULL,'68439',NULL,1228,40.996127,-97.2052,0,NULL,NULL,NULL), + (41,99,1,1,0,'156H Northpoint Way NE',156,'H',NULL,'Northpoint','Way','NE',NULL,NULL,NULL,NULL,'Laurel',1,1019,NULL,'20726',NULL,1228,38.833563,-76.877743,0,NULL,NULL,NULL), + (42,104,1,1,0,'856C States Pl N',856,'C',NULL,'States','Pl','N',NULL,NULL,NULL,NULL,'Chapel Hill',1,1032,NULL,'27599',NULL,1228,36.05251,-79.107692,0,NULL,NULL,NULL), + (43,169,1,1,0,'110A Northpoint Ave S',110,'A',NULL,'Northpoint','Ave','S',NULL,NULL,NULL,NULL,'Conway',1,1020,NULL,'01341',NULL,1228,42.508313,-72.70403,0,NULL,NULL,NULL), + (44,196,1,1,0,'14G Van Ness Ave W',14,'G',NULL,'Van Ness','Ave','W',NULL,NULL,NULL,NULL,'Ames',1,1014,NULL,'50014',NULL,1228,42.033235,-93.66741,0,NULL,NULL,NULL), + (45,59,1,1,0,'783Z Second Ave N',783,'Z',NULL,'Second','Ave','N',NULL,NULL,NULL,NULL,'Killeen',1,1042,NULL,'76547',NULL,1228,31.036287,-97.492017,0,NULL,NULL,NULL), + (46,69,1,1,0,'803Y Green Rd SW',803,'Y',NULL,'Green','Rd','SW',NULL,NULL,NULL,NULL,'Swedesburg',1,1014,NULL,'52652',NULL,1228,41.103879,-91.54664,0,NULL,NULL,NULL), + (47,105,1,1,0,'659S Jackson Pl SE',659,'S',NULL,'Jackson','Pl','SE',NULL,NULL,NULL,NULL,'Carson City',1,1027,NULL,'89702',NULL,1228,39.135503,-119.75875,0,NULL,NULL,NULL), + (48,17,1,1,0,'537C Beech Way NE',537,'C',NULL,'Beech','Way','NE',NULL,NULL,NULL,NULL,'Bulpitt',1,1012,NULL,'62517',NULL,1228,39.591537,-89.42755,0,NULL,NULL,NULL), + (49,36,1,1,0,'16T Maple Path W',16,'T',NULL,'Maple','Path','W',NULL,NULL,NULL,NULL,'Jacksonville Beach',1,1008,NULL,'32250',NULL,1228,30.284641,-81.39844,0,NULL,NULL,NULL), + (50,149,1,1,0,'331Q El Camino Way NE',331,'Q',NULL,'El Camino','Way','NE',NULL,NULL,NULL,NULL,'Clanton',1,1000,NULL,'35026',NULL,1228,32.859262,-86.638819,0,NULL,NULL,NULL), + (51,129,1,1,0,'133C Lincoln Rd SE',133,'C',NULL,'Lincoln','Rd','SE',NULL,NULL,NULL,NULL,'Tuscumbia',1,1024,NULL,'65082',NULL,1228,38.217129,-92.43221,0,NULL,NULL,NULL), + (52,3,1,1,0,'593H Bay Pl W',593,'H',NULL,'Bay','Pl','W',NULL,NULL,NULL,NULL,'Stoneville',1,1032,NULL,'27048',NULL,1228,36.47266,-79.90522,0,NULL,NULL,NULL), + (53,19,1,1,0,'798M Beech St NW',798,'M',NULL,'Beech','St','NW',NULL,NULL,NULL,NULL,'Amarillo',1,1042,NULL,'79184',NULL,1228,35.401475,-101.895089,0,NULL,NULL,NULL), + (54,165,1,1,0,'586Z Martin Luther King Ln W',586,'Z',NULL,'Martin Luther King','Ln','W',NULL,NULL,NULL,NULL,'Santa Maria',1,1004,NULL,'93458',NULL,1228,34.956344,-120.45243,0,NULL,NULL,NULL), + (55,43,1,1,0,'348F College Blvd E',348,'F',NULL,'College','Blvd','E',NULL,NULL,NULL,NULL,'Westmont',1,1012,NULL,'60559',NULL,1228,41.795358,-87.97778,0,NULL,NULL,NULL), + (56,122,1,1,0,'261O States Dr S',261,'O',NULL,'States','Dr','S',NULL,NULL,NULL,NULL,'Odessa',1,1042,NULL,'79769',NULL,1228,31.746572,-102.566993,0,NULL,NULL,NULL), + (57,126,1,1,0,'810H Pine Pl NW',810,'H',NULL,'Pine','Pl','NW',NULL,NULL,NULL,NULL,'Pflugerville',1,1042,NULL,'78660',NULL,1228,30.450122,-97.623,0,NULL,NULL,NULL), + (58,86,1,1,0,'30Z Bay Ln SW',30,'Z',NULL,'Bay','Ln','SW',NULL,NULL,NULL,NULL,'Cook Springs',1,1000,NULL,'35052',NULL,1228,33.593115,-86.4084,0,NULL,NULL,NULL), + (59,176,1,1,0,'658A El Camino Pl NW',658,'A',NULL,'El Camino','Pl','NW',NULL,NULL,NULL,NULL,'Taiban',1,1030,NULL,'88134',NULL,1228,34.429099,-103.96633,0,NULL,NULL,NULL), + (60,187,1,1,0,'58U Second Blvd S',58,'U',NULL,'Second','Blvd','S',NULL,NULL,NULL,NULL,'Waverly',1,1008,NULL,'33877',NULL,1228,27.982891,-81.61743,0,NULL,NULL,NULL), + (61,174,1,1,0,'708S Bay Dr SE',708,'S',NULL,'Bay','Dr','SE',NULL,NULL,NULL,NULL,'Acampo',1,1004,NULL,'95220',NULL,1228,38.200193,-121.23505,0,NULL,NULL,NULL), + (62,84,1,1,0,'229C Caulder Pl W',229,'C',NULL,'Caulder','Pl','W',NULL,NULL,NULL,NULL,'Camp Hill',1,1037,NULL,'17089',NULL,1228,40.269738,-76.936046,0,NULL,NULL,NULL), + (63,109,1,1,0,'582I College Rd E',582,'I',NULL,'College','Rd','E',NULL,NULL,NULL,NULL,'Jenkins Bridge',1,1045,NULL,'23399',NULL,1228,37.916218,-75.616754,0,NULL,NULL,NULL), + (64,78,1,1,0,'754P El Camino Path E',754,'P',NULL,'El Camino','Path','E',NULL,NULL,NULL,NULL,'Fairfield',1,1006,NULL,'06890',NULL,1228,41.142754,-73.288247,0,NULL,NULL,NULL), + (65,38,1,1,0,'902N States Pl W',902,'N',NULL,'States','Pl','W',NULL,NULL,NULL,NULL,'Glace',1,1047,NULL,'24942',NULL,1228,37.552029,-80.539672,0,NULL,NULL,NULL), + (66,121,1,1,0,'551F Bay Dr W',551,'F',NULL,'Bay','Dr','W',NULL,NULL,NULL,NULL,'Olivia',1,1032,NULL,'28368',NULL,1228,35.35149,-79.10586,0,NULL,NULL,NULL), + (67,191,3,1,0,'470H Martin Luther King Rd W',470,'H',NULL,'Martin Luther King','Rd','W',NULL,'Subscriptions Dept',NULL,NULL,'Kermit',1,1042,NULL,'79745',NULL,1228,31.847071,-103.08399,0,NULL,NULL,NULL), + (68,111,2,0,0,'470H Martin Luther King Rd W',470,'H',NULL,'Martin Luther King','Rd','W',NULL,'Subscriptions Dept',NULL,NULL,'Kermit',1,1042,NULL,'79745',NULL,1228,31.847071,-103.08399,0,NULL,NULL,67), + (69,101,3,1,0,'781G Cadell Ave NE',781,'G',NULL,'Cadell','Ave','NE',NULL,'c/o OPDC',NULL,NULL,'Washington',1,1050,NULL,'20393',NULL,1228,38.893311,-77.014647,0,NULL,NULL,NULL), + (70,11,3,1,0,'291N Main Pl N',291,'N',NULL,'Main','Pl','N',NULL,'Receiving',NULL,NULL,'Washington',1,1050,NULL,'20412',NULL,1228,38.895261,-77.022098,0,NULL,NULL,NULL), + (71,39,2,1,0,'291N Main Pl N',291,'N',NULL,'Main','Pl','N',NULL,'Receiving',NULL,NULL,'Washington',1,1050,NULL,'20412',NULL,1228,38.895261,-77.022098,0,NULL,NULL,70), + (72,173,3,1,0,'390W Van Ness Rd NE',390,'W',NULL,'Van Ness','Rd','NE',NULL,'Payables Dept.',NULL,NULL,'Sardis',1,1034,NULL,'43946',NULL,1228,39.646462,-80.96151,0,NULL,NULL,NULL), + (73,167,2,1,0,'390W Van Ness Rd NE',390,'W',NULL,'Van Ness','Rd','NE',NULL,'Payables Dept.',NULL,NULL,'Sardis',1,1034,NULL,'43946',NULL,1228,39.646462,-80.96151,0,NULL,NULL,72), + (74,147,3,1,0,'793R Beech Ave SE',793,'R',NULL,'Beech','Ave','SE',NULL,'c/o OPDC',NULL,NULL,'Butte',1,1025,NULL,'59750',NULL,1228,45.946694,-112.6987,0,NULL,NULL,NULL), + (75,88,3,1,0,'923M Maple St NE',923,'M',NULL,'Maple','St','NE',NULL,'Community Relations',NULL,NULL,'Las Vegas',1,1027,NULL,'89145',NULL,1228,36.167731,-115.26791,0,NULL,NULL,NULL), + (76,127,3,1,0,'751Y States St SE',751,'Y',NULL,'States','St','SE',NULL,'Receiving',NULL,NULL,'Hemlock',1,1031,NULL,'14466',NULL,1228,42.787276,-77.58983,0,NULL,NULL,NULL), + (77,181,3,1,0,'398U College Ave N',398,'U',NULL,'College','Ave','N',NULL,'Cuffe Parade',NULL,NULL,'Minneapolis',1,1022,NULL,'55479',NULL,1228,45.015914,-93.47188,0,NULL,NULL,NULL), + (78,128,2,1,0,'398U College Ave N',398,'U',NULL,'College','Ave','N',NULL,'Cuffe Parade',NULL,NULL,'Minneapolis',1,1022,NULL,'55479',NULL,1228,45.015914,-93.47188,0,NULL,NULL,77), + (79,125,3,1,0,'999P Cadell Pl N',999,'P',NULL,'Cadell','Pl','N',NULL,'Attn: Accounting',NULL,NULL,'Lake City',1,1022,NULL,'55041',NULL,1228,44.42278,-92.2948,0,NULL,NULL,NULL), + (80,117,3,1,0,'935M Caulder Rd NW',935,'M',NULL,'Caulder','Rd','NW',NULL,'Payables Dept.',NULL,NULL,'Punxsutawney',1,1037,NULL,'15767',NULL,1228,40.954059,-78.97017,0,NULL,NULL,NULL), + (81,16,2,1,0,'935M Caulder Rd NW',935,'M',NULL,'Caulder','Rd','NW',NULL,'Payables Dept.',NULL,NULL,'Punxsutawney',1,1037,NULL,'15767',NULL,1228,40.954059,-78.97017,0,NULL,NULL,80), + (82,37,3,1,0,'458X Dowlen Ave N',458,'X',NULL,'Dowlen','Ave','N',NULL,'Receiving',NULL,NULL,'Omaha',1,1026,NULL,'68116',NULL,1228,41.294069,-96.15352,0,NULL,NULL,NULL), + (83,136,2,1,0,'458X Dowlen Ave N',458,'X',NULL,'Dowlen','Ave','N',NULL,'Receiving',NULL,NULL,'Omaha',1,1026,NULL,'68116',NULL,1228,41.294069,-96.15352,0,NULL,NULL,82), + (84,179,3,1,0,'285I Bay Pl W',285,'I',NULL,'Bay','Pl','W',NULL,'Mailstop 101',NULL,NULL,'Wakefield',1,1038,NULL,'02880',NULL,1228,41.375317,-71.64393,0,NULL,NULL,NULL), + (85,77,2,1,0,'285I Bay Pl W',285,'I',NULL,'Bay','Pl','W',NULL,'Mailstop 101',NULL,NULL,'Wakefield',1,1038,NULL,'02880',NULL,1228,41.375317,-71.64393,0,NULL,NULL,84), + (86,95,3,1,0,'988C Pine Blvd E',988,'C',NULL,'Pine','Blvd','E',NULL,'Churchgate',NULL,NULL,'Winnemucca',1,1027,NULL,'89445',NULL,1228,41.02951,-117.94402,0,NULL,NULL,NULL), + (87,94,2,1,0,'988C Pine Blvd E',988,'C',NULL,'Pine','Blvd','E',NULL,'Churchgate',NULL,NULL,'Winnemucca',1,1027,NULL,'89445',NULL,1228,41.02951,-117.94402,0,NULL,NULL,86), + (88,166,3,1,0,'466W Beech Way NE',466,'W',NULL,'Beech','Way','NE',NULL,'Churchgate',NULL,NULL,'Sacramento',1,1004,NULL,'94246',NULL,1228,38.377411,-121.444429,0,NULL,NULL,NULL), + (89,89,3,1,0,'568T Maple Way NW',568,'T',NULL,'Maple','Way','NW',NULL,'Receiving',NULL,NULL,'Townsend',1,1048,NULL,'54175',NULL,1228,45.30942,-88.61753,0,NULL,NULL,NULL), + (90,198,2,1,0,'568T Maple Way NW',568,'T',NULL,'Maple','Way','NW',NULL,'Receiving',NULL,NULL,'Townsend',1,1048,NULL,'54175',NULL,1228,45.30942,-88.61753,0,NULL,NULL,89), + (91,60,3,1,0,'55A States Way E',55,'A',NULL,'States','Way','E',NULL,'Donor Relations',NULL,NULL,'Knoxville',1,1041,NULL,'37920',NULL,1228,35.923517,-83.89042,0,NULL,NULL,NULL), + (92,10,3,1,0,'116M Van Ness Pl S',116,'M',NULL,'Van Ness','Pl','S',NULL,'Disbursements',NULL,NULL,'Warwick',1,1038,NULL,'02888',NULL,1228,41.74805,-71.40982,0,NULL,NULL,NULL), + (93,124,3,1,0,'170B Main Rd S',170,'B',NULL,'Main','Rd','S',NULL,'Mailstop 101',NULL,NULL,'Gadsden',1,1000,NULL,'35901',NULL,1228,34.016747,-85.99282,0,NULL,NULL,NULL), + (94,8,3,1,0,'124J Jackson Dr SE',124,'J',NULL,'Jackson','Dr','SE',NULL,'c/o OPDC',NULL,NULL,'Kealakekua',1,1010,NULL,'96750',NULL,1228,19.526845,-155.9215,0,NULL,NULL,NULL), + (95,169,2,0,0,'124J Jackson Dr SE',124,'J',NULL,'Jackson','Dr','SE',NULL,'c/o OPDC',NULL,NULL,'Kealakekua',1,1010,NULL,'96750',NULL,1228,19.526845,-155.9215,0,NULL,NULL,94), + (96,175,3,1,0,'407F Maple Blvd S',407,'F',NULL,'Maple','Blvd','S',NULL,'c/o PO Plus',NULL,NULL,'Trenton',1,1029,NULL,'08695',NULL,1228,40.280531,-74.712018,0,NULL,NULL,NULL), + (97,189,1,1,0,'659S Jackson Pl SE',659,'S',NULL,'Jackson','Pl','SE',NULL,NULL,NULL,NULL,'Carson City',1,1027,NULL,'89702',NULL,1228,39.135503,-119.75875,0,NULL,NULL,47), + (98,178,1,1,0,'659S Jackson Pl SE',659,'S',NULL,'Jackson','Pl','SE',NULL,NULL,NULL,NULL,'Carson City',1,1027,NULL,'89702',NULL,1228,39.135503,-119.75875,0,NULL,NULL,47), + (99,16,1,0,0,'659S Jackson Pl SE',659,'S',NULL,'Jackson','Pl','SE',NULL,NULL,NULL,NULL,'Carson City',1,1027,NULL,'89702',NULL,1228,39.135503,-119.75875,0,NULL,NULL,47), + (100,69,1,0,0,'659S Jackson Pl SE',659,'S',NULL,'Jackson','Pl','SE',NULL,NULL,NULL,NULL,'Carson City',1,1027,NULL,'89702',NULL,1228,39.135503,-119.75875,0,NULL,NULL,47), + (101,94,1,0,0,'537C Beech Way NE',537,'C',NULL,'Beech','Way','NE',NULL,NULL,NULL,NULL,'Bulpitt',1,1012,NULL,'62517',NULL,1228,39.591537,-89.42755,0,NULL,NULL,48), + (102,85,1,1,0,'537C Beech Way NE',537,'C',NULL,'Beech','Way','NE',NULL,NULL,NULL,NULL,'Bulpitt',1,1012,NULL,'62517',NULL,1228,39.591537,-89.42755,0,NULL,NULL,48), + (103,107,1,1,0,'537C Beech Way NE',537,'C',NULL,'Beech','Way','NE',NULL,NULL,NULL,NULL,'Bulpitt',1,1012,NULL,'62517',NULL,1228,39.591537,-89.42755,0,NULL,NULL,48), + (104,57,1,1,0,'505Q Caulder Path S',505,'Q',NULL,'Caulder','Path','S',NULL,NULL,NULL,NULL,'Eugene',1,1036,NULL,'97405',NULL,1228,44.004396,-123.12203,0,NULL,NULL,NULL), + (105,41,1,1,0,'16T Maple Path W',16,'T',NULL,'Maple','Path','W',NULL,NULL,NULL,NULL,'Jacksonville Beach',1,1008,NULL,'32250',NULL,1228,30.284641,-81.39844,0,NULL,NULL,49), + (106,140,1,1,0,'16T Maple Path W',16,'T',NULL,'Maple','Path','W',NULL,NULL,NULL,NULL,'Jacksonville Beach',1,1008,NULL,'32250',NULL,1228,30.284641,-81.39844,0,NULL,NULL,49), + (107,34,1,1,0,'16T Maple Path W',16,'T',NULL,'Maple','Path','W',NULL,NULL,NULL,NULL,'Jacksonville Beach',1,1008,NULL,'32250',NULL,1228,30.284641,-81.39844,0,NULL,NULL,49), + (108,23,1,1,0,'973W El Camino Blvd W',973,'W',NULL,'El Camino','Blvd','W',NULL,NULL,NULL,NULL,'Lakehurst',1,1029,NULL,'08733',NULL,1228,40.017117,-74.30491,0,NULL,NULL,NULL), + (109,13,1,1,0,'331Q El Camino Way NE',331,'Q',NULL,'El Camino','Way','NE',NULL,NULL,NULL,NULL,'Clanton',1,1000,NULL,'35026',NULL,1228,32.859262,-86.638819,0,NULL,NULL,50), + (110,62,1,1,0,'331Q El Camino Way NE',331,'Q',NULL,'El Camino','Way','NE',NULL,NULL,NULL,NULL,'Clanton',1,1000,NULL,'35026',NULL,1228,32.859262,-86.638819,0,NULL,NULL,50), + (111,2,1,1,0,'331Q El Camino Way NE',331,'Q',NULL,'El Camino','Way','NE',NULL,NULL,NULL,NULL,'Clanton',1,1000,NULL,'35026',NULL,1228,32.859262,-86.638819,0,NULL,NULL,50), + (112,5,1,1,0,'331Q El Camino Way NE',331,'Q',NULL,'El Camino','Way','NE',NULL,NULL,NULL,NULL,'Clanton',1,1000,NULL,'35026',NULL,1228,32.859262,-86.638819,0,NULL,NULL,50), + (113,47,1,1,0,'133C Lincoln Rd SE',133,'C',NULL,'Lincoln','Rd','SE',NULL,NULL,NULL,NULL,'Tuscumbia',1,1024,NULL,'65082',NULL,1228,38.217129,-92.43221,0,NULL,NULL,51), + (114,46,1,1,0,'133C Lincoln Rd SE',133,'C',NULL,'Lincoln','Rd','SE',NULL,NULL,NULL,NULL,'Tuscumbia',1,1024,NULL,'65082',NULL,1228,38.217129,-92.43221,0,NULL,NULL,51), + (115,103,1,1,0,'133C Lincoln Rd SE',133,'C',NULL,'Lincoln','Rd','SE',NULL,NULL,NULL,NULL,'Tuscumbia',1,1024,NULL,'65082',NULL,1228,38.217129,-92.43221,0,NULL,NULL,51), + (116,162,1,1,0,'526L College Ave NE',526,'L',NULL,'College','Ave','NE',NULL,NULL,NULL,NULL,'Alpharetta',1,1009,NULL,'30009',NULL,1228,33.844371,-84.47405,0,NULL,NULL,NULL), + (117,24,1,1,0,'593H Bay Pl W',593,'H',NULL,'Bay','Pl','W',NULL,NULL,NULL,NULL,'Stoneville',1,1032,NULL,'27048',NULL,1228,36.47266,-79.90522,0,NULL,NULL,52), + (118,112,1,1,0,'593H Bay Pl W',593,'H',NULL,'Bay','Pl','W',NULL,NULL,NULL,NULL,'Stoneville',1,1032,NULL,'27048',NULL,1228,36.47266,-79.90522,0,NULL,NULL,52), + (119,151,1,1,0,'593H Bay Pl W',593,'H',NULL,'Bay','Pl','W',NULL,NULL,NULL,NULL,'Stoneville',1,1032,NULL,'27048',NULL,1228,36.47266,-79.90522,0,NULL,NULL,52), + (120,118,1,1,0,'593H Bay Pl W',593,'H',NULL,'Bay','Pl','W',NULL,NULL,NULL,NULL,'Stoneville',1,1032,NULL,'27048',NULL,1228,36.47266,-79.90522,0,NULL,NULL,52), + (121,155,1,1,0,'798M Beech St NW',798,'M',NULL,'Beech','St','NW',NULL,NULL,NULL,NULL,'Amarillo',1,1042,NULL,'79184',NULL,1228,35.401475,-101.895089,0,NULL,NULL,53), + (122,193,1,1,0,'798M Beech St NW',798,'M',NULL,'Beech','St','NW',NULL,NULL,NULL,NULL,'Amarillo',1,1042,NULL,'79184',NULL,1228,35.401475,-101.895089,0,NULL,NULL,53), + (123,9,1,1,0,'798M Beech St NW',798,'M',NULL,'Beech','St','NW',NULL,NULL,NULL,NULL,'Amarillo',1,1042,NULL,'79184',NULL,1228,35.401475,-101.895089,0,NULL,NULL,53), + (124,70,1,1,0,'798M Beech St NW',798,'M',NULL,'Beech','St','NW',NULL,NULL,NULL,NULL,'Amarillo',1,1042,NULL,'79184',NULL,1228,35.401475,-101.895089,0,NULL,NULL,53), + (125,15,1,1,0,'586Z Martin Luther King Ln W',586,'Z',NULL,'Martin Luther King','Ln','W',NULL,NULL,NULL,NULL,'Santa Maria',1,1004,NULL,'93458',NULL,1228,34.956344,-120.45243,0,NULL,NULL,54), + (126,186,1,1,0,'586Z Martin Luther King Ln W',586,'Z',NULL,'Martin Luther King','Ln','W',NULL,NULL,NULL,NULL,'Santa Maria',1,1004,NULL,'93458',NULL,1228,34.956344,-120.45243,0,NULL,NULL,54), + (127,188,1,1,0,'586Z Martin Luther King Ln W',586,'Z',NULL,'Martin Luther King','Ln','W',NULL,NULL,NULL,NULL,'Santa Maria',1,1004,NULL,'93458',NULL,1228,34.956344,-120.45243,0,NULL,NULL,54), + (128,58,1,1,0,'300S Dowlen Dr NW',300,'S',NULL,'Dowlen','Dr','NW',NULL,NULL,NULL,NULL,'York Beach',1,1018,NULL,'03910',NULL,1228,43.211674,-70.73201,0,NULL,NULL,NULL), + (129,137,1,1,0,'348F College Blvd E',348,'F',NULL,'College','Blvd','E',NULL,NULL,NULL,NULL,'Westmont',1,1012,NULL,'60559',NULL,1228,41.795358,-87.97778,0,NULL,NULL,55), + (130,45,1,1,0,'348F College Blvd E',348,'F',NULL,'College','Blvd','E',NULL,NULL,NULL,NULL,'Westmont',1,1012,NULL,'60559',NULL,1228,41.795358,-87.97778,0,NULL,NULL,55), + (131,145,1,1,0,'348F College Blvd E',348,'F',NULL,'College','Blvd','E',NULL,NULL,NULL,NULL,'Westmont',1,1012,NULL,'60559',NULL,1228,41.795358,-87.97778,0,NULL,NULL,55), + (132,22,1,1,0,'499G Jackson Path S',499,'G',NULL,'Jackson','Path','S',NULL,NULL,NULL,NULL,'Barberville',1,1008,NULL,'32105',NULL,1228,29.200508,-81.406458,0,NULL,NULL,NULL), + (133,143,1,1,0,'261O States Dr S',261,'O',NULL,'States','Dr','S',NULL,NULL,NULL,NULL,'Odessa',1,1042,NULL,'79769',NULL,1228,31.746572,-102.566993,0,NULL,NULL,56), + (134,116,1,1,0,'261O States Dr S',261,'O',NULL,'States','Dr','S',NULL,NULL,NULL,NULL,'Odessa',1,1042,NULL,'79769',NULL,1228,31.746572,-102.566993,0,NULL,NULL,56), + (135,83,1,1,0,'261O States Dr S',261,'O',NULL,'States','Dr','S',NULL,NULL,NULL,NULL,'Odessa',1,1042,NULL,'79769',NULL,1228,31.746572,-102.566993,0,NULL,NULL,56), + (136,159,1,1,0,'148B Lincoln Ave SW',148,'B',NULL,'Lincoln','Ave','SW',NULL,NULL,NULL,NULL,'Southfield',1,1021,NULL,'48086',NULL,1228,42.660091,-83.3863,0,NULL,NULL,NULL), + (137,130,1,1,0,'810H Pine Pl NW',810,'H',NULL,'Pine','Pl','NW',NULL,NULL,NULL,NULL,'Pflugerville',1,1042,NULL,'78660',NULL,1228,30.450122,-97.623,0,NULL,NULL,57), + (138,192,1,1,0,'810H Pine Pl NW',810,'H',NULL,'Pine','Pl','NW',NULL,NULL,NULL,NULL,'Pflugerville',1,1042,NULL,'78660',NULL,1228,30.450122,-97.623,0,NULL,NULL,57), + (139,68,1,1,0,'810H Pine Pl NW',810,'H',NULL,'Pine','Pl','NW',NULL,NULL,NULL,NULL,'Pflugerville',1,1042,NULL,'78660',NULL,1228,30.450122,-97.623,0,NULL,NULL,57), + (140,148,1,1,0,'609C Main Ave N',609,'C',NULL,'Main','Ave','N',NULL,NULL,NULL,NULL,'Hackensack',1,1029,NULL,'07602',NULL,1228,40.948054,-74.083231,0,NULL,NULL,NULL), + (141,18,1,1,0,'30Z Bay Ln SW',30,'Z',NULL,'Bay','Ln','SW',NULL,NULL,NULL,NULL,'Cook Springs',1,1000,NULL,'35052',NULL,1228,33.593115,-86.4084,0,NULL,NULL,58), + (142,158,1,1,0,'30Z Bay Ln SW',30,'Z',NULL,'Bay','Ln','SW',NULL,NULL,NULL,NULL,'Cook Springs',1,1000,NULL,'35052',NULL,1228,33.593115,-86.4084,0,NULL,NULL,58), + (143,136,1,0,0,'30Z Bay Ln SW',30,'Z',NULL,'Bay','Ln','SW',NULL,NULL,NULL,NULL,'Cook Springs',1,1000,NULL,'35052',NULL,1228,33.593115,-86.4084,0,NULL,NULL,58), + (144,139,1,1,0,'633L Northpoint St NW',633,'L',NULL,'Northpoint','St','NW',NULL,NULL,NULL,NULL,'Miami',1,1008,NULL,'33159',NULL,1228,25.558428,-80.458168,0,NULL,NULL,NULL), + (145,40,1,1,0,'658A El Camino Pl NW',658,'A',NULL,'El Camino','Pl','NW',NULL,NULL,NULL,NULL,'Taiban',1,1030,NULL,'88134',NULL,1228,34.429099,-103.96633,0,NULL,NULL,59), + (146,63,1,1,0,'658A El Camino Pl NW',658,'A',NULL,'El Camino','Pl','NW',NULL,NULL,NULL,NULL,'Taiban',1,1030,NULL,'88134',NULL,1228,34.429099,-103.96633,0,NULL,NULL,59), + (147,194,1,1,0,'658A El Camino Pl NW',658,'A',NULL,'El Camino','Pl','NW',NULL,NULL,NULL,NULL,'Taiban',1,1030,NULL,'88134',NULL,1228,34.429099,-103.96633,0,NULL,NULL,59), + (148,128,1,0,0,'658A El Camino Pl NW',658,'A',NULL,'El Camino','Pl','NW',NULL,NULL,NULL,NULL,'Taiban',1,1030,NULL,'88134',NULL,1228,34.429099,-103.96633,0,NULL,NULL,59), + (149,119,1,1,0,'58U Second Blvd S',58,'U',NULL,'Second','Blvd','S',NULL,NULL,NULL,NULL,'Waverly',1,1008,NULL,'33877',NULL,1228,27.982891,-81.61743,0,NULL,NULL,60), + (150,157,1,1,0,'58U Second Blvd S',58,'U',NULL,'Second','Blvd','S',NULL,NULL,NULL,NULL,'Waverly',1,1008,NULL,'33877',NULL,1228,27.982891,-81.61743,0,NULL,NULL,60), + (151,197,1,1,0,'58U Second Blvd S',58,'U',NULL,'Second','Blvd','S',NULL,NULL,NULL,NULL,'Waverly',1,1008,NULL,'33877',NULL,1228,27.982891,-81.61743,0,NULL,NULL,60), + (152,113,1,1,0,'771E Woodbridge Pl SW',771,'E',NULL,'Woodbridge','Pl','SW',NULL,NULL,NULL,NULL,'Louann',1,1003,NULL,'71751',NULL,1228,33.397936,-92.77116,0,NULL,NULL,NULL), + (153,67,1,1,0,'708S Bay Dr SE',708,'S',NULL,'Bay','Dr','SE',NULL,NULL,NULL,NULL,'Acampo',1,1004,NULL,'95220',NULL,1228,38.200193,-121.23505,0,NULL,NULL,61), + (154,74,1,1,0,'708S Bay Dr SE',708,'S',NULL,'Bay','Dr','SE',NULL,NULL,NULL,NULL,'Acampo',1,1004,NULL,'95220',NULL,1228,38.200193,-121.23505,0,NULL,NULL,61), + (155,32,1,1,0,'708S Bay Dr SE',708,'S',NULL,'Bay','Dr','SE',NULL,NULL,NULL,NULL,'Acampo',1,1004,NULL,'95220',NULL,1228,38.200193,-121.23505,0,NULL,NULL,61), + (156,20,1,1,0,'708S Bay Dr SE',708,'S',NULL,'Bay','Dr','SE',NULL,NULL,NULL,NULL,'Acampo',1,1004,NULL,'95220',NULL,1228,38.200193,-121.23505,0,NULL,NULL,61), + (157,185,1,1,0,'229C Caulder Pl W',229,'C',NULL,'Caulder','Pl','W',NULL,NULL,NULL,NULL,'Camp Hill',1,1037,NULL,'17089',NULL,1228,40.269738,-76.936046,0,NULL,NULL,62), + (158,180,1,1,0,'229C Caulder Pl W',229,'C',NULL,'Caulder','Pl','W',NULL,NULL,NULL,NULL,'Camp Hill',1,1037,NULL,'17089',NULL,1228,40.269738,-76.936046,0,NULL,NULL,62), + (159,54,1,1,0,'229C Caulder Pl W',229,'C',NULL,'Caulder','Pl','W',NULL,NULL,NULL,NULL,'Camp Hill',1,1037,NULL,'17089',NULL,1228,40.269738,-76.936046,0,NULL,NULL,62), + (160,120,1,1,0,'229C Caulder Pl W',229,'C',NULL,'Caulder','Pl','W',NULL,NULL,NULL,NULL,'Camp Hill',1,1037,NULL,'17089',NULL,1228,40.269738,-76.936046,0,NULL,NULL,62), + (161,132,1,1,0,'582I College Rd E',582,'I',NULL,'College','Rd','E',NULL,NULL,NULL,NULL,'Jenkins Bridge',1,1045,NULL,'23399',NULL,1228,37.916218,-75.616754,0,NULL,NULL,63), + (162,29,1,1,0,'582I College Rd E',582,'I',NULL,'College','Rd','E',NULL,NULL,NULL,NULL,'Jenkins Bridge',1,1045,NULL,'23399',NULL,1228,37.916218,-75.616754,0,NULL,NULL,63), + (163,7,1,1,0,'582I College Rd E',582,'I',NULL,'College','Rd','E',NULL,NULL,NULL,NULL,'Jenkins Bridge',1,1045,NULL,'23399',NULL,1228,37.916218,-75.616754,0,NULL,NULL,63), + (164,198,1,0,0,'582I College Rd E',582,'I',NULL,'College','Rd','E',NULL,NULL,NULL,NULL,'Jenkins Bridge',1,1045,NULL,'23399',NULL,1228,37.916218,-75.616754,0,NULL,NULL,63), + (165,39,1,0,0,'754P El Camino Path E',754,'P',NULL,'El Camino','Path','E',NULL,NULL,NULL,NULL,'Fairfield',1,1006,NULL,'06890',NULL,1228,41.142754,-73.288247,0,NULL,NULL,64), + (166,154,1,1,0,'754P El Camino Path E',754,'P',NULL,'El Camino','Path','E',NULL,NULL,NULL,NULL,'Fairfield',1,1006,NULL,'06890',NULL,1228,41.142754,-73.288247,0,NULL,NULL,64), + (167,96,1,1,0,'754P El Camino Path E',754,'P',NULL,'El Camino','Path','E',NULL,NULL,NULL,NULL,'Fairfield',1,1006,NULL,'06890',NULL,1228,41.142754,-73.288247,0,NULL,NULL,64), + (168,42,1,1,0,'754P El Camino Path E',754,'P',NULL,'El Camino','Path','E',NULL,NULL,NULL,NULL,'Fairfield',1,1006,NULL,'06890',NULL,1228,41.142754,-73.288247,0,NULL,NULL,64), + (169,199,1,1,0,'902N States Pl W',902,'N',NULL,'States','Pl','W',NULL,NULL,NULL,NULL,'Glace',1,1047,NULL,'24942',NULL,1228,37.552029,-80.539672,0,NULL,NULL,65), + (170,48,1,1,0,'902N States Pl W',902,'N',NULL,'States','Pl','W',NULL,NULL,NULL,NULL,'Glace',1,1047,NULL,'24942',NULL,1228,37.552029,-80.539672,0,NULL,NULL,65), + (171,14,1,1,0,'902N States Pl W',902,'N',NULL,'States','Pl','W',NULL,NULL,NULL,NULL,'Glace',1,1047,NULL,'24942',NULL,1228,37.552029,-80.539672,0,NULL,NULL,65), + (172,6,1,1,0,'842F Woodbridge Path W',842,'F',NULL,'Woodbridge','Path','W',NULL,NULL,NULL,NULL,'Mattoon',1,1012,NULL,'61938',NULL,1228,39.474889,-88.37421,0,NULL,NULL,NULL), + (173,182,1,1,0,'551F Bay Dr W',551,'F',NULL,'Bay','Dr','W',NULL,NULL,NULL,NULL,'Olivia',1,1032,NULL,'28368',NULL,1228,35.35149,-79.10586,0,NULL,NULL,66), + (174,30,1,1,0,'551F Bay Dr W',551,'F',NULL,'Bay','Dr','W',NULL,NULL,NULL,NULL,'Olivia',1,1032,NULL,'28368',NULL,1228,35.35149,-79.10586,0,NULL,NULL,66), + (175,131,1,1,0,'551F Bay Dr W',551,'F',NULL,'Bay','Dr','W',NULL,NULL,NULL,NULL,'Olivia',1,1032,NULL,'28368',NULL,1228,35.35149,-79.10586,0,NULL,NULL,66), + (176,160,1,1,0,'551F Bay Dr W',551,'F',NULL,'Bay','Dr','W',NULL,NULL,NULL,NULL,'Olivia',1,1032,NULL,'28368',NULL,1228,35.35149,-79.10586,0,NULL,NULL,66), + (177,NULL,1,1,1,'14S El Camino Way E',14,'S',NULL,'El Camino','Way',NULL,NULL,NULL,NULL,NULL,'Collinsville',NULL,1006,NULL,'6022',NULL,1228,41.8328,-72.9253,0,NULL,NULL,NULL), + (178,NULL,1,1,1,'11B Woodbridge Path SW',11,'B',NULL,'Woodbridge','Path',NULL,NULL,NULL,NULL,NULL,'Dayton',NULL,1034,NULL,'45417',NULL,1228,39.7531,-84.2471,0,NULL,NULL,NULL), + (179,NULL,1,1,1,'581O Lincoln Dr SW',581,'O',NULL,'Lincoln','Dr',NULL,NULL,NULL,NULL,NULL,'Santa Fe',NULL,1030,NULL,'87594',NULL,1228,35.5212,-105.982,0,NULL,NULL,NULL); /*!40000 ALTER TABLE `civicrm_address` ENABLE KEYS */; UNLOCK TABLES; @@ -2078,208 +2057,208 @@ UNLOCK TABLES; LOCK TABLES `civicrm_contact` WRITE; /*!40000 ALTER TABLE `civicrm_contact` DISABLE KEYS */; INSERT INTO `civicrm_contact` (`id`, `contact_type`, `external_identifier`, `display_name`, `organization_name`, `contact_sub_type`, `first_name`, `middle_name`, `last_name`, `do_not_email`, `do_not_phone`, `do_not_mail`, `do_not_sms`, `do_not_trade`, `is_opt_out`, `legal_identifier`, `sort_name`, `nick_name`, `legal_name`, `image_URL`, `preferred_communication_method`, `preferred_language`, `hash`, `api_key`, `source`, `prefix_id`, `suffix_id`, `formal_title`, `communication_style_id`, `email_greeting_id`, `email_greeting_custom`, `email_greeting_display`, `postal_greeting_id`, `postal_greeting_custom`, `postal_greeting_display`, `addressee_id`, `addressee_custom`, `addressee_display`, `job_title`, `gender_id`, `birth_date`, `is_deceased`, `deceased_date`, `household_name`, `primary_contact_id`, `sic_code`, `user_unique_id`, `employer_id`, `is_deleted`, `created_date`, `modified_date`, `preferred_mail_format`) VALUES - (1,'Organization',NULL,'Default Organization','Default Organization',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Default Organization',NULL,'Default Organization',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-04-30 16:20:44','Both'), - (2,'Individual',NULL,'Lashawnda Reynolds',NULL,NULL,'Lashawnda','','Reynolds',1,1,0,0,0,0,NULL,'Reynolds, Lashawnda',NULL,NULL,NULL,NULL,NULL,'935996887',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Lashawnda',1,NULL,'Dear Lashawnda',1,NULL,'Lashawnda Reynolds',NULL,1,'1962-05-18',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:52','Both'), - (3,'Organization',NULL,'Revere Health Fund','Revere Health Fund',NULL,NULL,NULL,NULL,1,0,0,0,0,0,NULL,'Revere Health Fund',NULL,NULL,NULL,NULL,NULL,'2075449416',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Revere Health Fund',NULL,NULL,NULL,0,NULL,NULL,110,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (4,'Individual',NULL,'Winford Deforest',NULL,NULL,'Winford','','Deforest',0,0,0,0,0,0,NULL,'Deforest, Winford',NULL,NULL,NULL,'4',NULL,'2485601167',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Winford',1,NULL,'Dear Winford',1,NULL,'Winford Deforest',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (5,'Individual',NULL,'prentice.lashawnda48@airmail.co.in','Community Family Association',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'prentice.lashawnda48@airmail.co.in',NULL,NULL,NULL,NULL,NULL,'1175575623',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear prentice.lashawnda48@airmail.co.in',1,NULL,'Dear prentice.lashawnda48@airmail.co.in',1,NULL,'prentice.lashawnda48@airmail.co.in',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,167,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (6,'Organization',NULL,'Dickinson Peace Network','Dickinson Peace Network',NULL,NULL,NULL,NULL,0,1,0,0,1,0,NULL,'Dickinson Peace Network',NULL,NULL,NULL,NULL,NULL,'4167988401',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Dickinson Peace Network',NULL,NULL,NULL,0,NULL,NULL,92,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (7,'Household',NULL,'Robertson family',NULL,NULL,NULL,NULL,NULL,0,1,0,0,0,0,NULL,'Robertson family',NULL,NULL,NULL,NULL,NULL,'3444393980',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Robertson family',5,NULL,'Dear Robertson family',2,NULL,'Robertson family',NULL,NULL,NULL,0,NULL,'Robertson family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (8,'Individual',NULL,'Nicole Nielsen',NULL,NULL,'Nicole','','Nielsen',0,0,0,0,0,0,NULL,'Nielsen, Nicole',NULL,NULL,NULL,'1',NULL,'1986505883',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Nicole',1,NULL,'Dear Nicole',1,NULL,'Nicole Nielsen',NULL,1,'2002-05-23',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (9,'Individual',NULL,'Tanya Wilson',NULL,NULL,'Tanya','','Wilson',0,0,0,0,1,0,NULL,'Wilson, Tanya',NULL,NULL,NULL,'2',NULL,'147078466',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Tanya',1,NULL,'Dear Tanya',1,NULL,'Tanya Wilson',NULL,NULL,'1940-01-22',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:52','Both'), - (10,'Individual',NULL,'Rosario DÃaz',NULL,NULL,'Rosario','Z','DÃaz',0,0,0,0,0,0,NULL,'DÃaz, Rosario',NULL,NULL,NULL,NULL,NULL,'1814002832',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Rosario',1,NULL,'Dear Rosario',1,NULL,'Rosario DÃaz',NULL,2,'1957-05-30',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:51','Both'), - (11,'Individual',NULL,'Craig González Sr.',NULL,NULL,'Craig','A','González',1,0,0,0,0,0,NULL,'González, Craig',NULL,NULL,NULL,'1',NULL,'3862517976',NULL,'Sample Data',NULL,2,NULL,NULL,1,NULL,'Dear Craig',1,NULL,'Dear Craig',1,NULL,'Craig González Sr.',NULL,NULL,'2019-11-25',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (12,'Individual',NULL,'Dr. Bob Roberts',NULL,NULL,'Bob','K','Roberts',0,0,0,0,0,0,NULL,'Roberts, Bob',NULL,NULL,NULL,'1',NULL,'1182740119',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Bob',1,NULL,'Dear Bob',1,NULL,'Dr. Bob Roberts',NULL,2,'1994-06-26',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (13,'Individual',NULL,'Betty Robertson',NULL,NULL,'Betty','P','Robertson',0,0,0,0,0,0,NULL,'Robertson, Betty',NULL,NULL,NULL,'2',NULL,'115085752',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Betty',1,NULL,'Dear Betty',1,NULL,'Betty Robertson',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:51','Both'), - (14,'Organization',NULL,'Friars Point Education Services','Friars Point Education Services',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Friars Point Education Services',NULL,NULL,NULL,'5',NULL,'2096129733',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Friars Point Education Services',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (15,'Individual',NULL,'Landon Nielsen III',NULL,NULL,'Landon','Y','Nielsen',0,0,0,0,1,0,NULL,'Nielsen, Landon',NULL,NULL,NULL,'3',NULL,'1226832678',NULL,'Sample Data',NULL,4,NULL,NULL,1,NULL,'Dear Landon',1,NULL,'Dear Landon',1,NULL,'Landon Nielsen III',NULL,NULL,'2017-02-07',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (16,'Individual',NULL,'Dr. Kenny Terrell',NULL,NULL,'Kenny','M','Terrell',0,1,0,0,0,0,NULL,'Terrell, Kenny',NULL,NULL,NULL,'3',NULL,'614922505',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Kenny',1,NULL,'Dear Kenny',1,NULL,'Dr. Kenny Terrell',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (17,'Individual',NULL,'Mrs. Margaret Zope','Jackson Empowerment Association',NULL,'Margaret','','Zope',0,1,0,0,0,0,NULL,'Zope, Margaret',NULL,NULL,NULL,'5',NULL,'3069258940',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Margaret',1,NULL,'Dear Margaret',1,NULL,'Mrs. Margaret Zope',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,156,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (18,'Organization',NULL,'Sierra Empowerment Fund','Sierra Empowerment Fund',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Sierra Empowerment Fund',NULL,NULL,NULL,'4',NULL,'1697590793',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Sierra Empowerment Fund',NULL,NULL,NULL,0,NULL,NULL,31,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (19,'Household',NULL,'Parker family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Parker family',NULL,NULL,NULL,NULL,NULL,'425242179',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Parker family',5,NULL,'Dear Parker family',2,NULL,'Parker family',NULL,NULL,NULL,0,NULL,'Parker family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (20,'Individual',NULL,'Valene Patel',NULL,NULL,'Valene','','Patel',1,0,0,0,0,0,NULL,'Patel, Valene',NULL,NULL,NULL,'3',NULL,'2428544125',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Valene',1,NULL,'Dear Valene',1,NULL,'Valene Patel',NULL,NULL,'1969-10-03',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:51','Both'), - (21,'Individual',NULL,'parkera@example.biz',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'parkera@example.biz',NULL,NULL,NULL,NULL,NULL,'3922026990',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear parkera@example.biz',1,NULL,'Dear parkera@example.biz',1,NULL,'parkera@example.biz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (22,'Individual',NULL,'Valene Yadav',NULL,NULL,'Valene','','Yadav',1,0,0,0,1,0,NULL,'Yadav, Valene',NULL,NULL,NULL,'2',NULL,'2309358283',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Valene',1,NULL,'Dear Valene',1,NULL,'Valene Yadav',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (23,'Individual',NULL,'Mrs. Josefa González',NULL,NULL,'Josefa','','González',0,0,0,0,1,0,NULL,'González, Josefa',NULL,NULL,NULL,NULL,NULL,'892831799',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Josefa',1,NULL,'Dear Josefa',1,NULL,'Mrs. Josefa González',NULL,1,'1987-01-04',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (24,'Household',NULL,'Wagner-Lee family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Wagner-Lee family',NULL,NULL,NULL,NULL,NULL,'3984555441',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Wagner-Lee family',5,NULL,'Dear Wagner-Lee family',2,NULL,'Wagner-Lee family',NULL,NULL,NULL,0,NULL,'Wagner-Lee family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (25,'Individual',NULL,'Jed Terrell',NULL,NULL,'Jed','C','Terrell',0,0,0,0,1,0,NULL,'Terrell, Jed',NULL,NULL,NULL,NULL,NULL,'1773288305',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Jed',1,NULL,'Dear Jed',1,NULL,'Jed Terrell',NULL,2,'1991-03-21',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (26,'Individual',NULL,'Ms. Merrie Prentice',NULL,NULL,'Merrie','H','Prentice',0,1,0,0,0,0,NULL,'Prentice, Merrie',NULL,NULL,NULL,'1',NULL,'3396765714',NULL,'Sample Data',2,NULL,NULL,NULL,1,NULL,'Dear Merrie',1,NULL,'Dear Merrie',1,NULL,'Ms. Merrie Prentice',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (27,'Household',NULL,'Samson family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Samson family',NULL,NULL,NULL,'5',NULL,'333421926',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Samson family',5,NULL,'Dear Samson family',2,NULL,'Samson family',NULL,NULL,NULL,0,NULL,'Samson family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (28,'Individual',NULL,'Brent Samson',NULL,NULL,'Brent','D','Samson',0,1,0,0,1,0,NULL,'Samson, Brent',NULL,NULL,NULL,NULL,NULL,'3338201893',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Brent',1,NULL,'Dear Brent',1,NULL,'Brent Samson',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:52','Both'), - (29,'Individual',NULL,'Esta Wattson','Community Software Center',NULL,'Esta','','Wattson',0,0,0,0,0,0,NULL,'Wattson, Esta',NULL,NULL,NULL,'5',NULL,'1484476563',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Esta',1,NULL,'Dear Esta',1,NULL,'Esta Wattson',NULL,NULL,'1936-12-30',0,NULL,NULL,NULL,NULL,NULL,116,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (30,'Individual',NULL,'Craig ÅÄ…chowski Jr.',NULL,NULL,'Craig','D','ÅÄ…chowski',0,0,0,0,0,0,NULL,'ÅÄ…chowski, Craig',NULL,NULL,NULL,'1',NULL,'2882024881',NULL,'Sample Data',NULL,1,NULL,NULL,1,NULL,'Dear Craig',1,NULL,'Dear Craig',1,NULL,'Craig ÅÄ…chowski Jr.',NULL,2,'1982-05-07',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:52','Both'), - (31,'Individual',NULL,'Mrs. Elizabeth González','Sierra Empowerment Fund',NULL,'Elizabeth','M','González',0,0,0,0,1,0,NULL,'González, Elizabeth',NULL,NULL,NULL,NULL,NULL,'321456431',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Elizabeth',1,NULL,'Dear Elizabeth',1,NULL,'Mrs. Elizabeth González',NULL,1,'1972-11-08',0,NULL,NULL,NULL,NULL,NULL,18,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (32,'Individual',NULL,'kg.nielsen@airmail.co.pl',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'kg.nielsen@airmail.co.pl',NULL,NULL,NULL,NULL,NULL,'1697710118',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear kg.nielsen@airmail.co.pl',1,NULL,'Dear kg.nielsen@airmail.co.pl',1,NULL,'kg.nielsen@airmail.co.pl',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (33,'Individual',NULL,'roberts.mei95@notmail.co.pl','Yorktown Development Partners',NULL,NULL,NULL,NULL,1,0,0,0,0,0,NULL,'roberts.mei95@notmail.co.pl',NULL,NULL,NULL,'1',NULL,'3964900814',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear roberts.mei95@notmail.co.pl',1,NULL,'Dear roberts.mei95@notmail.co.pl',1,NULL,'roberts.mei95@notmail.co.pl',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,125,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (34,'Individual',NULL,'Kacey Barkley',NULL,NULL,'Kacey','','Barkley',1,1,0,0,0,0,NULL,'Barkley, Kacey',NULL,NULL,NULL,NULL,NULL,'2943836442',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Kacey',1,NULL,'Dear Kacey',1,NULL,'Kacey Barkley',NULL,NULL,'1988-05-24',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:51','Both'), - (35,'Individual',NULL,'Jay Müller Sr.',NULL,NULL,'Jay','I','Müller',0,1,0,0,0,0,NULL,'Müller, Jay',NULL,NULL,NULL,NULL,NULL,'1474211624',NULL,'Sample Data',NULL,2,NULL,NULL,1,NULL,'Dear Jay',1,NULL,'Dear Jay',1,NULL,'Jay Müller Sr.',NULL,2,'1965-05-14',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:51','Both'), - (36,'Individual',NULL,'Mrs. Mei Jameson',NULL,NULL,'Mei','','Jameson',0,0,0,0,0,0,NULL,'Jameson, Mei',NULL,NULL,NULL,'3',NULL,'2672585422',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Mei',1,NULL,'Dear Mei',1,NULL,'Mrs. Mei Jameson',NULL,1,'1986-09-22',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (37,'Individual',NULL,'Mrs. Santina Barkley',NULL,NULL,'Santina','','Barkley',0,0,0,0,0,0,NULL,'Barkley, Santina',NULL,NULL,NULL,NULL,NULL,'1386775784',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Santina',1,NULL,'Dear Santina',1,NULL,'Mrs. Santina Barkley',NULL,NULL,'1979-07-17',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (38,'Individual',NULL,'Kathleen Adams',NULL,NULL,'Kathleen','','Adams',0,0,0,0,0,0,NULL,'Adams, Kathleen',NULL,NULL,NULL,'2',NULL,'163700750',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Kathleen',1,NULL,'Dear Kathleen',1,NULL,'Kathleen Adams',NULL,1,'1992-06-18',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (39,'Household',NULL,'González family',NULL,NULL,NULL,NULL,NULL,1,0,0,0,1,0,NULL,'González family',NULL,NULL,NULL,NULL,NULL,'3263723758',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear González family',5,NULL,'Dear González family',2,NULL,'González family',NULL,NULL,NULL,0,NULL,'González family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (40,'Individual',NULL,'Alida Lee-Terrell',NULL,NULL,'Alida','A','Lee-Terrell',0,0,0,0,0,0,NULL,'Lee-Terrell, Alida',NULL,NULL,NULL,NULL,NULL,'1604243482',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Alida',1,NULL,'Dear Alida',1,NULL,'Alida Lee-Terrell',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (41,'Individual',NULL,'Dr. Teddy Cruz Sr.',NULL,NULL,'Teddy','','Cruz',0,0,0,0,0,0,NULL,'Cruz, Teddy',NULL,NULL,NULL,NULL,NULL,'4168723526',NULL,'Sample Data',4,2,NULL,NULL,1,NULL,'Dear Teddy',1,NULL,'Dear Teddy',1,NULL,'Dr. Teddy Cruz Sr.',NULL,2,'1941-06-05',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:51','Both'), - (42,'Individual',NULL,'ccruz@spamalot.co.in','North Carolina Agriculture Initiative',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'ccruz@spamalot.co.in',NULL,NULL,NULL,NULL,NULL,'3345917685',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear ccruz@spamalot.co.in',1,NULL,'Dear ccruz@spamalot.co.in',1,NULL,'ccruz@spamalot.co.in',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,75,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (43,'Individual',NULL,'Dr. Truman Nielsen','Lyons Environmental Association',NULL,'Truman','','Nielsen',0,0,0,0,0,0,NULL,'Nielsen, Truman',NULL,NULL,NULL,'1',NULL,'2542817309',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Truman',1,NULL,'Dear Truman',1,NULL,'Dr. Truman Nielsen',NULL,2,'1986-09-17',0,NULL,NULL,NULL,NULL,NULL,69,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (44,'Individual',NULL,'Mr. Miguel Wagner II',NULL,NULL,'Miguel','W','Wagner',0,0,0,0,0,0,NULL,'Wagner, Miguel',NULL,NULL,NULL,'5',NULL,'422482436',NULL,'Sample Data',3,3,NULL,NULL,1,NULL,'Dear Miguel',1,NULL,'Dear Miguel',1,NULL,'Mr. Miguel Wagner II',NULL,2,'1950-10-16',1,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:51','Both'), - (45,'Individual',NULL,'Mr. Truman Yadav',NULL,NULL,'Truman','N','Yadav',0,0,0,0,0,0,NULL,'Yadav, Truman',NULL,NULL,NULL,NULL,NULL,'3496395384',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Truman',1,NULL,'Dear Truman',1,NULL,'Mr. Truman Yadav',NULL,2,'1960-04-20',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:51','Both'), - (46,'Individual',NULL,'Junko Prentice',NULL,NULL,'Junko','','Prentice',0,0,0,0,0,0,NULL,'Prentice, Junko',NULL,NULL,NULL,NULL,NULL,'1179006212',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Junko',1,NULL,'Dear Junko',1,NULL,'Junko Prentice',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:51','Both'), - (47,'Individual',NULL,'Mr. BrzÄ™czysÅ‚aw Smith Sr.',NULL,NULL,'BrzÄ™czysÅ‚aw','','Smith',0,0,0,0,0,0,NULL,'Smith, BrzÄ™czysÅ‚aw',NULL,NULL,NULL,NULL,NULL,'3764320726',NULL,'Sample Data',3,2,NULL,NULL,1,NULL,'Dear BrzÄ™czysÅ‚aw',1,NULL,'Dear BrzÄ™czysÅ‚aw',1,NULL,'Mr. BrzÄ™czysÅ‚aw Smith Sr.',NULL,NULL,'1994-11-20',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:52','Both'), - (48,'Organization',NULL,'Greensboro Empowerment Collective','Greensboro Empowerment Collective',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Greensboro Empowerment Collective',NULL,NULL,NULL,NULL,NULL,'2403746996',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Greensboro Empowerment Collective',NULL,NULL,NULL,0,NULL,NULL,106,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (49,'Individual',NULL,'Lashawnda Nielsen',NULL,NULL,'Lashawnda','','Nielsen',1,0,0,0,0,0,NULL,'Nielsen, Lashawnda',NULL,NULL,NULL,NULL,NULL,'591811788',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Lashawnda',1,NULL,'Dear Lashawnda',1,NULL,'Lashawnda Nielsen',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (50,'Individual',NULL,'Mr. Lincoln Barkley',NULL,NULL,'Lincoln','','Barkley',0,0,0,0,0,0,NULL,'Barkley, Lincoln',NULL,NULL,NULL,NULL,NULL,'1151829541',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Lincoln',1,NULL,'Dear Lincoln',1,NULL,'Mr. Lincoln Barkley',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:51','Both'), - (51,'Individual',NULL,'wagnert@airmail.info','New Jersey Wellness Trust',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'wagnert@airmail.info',NULL,NULL,NULL,NULL,NULL,'604906791',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear wagnert@airmail.info',1,NULL,'Dear wagnert@airmail.info',1,NULL,'wagnert@airmail.info',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,189,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (52,'Organization',NULL,'Jackson Development Solutions','Jackson Development Solutions',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Jackson Development Solutions',NULL,NULL,NULL,NULL,NULL,'3827343370',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Jackson Development Solutions',NULL,NULL,NULL,0,NULL,NULL,99,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (53,'Individual',NULL,'Lawerence Robertson',NULL,NULL,'Lawerence','H','Robertson',0,0,0,0,1,0,NULL,'Robertson, Lawerence',NULL,NULL,NULL,NULL,NULL,'3742055546',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Lawerence',1,NULL,'Dear Lawerence',1,NULL,'Lawerence Robertson',NULL,NULL,'1986-11-14',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (54,'Individual',NULL,'Ms. Ashlie Terry',NULL,NULL,'Ashlie','','Terry',0,0,0,0,0,0,NULL,'Terry, Ashlie',NULL,NULL,NULL,NULL,NULL,'1408134822',NULL,'Sample Data',2,NULL,NULL,NULL,1,NULL,'Dear Ashlie',1,NULL,'Dear Ashlie',1,NULL,'Ms. Ashlie Terry',NULL,1,'1994-01-14',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:51','Both'), - (55,'Individual',NULL,'Alexia Lee',NULL,NULL,'Alexia','','Lee',0,0,0,0,0,0,NULL,'Lee, Alexia',NULL,NULL,NULL,'5',NULL,'3084747746',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Alexia',1,NULL,'Dear Alexia',1,NULL,'Alexia Lee',NULL,NULL,'1998-12-24',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (56,'Individual',NULL,'Errol Jameson',NULL,NULL,'Errol','O','Jameson',0,0,0,0,0,0,NULL,'Jameson, Errol',NULL,NULL,NULL,NULL,NULL,'4067151192',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Errol',1,NULL,'Dear Errol',1,NULL,'Errol Jameson',NULL,2,'1998-03-11',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:51','Both'), - (57,'Individual',NULL,'Jerome Adams',NULL,NULL,'Jerome','','Adams',0,0,0,0,0,0,NULL,'Adams, Jerome',NULL,NULL,NULL,'1',NULL,'3373636470',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Jerome',1,NULL,'Dear Jerome',1,NULL,'Jerome Adams',NULL,NULL,'1950-12-05',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:51','Both'), - (58,'Individual',NULL,'Toby González',NULL,NULL,'Toby','','González',1,0,0,0,0,0,NULL,'González, Toby',NULL,NULL,NULL,NULL,NULL,'3133453740',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Toby',1,NULL,'Dear Toby',1,NULL,'Toby González',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (59,'Household',NULL,'Terrell family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,1,0,NULL,'Terrell family',NULL,NULL,NULL,NULL,NULL,'1136333121',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Terrell family',5,NULL,'Dear Terrell family',2,NULL,'Terrell family',NULL,NULL,NULL,0,NULL,'Terrell family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (60,'Individual',NULL,'Ms. Esta Ivanov',NULL,NULL,'Esta','','Ivanov',0,1,0,0,0,0,NULL,'Ivanov, Esta',NULL,NULL,NULL,'5',NULL,'3595290803',NULL,'Sample Data',2,NULL,NULL,NULL,1,NULL,'Dear Esta',1,NULL,'Dear Esta',1,NULL,'Ms. Esta Ivanov',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (61,'Individual',NULL,'Kenny Roberts Sr.',NULL,NULL,'Kenny','R','Roberts',0,1,0,0,0,0,NULL,'Roberts, Kenny',NULL,NULL,NULL,NULL,NULL,'438284626',NULL,'Sample Data',NULL,2,NULL,NULL,1,NULL,'Dear Kenny',1,NULL,'Dear Kenny',1,NULL,'Kenny Roberts Sr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (62,'Individual',NULL,'Rebekah Yadav',NULL,NULL,'Rebekah','','Yadav',0,0,0,0,0,0,NULL,'Yadav, Rebekah',NULL,NULL,NULL,NULL,NULL,'790455382',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Rebekah',1,NULL,'Dear Rebekah',1,NULL,'Rebekah Yadav',NULL,1,'1964-06-07',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (63,'Individual',NULL,'Alexia Bachman',NULL,NULL,'Alexia','','Bachman',0,1,0,0,0,0,NULL,'Bachman, Alexia',NULL,NULL,NULL,'3',NULL,'703420300',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Alexia',1,NULL,'Dear Alexia',1,NULL,'Alexia Bachman',NULL,1,'1957-10-24',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:51','Both'), - (64,'Individual',NULL,'Mr. Lawerence McReynolds',NULL,NULL,'Lawerence','','McReynolds',0,0,0,0,0,0,NULL,'McReynolds, Lawerence',NULL,NULL,NULL,'4',NULL,'2918598675',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Lawerence',1,NULL,'Dear Lawerence',1,NULL,'Mr. Lawerence McReynolds',NULL,2,'1996-03-13',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:51','Both'), - (65,'Individual',NULL,'wagnerb@fakemail.net',NULL,NULL,NULL,NULL,NULL,0,1,0,0,0,0,NULL,'wagnerb@fakemail.net',NULL,NULL,NULL,'4',NULL,'2775804180',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear wagnerb@fakemail.net',1,NULL,'Dear wagnerb@fakemail.net',1,NULL,'wagnerb@fakemail.net',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (66,'Individual',NULL,'Dr. Arlyne Wilson-González',NULL,NULL,'Arlyne','X','Wilson-González',0,0,0,0,0,0,NULL,'Wilson-González, Arlyne',NULL,NULL,NULL,NULL,NULL,'2104609372',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Arlyne',1,NULL,'Dear Arlyne',1,NULL,'Dr. Arlyne Wilson-González',NULL,1,'1975-05-14',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (67,'Individual',NULL,'jameson.kathleen@fakemail.co.nz',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'jameson.kathleen@fakemail.co.nz',NULL,NULL,NULL,'1',NULL,'4157108311',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear jameson.kathleen@fakemail.co.nz',1,NULL,'Dear jameson.kathleen@fakemail.co.nz',1,NULL,'jameson.kathleen@fakemail.co.nz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (68,'Individual',NULL,'Mrs. Shauna Patel',NULL,NULL,'Shauna','I','Patel',0,1,0,0,1,0,NULL,'Patel, Shauna',NULL,NULL,NULL,'2',NULL,'607971339',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Shauna',1,NULL,'Dear Shauna',1,NULL,'Mrs. Shauna Patel',NULL,1,'1962-01-07',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:51','Both'), - (69,'Organization',NULL,'Lyons Environmental Association','Lyons Environmental Association',NULL,NULL,NULL,NULL,0,1,0,0,0,0,NULL,'Lyons Environmental Association',NULL,NULL,NULL,NULL,NULL,'3347506899',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Lyons Environmental Association',NULL,NULL,NULL,0,NULL,NULL,43,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (70,'Household',NULL,'Adams family',NULL,NULL,NULL,NULL,NULL,0,1,0,0,0,0,NULL,'Adams family',NULL,NULL,NULL,'2',NULL,'1515323104',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Adams family',5,NULL,'Dear Adams family',2,NULL,'Adams family',NULL,NULL,NULL,0,NULL,'Adams family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:53','Both'), - (71,'Individual',NULL,'Mr. Roland Jameson',NULL,NULL,'Roland','','Jameson',0,1,0,0,0,0,NULL,'Jameson, Roland',NULL,NULL,NULL,NULL,NULL,'4082300659',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Roland',1,NULL,'Dear Roland',1,NULL,'Mr. Roland Jameson',NULL,2,'1967-08-29',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:50','2023-04-30 16:20:54','Both'), - (72,'Individual',NULL,'Sharyn Lee',NULL,NULL,'Sharyn','','Lee',0,0,0,0,0,0,NULL,'Lee, Sharyn',NULL,NULL,NULL,NULL,NULL,'1422629875',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Sharyn',1,NULL,'Dear Sharyn',1,NULL,'Sharyn Lee',NULL,1,'1991-08-12',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (73,'Individual',NULL,'Shad Samson',NULL,NULL,'Shad','G','Samson',0,0,0,0,1,0,NULL,'Samson, Shad',NULL,NULL,NULL,NULL,NULL,'2264259886',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Shad',1,NULL,'Dear Shad',1,NULL,'Shad Samson',NULL,NULL,'1984-05-20',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (74,'Individual',NULL,'Ms. Juliann Robertson','Rural Health Center',NULL,'Juliann','O','Robertson',0,1,0,0,0,0,NULL,'Robertson, Juliann',NULL,NULL,NULL,'2',NULL,'2263807778',NULL,'Sample Data',2,NULL,NULL,NULL,1,NULL,'Dear Juliann',1,NULL,'Dear Juliann',1,NULL,'Ms. Juliann Robertson',NULL,1,'1999-07-18',0,NULL,NULL,NULL,NULL,NULL,158,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (75,'Organization',NULL,'North Carolina Agriculture Initiative','North Carolina Agriculture Initiative',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'North Carolina Agriculture Initiative',NULL,NULL,NULL,NULL,NULL,'4080606586',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'North Carolina Agriculture Initiative',NULL,NULL,NULL,0,NULL,NULL,42,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (76,'Individual',NULL,'Dr. Juliann Samuels',NULL,NULL,'Juliann','','Samuels',0,1,0,0,0,0,NULL,'Samuels, Juliann',NULL,NULL,NULL,NULL,NULL,'3120075857',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Juliann',1,NULL,'Dear Juliann',1,NULL,'Dr. Juliann Samuels',NULL,NULL,'1983-12-20',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (77,'Individual',NULL,'Mr. Erik Robertson',NULL,NULL,'Erik','','Robertson',0,0,0,0,0,0,NULL,'Robertson, Erik',NULL,NULL,NULL,'4',NULL,'2467576767',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Erik',1,NULL,'Dear Erik',1,NULL,'Mr. Erik Robertson',NULL,2,'1984-09-03',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (78,'Individual',NULL,'lawerenceyadav@mymail.co.pl',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'lawerenceyadav@mymail.co.pl',NULL,NULL,NULL,'5',NULL,'1532447615',NULL,'Sample Data',3,3,NULL,NULL,1,NULL,'Dear lawerenceyadav@mymail.co.pl',1,NULL,'Dear lawerenceyadav@mymail.co.pl',1,NULL,'lawerenceyadav@mymail.co.pl',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (79,'Household',NULL,'Ivanov family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Ivanov family',NULL,NULL,NULL,NULL,NULL,'2450779112',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Ivanov family',5,NULL,'Dear Ivanov family',2,NULL,'Ivanov family',NULL,NULL,NULL,0,NULL,'Ivanov family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (80,'Individual',NULL,'Mr. Winford Yadav-González III',NULL,NULL,'Winford','','Yadav-González',1,0,0,0,0,0,NULL,'Yadav-González, Winford',NULL,NULL,NULL,'3',NULL,'4264202221',NULL,'Sample Data',3,4,NULL,NULL,1,NULL,'Dear Winford',1,NULL,'Dear Winford',1,NULL,'Mr. Winford Yadav-González III',NULL,NULL,'1981-02-27',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (81,'Individual',NULL,'grants@testmail.biz',NULL,NULL,NULL,NULL,NULL,0,0,0,0,1,0,NULL,'grants@testmail.biz',NULL,NULL,NULL,'1',NULL,'3516722577',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear grants@testmail.biz',1,NULL,'Dear grants@testmail.biz',1,NULL,'grants@testmail.biz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (82,'Individual',NULL,'Brittney Samson',NULL,NULL,'Brittney','S','Samson',0,0,0,0,0,0,NULL,'Samson, Brittney',NULL,NULL,NULL,NULL,NULL,'3785618142',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Brittney',1,NULL,'Dear Brittney',1,NULL,'Brittney Samson',NULL,1,'2001-01-19',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (83,'Individual',NULL,'Ashley Cooper',NULL,NULL,'Ashley','','Cooper',1,0,0,0,0,0,NULL,'Cooper, Ashley',NULL,NULL,NULL,'3',NULL,'495032298',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Ashley',1,NULL,'Dear Ashley',1,NULL,'Ashley Cooper',NULL,1,'2000-05-01',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (84,'Individual',NULL,'Ms. Eleonor Adams',NULL,NULL,'Eleonor','L','Adams',1,0,0,0,0,0,NULL,'Adams, Eleonor',NULL,NULL,NULL,NULL,NULL,'780665455',NULL,'Sample Data',2,NULL,NULL,NULL,1,NULL,'Dear Eleonor',1,NULL,'Dear Eleonor',1,NULL,'Ms. Eleonor Adams',NULL,1,'1960-11-25',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (85,'Individual',NULL,'Margaret Terrell',NULL,NULL,'Margaret','','Terrell',0,0,0,0,1,0,NULL,'Terrell, Margaret',NULL,NULL,NULL,NULL,NULL,'3427129884',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Margaret',1,NULL,'Dear Margaret',1,NULL,'Margaret Terrell',NULL,NULL,'1943-10-21',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (86,'Household',NULL,'Lee family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Lee family',NULL,NULL,NULL,NULL,NULL,'845831176',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Lee family',5,NULL,'Dear Lee family',2,NULL,'Lee family',NULL,NULL,NULL,0,NULL,'Lee family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (87,'Household',NULL,'Müller family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,1,0,NULL,'Müller family',NULL,NULL,NULL,NULL,NULL,'1144797465',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Müller family',5,NULL,'Dear Müller family',2,NULL,'Müller family',NULL,NULL,NULL,0,NULL,'Müller family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (88,'Individual',NULL,'Mr. Bryon Terry II',NULL,NULL,'Bryon','','Terry',0,1,0,0,0,0,NULL,'Terry, Bryon',NULL,NULL,NULL,'5',NULL,'86438947',NULL,'Sample Data',3,3,NULL,NULL,1,NULL,'Dear Bryon',1,NULL,'Dear Bryon',1,NULL,'Mr. Bryon Terry II',NULL,NULL,'1973-07-18',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (89,'Individual',NULL,'kathleenbarkley@sample.co.in',NULL,NULL,NULL,NULL,NULL,1,0,0,0,1,0,NULL,'kathleenbarkley@sample.co.in',NULL,NULL,NULL,NULL,NULL,'2936651051',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear kathleenbarkley@sample.co.in',1,NULL,'Dear kathleenbarkley@sample.co.in',1,NULL,'kathleenbarkley@sample.co.in',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (90,'Individual',NULL,'Heidi Terrell',NULL,NULL,'Heidi','','Terrell',0,0,0,0,1,0,NULL,'Terrell, Heidi',NULL,NULL,NULL,'1',NULL,'2165403058',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Heidi',1,NULL,'Dear Heidi',1,NULL,'Heidi Terrell',NULL,1,'2002-02-03',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (91,'Individual',NULL,'Juliann Jameson',NULL,NULL,'Juliann','','Jameson',0,0,0,0,0,0,NULL,'Jameson, Juliann',NULL,NULL,NULL,NULL,NULL,'2654217870',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Juliann',1,NULL,'Dear Juliann',1,NULL,'Juliann Jameson',NULL,NULL,'1990-04-16',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (92,'Individual',NULL,'Lincoln Samson','Dickinson Peace Network',NULL,'Lincoln','','Samson',0,0,0,0,0,0,NULL,'Samson, Lincoln',NULL,NULL,NULL,'1',NULL,'1364687804',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Lincoln',1,NULL,'Dear Lincoln',1,NULL,'Lincoln Samson',NULL,2,'1982-08-22',0,NULL,NULL,NULL,NULL,NULL,6,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (93,'Individual',NULL,'Laree Roberts',NULL,NULL,'Laree','T','Roberts',0,1,0,0,0,0,NULL,'Roberts, Laree',NULL,NULL,NULL,NULL,NULL,'3314820485',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Laree',1,NULL,'Dear Laree',1,NULL,'Laree Roberts',NULL,1,'1974-08-29',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (94,'Individual',NULL,'Billy Jones',NULL,NULL,'Billy','','Jones',1,0,0,0,0,0,NULL,'Jones, Billy',NULL,NULL,NULL,NULL,NULL,'1398318930',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Billy',1,NULL,'Dear Billy',1,NULL,'Billy Jones',NULL,2,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (95,'Individual',NULL,'Mr. Rodrigo Jameson II',NULL,NULL,'Rodrigo','','Jameson',0,0,0,0,0,0,NULL,'Jameson, Rodrigo',NULL,NULL,NULL,NULL,NULL,'2012648674',NULL,'Sample Data',3,3,NULL,NULL,1,NULL,'Dear Rodrigo',1,NULL,'Dear Rodrigo',1,NULL,'Mr. Rodrigo Jameson II',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (96,'Individual',NULL,'Kathlyn Robertson','Sierra Family Alliance',NULL,'Kathlyn','W','Robertson',1,0,0,0,0,0,NULL,'Robertson, Kathlyn',NULL,NULL,NULL,'5',NULL,'1571361016',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Kathlyn',1,NULL,'Dear Kathlyn',1,NULL,'Kathlyn Robertson',NULL,NULL,'1975-01-14',0,NULL,NULL,NULL,NULL,NULL,165,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (97,'Individual',NULL,'Nicole Prentice','Main Environmental School',NULL,'Nicole','','Prentice',0,0,0,0,0,0,NULL,'Prentice, Nicole',NULL,NULL,NULL,'5',NULL,'138339105',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Nicole',1,NULL,'Dear Nicole',1,NULL,'Nicole Prentice',NULL,NULL,'1958-03-29',0,NULL,NULL,NULL,NULL,NULL,196,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (98,'Individual',NULL,'Elina Grant',NULL,NULL,'Elina','','Grant',0,0,0,0,0,0,NULL,'Grant, Elina',NULL,NULL,NULL,NULL,NULL,'1935800100',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Elina',1,NULL,'Dear Elina',1,NULL,'Elina Grant',NULL,NULL,'1970-06-14',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (99,'Individual',NULL,'Kacey Roberts','Jackson Development Solutions',NULL,'Kacey','R','Roberts',1,0,0,0,0,0,NULL,'Roberts, Kacey',NULL,NULL,NULL,'4',NULL,'2119265437',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Kacey',1,NULL,'Dear Kacey',1,NULL,'Kacey Roberts',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,52,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (100,'Individual',NULL,'Bernadette Patel',NULL,NULL,'Bernadette','','Patel',1,0,0,0,0,0,NULL,'Patel, Bernadette',NULL,NULL,NULL,NULL,NULL,'2696373355',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Bernadette',1,NULL,'Dear Bernadette',1,NULL,'Bernadette Patel',NULL,NULL,'1994-07-13',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (101,'Individual',NULL,'Mr. Lincoln Roberts Jr.',NULL,NULL,'Lincoln','','Roberts',0,0,0,0,0,0,NULL,'Roberts, Lincoln',NULL,NULL,NULL,NULL,NULL,'1322526002',NULL,'Sample Data',3,1,NULL,NULL,1,NULL,'Dear Lincoln',1,NULL,'Dear Lincoln',1,NULL,'Mr. Lincoln Roberts Jr.',NULL,2,'1962-11-26',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (102,'Individual',NULL,'Bob Lee Sr.',NULL,NULL,'Bob','','Lee',1,0,0,0,0,0,NULL,'Lee, Bob',NULL,NULL,NULL,'1',NULL,'207861481',NULL,'Sample Data',NULL,2,NULL,NULL,1,NULL,'Dear Bob',1,NULL,'Dear Bob',1,NULL,'Bob Lee Sr.',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (103,'Individual',NULL,'Mrs. Alexia McReynolds',NULL,NULL,'Alexia','O','McReynolds',1,1,0,0,1,0,NULL,'McReynolds, Alexia',NULL,NULL,NULL,NULL,NULL,'2956390061',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Alexia',1,NULL,'Dear Alexia',1,NULL,'Mrs. Alexia McReynolds',NULL,1,'1953-01-23',1,'2023-04-16',NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (104,'Individual',NULL,'Bob Ivanov',NULL,NULL,'Bob','','Ivanov',0,0,0,0,0,0,NULL,'Ivanov, Bob',NULL,NULL,NULL,'3',NULL,'2246956398',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Bob',1,NULL,'Dear Bob',1,NULL,'Bob Ivanov',NULL,2,'1976-05-02',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (105,'Individual',NULL,'Bernadette Smith',NULL,NULL,'Bernadette','K','Smith',0,1,0,0,0,0,NULL,'Smith, Bernadette',NULL,NULL,NULL,NULL,NULL,'3613898472',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Bernadette',1,NULL,'Dear Bernadette',1,NULL,'Bernadette Smith',NULL,NULL,'1938-03-12',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (106,'Individual',NULL,'Jay Müller II','Greensboro Empowerment Collective',NULL,'Jay','W','Müller',1,0,0,0,0,0,NULL,'Müller, Jay',NULL,NULL,NULL,NULL,NULL,'1474211624',NULL,'Sample Data',NULL,3,NULL,NULL,1,NULL,'Dear Jay',1,NULL,'Dear Jay',1,NULL,'Jay Müller II',NULL,2,'1969-11-29',0,NULL,NULL,NULL,NULL,NULL,48,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (107,'Individual',NULL,'prentice.s.lou27@example.co.nz',NULL,NULL,NULL,NULL,NULL,0,1,0,0,0,0,NULL,'prentice.s.lou27@example.co.nz',NULL,NULL,NULL,'3',NULL,'2852172716',NULL,'Sample Data',NULL,4,NULL,NULL,1,NULL,'Dear prentice.s.lou27@example.co.nz',1,NULL,'Dear prentice.s.lou27@example.co.nz',1,NULL,'prentice.s.lou27@example.co.nz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (108,'Individual',NULL,'Mr. Ashley Terry-Barkley',NULL,NULL,'Ashley','C','Terry-Barkley',0,0,0,0,0,0,NULL,'Terry-Barkley, Ashley',NULL,NULL,NULL,'1',NULL,'1730033687',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Ashley',1,NULL,'Dear Ashley',1,NULL,'Mr. Ashley Terry-Barkley',NULL,2,'1985-04-20',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (109,'Individual',NULL,'Dr. Craig Samuels',NULL,NULL,'Craig','','Samuels',1,0,0,0,0,0,NULL,'Samuels, Craig',NULL,NULL,NULL,'5',NULL,'810726824',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Craig',1,NULL,'Dear Craig',1,NULL,'Dr. Craig Samuels',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (110,'Individual',NULL,'Megan Roberts','Revere Health Fund',NULL,'Megan','G','Roberts',0,0,0,0,0,0,NULL,'Roberts, Megan',NULL,NULL,NULL,NULL,NULL,'2663769717',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Megan',1,NULL,'Dear Megan',1,NULL,'Megan Roberts',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,3,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (111,'Individual',NULL,'Kandace Yadav',NULL,NULL,'Kandace','N','Yadav',0,0,0,0,0,0,NULL,'Yadav, Kandace',NULL,NULL,NULL,'2',NULL,'2056711888',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Kandace',1,NULL,'Dear Kandace',1,NULL,'Kandace Yadav',NULL,NULL,'1992-11-06',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (112,'Individual',NULL,'Ms. Princess Deforest',NULL,NULL,'Princess','','Deforest',1,0,0,0,0,0,NULL,'Deforest, Princess',NULL,NULL,NULL,NULL,NULL,'1925726838',NULL,'Sample Data',2,NULL,NULL,NULL,1,NULL,'Dear Princess',1,NULL,'Dear Princess',1,NULL,'Ms. Princess Deforest',NULL,1,'1973-09-12',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (113,'Individual',NULL,'Mr. Rodrigo Samson Sr.',NULL,NULL,'Rodrigo','C','Samson',0,0,0,0,1,0,NULL,'Samson, Rodrigo',NULL,NULL,NULL,'5',NULL,'2189738630',NULL,'Sample Data',3,2,NULL,NULL,1,NULL,'Dear Rodrigo',1,NULL,'Dear Rodrigo',1,NULL,'Mr. Rodrigo Samson Sr.',NULL,2,'1965-03-15',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (114,'Individual',NULL,'Rebekah Lee',NULL,NULL,'Rebekah','','Lee',1,1,0,0,0,0,NULL,'Lee, Rebekah',NULL,NULL,NULL,NULL,NULL,'3174434967',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Rebekah',1,NULL,'Dear Rebekah',1,NULL,'Rebekah Lee',NULL,1,'1933-08-12',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (115,'Individual',NULL,'Ms. Josefa Patel',NULL,NULL,'Josefa','','Patel',0,1,0,0,0,0,NULL,'Patel, Josefa',NULL,NULL,NULL,NULL,NULL,'2620051748',NULL,'Sample Data',2,NULL,NULL,NULL,1,NULL,'Dear Josefa',1,NULL,'Dear Josefa',1,NULL,'Ms. Josefa Patel',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (116,'Organization',NULL,'Community Software Center','Community Software Center',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Community Software Center',NULL,NULL,NULL,'2',NULL,'3693376459',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Community Software Center',NULL,NULL,NULL,0,NULL,NULL,29,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (117,'Individual',NULL,'Ivey Terry',NULL,NULL,'Ivey','H','Terry',0,0,0,0,0,0,NULL,'Terry, Ivey',NULL,NULL,NULL,NULL,NULL,'3949102942',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Ivey',1,NULL,'Dear Ivey',1,NULL,'Ivey Terry',NULL,1,'1981-09-12',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (118,'Individual',NULL,'Dr. Brigette Parker',NULL,NULL,'Brigette','','Parker',0,0,0,0,1,0,NULL,'Parker, Brigette',NULL,NULL,NULL,NULL,NULL,'3240001853',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Brigette',1,NULL,'Dear Brigette',1,NULL,'Dr. Brigette Parker',NULL,NULL,'1975-05-05',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (119,'Individual',NULL,'Dr. Norris Jameson',NULL,NULL,'Norris','','Jameson',0,0,0,0,1,0,NULL,'Jameson, Norris',NULL,NULL,NULL,NULL,NULL,'3849460374',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Norris',1,NULL,'Dear Norris',1,NULL,'Dr. Norris Jameson',NULL,2,'1951-06-07',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (120,'Individual',NULL,'Mr. Brent Olsen',NULL,NULL,'Brent','L','Olsen',0,0,0,0,0,0,NULL,'Olsen, Brent',NULL,NULL,NULL,NULL,NULL,'2746838479',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Brent',1,NULL,'Dear Brent',1,NULL,'Mr. Brent Olsen',NULL,2,'1975-06-25',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (121,'Individual',NULL,'Dr. Claudio Nielsen',NULL,NULL,'Claudio','','Nielsen',0,0,0,0,0,0,NULL,'Nielsen, Claudio',NULL,NULL,NULL,NULL,NULL,'3195843704',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Claudio',1,NULL,'Dear Claudio',1,NULL,'Dr. Claudio Nielsen',NULL,2,'1969-02-08',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (122,'Individual',NULL,'Margaret Ivanov','Texas Family Fund',NULL,'Margaret','','Ivanov',0,0,0,0,0,0,NULL,'Ivanov, Margaret',NULL,NULL,NULL,NULL,NULL,'749903567',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Margaret',1,NULL,'Dear Margaret',1,NULL,'Margaret Ivanov',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,140,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (123,'Individual',NULL,'Mrs. Santina Robertson',NULL,NULL,'Santina','X','Robertson',0,0,0,0,0,0,NULL,'Robertson, Santina',NULL,NULL,NULL,NULL,NULL,'2867920569',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Santina',1,NULL,'Dear Santina',1,NULL,'Mrs. Santina Robertson',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (124,'Household',NULL,'Terry-Barkley family',NULL,NULL,NULL,NULL,NULL,1,0,0,0,0,0,NULL,'Terry-Barkley family',NULL,NULL,NULL,NULL,NULL,'3061649681',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Terry-Barkley family',5,NULL,'Dear Terry-Barkley family',2,NULL,'Terry-Barkley family',NULL,NULL,NULL,0,NULL,'Terry-Barkley family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (125,'Organization',NULL,'Yorktown Development Partners','Yorktown Development Partners',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Yorktown Development Partners',NULL,NULL,NULL,NULL,NULL,'296240601',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Yorktown Development Partners',NULL,NULL,NULL,0,NULL,NULL,33,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (126,'Individual',NULL,'elbertchowski@fakemail.net',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'elbertchowski@fakemail.net',NULL,NULL,NULL,NULL,NULL,'3830118199',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear elbertchowski@fakemail.net',1,NULL,'Dear elbertchowski@fakemail.net',1,NULL,'elbertchowski@fakemail.net',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (127,'Individual',NULL,'Mr. Sherman Nielsen',NULL,NULL,'Sherman','','Nielsen',0,0,0,0,0,0,NULL,'Nielsen, Sherman',NULL,NULL,NULL,NULL,NULL,'2590733768',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Sherman',1,NULL,'Dear Sherman',1,NULL,'Mr. Sherman Nielsen',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (128,'Household',NULL,'Roberts family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Roberts family',NULL,NULL,NULL,NULL,NULL,'2097305882',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Roberts family',5,NULL,'Dear Roberts family',2,NULL,'Roberts family',NULL,NULL,NULL,0,NULL,'Roberts family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (129,'Individual',NULL,'Mrs. Alida Jameson',NULL,NULL,'Alida','','Jameson',0,0,0,0,0,0,NULL,'Jameson, Alida',NULL,NULL,NULL,NULL,NULL,'974889683',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Alida',1,NULL,'Dear Alida',1,NULL,'Mrs. Alida Jameson',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (130,'Individual',NULL,'Dr. Elina Yadav',NULL,NULL,'Elina','','Yadav',0,0,0,0,0,0,NULL,'Yadav, Elina',NULL,NULL,NULL,NULL,NULL,'3672729828',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Elina',1,NULL,'Dear Elina',1,NULL,'Dr. Elina Yadav',NULL,NULL,'1994-08-15',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (131,'Individual',NULL,'Jacob Adams III',NULL,NULL,'Jacob','','Adams',0,0,0,0,0,0,NULL,'Adams, Jacob',NULL,NULL,NULL,'2',NULL,'350798769',NULL,'Sample Data',NULL,4,NULL,NULL,1,NULL,'Dear Jacob',1,NULL,'Dear Jacob',1,NULL,'Jacob Adams III',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (132,'Individual',NULL,'Omar Müller',NULL,NULL,'Omar','','Müller',0,0,0,0,0,0,NULL,'Müller, Omar',NULL,NULL,NULL,'5',NULL,'3845396679',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Omar',1,NULL,'Dear Omar',1,NULL,'Omar Müller',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (133,'Individual',NULL,'Jed Müller',NULL,NULL,'Jed','A','Müller',1,0,0,0,0,0,NULL,'Müller, Jed',NULL,NULL,NULL,'1',NULL,'1353975541',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Jed',1,NULL,'Dear Jed',1,NULL,'Jed Müller',NULL,NULL,'2002-07-02',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (134,'Individual',NULL,'Jerome Olsen Sr.',NULL,NULL,'Jerome','','Olsen',0,1,0,0,0,0,NULL,'Olsen, Jerome',NULL,NULL,NULL,NULL,NULL,'2369616352',NULL,'Sample Data',NULL,2,NULL,NULL,1,NULL,'Dear Jerome',1,NULL,'Dear Jerome',1,NULL,'Jerome Olsen Sr.',NULL,2,'1949-01-11',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (135,'Individual',NULL,'Juliann Roberts',NULL,NULL,'Juliann','Z','Roberts',0,0,0,0,0,0,NULL,'Roberts, Juliann',NULL,NULL,NULL,'1',NULL,'1959079524',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Juliann',1,NULL,'Dear Juliann',1,NULL,'Juliann Roberts',NULL,1,'1985-06-23',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (136,'Individual',NULL,'Nicole Prentice',NULL,NULL,'Nicole','J','Prentice',0,0,0,0,0,0,NULL,'Prentice, Nicole',NULL,NULL,NULL,NULL,NULL,'138339105',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Nicole',1,NULL,'Dear Nicole',1,NULL,'Nicole Prentice',NULL,1,'1970-09-07',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (137,'Individual',NULL,'Ms. Felisha Ivanov',NULL,NULL,'Felisha','','Ivanov',1,0,0,0,0,0,NULL,'Ivanov, Felisha',NULL,NULL,NULL,'5',NULL,'1779512588',NULL,'Sample Data',2,NULL,NULL,NULL,1,NULL,'Dear Felisha',1,NULL,'Dear Felisha',1,NULL,'Ms. Felisha Ivanov',NULL,NULL,'1939-08-16',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (138,'Individual',NULL,'Mr. Sherman González Sr.',NULL,NULL,'Sherman','','González',0,0,0,0,0,0,NULL,'González, Sherman',NULL,NULL,NULL,NULL,NULL,'33045013',NULL,'Sample Data',3,2,NULL,NULL,1,NULL,'Dear Sherman',1,NULL,'Dear Sherman',1,NULL,'Mr. Sherman González Sr.',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (139,'Individual',NULL,'Mrs. Nicole Ivanov',NULL,NULL,'Nicole','V','Ivanov',0,0,0,0,0,0,NULL,'Ivanov, Nicole',NULL,NULL,NULL,NULL,NULL,'1759117309',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Nicole',1,NULL,'Dear Nicole',1,NULL,'Mrs. Nicole Ivanov',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (140,'Organization',NULL,'Texas Family Fund','Texas Family Fund',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Texas Family Fund',NULL,NULL,NULL,'5',NULL,'3937317763',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Texas Family Fund',NULL,NULL,NULL,0,NULL,NULL,122,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (141,'Individual',NULL,'jensen.ivey@notmail.net',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'jensen.ivey@notmail.net',NULL,NULL,NULL,'5',NULL,'2544070015',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear jensen.ivey@notmail.net',1,NULL,'Dear jensen.ivey@notmail.net',1,NULL,'jensen.ivey@notmail.net',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (142,'Organization',NULL,'Maple Advocacy Association','Maple Advocacy Association',NULL,NULL,NULL,NULL,1,1,0,0,0,0,NULL,'Maple Advocacy Association',NULL,NULL,NULL,NULL,NULL,'3977482571',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Maple Advocacy Association',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (143,'Individual',NULL,'Jay Bachman III',NULL,NULL,'Jay','','Bachman',1,1,0,0,0,0,NULL,'Bachman, Jay',NULL,NULL,NULL,'2',NULL,'861687925',NULL,'Sample Data',NULL,4,NULL,NULL,1,NULL,'Dear Jay',1,NULL,'Dear Jay',1,NULL,'Jay Bachman III',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (144,'Individual',NULL,'Mr. Claudio Lee',NULL,NULL,'Claudio','','Lee',0,0,0,0,0,0,NULL,'Lee, Claudio',NULL,NULL,NULL,NULL,NULL,'298367996',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Claudio',1,NULL,'Dear Claudio',1,NULL,'Mr. Claudio Lee',NULL,2,'1998-08-31',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (145,'Individual',NULL,'Dr. Sanford Wagner-Lee',NULL,NULL,'Sanford','','Wagner-Lee',0,0,0,0,0,0,NULL,'Wagner-Lee, Sanford',NULL,NULL,NULL,'3',NULL,'1101757445',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Sanford',1,NULL,'Dear Sanford',1,NULL,'Dr. Sanford Wagner-Lee',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (146,'Individual',NULL,'Alexia Barkley-Müller',NULL,NULL,'Alexia','','Barkley-Müller',0,1,0,0,0,0,NULL,'Barkley-Müller, Alexia',NULL,NULL,NULL,NULL,NULL,'2276560240',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Alexia',1,NULL,'Dear Alexia',1,NULL,'Alexia Barkley-Müller',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (147,'Individual',NULL,'shaunap63@testmail.info',NULL,NULL,NULL,NULL,NULL,1,0,0,0,0,0,NULL,'shaunap63@testmail.info',NULL,NULL,NULL,'1',NULL,'1519400650',NULL,'Sample Data',2,NULL,NULL,NULL,1,NULL,'Dear shaunap63@testmail.info',1,NULL,'Dear shaunap63@testmail.info',1,NULL,'shaunap63@testmail.info',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (148,'Individual',NULL,'Mr. Ray Jameson',NULL,NULL,'Ray','P','Jameson',0,0,0,0,0,0,NULL,'Jameson, Ray',NULL,NULL,NULL,'4',NULL,'4058864611',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Ray',1,NULL,'Dear Ray',1,NULL,'Mr. Ray Jameson',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (149,'Household',NULL,'Prentice family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Prentice family',NULL,NULL,NULL,NULL,NULL,'3313623671',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Prentice family',5,NULL,'Dear Prentice family',2,NULL,'Prentice family',NULL,NULL,NULL,0,NULL,'Prentice family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (150,'Individual',NULL,'Dr. Justina Cruz',NULL,NULL,'Justina','','Cruz',0,0,0,0,1,0,NULL,'Cruz, Justina',NULL,NULL,NULL,NULL,NULL,'1402576980',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Justina',1,NULL,'Dear Justina',1,NULL,'Dr. Justina Cruz',NULL,NULL,'1962-09-15',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (151,'Household',NULL,'Jameson family',NULL,NULL,NULL,NULL,NULL,1,0,0,0,0,0,NULL,'Jameson family',NULL,NULL,NULL,'5',NULL,'2255649769',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Jameson family',5,NULL,'Dear Jameson family',2,NULL,'Jameson family',NULL,NULL,NULL,0,NULL,'Jameson family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (152,'Individual',NULL,'Dr. Erik Parker Sr.',NULL,NULL,'Erik','R','Parker',0,0,0,0,0,0,NULL,'Parker, Erik',NULL,NULL,NULL,NULL,NULL,'1036871388',NULL,'Sample Data',4,2,NULL,NULL,1,NULL,'Dear Erik',1,NULL,'Dear Erik',1,NULL,'Dr. Erik Parker Sr.',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (153,'Individual',NULL,'Magan Jensen',NULL,NULL,'Magan','','Jensen',0,0,0,0,0,0,NULL,'Jensen, Magan',NULL,NULL,NULL,NULL,NULL,'1126354572',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Magan',1,NULL,'Dear Magan',1,NULL,'Magan Jensen',NULL,NULL,'1982-10-07',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (154,'Individual',NULL,'terry.heidi@notmail.co.pl',NULL,NULL,NULL,NULL,NULL,0,1,0,0,0,0,NULL,'terry.heidi@notmail.co.pl',NULL,NULL,NULL,'1',NULL,'4040915840',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear terry.heidi@notmail.co.pl',1,NULL,'Dear terry.heidi@notmail.co.pl',1,NULL,'terry.heidi@notmail.co.pl',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (155,'Individual',NULL,'Sanford DÃaz',NULL,NULL,'Sanford','','DÃaz',0,0,0,0,1,0,NULL,'DÃaz, Sanford',NULL,NULL,NULL,'5',NULL,'3755958255',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Sanford',1,NULL,'Dear Sanford',1,NULL,'Sanford DÃaz',NULL,2,'1965-03-28',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (156,'Organization',NULL,'Jackson Empowerment Association','Jackson Empowerment Association',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Jackson Empowerment Association',NULL,NULL,NULL,NULL,NULL,'3217894299',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Jackson Empowerment Association',NULL,NULL,NULL,0,NULL,NULL,17,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (157,'Individual',NULL,'Ms. Sharyn Grant',NULL,NULL,'Sharyn','','Grant',0,0,0,0,0,0,NULL,'Grant, Sharyn',NULL,NULL,NULL,NULL,NULL,'920947472',NULL,'Sample Data',2,NULL,NULL,NULL,1,NULL,'Dear Sharyn',1,NULL,'Dear Sharyn',1,NULL,'Ms. Sharyn Grant',NULL,1,'1942-01-29',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (158,'Organization',NULL,'Rural Health Center','Rural Health Center',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Rural Health Center',NULL,NULL,NULL,'3',NULL,'2868285516',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Rural Health Center',NULL,NULL,NULL,0,NULL,NULL,74,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (159,'Individual',NULL,'Dr. Josefa Samuels',NULL,NULL,'Josefa','A','Samuels',1,0,0,0,0,0,NULL,'Samuels, Josefa',NULL,NULL,NULL,NULL,NULL,'1709478630',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Josefa',1,NULL,'Dear Josefa',1,NULL,'Dr. Josefa Samuels',NULL,NULL,'1971-02-28',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (160,'Individual',NULL,'Ms. Ivey Cruz',NULL,NULL,'Ivey','X','Cruz',0,0,0,0,0,0,NULL,'Cruz, Ivey',NULL,NULL,NULL,NULL,NULL,'3529937009',NULL,'Sample Data',2,NULL,NULL,NULL,1,NULL,'Dear Ivey',1,NULL,'Dear Ivey',1,NULL,'Ms. Ivey Cruz',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (161,'Individual',NULL,'Elina Reynolds',NULL,NULL,'Elina','','Reynolds',0,1,0,0,1,0,NULL,'Reynolds, Elina',NULL,NULL,NULL,NULL,NULL,'1183355061',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Elina',1,NULL,'Dear Elina',1,NULL,'Elina Reynolds',NULL,1,'1983-02-24',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (162,'Household',NULL,'Jameson family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Jameson family',NULL,NULL,NULL,NULL,NULL,'2255649769',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Jameson family',5,NULL,'Dear Jameson family',2,NULL,'Jameson family',NULL,NULL,NULL,0,NULL,'Jameson family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (163,'Individual',NULL,'Dr. Esta Jameson',NULL,NULL,'Esta','','Jameson',0,1,0,0,0,0,NULL,'Jameson, Esta',NULL,NULL,NULL,NULL,NULL,'3062335151',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Esta',1,NULL,'Dear Esta',1,NULL,'Dr. Esta Jameson',NULL,1,'1971-09-02',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (164,'Organization',NULL,'College Technology School','College Technology School',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'College Technology School',NULL,NULL,NULL,'5',NULL,'2642584493',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'College Technology School',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (165,'Organization',NULL,'Sierra Family Alliance','Sierra Family Alliance',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Sierra Family Alliance',NULL,NULL,NULL,'1',NULL,'732424382',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Sierra Family Alliance',NULL,NULL,NULL,0,NULL,NULL,96,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (166,'Individual',NULL,'cruz.maria@spamalot.org',NULL,NULL,NULL,NULL,NULL,0,0,0,0,1,0,NULL,'cruz.maria@spamalot.org',NULL,NULL,NULL,NULL,NULL,'1070281317',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear cruz.maria@spamalot.org',1,NULL,'Dear cruz.maria@spamalot.org',1,NULL,'cruz.maria@spamalot.org',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (167,'Organization',NULL,'Community Family Association','Community Family Association',NULL,NULL,NULL,NULL,0,1,0,0,1,0,NULL,'Community Family Association',NULL,NULL,NULL,'4',NULL,'4263806140',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Community Family Association',NULL,NULL,NULL,0,NULL,NULL,5,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (168,'Individual',NULL,'Winford Wattson',NULL,NULL,'Winford','','Wattson',0,0,0,0,1,0,NULL,'Wattson, Winford',NULL,NULL,NULL,'4',NULL,'2360214443',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Winford',1,NULL,'Dear Winford',1,NULL,'Winford Wattson',NULL,2,NULL,1,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (169,'Individual',NULL,'Rosario Lee II',NULL,NULL,'Rosario','K','Lee',0,0,0,0,0,0,NULL,'Lee, Rosario',NULL,NULL,NULL,NULL,NULL,'2332394944',NULL,'Sample Data',NULL,3,NULL,NULL,1,NULL,'Dear Rosario',1,NULL,'Dear Rosario',1,NULL,'Rosario Lee II',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (170,'Organization',NULL,'Cook Wellness Fund','Cook Wellness Fund',NULL,NULL,NULL,NULL,1,1,0,0,0,0,NULL,'Cook Wellness Fund',NULL,NULL,NULL,NULL,NULL,'4057374170',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Cook Wellness Fund',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (171,'Individual',NULL,'Kandace Jensen',NULL,NULL,'Kandace','Q','Jensen',0,0,0,0,1,0,NULL,'Jensen, Kandace',NULL,NULL,NULL,NULL,NULL,'2339972314',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Kandace',1,NULL,'Dear Kandace',1,NULL,'Kandace Jensen',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (172,'Individual',NULL,'Barry McReynolds',NULL,NULL,'Barry','','McReynolds',0,0,0,0,0,0,NULL,'McReynolds, Barry',NULL,NULL,NULL,'4',NULL,'2733051947',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Barry',1,NULL,'Dear Barry',1,NULL,'Barry McReynolds',NULL,2,'1980-10-10',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (173,'Individual',NULL,'Mr. Erik Terry',NULL,NULL,'Erik','I','Terry',0,0,0,0,0,0,NULL,'Terry, Erik',NULL,NULL,NULL,NULL,NULL,'4189171326',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Erik',1,NULL,'Dear Erik',1,NULL,'Mr. Erik Terry',NULL,2,'1988-01-14',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (174,'Individual',NULL,'Kenny Adams',NULL,NULL,'Kenny','J','Adams',0,0,0,0,0,0,NULL,'Adams, Kenny',NULL,NULL,NULL,NULL,NULL,'1028396712',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Kenny',1,NULL,'Dear Kenny',1,NULL,'Kenny Adams',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (175,'Individual',NULL,'Lawerence Olsen Jr.',NULL,NULL,'Lawerence','','Olsen',1,0,0,0,0,0,NULL,'Olsen, Lawerence',NULL,NULL,NULL,NULL,NULL,'657766378',NULL,'Sample Data',NULL,1,NULL,NULL,1,NULL,'Dear Lawerence',1,NULL,'Dear Lawerence',1,NULL,'Lawerence Olsen Jr.',NULL,2,'1970-04-28',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (176,'Individual',NULL,'Miguel Wagner-Lee',NULL,NULL,'Miguel','','Wagner-Lee',0,1,0,0,0,0,NULL,'Wagner-Lee, Miguel',NULL,NULL,NULL,NULL,NULL,'3393763977',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Miguel',1,NULL,'Dear Miguel',1,NULL,'Miguel Wagner-Lee',NULL,2,'2017-07-20',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (177,'Individual',NULL,'Shad DÃaz',NULL,NULL,'Shad','Z','DÃaz',1,0,0,0,0,0,NULL,'DÃaz, Shad',NULL,NULL,NULL,'5',NULL,'3351645154',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Shad',1,NULL,'Dear Shad',1,NULL,'Shad DÃaz',NULL,2,'1945-05-03',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (178,'Individual',NULL,'Mr. BrzÄ™czysÅ‚aw Lee',NULL,NULL,'BrzÄ™czysÅ‚aw','','Lee',1,0,0,0,0,0,NULL,'Lee, BrzÄ™czysÅ‚aw',NULL,NULL,NULL,'4',NULL,'2392926300',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear BrzÄ™czysÅ‚aw',1,NULL,'Dear BrzÄ™czysÅ‚aw',1,NULL,'Mr. BrzÄ™czysÅ‚aw Lee',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (179,'Individual',NULL,'Iris Yadav-González',NULL,NULL,'Iris','','Yadav-González',1,0,0,0,0,0,NULL,'Yadav-González, Iris',NULL,NULL,NULL,'3',NULL,'2172210154',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Iris',1,NULL,'Dear Iris',1,NULL,'Iris Yadav-González',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (180,'Individual',NULL,'Princess Jacobs',NULL,NULL,'Princess','','Jacobs',0,0,0,0,0,0,NULL,'Jacobs, Princess',NULL,NULL,NULL,'2',NULL,'3977012582',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Princess',1,NULL,'Dear Princess',1,NULL,'Princess Jacobs',NULL,1,'1957-12-01',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (181,'Individual',NULL,'Mr. Roland Wilson Sr.',NULL,NULL,'Roland','','Wilson',1,1,0,0,0,0,NULL,'Wilson, Roland',NULL,NULL,NULL,NULL,NULL,'1456133565',NULL,'Sample Data',3,2,NULL,NULL,1,NULL,'Dear Roland',1,NULL,'Dear Roland',1,NULL,'Mr. Roland Wilson Sr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (182,'Individual',NULL,'Mr. Lou Prentice II',NULL,NULL,'Lou','S','Prentice',0,0,0,0,0,0,NULL,'Prentice, Lou',NULL,NULL,NULL,'5',NULL,'3207031485',NULL,'Sample Data',3,3,NULL,NULL,1,NULL,'Dear Lou',1,NULL,'Dear Lou',1,NULL,'Mr. Lou Prentice II',NULL,2,'1933-11-13',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (183,'Individual',NULL,'Elina Samson',NULL,NULL,'Elina','O','Samson',1,0,0,0,0,0,NULL,'Samson, Elina',NULL,NULL,NULL,'4',NULL,'2698578454',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Elina',1,NULL,'Dear Elina',1,NULL,'Elina Samson',NULL,1,'1986-10-18',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (184,'Individual',NULL,'Teresa Terry',NULL,NULL,'Teresa','','Terry',1,0,0,0,0,0,NULL,'Terry, Teresa',NULL,NULL,NULL,'4',NULL,'1751133466',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Teresa',1,NULL,'Dear Teresa',1,NULL,'Teresa Terry',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (185,'Household',NULL,'Yadav-González family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Yadav-González family',NULL,NULL,NULL,NULL,NULL,'2444622511',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Yadav-González family',5,NULL,'Dear Yadav-González family',2,NULL,'Yadav-González family',NULL,NULL,NULL,0,NULL,'Yadav-González family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (186,'Individual',NULL,'Norris Jameson',NULL,NULL,'Norris','F','Jameson',0,0,0,0,0,0,NULL,'Jameson, Norris',NULL,NULL,NULL,'4',NULL,'3849460374',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Norris',1,NULL,'Dear Norris',1,NULL,'Norris Jameson',NULL,2,'2013-01-20',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (187,'Individual',NULL,'Lashawnda Terry',NULL,NULL,'Lashawnda','C','Terry',0,0,0,0,0,0,NULL,'Terry, Lashawnda',NULL,NULL,NULL,NULL,NULL,'485287796',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Lashawnda',1,NULL,'Dear Lashawnda',1,NULL,'Lashawnda Terry',NULL,1,'1999-04-27',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (188,'Individual',NULL,'Elbert Jameson',NULL,NULL,'Elbert','','Jameson',0,0,0,0,0,0,NULL,'Jameson, Elbert',NULL,NULL,NULL,NULL,NULL,'3057069270',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Elbert',1,NULL,'Dear Elbert',1,NULL,'Elbert Jameson',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (189,'Organization',NULL,'New Jersey Wellness Trust','New Jersey Wellness Trust',NULL,NULL,NULL,NULL,0,1,0,0,0,0,NULL,'New Jersey Wellness Trust',NULL,NULL,NULL,NULL,NULL,'3296595869',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'New Jersey Wellness Trust',NULL,NULL,NULL,0,NULL,NULL,51,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (190,'Individual',NULL,'Justina Terry-Barkley',NULL,NULL,'Justina','H','Terry-Barkley',0,0,0,0,0,0,NULL,'Terry-Barkley, Justina',NULL,NULL,NULL,NULL,NULL,'827930186',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Justina',1,NULL,'Dear Justina',1,NULL,'Justina Terry-Barkley',NULL,NULL,'1998-05-16',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (191,'Household',NULL,'Yadav family',NULL,NULL,NULL,NULL,NULL,1,0,0,0,0,0,NULL,'Yadav family',NULL,NULL,NULL,NULL,NULL,'1777336212',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Yadav family',5,NULL,'Dear Yadav family',2,NULL,'Yadav family',NULL,NULL,NULL,0,NULL,'Yadav family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (192,'Household',NULL,'Roberts family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Roberts family',NULL,NULL,NULL,NULL,NULL,'2097305882',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Roberts family',5,NULL,'Dear Roberts family',2,NULL,'Roberts family',NULL,NULL,NULL,0,NULL,'Roberts family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (193,'Household',NULL,'Nielsen family',NULL,NULL,NULL,NULL,NULL,0,1,0,0,1,0,NULL,'Nielsen family',NULL,NULL,NULL,'5',NULL,'766698874',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Nielsen family',5,NULL,'Dear Nielsen family',2,NULL,'Nielsen family',NULL,NULL,NULL,0,NULL,'Nielsen family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (194,'Individual',NULL,'Troy Jones',NULL,NULL,'Troy','','Jones',0,0,0,0,0,0,NULL,'Jones, Troy',NULL,NULL,NULL,NULL,NULL,'3350192471',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Troy',1,NULL,'Dear Troy',1,NULL,'Troy Jones',NULL,2,'1984-05-20',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (195,'Individual',NULL,'Santina Wilson',NULL,NULL,'Santina','','Wilson',0,0,0,0,0,0,NULL,'Wilson, Santina',NULL,NULL,NULL,NULL,NULL,'602659745',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Santina',1,NULL,'Dear Santina',1,NULL,'Santina Wilson',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (196,'Organization',NULL,'Main Environmental School','Main Environmental School',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Main Environmental School',NULL,NULL,NULL,'3',NULL,'2389932687',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Main Environmental School',NULL,NULL,NULL,0,NULL,NULL,97,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (197,'Individual',NULL,'Brittney Roberts',NULL,NULL,'Brittney','E','Roberts',1,1,0,0,0,0,NULL,'Roberts, Brittney',NULL,NULL,NULL,'4',NULL,'3955023783',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Brittney',1,NULL,'Dear Brittney',1,NULL,'Brittney Roberts',NULL,1,'1991-11-17',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:54','Both'), - (198,'Household',NULL,'Nielsen family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Nielsen family',NULL,NULL,NULL,'2',NULL,'766698874',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Nielsen family',5,NULL,'Dear Nielsen family',2,NULL,'Nielsen family',NULL,NULL,NULL,0,NULL,'Nielsen family',NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (199,'Individual',NULL,'Dr. Alida Blackwell',NULL,NULL,'Alida','','Blackwell',0,0,0,0,0,0,NULL,'Blackwell, Alida',NULL,NULL,NULL,NULL,NULL,'61950812',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Alida',1,NULL,'Dear Alida',1,NULL,'Dr. Alida Blackwell',NULL,1,'1987-08-28',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:52','Both'), - (200,'Individual',NULL,'roberts.barry1@spamalot.net',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'roberts.barry1@spamalot.net',NULL,NULL,NULL,'1',NULL,'887473816',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear roberts.barry1@spamalot.net',1,NULL,'Dear roberts.barry1@spamalot.net',1,NULL,'roberts.barry1@spamalot.net',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:51','Both'), - (201,'Individual',NULL,'Sonny Nielsen Jr.',NULL,NULL,'Sonny','K','Nielsen',0,0,0,0,0,0,NULL,'Nielsen, Sonny',NULL,NULL,NULL,NULL,NULL,'1971466517',NULL,'Sample Data',NULL,1,NULL,NULL,1,NULL,'Dear Sonny',1,NULL,'Dear Sonny',1,NULL,'Sonny Nielsen Jr.',NULL,NULL,'1998-12-02',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:51','2023-04-30 16:20:53','Both'), - (202,'Individual',NULL,'Jenny Lee',NULL,NULL,'Jenny',NULL,'Lee',0,0,0,0,0,0,NULL,'Lee, Jenny',NULL,NULL,NULL,NULL,'en_US','45f6c43e8a179c58d66fc5db2448c259',NULL,NULL,NULL,NULL,NULL,1,1,NULL,'Dear Jenny',1,NULL,'Dear Jenny',1,NULL,'Jenny Lee','Volunteer coordinator',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-04-30 16:20:55','2023-04-30 16:20:55','Both'); + (1,'Organization',NULL,'Default Organization','Default Organization',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Default Organization',NULL,'Default Organization',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,'2023-06-09 21:52:19','Both'), + (2,'Individual',NULL,'Mr. Craig Olsen',NULL,NULL,'Craig','','Olsen',1,0,0,0,0,0,NULL,'Olsen, Craig',NULL,NULL,NULL,'3',NULL,'1378827194',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Craig',1,NULL,'Dear Craig',1,NULL,'Mr. Craig Olsen',NULL,2,'1983-01-14',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (3,'Household',NULL,'DÃaz-Smith family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'DÃaz-Smith family',NULL,NULL,NULL,NULL,NULL,'2678487543',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear DÃaz-Smith family',5,NULL,'Dear DÃaz-Smith family',2,NULL,'DÃaz-Smith family',NULL,NULL,NULL,0,NULL,'DÃaz-Smith family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (4,'Individual',NULL,'Kathleen Jameson',NULL,NULL,'Kathleen','','Jameson',0,0,0,0,1,0,NULL,'Jameson, Kathleen',NULL,NULL,NULL,'3',NULL,'3800286753',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Kathleen',1,NULL,'Dear Kathleen',1,NULL,'Kathleen Jameson',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (5,'Individual',NULL,'Sanford Olsen III',NULL,NULL,'Sanford','C','Olsen',0,0,0,0,0,0,NULL,'Olsen, Sanford',NULL,NULL,NULL,NULL,NULL,'2408737591',NULL,'Sample Data',NULL,4,NULL,NULL,1,NULL,'Dear Sanford',1,NULL,'Dear Sanford',1,NULL,'Sanford Olsen III',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (6,'Individual',NULL,'Clint DÃaz',NULL,NULL,'Clint','R','DÃaz',0,1,0,0,0,0,NULL,'DÃaz, Clint',NULL,NULL,NULL,'5',NULL,'3503793680',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Clint',1,NULL,'Dear Clint',1,NULL,'Clint DÃaz',NULL,NULL,'1996-02-29',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (7,'Individual',NULL,'granth93@infomail.net',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'granth93@infomail.net',NULL,NULL,NULL,'1',NULL,'828737565',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear granth93@infomail.net',1,NULL,'Dear granth93@infomail.net',1,NULL,'granth93@infomail.net',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (8,'Organization',NULL,'Jackson Sports Academy','Jackson Sports Academy',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Jackson Sports Academy',NULL,NULL,NULL,NULL,NULL,'1454282896',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Jackson Sports Academy',NULL,NULL,NULL,0,NULL,NULL,169,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (9,'Individual',NULL,'Arlyne Reynolds',NULL,NULL,'Arlyne','Y','Reynolds',0,0,0,0,1,0,NULL,'Reynolds, Arlyne',NULL,NULL,NULL,NULL,NULL,'3120138036',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Arlyne',1,NULL,'Dear Arlyne',1,NULL,'Arlyne Reynolds',NULL,1,'1983-07-07',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (10,'Organization',NULL,'Progressive Empowerment Association','Progressive Empowerment Association',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Progressive Empowerment Association',NULL,NULL,NULL,'1',NULL,'3625138365',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Progressive Empowerment Association',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (11,'Organization',NULL,'Main Action Center','Main Action Center',NULL,NULL,NULL,NULL,1,0,0,0,0,0,NULL,'Main Action Center',NULL,NULL,NULL,NULL,NULL,'2133538896',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Main Action Center',NULL,NULL,NULL,0,NULL,NULL,39,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (12,'Individual',NULL,'Dr. Brittney Wagner',NULL,NULL,'Brittney','','Wagner',0,0,0,0,0,0,NULL,'Wagner, Brittney',NULL,NULL,NULL,'5',NULL,'1515527179',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Brittney',1,NULL,'Dear Brittney',1,NULL,'Dr. Brittney Wagner',NULL,1,'1969-04-25',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (13,'Individual',NULL,'Esta Olsen',NULL,NULL,'Esta','','Olsen',0,0,0,0,1,0,NULL,'Olsen, Esta',NULL,NULL,NULL,'4',NULL,'1433708351',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Esta',1,NULL,'Dear Esta',1,NULL,'Esta Olsen',NULL,NULL,'1984-10-19',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (14,'Individual',NULL,'Jay DÃaz II',NULL,NULL,'Jay','','DÃaz',0,0,0,0,0,0,NULL,'DÃaz, Jay',NULL,NULL,NULL,NULL,NULL,'3482361305',NULL,'Sample Data',NULL,3,NULL,NULL,1,NULL,'Dear Jay',1,NULL,'Dear Jay',1,NULL,'Jay DÃaz II',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (15,'Individual',NULL,'Mrs. Ashlie Cooper',NULL,NULL,'Ashlie','','Cooper',0,0,0,0,0,0,NULL,'Cooper, Ashlie',NULL,NULL,NULL,'5',NULL,'2771748009',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Ashlie',1,NULL,'Dear Ashlie',1,NULL,'Mrs. Ashlie Cooper',NULL,1,'1965-03-25',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (16,'Individual',NULL,'Errol ÅÄ…chowski Jr.','Pennsylvania Literacy Academy',NULL,'Errol','','ÅÄ…chowski',1,0,0,0,0,0,NULL,'ÅÄ…chowski, Errol',NULL,NULL,NULL,'5',NULL,'4217414454',NULL,'Sample Data',NULL,1,NULL,NULL,1,NULL,'Dear Errol',1,NULL,'Dear Errol',1,NULL,'Errol ÅÄ…chowski Jr.',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,117,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (17,'Household',NULL,'Dimitrov family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Dimitrov family',NULL,NULL,NULL,NULL,NULL,'3351288571',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Dimitrov family',5,NULL,'Dear Dimitrov family',2,NULL,'Dimitrov family',NULL,NULL,NULL,0,NULL,'Dimitrov family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (18,'Individual',NULL,'Kiara Grant',NULL,NULL,'Kiara','K','Grant',0,0,0,0,0,0,NULL,'Grant, Kiara',NULL,NULL,NULL,NULL,NULL,'334214546',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Kiara',1,NULL,'Dear Kiara',1,NULL,'Kiara Grant',NULL,1,'1967-05-16',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (19,'Household',NULL,'Reynolds family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Reynolds family',NULL,NULL,NULL,NULL,NULL,'4119726021',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Reynolds family',5,NULL,'Dear Reynolds family',2,NULL,'Reynolds family',NULL,NULL,NULL,0,NULL,'Reynolds family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (20,'Individual',NULL,'Dr. Sanford ÅÄ…chowski III',NULL,NULL,'Sanford','','ÅÄ…chowski',0,0,0,0,0,0,NULL,'ÅÄ…chowski, Sanford',NULL,NULL,NULL,'1',NULL,'2346608156',NULL,'Sample Data',4,4,NULL,NULL,1,NULL,'Dear Sanford',1,NULL,'Dear Sanford',1,NULL,'Dr. Sanford ÅÄ…chowski III',NULL,NULL,'1964-12-03',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (21,'Individual',NULL,'Roland Wagner III',NULL,NULL,'Roland','','Wagner',0,0,0,0,0,0,NULL,'Wagner, Roland',NULL,NULL,NULL,'2',NULL,'1173293758',NULL,'Sample Data',NULL,4,NULL,NULL,1,NULL,'Dear Roland',1,NULL,'Dear Roland',1,NULL,'Roland Wagner III',NULL,2,'1997-05-10',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (22,'Individual',NULL,'Scott Wilson Sr.',NULL,NULL,'Scott','O','Wilson',1,0,0,0,0,0,NULL,'Wilson, Scott',NULL,NULL,NULL,NULL,NULL,'3378305352',NULL,'Sample Data',NULL,2,NULL,NULL,1,NULL,'Dear Scott',1,NULL,'Dear Scott',1,NULL,'Scott Wilson Sr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (23,'Individual',NULL,'Bryon Wattson',NULL,NULL,'Bryon','W','Wattson',0,1,0,0,0,0,NULL,'Wattson, Bryon',NULL,NULL,NULL,'3',NULL,'2375098324',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Bryon',1,NULL,'Dear Bryon',1,NULL,'Bryon Wattson',NULL,2,'1962-11-11',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (24,'Individual',NULL,'Mr. Maxwell Smith Sr.',NULL,NULL,'Maxwell','','Smith',0,0,0,0,0,0,NULL,'Smith, Maxwell',NULL,NULL,NULL,'1',NULL,'2112091730',NULL,'Sample Data',3,2,NULL,NULL,1,NULL,'Dear Maxwell',1,NULL,'Dear Maxwell',1,NULL,'Mr. Maxwell Smith Sr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (25,'Individual',NULL,'adams.erik91@spamalot.org',NULL,NULL,NULL,NULL,NULL,1,0,0,0,0,0,NULL,'adams.erik91@spamalot.org',NULL,NULL,NULL,'4',NULL,'97025108',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear adams.erik91@spamalot.org',1,NULL,'Dear adams.erik91@spamalot.org',1,NULL,'adams.erik91@spamalot.org',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (26,'Individual',NULL,'carlosw@sample.info',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'carlosw@sample.info',NULL,NULL,NULL,'3',NULL,'2608209397',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear carlosw@sample.info',1,NULL,'Dear carlosw@sample.info',1,NULL,'carlosw@sample.info',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (27,'Individual',NULL,'Jacob Terry III',NULL,NULL,'Jacob','','Terry',0,1,0,0,1,0,NULL,'Terry, Jacob',NULL,NULL,NULL,NULL,NULL,'1878863134',NULL,'Sample Data',NULL,4,NULL,NULL,1,NULL,'Dear Jacob',1,NULL,'Dear Jacob',1,NULL,'Jacob Terry III',NULL,NULL,'1954-08-14',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (28,'Individual',NULL,'zope.errol@airmail.co.nz',NULL,NULL,NULL,NULL,NULL,1,0,0,0,0,0,NULL,'zope.errol@airmail.co.nz',NULL,NULL,NULL,NULL,NULL,'1964361197',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear zope.errol@airmail.co.nz',1,NULL,'Dear zope.errol@airmail.co.nz',1,NULL,'zope.errol@airmail.co.nz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (29,'Individual',NULL,'Dr. Scarlet Grant',NULL,NULL,'Scarlet','','Grant',0,0,0,0,1,0,NULL,'Grant, Scarlet',NULL,NULL,NULL,'4',NULL,'188081876',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Scarlet',1,NULL,'Dear Scarlet',1,NULL,'Dr. Scarlet Grant',NULL,1,'1994-11-17',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (30,'Individual',NULL,'Lincoln Terrell-Wattson Jr.',NULL,NULL,'Lincoln','Z','Terrell-Wattson',0,0,0,0,0,0,NULL,'Terrell-Wattson, Lincoln',NULL,NULL,NULL,NULL,NULL,'1215163063',NULL,'Sample Data',NULL,1,NULL,NULL,1,NULL,'Dear Lincoln',1,NULL,'Dear Lincoln',1,NULL,'Lincoln Terrell-Wattson Jr.',NULL,NULL,'1980-09-16',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (31,'Individual',NULL,'darencruz9@testmail.biz',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'darencruz9@testmail.biz',NULL,NULL,NULL,'5',NULL,'2051125022',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear darencruz9@testmail.biz',1,NULL,'Dear darencruz9@testmail.biz',1,NULL,'darencruz9@testmail.biz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (32,'Individual',NULL,'valenechowski@sample.com',NULL,NULL,NULL,NULL,NULL,0,1,0,0,0,0,NULL,'valenechowski@sample.com',NULL,NULL,NULL,'4',NULL,'2832591726',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear valenechowski@sample.com',1,NULL,'Dear valenechowski@sample.com',1,NULL,'valenechowski@sample.com',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (33,'Individual',NULL,'Mr. Teddy Wattson',NULL,NULL,'Teddy','','Wattson',0,0,0,0,0,0,NULL,'Wattson, Teddy',NULL,NULL,NULL,NULL,NULL,'3676733183',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Teddy',1,NULL,'Dear Teddy',1,NULL,'Mr. Teddy Wattson',NULL,NULL,'1935-07-14',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (34,'Individual',NULL,'wattson-reynolds.beula@example.co.pl',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'wattson-reynolds.beula@example.co.pl',NULL,NULL,NULL,NULL,NULL,'887733752',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear wattson-reynolds.beula@example.co.pl',1,NULL,'Dear wattson-reynolds.beula@example.co.pl',1,NULL,'wattson-reynolds.beula@example.co.pl',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (35,'Individual',NULL,'Arlyne Barkley',NULL,NULL,'Arlyne','A','Barkley',0,0,0,0,0,0,NULL,'Barkley, Arlyne',NULL,NULL,NULL,NULL,NULL,'3692098721',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Arlyne',1,NULL,'Dear Arlyne',1,NULL,'Arlyne Barkley',NULL,1,'1960-01-14',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (36,'Household',NULL,'Wattson-Reynolds family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Wattson-Reynolds family',NULL,NULL,NULL,NULL,NULL,'713482612',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Wattson-Reynolds family',5,NULL,'Dear Wattson-Reynolds family',2,NULL,'Wattson-Reynolds family',NULL,NULL,NULL,0,NULL,'Wattson-Reynolds family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (37,'Organization',NULL,'Nebraska Action Fund','Nebraska Action Fund',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Nebraska Action Fund',NULL,NULL,NULL,'3',NULL,'807745852',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Nebraska Action Fund',NULL,NULL,NULL,0,NULL,NULL,136,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (38,'Household',NULL,'DÃaz family',NULL,NULL,NULL,NULL,NULL,0,1,0,0,0,0,NULL,'DÃaz family',NULL,NULL,NULL,NULL,NULL,'2169249835',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear DÃaz family',5,NULL,'Dear DÃaz family',2,NULL,'DÃaz family',NULL,NULL,NULL,0,NULL,'DÃaz family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (39,'Individual',NULL,'Ms. Felisha Jameson','Main Action Center',NULL,'Felisha','J','Jameson',0,0,0,0,0,0,NULL,'Jameson, Felisha',NULL,NULL,NULL,NULL,NULL,'2198176616',NULL,'Sample Data',2,NULL,NULL,NULL,1,NULL,'Dear Felisha',1,NULL,'Dear Felisha',1,NULL,'Ms. Felisha Jameson',NULL,NULL,'1967-10-06',0,NULL,NULL,NULL,NULL,NULL,11,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (40,'Individual',NULL,'du.daz56@fakemail.info',NULL,NULL,NULL,NULL,NULL,0,0,0,0,1,0,NULL,'du.daz56@fakemail.info',NULL,NULL,NULL,NULL,NULL,'4116714313',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear du.daz56@fakemail.info',1,NULL,'Dear du.daz56@fakemail.info',1,NULL,'du.daz56@fakemail.info',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (41,'Individual',NULL,'Dr. Kiara Reynolds',NULL,NULL,'Kiara','','Reynolds',1,0,0,0,0,0,NULL,'Reynolds, Kiara',NULL,NULL,NULL,'2',NULL,'637719043',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Kiara',1,NULL,'Dear Kiara',1,NULL,'Dr. Kiara Reynolds',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (42,'Individual',NULL,'Mr. Jerome González',NULL,NULL,'Jerome','F','González',0,0,0,0,0,0,NULL,'González, Jerome',NULL,NULL,NULL,'5',NULL,'775254007',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Jerome',1,NULL,'Dear Jerome',1,NULL,'Mr. Jerome González',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (43,'Household',NULL,'Wilson family',NULL,NULL,NULL,NULL,NULL,1,0,0,0,1,0,NULL,'Wilson family',NULL,NULL,NULL,NULL,NULL,'350510798',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Wilson family',5,NULL,'Dear Wilson family',2,NULL,'Wilson family',NULL,NULL,NULL,0,NULL,'Wilson family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (44,'Individual',NULL,'Mrs. Valene Terrell',NULL,NULL,'Valene','B','Terrell',1,1,0,0,0,0,NULL,'Terrell, Valene',NULL,NULL,NULL,'2',NULL,'2134208638',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Valene',1,NULL,'Dear Valene',1,NULL,'Mrs. Valene Terrell',NULL,1,'1934-01-23',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (45,'Individual',NULL,'Mrs. Teresa Wilson',NULL,NULL,'Teresa','','Wilson',0,0,0,0,0,0,NULL,'Wilson, Teresa',NULL,NULL,NULL,'5',NULL,'4075437794',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Teresa',1,NULL,'Dear Teresa',1,NULL,'Mrs. Teresa Wilson',NULL,NULL,'1993-07-17',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (46,'Individual',NULL,'Winford Nielsen Sr.',NULL,NULL,'Winford','N','Nielsen',0,0,0,0,0,0,NULL,'Nielsen, Winford',NULL,NULL,NULL,NULL,NULL,'2406289221',NULL,'Sample Data',NULL,2,NULL,NULL,1,NULL,'Dear Winford',1,NULL,'Dear Winford',1,NULL,'Winford Nielsen Sr.',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (47,'Individual',NULL,'Damaris Nielsen',NULL,NULL,'Damaris','X','Nielsen',0,0,0,0,1,0,NULL,'Nielsen, Damaris',NULL,NULL,NULL,'3',NULL,'3513005932',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Damaris',1,NULL,'Dear Damaris',1,NULL,'Damaris Nielsen',NULL,1,'1960-02-11',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (48,'Individual',NULL,'Dr. Sharyn DÃaz',NULL,NULL,'Sharyn','B','DÃaz',0,0,0,0,0,0,NULL,'DÃaz, Sharyn',NULL,NULL,NULL,NULL,NULL,'4129279229',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Sharyn',1,NULL,'Dear Sharyn',1,NULL,'Dr. Sharyn DÃaz',NULL,NULL,'1996-06-03',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (49,'Individual',NULL,'Dr. Andrew Jones Sr.',NULL,NULL,'Andrew','S','Jones',0,0,0,0,0,0,NULL,'Jones, Andrew',NULL,NULL,NULL,'1',NULL,'2560243227',NULL,'Sample Data',4,2,NULL,NULL,1,NULL,'Dear Andrew',1,NULL,'Dear Andrew',1,NULL,'Dr. Andrew Jones Sr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (50,'Individual',NULL,'Ms. Heidi Zope',NULL,NULL,'Heidi','','Zope',0,0,0,0,0,0,NULL,'Zope, Heidi',NULL,NULL,NULL,NULL,NULL,'2699150124',NULL,'Sample Data',2,NULL,NULL,NULL,1,NULL,'Dear Heidi',1,NULL,'Dear Heidi',1,NULL,'Ms. Heidi Zope',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (51,'Individual',NULL,'Mr. Daren Dimitrov III',NULL,NULL,'Daren','R','Dimitrov',0,0,0,0,1,0,NULL,'Dimitrov, Daren',NULL,NULL,NULL,NULL,NULL,'3639899181',NULL,'Sample Data',3,4,NULL,NULL,1,NULL,'Dear Daren',1,NULL,'Dear Daren',1,NULL,'Mr. Daren Dimitrov III',NULL,2,'1933-06-25',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (52,'Individual',NULL,'Mrs. Betty González',NULL,NULL,'Betty','V','González',0,0,0,0,0,0,NULL,'González, Betty',NULL,NULL,NULL,'3',NULL,'152645290',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Betty',1,NULL,'Dear Betty',1,NULL,'Mrs. Betty González',NULL,NULL,'1988-12-19',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (53,'Individual',NULL,'Ashley Samson',NULL,NULL,'Ashley','','Samson',0,0,0,0,0,0,NULL,'Samson, Ashley',NULL,NULL,NULL,'4',NULL,'2849668612',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Ashley',1,NULL,'Dear Ashley',1,NULL,'Ashley Samson',NULL,NULL,'1971-03-18',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (54,'Individual',NULL,'nx.nielsen-terry15@spamalot.co.pl',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'nx.nielsen-terry15@spamalot.co.pl',NULL,NULL,NULL,NULL,NULL,'2301132529',NULL,'Sample Data',NULL,3,NULL,NULL,1,NULL,'Dear nx.nielsen-terry15@spamalot.co.pl',1,NULL,'Dear nx.nielsen-terry15@spamalot.co.pl',1,NULL,'nx.nielsen-terry15@spamalot.co.pl',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (55,'Individual',NULL,'Tanya DÃaz',NULL,NULL,'Tanya','H','DÃaz',0,1,0,0,0,0,NULL,'DÃaz, Tanya',NULL,NULL,NULL,NULL,NULL,'2641118119',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Tanya',1,NULL,'Dear Tanya',1,NULL,'Tanya DÃaz',NULL,1,'1954-11-30',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (56,'Individual',NULL,'Scott Parker Jr.',NULL,NULL,'Scott','','Parker',0,0,0,0,1,0,NULL,'Parker, Scott',NULL,NULL,NULL,NULL,NULL,'3303025093',NULL,'Sample Data',NULL,1,NULL,NULL,1,NULL,'Dear Scott',1,NULL,'Dear Scott',1,NULL,'Scott Parker Jr.',NULL,NULL,'1941-10-29',1,'2022-07-16',NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (57,'Individual',NULL,'Ms. Sharyn Dimitrov',NULL,NULL,'Sharyn','','Dimitrov',1,1,0,0,0,0,NULL,'Dimitrov, Sharyn',NULL,NULL,NULL,'2',NULL,'1888129683',NULL,'Sample Data',2,NULL,NULL,NULL,1,NULL,'Dear Sharyn',1,NULL,'Dear Sharyn',1,NULL,'Ms. Sharyn Dimitrov',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (58,'Individual',NULL,'Dr. Claudio Samson II',NULL,NULL,'Claudio','L','Samson',0,1,0,0,0,0,NULL,'Samson, Claudio',NULL,NULL,NULL,NULL,NULL,'114634310',NULL,'Sample Data',4,3,NULL,NULL,1,NULL,'Dear Claudio',1,NULL,'Dear Claudio',1,NULL,'Dr. Claudio Samson II',NULL,NULL,'1965-11-25',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (59,'Individual',NULL,'nielsen.russell71@airmail.com',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'nielsen.russell71@airmail.com',NULL,NULL,NULL,'1',NULL,'1598297348',NULL,'Sample Data',NULL,1,NULL,NULL,1,NULL,'Dear nielsen.russell71@airmail.com',1,NULL,'Dear nielsen.russell71@airmail.com',1,NULL,'nielsen.russell71@airmail.com',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (60,'Organization',NULL,'Tennessee Poetry Systems','Tennessee Poetry Systems',NULL,NULL,NULL,NULL,0,1,0,0,0,0,NULL,'Tennessee Poetry Systems',NULL,NULL,NULL,NULL,NULL,'313474957',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Tennessee Poetry Systems',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (61,'Individual',NULL,'Allan Prentice Jr.',NULL,NULL,'Allan','N','Prentice',0,1,0,0,0,0,NULL,'Prentice, Allan',NULL,NULL,NULL,'3',NULL,'2464878706',NULL,'Sample Data',NULL,1,NULL,NULL,1,NULL,'Dear Allan',1,NULL,'Dear Allan',1,NULL,'Allan Prentice Jr.',NULL,2,'1955-06-15',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (62,'Individual',NULL,'Dr. Shad Olsen',NULL,NULL,'Shad','','Olsen',0,0,0,0,0,0,NULL,'Olsen, Shad',NULL,NULL,NULL,NULL,NULL,'2007691638',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Shad',1,NULL,'Dear Shad',1,NULL,'Dr. Shad Olsen',NULL,NULL,'1983-12-24',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (63,'Individual',NULL,'Omar DÃaz II',NULL,NULL,'Omar','','DÃaz',1,0,0,0,0,0,NULL,'DÃaz, Omar',NULL,NULL,NULL,'2',NULL,'790008959',NULL,'Sample Data',NULL,3,NULL,NULL,1,NULL,'Dear Omar',1,NULL,'Dear Omar',1,NULL,'Omar DÃaz II',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (64,'Individual',NULL,'Troy Grant',NULL,NULL,'Troy','H','Grant',1,0,0,0,0,0,NULL,'Grant, Troy',NULL,NULL,NULL,NULL,NULL,'2568964865',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Troy',1,NULL,'Dear Troy',1,NULL,'Troy Grant',NULL,2,'1937-06-27',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (65,'Individual',NULL,'Daren Yadav',NULL,NULL,'Daren','D','Yadav',0,0,0,0,0,0,NULL,'Yadav, Daren',NULL,NULL,NULL,NULL,NULL,'1994068290',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Daren',1,NULL,'Dear Daren',1,NULL,'Daren Yadav',NULL,2,'1975-07-03',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (66,'Individual',NULL,'Ms. Kathlyn Cruz',NULL,NULL,'Kathlyn','','Cruz',0,1,0,0,0,0,NULL,'Cruz, Kathlyn',NULL,NULL,NULL,NULL,NULL,'1454474422',NULL,'Sample Data',2,NULL,NULL,NULL,1,NULL,'Dear Kathlyn',1,NULL,'Dear Kathlyn',1,NULL,'Ms. Kathlyn Cruz',NULL,NULL,'1964-11-05',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (67,'Individual',NULL,'tanyachowski73@sample.co.nz',NULL,NULL,NULL,NULL,NULL,1,0,0,0,0,0,NULL,'tanyachowski73@sample.co.nz',NULL,NULL,NULL,'5',NULL,'1646088760',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear tanyachowski73@sample.co.nz',1,NULL,'Dear tanyachowski73@sample.co.nz',1,NULL,'tanyachowski73@sample.co.nz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (68,'Individual',NULL,'kk.gonzlez-chowski@testing.net',NULL,NULL,NULL,NULL,NULL,0,1,0,0,0,0,NULL,'kk.gonzlez-chowski@testing.net',NULL,NULL,NULL,NULL,NULL,'2703568117',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear kk.gonzlez-chowski@testing.net',1,NULL,'Dear kk.gonzlez-chowski@testing.net',1,NULL,'kk.gonzlez-chowski@testing.net',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (69,'Individual',NULL,'Heidi Grant',NULL,NULL,'Heidi','','Grant',0,0,0,0,0,0,NULL,'Grant, Heidi',NULL,NULL,NULL,NULL,NULL,'46996647',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Heidi',1,NULL,'Dear Heidi',1,NULL,'Heidi Grant',NULL,NULL,'1999-03-22',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (70,'Individual',NULL,'Russell Reynolds III',NULL,NULL,'Russell','N','Reynolds',1,1,0,0,0,0,NULL,'Reynolds, Russell',NULL,NULL,NULL,'2',NULL,'2896350648',NULL,'Sample Data',NULL,4,NULL,NULL,1,NULL,'Dear Russell',1,NULL,'Dear Russell',1,NULL,'Russell Reynolds III',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (71,'Individual',NULL,'Dr. Brittney McReynolds',NULL,NULL,'Brittney','Q','McReynolds',0,0,0,0,0,0,NULL,'McReynolds, Brittney',NULL,NULL,NULL,'2',NULL,'2397240349',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Brittney',1,NULL,'Dear Brittney',1,NULL,'Dr. Brittney McReynolds',NULL,1,'1989-02-26',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (72,'Individual',NULL,'Rolando ÅÄ…chowski Sr.',NULL,NULL,'Rolando','Y','ÅÄ…chowski',0,0,0,0,0,0,NULL,'ÅÄ…chowski, Rolando',NULL,NULL,NULL,NULL,NULL,'2050777449',NULL,'Sample Data',NULL,2,NULL,NULL,1,NULL,'Dear Rolando',1,NULL,'Dear Rolando',1,NULL,'Rolando ÅÄ…chowski Sr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (73,'Individual',NULL,'Erik Deforest',NULL,NULL,'Erik','K','Deforest',0,0,0,0,0,0,NULL,'Deforest, Erik',NULL,NULL,NULL,'2',NULL,'1691264565',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Erik',1,NULL,'Dear Erik',1,NULL,'Erik Deforest',NULL,2,'1989-10-16',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (74,'Individual',NULL,'Justina ÅÄ…chowski',NULL,NULL,'Justina','X','ÅÄ…chowski',0,0,0,0,0,0,NULL,'ÅÄ…chowski, Justina',NULL,NULL,NULL,NULL,NULL,'288351947',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Justina',1,NULL,'Dear Justina',1,NULL,'Justina ÅÄ…chowski',NULL,1,'2012-04-11',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (75,'Individual',NULL,'Dr. Rodrigo ÅÄ…chowski',NULL,NULL,'Rodrigo','G','ÅÄ…chowski',1,0,0,0,1,0,NULL,'ÅÄ…chowski, Rodrigo',NULL,NULL,NULL,NULL,NULL,'646092703',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Rodrigo',1,NULL,'Dear Rodrigo',1,NULL,'Dr. Rodrigo ÅÄ…chowski',NULL,2,'1999-07-02',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (76,'Individual',NULL,'Mrs. Kiara Samson',NULL,NULL,'Kiara','M','Samson',1,1,0,0,0,0,NULL,'Samson, Kiara',NULL,NULL,NULL,'5',NULL,'3226683552',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Kiara',1,NULL,'Dear Kiara',1,NULL,'Mrs. Kiara Samson',NULL,1,'1978-08-15',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (77,'Individual',NULL,'Angelika Prentice','Bay Sports Collective',NULL,'Angelika','','Prentice',0,0,0,0,0,0,NULL,'Prentice, Angelika',NULL,NULL,NULL,'2',NULL,'2353385651',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Angelika',1,NULL,'Dear Angelika',1,NULL,'Angelika Prentice',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,179,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (78,'Household',NULL,'González-Jameson family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,1,0,NULL,'González-Jameson family',NULL,NULL,NULL,'4',NULL,'1271642165',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear González-Jameson family',5,NULL,'Dear González-Jameson family',2,NULL,'González-Jameson family',NULL,NULL,NULL,0,NULL,'González-Jameson family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (79,'Individual',NULL,'Elizabeth Jensen',NULL,NULL,'Elizabeth','Q','Jensen',0,0,0,0,0,0,NULL,'Jensen, Elizabeth',NULL,NULL,NULL,'4',NULL,'423096601',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Elizabeth',1,NULL,'Dear Elizabeth',1,NULL,'Elizabeth Jensen',NULL,1,'1957-12-30',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (80,'Individual',NULL,'Dr. Ray Terrell',NULL,NULL,'Ray','X','Terrell',0,0,0,0,0,0,NULL,'Terrell, Ray',NULL,NULL,NULL,'4',NULL,'2095931492',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Ray',1,NULL,'Dear Ray',1,NULL,'Dr. Ray Terrell',NULL,NULL,'1985-05-16',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (81,'Individual',NULL,'Winford González',NULL,NULL,'Winford','E','González',0,0,0,0,0,0,NULL,'González, Winford',NULL,NULL,NULL,NULL,NULL,'352207000',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Winford',1,NULL,'Dear Winford',1,NULL,'Winford González',NULL,NULL,'1948-05-25',1,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (82,'Individual',NULL,'Mrs. Kiara Cooper',NULL,NULL,'Kiara','U','Cooper',1,0,0,0,0,0,NULL,'Cooper, Kiara',NULL,NULL,NULL,NULL,NULL,'2416218460',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Kiara',1,NULL,'Dear Kiara',1,NULL,'Mrs. Kiara Cooper',NULL,1,'1970-12-25',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (83,'Individual',NULL,'Daren Blackwell Jr.',NULL,NULL,'Daren','F','Blackwell',0,0,0,0,1,0,NULL,'Blackwell, Daren',NULL,NULL,NULL,NULL,NULL,'2699852976',NULL,'Sample Data',NULL,1,NULL,NULL,1,NULL,'Dear Daren',1,NULL,'Dear Daren',1,NULL,'Daren Blackwell Jr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (84,'Household',NULL,'Nielsen-Terry family',NULL,NULL,NULL,NULL,NULL,0,1,0,0,0,0,NULL,'Nielsen-Terry family',NULL,NULL,NULL,'1',NULL,'491010676',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Nielsen-Terry family',5,NULL,'Dear Nielsen-Terry family',2,NULL,'Nielsen-Terry family',NULL,NULL,NULL,0,NULL,'Nielsen-Terry family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (85,'Individual',NULL,'Kandace Dimitrov',NULL,NULL,'Kandace','P','Dimitrov',0,0,0,0,0,0,NULL,'Dimitrov, Kandace',NULL,NULL,NULL,'3',NULL,'2771100224',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Kandace',1,NULL,'Dear Kandace',1,NULL,'Kandace Dimitrov',NULL,1,'2001-12-19',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (86,'Household',NULL,'Terrell-Grant family',NULL,NULL,NULL,NULL,NULL,0,1,0,0,0,0,NULL,'Terrell-Grant family',NULL,NULL,NULL,NULL,NULL,'271573564',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Terrell-Grant family',5,NULL,'Dear Terrell-Grant family',2,NULL,'Terrell-Grant family',NULL,NULL,NULL,0,NULL,'Terrell-Grant family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (87,'Individual',NULL,'Dr. Ashlie Ivanov',NULL,NULL,'Ashlie','X','Ivanov',0,0,0,0,0,0,NULL,'Ivanov, Ashlie',NULL,NULL,NULL,'1',NULL,'468651798',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Ashlie',1,NULL,'Dear Ashlie',1,NULL,'Dr. Ashlie Ivanov',NULL,NULL,'1975-06-04',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (88,'Organization',NULL,'Maple Wellness Alliance','Maple Wellness Alliance',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Maple Wellness Alliance',NULL,NULL,NULL,'1',NULL,'2709617208',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Maple Wellness Alliance',NULL,NULL,NULL,0,NULL,NULL,100,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (89,'Organization',NULL,'United Empowerment Association','United Empowerment Association',NULL,NULL,NULL,NULL,0,1,0,0,1,0,NULL,'United Empowerment Association',NULL,NULL,NULL,'5',NULL,'1687867266',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'United Empowerment Association',NULL,NULL,NULL,0,NULL,NULL,198,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (90,'Individual',NULL,'Rosario Wattson II',NULL,NULL,'Rosario','E','Wattson',0,1,0,0,0,0,NULL,'Wattson, Rosario',NULL,NULL,NULL,'2',NULL,'661817002',NULL,'Sample Data',NULL,3,NULL,NULL,1,NULL,'Dear Rosario',1,NULL,'Dear Rosario',1,NULL,'Rosario Wattson II',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (91,'Individual',NULL,'Dr. Maxwell Cruz Sr.',NULL,NULL,'Maxwell','','Cruz',0,0,0,0,0,0,NULL,'Cruz, Maxwell',NULL,NULL,NULL,'3',NULL,'780249075',NULL,'Sample Data',4,2,NULL,NULL,1,NULL,'Dear Maxwell',1,NULL,'Dear Maxwell',1,NULL,'Dr. Maxwell Cruz Sr.',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (92,'Individual',NULL,'Mr. BrzÄ™czysÅ‚aw Terry',NULL,NULL,'BrzÄ™czysÅ‚aw','V','Terry',1,1,0,0,0,0,NULL,'Terry, BrzÄ™czysÅ‚aw',NULL,NULL,NULL,NULL,NULL,'884241841',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear BrzÄ™czysÅ‚aw',1,NULL,'Dear BrzÄ™czysÅ‚aw',1,NULL,'Mr. BrzÄ™czysÅ‚aw Terry',NULL,2,'1950-03-15',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (93,'Individual',NULL,'Ms. Brigette Jameson',NULL,NULL,'Brigette','S','Jameson',0,0,0,0,0,0,NULL,'Jameson, Brigette',NULL,NULL,NULL,'2',NULL,'839229848',NULL,'Sample Data',2,NULL,NULL,NULL,1,NULL,'Dear Brigette',1,NULL,'Dear Brigette',1,NULL,'Ms. Brigette Jameson',NULL,NULL,'1995-05-09',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (94,'Individual',NULL,'Kacey Deforest-Dimitrov','Winnemucca Sports Systems',NULL,'Kacey','','Deforest-Dimitrov',0,0,0,0,0,0,NULL,'Deforest-Dimitrov, Kacey',NULL,NULL,NULL,'1',NULL,'107672509',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Kacey',1,NULL,'Dear Kacey',1,NULL,'Kacey Deforest-Dimitrov',NULL,1,'1963-12-16',0,NULL,NULL,NULL,NULL,NULL,95,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (95,'Organization',NULL,'Winnemucca Sports Systems','Winnemucca Sports Systems',NULL,NULL,NULL,NULL,0,1,0,0,0,0,NULL,'Winnemucca Sports Systems',NULL,NULL,NULL,'2',NULL,'3471702251',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Winnemucca Sports Systems',NULL,NULL,NULL,0,NULL,NULL,94,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (96,'Individual',NULL,'Mrs. Kiara González-Jameson',NULL,NULL,'Kiara','','González-Jameson',1,0,0,0,0,0,NULL,'González-Jameson, Kiara',NULL,NULL,NULL,'3',NULL,'2554818035',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Kiara',1,NULL,'Dear Kiara',1,NULL,'Mrs. Kiara González-Jameson',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (97,'Individual',NULL,'Merrie Olsen',NULL,NULL,'Merrie','','Olsen',1,0,0,0,0,0,NULL,'Olsen, Merrie',NULL,NULL,NULL,NULL,NULL,'3769285759',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Merrie',1,NULL,'Dear Merrie',1,NULL,'Merrie Olsen',NULL,NULL,'1952-07-16',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (98,'Individual',NULL,'Mr. Daren ÅÄ…chowski',NULL,NULL,'Daren','A','ÅÄ…chowski',1,0,0,0,0,0,NULL,'ÅÄ…chowski, Daren',NULL,NULL,NULL,'5',NULL,'2421029713',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Daren',1,NULL,'Dear Daren',1,NULL,'Mr. Daren ÅÄ…chowski',NULL,2,'1934-04-24',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (99,'Individual',NULL,'Dr. Allen Cooper',NULL,NULL,'Allen','','Cooper',0,0,0,0,0,0,NULL,'Cooper, Allen',NULL,NULL,NULL,NULL,NULL,'1888383899',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Allen',1,NULL,'Dear Allen',1,NULL,'Dr. Allen Cooper',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (100,'Individual',NULL,'Dr. Juliann Nielsen','Maple Wellness Alliance',NULL,'Juliann','M','Nielsen',1,0,0,0,0,0,NULL,'Nielsen, Juliann',NULL,NULL,NULL,'2',NULL,'3555715796',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Juliann',1,NULL,'Dear Juliann',1,NULL,'Dr. Juliann Nielsen',NULL,NULL,'1965-02-27',0,NULL,NULL,NULL,NULL,NULL,88,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (101,'Organization',NULL,'District of Columbia Family Fellowship','District of Columbia Family Fellowship',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'District of Columbia Family Fellowship',NULL,NULL,NULL,'2',NULL,'185925980',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'District of Columbia Family Fellowship',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (102,'Individual',NULL,'Dr. Elina Jensen',NULL,NULL,'Elina','T','Jensen',0,0,0,0,0,0,NULL,'Jensen, Elina',NULL,NULL,NULL,NULL,NULL,'2625728964',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Elina',1,NULL,'Dear Elina',1,NULL,'Dr. Elina Jensen',NULL,NULL,NULL,1,'2022-08-05',NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (103,'Individual',NULL,'Dr. Princess Nielsen',NULL,NULL,'Princess','R','Nielsen',0,0,0,0,0,0,NULL,'Nielsen, Princess',NULL,NULL,NULL,'3',NULL,'157426580',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Princess',1,NULL,'Dear Princess',1,NULL,'Dr. Princess Nielsen',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (104,'Individual',NULL,'Brigette Grant',NULL,NULL,'Brigette','J','Grant',0,0,0,0,0,0,NULL,'Grant, Brigette',NULL,NULL,NULL,'4',NULL,'996729836',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Brigette',1,NULL,'Dear Brigette',1,NULL,'Brigette Grant',NULL,1,'1948-07-18',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (105,'Household',NULL,'ÅÄ…chowski family',NULL,NULL,NULL,NULL,NULL,1,0,0,0,0,0,NULL,'ÅÄ…chowski family',NULL,NULL,NULL,NULL,NULL,'2407077255',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear ÅÄ…chowski family',5,NULL,'Dear ÅÄ…chowski family',2,NULL,'ÅÄ…chowski family',NULL,NULL,NULL,0,NULL,'ÅÄ…chowski family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (106,'Individual',NULL,'Roland ÅÄ…chowski Jr.',NULL,NULL,'Roland','R','ÅÄ…chowski',1,0,0,0,0,0,NULL,'ÅÄ…chowski, Roland',NULL,NULL,NULL,'1',NULL,'1498526146',NULL,'Sample Data',NULL,1,NULL,NULL,1,NULL,'Dear Roland',1,NULL,'Dear Roland',1,NULL,'Roland ÅÄ…chowski Jr.',NULL,2,'1952-12-21',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (107,'Individual',NULL,'Mrs. Delana Dimitrov',NULL,NULL,'Delana','U','Dimitrov',0,1,0,0,0,0,NULL,'Dimitrov, Delana',NULL,NULL,NULL,'3',NULL,'4026480882',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Delana',1,NULL,'Dear Delana',1,NULL,'Mrs. Delana Dimitrov',NULL,NULL,'1982-03-20',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (108,'Individual',NULL,'Mr. Scott Wilson II',NULL,NULL,'Scott','','Wilson',1,0,0,0,0,0,NULL,'Wilson, Scott',NULL,NULL,NULL,'4',NULL,'3378305352',NULL,'Sample Data',3,3,NULL,NULL,1,NULL,'Dear Scott',1,NULL,'Dear Scott',1,NULL,'Mr. Scott Wilson II',NULL,2,'1968-10-02',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (109,'Household',NULL,'Grant family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Grant family',NULL,NULL,NULL,NULL,NULL,'3228000340',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Grant family',5,NULL,'Dear Grant family',2,NULL,'Grant family',NULL,NULL,NULL,0,NULL,'Grant family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (110,'Individual',NULL,'Dr. Justina Jensen',NULL,NULL,'Justina','','Jensen',0,0,0,0,0,0,NULL,'Jensen, Justina',NULL,NULL,NULL,NULL,NULL,'3253764259',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Justina',1,NULL,'Dear Justina',1,NULL,'Dr. Justina Jensen',NULL,NULL,'1959-08-03',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (111,'Individual',NULL,'Lawerence Samson','Kermit Sustainability Collective',NULL,'Lawerence','X','Samson',0,1,0,0,0,0,NULL,'Samson, Lawerence',NULL,NULL,NULL,'3',NULL,'2952043031',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Lawerence',1,NULL,'Dear Lawerence',1,NULL,'Lawerence Samson',NULL,2,'1946-04-04',0,NULL,NULL,NULL,NULL,NULL,191,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (112,'Individual',NULL,'Rebekah DÃaz-Smith',NULL,NULL,'Rebekah','','DÃaz-Smith',0,0,0,0,0,0,NULL,'DÃaz-Smith, Rebekah',NULL,NULL,NULL,'5',NULL,'1695976558',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Rebekah',1,NULL,'Dear Rebekah',1,NULL,'Rebekah DÃaz-Smith',NULL,NULL,'1998-07-17',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (113,'Individual',NULL,'Mr. Ray Jensen Jr.',NULL,NULL,'Ray','N','Jensen',0,0,0,0,0,0,NULL,'Jensen, Ray',NULL,NULL,NULL,NULL,NULL,'2879715845',NULL,'Sample Data',3,1,NULL,NULL,1,NULL,'Dear Ray',1,NULL,'Dear Ray',1,NULL,'Mr. Ray Jensen Jr.',NULL,2,'1964-07-10',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (114,'Individual',NULL,'Brigette DÃaz',NULL,NULL,'Brigette','N','DÃaz',0,1,0,0,0,0,NULL,'DÃaz, Brigette',NULL,NULL,NULL,NULL,NULL,'939555461',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Brigette',1,NULL,'Dear Brigette',1,NULL,'Brigette DÃaz',NULL,1,'1996-03-19',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (115,'Individual',NULL,'Elbert Terry',NULL,NULL,'Elbert','','Terry',0,1,0,0,0,0,NULL,'Terry, Elbert',NULL,NULL,NULL,NULL,NULL,'2300910688',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Elbert',1,NULL,'Dear Elbert',1,NULL,'Elbert Terry',NULL,2,'1985-06-16',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (116,'Individual',NULL,'Barry Blackwell II',NULL,NULL,'Barry','T','Blackwell',0,1,0,0,0,0,NULL,'Blackwell, Barry',NULL,NULL,NULL,NULL,NULL,'2851899457',NULL,'Sample Data',NULL,3,NULL,NULL,1,NULL,'Dear Barry',1,NULL,'Dear Barry',1,NULL,'Barry Blackwell II',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (117,'Organization',NULL,'Pennsylvania Literacy Academy','Pennsylvania Literacy Academy',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Pennsylvania Literacy Academy',NULL,NULL,NULL,'4',NULL,'3819951456',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Pennsylvania Literacy Academy',NULL,NULL,NULL,0,NULL,NULL,16,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (118,'Individual',NULL,'Mr. Daren DÃaz III',NULL,NULL,'Daren','U','DÃaz',1,0,0,0,0,0,NULL,'DÃaz, Daren',NULL,NULL,NULL,'1',NULL,'2658717437',NULL,'Sample Data',3,4,NULL,NULL,1,NULL,'Dear Daren',1,NULL,'Dear Daren',1,NULL,'Mr. Daren DÃaz III',NULL,2,'1960-07-27',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (119,'Individual',NULL,'Alida Jensen',NULL,NULL,'Alida','F','Jensen',0,0,0,0,0,0,NULL,'Jensen, Alida',NULL,NULL,NULL,NULL,NULL,'2481864590',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Alida',1,NULL,'Dear Alida',1,NULL,'Alida Jensen',NULL,1,'1995-10-05',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (120,'Individual',NULL,'Mr. Billy Nielsen',NULL,NULL,'Billy','J','Nielsen',0,0,0,0,1,0,NULL,'Nielsen, Billy',NULL,NULL,NULL,'4',NULL,'1021011479',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Billy',1,NULL,'Dear Billy',1,NULL,'Mr. Billy Nielsen',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (121,'Household',NULL,'Terrell-Wattson family',NULL,NULL,NULL,NULL,NULL,0,1,0,0,0,0,NULL,'Terrell-Wattson family',NULL,NULL,NULL,'4',NULL,'123807827',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Terrell-Wattson family',5,NULL,'Dear Terrell-Wattson family',2,NULL,'Terrell-Wattson family',NULL,NULL,NULL,0,NULL,'Terrell-Wattson family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (122,'Household',NULL,'Blackwell family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Blackwell family',NULL,NULL,NULL,'4',NULL,'3218641510',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Blackwell family',5,NULL,'Dear Blackwell family',2,NULL,'Blackwell family',NULL,NULL,NULL,0,NULL,'Blackwell family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (123,'Individual',NULL,'Mrs. Alida Cooper',NULL,NULL,'Alida','T','Cooper',0,0,0,0,0,0,NULL,'Cooper, Alida',NULL,NULL,NULL,'2',NULL,'4292976032',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Alida',1,NULL,'Dear Alida',1,NULL,'Mrs. Alida Cooper',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (124,'Organization',NULL,'Friends Music Systems','Friends Music Systems',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Friends Music Systems',NULL,NULL,NULL,'2',NULL,'1447056853',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Friends Music Systems',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (125,'Organization',NULL,'Lake City Peace Collective','Lake City Peace Collective',NULL,NULL,NULL,NULL,1,0,0,0,0,0,NULL,'Lake City Peace Collective',NULL,NULL,NULL,'1',NULL,'1535294293',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Lake City Peace Collective',NULL,NULL,NULL,0,NULL,NULL,143,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (126,'Household',NULL,'González-ÅÄ…chowski family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'González-ÅÄ…chowski family',NULL,NULL,NULL,NULL,NULL,'2696974403',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear González-ÅÄ…chowski family',5,NULL,'Dear González-ÅÄ…chowski family',2,NULL,'González-ÅÄ…chowski family',NULL,NULL,NULL,0,NULL,'González-ÅÄ…chowski family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (127,'Organization',NULL,'New York Development Alliance','New York Development Alliance',NULL,NULL,NULL,NULL,0,1,0,0,0,0,NULL,'New York Development Alliance',NULL,NULL,NULL,NULL,NULL,'2521806482',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'New York Development Alliance',NULL,NULL,NULL,0,NULL,NULL,157,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (128,'Individual',NULL,'Mr. Maria DÃaz','Minnesota Education Network',NULL,'Maria','','DÃaz',0,0,0,0,0,0,NULL,'DÃaz, Maria',NULL,NULL,NULL,NULL,NULL,'2942500369',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Maria',1,NULL,'Dear Maria',1,NULL,'Mr. Maria DÃaz',NULL,2,'1979-04-28',0,NULL,NULL,NULL,NULL,NULL,181,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (129,'Household',NULL,'Nielsen family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Nielsen family',NULL,NULL,NULL,NULL,NULL,'766698874',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Nielsen family',5,NULL,'Dear Nielsen family',2,NULL,'Nielsen family',NULL,NULL,NULL,0,NULL,'Nielsen family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (130,'Individual',NULL,'Dr. Bryon ÅÄ…chowski Jr.',NULL,NULL,'Bryon','B','ÅÄ…chowski',0,0,0,0,0,0,NULL,'ÅÄ…chowski, Bryon',NULL,NULL,NULL,NULL,NULL,'2870735339',NULL,'Sample Data',4,1,NULL,NULL,1,NULL,'Dear Bryon',1,NULL,'Dear Bryon',1,NULL,'Dr. Bryon ÅÄ…chowski Jr.',NULL,2,'1986-02-15',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (131,'Individual',NULL,'Brigette Terrell-Wattson',NULL,NULL,'Brigette','','Terrell-Wattson',0,0,0,0,0,0,NULL,'Terrell-Wattson, Brigette',NULL,NULL,NULL,NULL,NULL,'4024735126',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Brigette',1,NULL,'Dear Brigette',1,NULL,'Brigette Terrell-Wattson',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (132,'Individual',NULL,'Mrs. Rebekah Grant',NULL,NULL,'Rebekah','X','Grant',0,0,0,0,0,0,NULL,'Grant, Rebekah',NULL,NULL,NULL,'4',NULL,'2220332101',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Rebekah',1,NULL,'Dear Rebekah',1,NULL,'Mrs. Rebekah Grant',NULL,1,'1959-03-12',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (133,'Individual',NULL,'Barry Wattson Sr.',NULL,NULL,'Barry','','Wattson',0,0,0,0,0,0,NULL,'Wattson, Barry',NULL,NULL,NULL,NULL,NULL,'3218596255',NULL,'Sample Data',NULL,2,NULL,NULL,1,NULL,'Dear Barry',1,NULL,'Dear Barry',1,NULL,'Barry Wattson Sr.',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (134,'Individual',NULL,'Margaret ÅÄ…chowski',NULL,NULL,'Margaret','C','ÅÄ…chowski',0,0,0,0,0,0,NULL,'ÅÄ…chowski, Margaret',NULL,NULL,NULL,NULL,NULL,'1214338746',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Margaret',1,NULL,'Dear Margaret',1,NULL,'Margaret ÅÄ…chowski',NULL,1,'1963-12-19',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (135,'Individual',NULL,'Elizabeth Samson',NULL,NULL,'Elizabeth','Q','Samson',0,0,0,0,0,0,NULL,'Samson, Elizabeth',NULL,NULL,NULL,'5',NULL,'2428742753',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Elizabeth',1,NULL,'Dear Elizabeth',1,NULL,'Elizabeth Samson',NULL,1,'1965-11-17',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (136,'Individual',NULL,'Ray Terrell-Grant','Nebraska Action Fund',NULL,'Ray','','Terrell-Grant',0,0,0,0,1,0,NULL,'Terrell-Grant, Ray',NULL,NULL,NULL,NULL,NULL,'518076437',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Ray',1,NULL,'Dear Ray',1,NULL,'Ray Terrell-Grant',NULL,NULL,'1989-06-28',0,NULL,NULL,NULL,NULL,NULL,37,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (137,'Individual',NULL,'swilson@fishmail.net',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'swilson@fishmail.net',NULL,NULL,NULL,NULL,NULL,'4039891968',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear swilson@fishmail.net',1,NULL,'Dear swilson@fishmail.net',1,NULL,'swilson@fishmail.net',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (138,'Individual',NULL,'Mrs. Santina Samuels',NULL,NULL,'Santina','K','Samuels',1,1,0,0,0,0,NULL,'Samuels, Santina',NULL,NULL,NULL,NULL,NULL,'2514918858',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Santina',1,NULL,'Dear Santina',1,NULL,'Mrs. Santina Samuels',NULL,NULL,'1982-04-27',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (139,'Individual',NULL,'Russell Terrell',NULL,NULL,'Russell','U','Terrell',0,0,0,0,0,0,NULL,'Terrell, Russell',NULL,NULL,NULL,'1',NULL,'127505299',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Russell',1,NULL,'Dear Russell',1,NULL,'Russell Terrell',NULL,NULL,'1980-11-17',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (140,'Individual',NULL,'Dr. Rebekah Wattson-Reynolds',NULL,NULL,'Rebekah','','Wattson-Reynolds',0,1,0,0,0,0,NULL,'Wattson-Reynolds, Rebekah',NULL,NULL,NULL,NULL,NULL,'2339170736',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Rebekah',1,NULL,'Dear Rebekah',1,NULL,'Dr. Rebekah Wattson-Reynolds',NULL,NULL,'1991-06-18',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (141,'Individual',NULL,'Bryon Lee III',NULL,NULL,'Bryon','','Lee',0,1,0,0,0,0,NULL,'Lee, Bryon',NULL,NULL,NULL,'5',NULL,'369670244',NULL,'Sample Data',NULL,4,NULL,NULL,1,NULL,'Dear Bryon',1,NULL,'Dear Bryon',1,NULL,'Bryon Lee III',NULL,NULL,'1970-03-30',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (142,'Individual',NULL,'Dr. Clint Jones',NULL,NULL,'Clint','P','Jones',0,0,0,0,0,0,NULL,'Jones, Clint',NULL,NULL,NULL,'5',NULL,'329949700',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Clint',1,NULL,'Dear Clint',1,NULL,'Dr. Clint Jones',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (143,'Individual',NULL,'Dr. Norris Blackwell','Lake City Peace Collective',NULL,'Norris','','Blackwell',0,0,0,0,1,0,NULL,'Blackwell, Norris',NULL,NULL,NULL,NULL,NULL,'2555129550',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Norris',1,NULL,'Dear Norris',1,NULL,'Dr. Norris Blackwell',NULL,NULL,'1980-03-11',0,NULL,NULL,NULL,NULL,NULL,125,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (144,'Individual',NULL,'Ms. Mei Parker',NULL,NULL,'Mei','','Parker',0,0,0,0,0,0,NULL,'Parker, Mei',NULL,NULL,NULL,NULL,NULL,'285847046',NULL,'Sample Data',2,NULL,NULL,NULL,1,NULL,'Dear Mei',1,NULL,'Dear Mei',1,NULL,'Ms. Mei Parker',NULL,1,'1943-05-07',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (145,'Individual',NULL,'Kiara Wilson',NULL,NULL,'Kiara','','Wilson',1,0,0,0,0,0,NULL,'Wilson, Kiara',NULL,NULL,NULL,'4',NULL,'3345517320',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Kiara',1,NULL,'Dear Kiara',1,NULL,'Kiara Wilson',NULL,1,'2016-10-30',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (146,'Individual',NULL,'Mr. Allan Reynolds',NULL,NULL,'Allan','','Reynolds',0,1,0,0,0,0,NULL,'Reynolds, Allan',NULL,NULL,NULL,'2',NULL,'2732914112',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Allan',1,NULL,'Dear Allan',1,NULL,'Mr. Allan Reynolds',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (147,'Organization',NULL,'Urban Development Alliance','Urban Development Alliance',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Urban Development Alliance',NULL,NULL,NULL,'1',NULL,'916341603',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Urban Development Alliance',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (148,'Individual',NULL,'Lawerence González',NULL,NULL,'Lawerence','','González',1,0,0,0,0,0,NULL,'González, Lawerence',NULL,NULL,NULL,NULL,NULL,'740179801',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Lawerence',1,NULL,'Dear Lawerence',1,NULL,'Lawerence González',NULL,2,'1984-08-05',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (149,'Household',NULL,'Olsen family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Olsen family',NULL,NULL,NULL,'3',NULL,'1990073228',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Olsen family',5,NULL,'Dear Olsen family',2,NULL,'Olsen family',NULL,NULL,NULL,0,NULL,'Olsen family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (150,'Individual',NULL,'Dr. Toby Olsen',NULL,NULL,'Toby','L','Olsen',0,0,0,0,0,0,NULL,'Olsen, Toby',NULL,NULL,NULL,'5',NULL,'2803490896',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Toby',1,NULL,'Dear Toby',1,NULL,'Dr. Toby Olsen',NULL,2,'1998-06-15',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (151,'Individual',NULL,'Mrs. Rebekah DÃaz-Smith',NULL,NULL,'Rebekah','I','DÃaz-Smith',0,0,0,0,0,0,NULL,'DÃaz-Smith, Rebekah',NULL,NULL,NULL,'5',NULL,'1695976558',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Rebekah',1,NULL,'Dear Rebekah',1,NULL,'Mrs. Rebekah DÃaz-Smith',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (152,'Individual',NULL,'Scarlet Robertson',NULL,NULL,'Scarlet','K','Robertson',0,0,0,0,0,0,NULL,'Robertson, Scarlet',NULL,NULL,NULL,'1',NULL,'3370215540',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Scarlet',1,NULL,'Dear Scarlet',1,NULL,'Scarlet Robertson',NULL,NULL,'2001-01-29',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (153,'Individual',NULL,'ab.reynolds@mymail.co.in',NULL,NULL,NULL,NULL,NULL,0,0,0,0,1,0,NULL,'ab.reynolds@mymail.co.in',NULL,NULL,NULL,'3',NULL,'2028329984',NULL,'Sample Data',3,3,NULL,NULL,1,NULL,'Dear ab.reynolds@mymail.co.in',1,NULL,'Dear ab.reynolds@mymail.co.in',1,NULL,'ab.reynolds@mymail.co.in',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (154,'Individual',NULL,'Mrs. Brittney González-Jameson',NULL,NULL,'Brittney','L','González-Jameson',0,0,0,0,0,0,NULL,'González-Jameson, Brittney',NULL,NULL,NULL,NULL,NULL,'2104518389',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Brittney',1,NULL,'Dear Brittney',1,NULL,'Mrs. Brittney González-Jameson',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (155,'Individual',NULL,'elinar93@spamalot.co.in',NULL,NULL,NULL,NULL,NULL,0,0,0,0,1,0,NULL,'elinar93@spamalot.co.in',NULL,NULL,NULL,NULL,NULL,'2711049419',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear elinar93@spamalot.co.in',1,NULL,'Dear elinar93@spamalot.co.in',1,NULL,'elinar93@spamalot.co.in',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (156,'Individual',NULL,'Mr. Elbert DÃaz Sr.',NULL,NULL,'Elbert','','DÃaz',0,0,0,0,0,0,NULL,'DÃaz, Elbert',NULL,NULL,NULL,NULL,NULL,'3277500689',NULL,'Sample Data',3,2,NULL,NULL,1,NULL,'Dear Elbert',1,NULL,'Dear Elbert',1,NULL,'Mr. Elbert DÃaz Sr.',NULL,NULL,'1987-12-16',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (157,'Individual',NULL,'Ashlie Jensen','New York Development Alliance',NULL,'Ashlie','','Jensen',1,0,0,0,0,0,NULL,'Jensen, Ashlie',NULL,NULL,NULL,'3',NULL,'2039449284',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Ashlie',1,NULL,'Dear Ashlie',1,NULL,'Ashlie Jensen',NULL,NULL,'1995-11-07',0,NULL,NULL,NULL,NULL,NULL,127,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (158,'Individual',NULL,'Shad Terrell-Grant',NULL,NULL,'Shad','','Terrell-Grant',0,0,0,0,0,0,NULL,'Terrell-Grant, Shad',NULL,NULL,NULL,'2',NULL,'3228076972',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Shad',1,NULL,'Dear Shad',1,NULL,'Shad Terrell-Grant',NULL,2,'1996-04-17',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (159,'Individual',NULL,'Elbert Blackwell',NULL,NULL,'Elbert','','Blackwell',0,0,0,0,0,0,NULL,'Blackwell, Elbert',NULL,NULL,NULL,'1',NULL,'3406370958',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Elbert',1,NULL,'Dear Elbert',1,NULL,'Elbert Blackwell',NULL,2,'1961-12-20',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (160,'Individual',NULL,'Dr. Landon Terrell II',NULL,NULL,'Landon','T','Terrell',1,0,0,0,0,0,NULL,'Terrell, Landon',NULL,NULL,NULL,'1',NULL,'4168752118',NULL,'Sample Data',4,3,NULL,NULL,1,NULL,'Dear Landon',1,NULL,'Dear Landon',1,NULL,'Dr. Landon Terrell II',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (161,'Individual',NULL,'Mrs. Santina Roberts',NULL,NULL,'Santina','','Roberts',0,1,0,0,0,0,NULL,'Roberts, Santina',NULL,NULL,NULL,'3',NULL,'1490757631',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Santina',1,NULL,'Dear Santina',1,NULL,'Mrs. Santina Roberts',NULL,NULL,'1953-07-20',1,'2023-06-06',NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (162,'Individual',NULL,'Mr. Maria Nielsen II',NULL,NULL,'Maria','','Nielsen',1,0,0,0,0,0,NULL,'Nielsen, Maria',NULL,NULL,NULL,'5',NULL,'60570432',NULL,'Sample Data',3,3,NULL,NULL,1,NULL,'Dear Maria',1,NULL,'Dear Maria',1,NULL,'Mr. Maria Nielsen II',NULL,2,'1965-06-22',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (163,'Individual',NULL,'Russell Wagner',NULL,NULL,'Russell','V','Wagner',0,0,0,0,0,0,NULL,'Wagner, Russell',NULL,NULL,NULL,NULL,NULL,'3304810540',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Russell',1,NULL,'Dear Russell',1,NULL,'Russell Wagner',NULL,2,'1981-03-23',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (164,'Individual',NULL,'Dr. Carlos Bachman',NULL,NULL,'Carlos','','Bachman',0,0,0,0,0,0,NULL,'Bachman, Carlos',NULL,NULL,NULL,NULL,NULL,'4021780594',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear Carlos',1,NULL,'Dear Carlos',1,NULL,'Dr. Carlos Bachman',NULL,2,'1983-04-23',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (165,'Household',NULL,'Samson-Cooper family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Samson-Cooper family',NULL,NULL,NULL,'3',NULL,'3303467244',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Samson-Cooper family',5,NULL,'Dear Samson-Cooper family',2,NULL,'Samson-Cooper family',NULL,NULL,NULL,0,NULL,'Samson-Cooper family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (166,'Organization',NULL,'California Legal Solutions','California Legal Solutions',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'California Legal Solutions',NULL,NULL,NULL,'1',NULL,'3986970694',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'California Legal Solutions',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (167,'Individual',NULL,'migueld@airmail.net','Van Ness Environmental Partners',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'migueld@airmail.net',NULL,NULL,NULL,NULL,NULL,'2084183003',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear migueld@airmail.net',1,NULL,'Dear migueld@airmail.net',1,NULL,'migueld@airmail.net',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,173,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (168,'Individual',NULL,'mllerc35@fakemail.com',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'mllerc35@fakemail.com',NULL,NULL,NULL,NULL,NULL,'3058929808',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear mllerc35@fakemail.com',1,NULL,'Dear mllerc35@fakemail.com',1,NULL,'mllerc35@fakemail.com',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (169,'Individual',NULL,'wattson.t.roland@notmail.co.uk','Jackson Sports Academy',NULL,NULL,NULL,NULL,1,0,0,0,0,0,NULL,'wattson.t.roland@notmail.co.uk',NULL,NULL,NULL,'3',NULL,'1082858682',NULL,'Sample Data',3,3,NULL,NULL,1,NULL,'Dear wattson.t.roland@notmail.co.uk',1,NULL,'Dear wattson.t.roland@notmail.co.uk',1,NULL,'wattson.t.roland@notmail.co.uk',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,8,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (170,'Individual',NULL,'Ms. Jina Samuels',NULL,NULL,'Jina','S','Samuels',0,1,0,0,0,0,NULL,'Samuels, Jina',NULL,NULL,NULL,'5',NULL,'202942024',NULL,'Sample Data',2,NULL,NULL,NULL,1,NULL,'Dear Jina',1,NULL,'Dear Jina',1,NULL,'Ms. Jina Samuels',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (171,'Individual',NULL,'Mei Samuels',NULL,NULL,'Mei','F','Samuels',0,1,0,0,0,0,NULL,'Samuels, Mei',NULL,NULL,NULL,NULL,NULL,'2521418918',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Mei',1,NULL,'Dear Mei',1,NULL,'Mei Samuels',NULL,1,'1943-05-30',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (172,'Individual',NULL,'robertsn@lol.info',NULL,NULL,NULL,NULL,NULL,1,0,0,0,0,0,NULL,'robertsn@lol.info',NULL,NULL,NULL,NULL,NULL,'3055687943',NULL,'Sample Data',4,2,NULL,NULL,1,NULL,'Dear robertsn@lol.info',1,NULL,'Dear robertsn@lol.info',1,NULL,'robertsn@lol.info',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (173,'Organization',NULL,'Van Ness Environmental Partners','Van Ness Environmental Partners',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Van Ness Environmental Partners',NULL,NULL,NULL,'5',NULL,'1648830337',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Van Ness Environmental Partners',NULL,NULL,NULL,0,NULL,NULL,167,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (174,'Household',NULL,'ÅÄ…chowski family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'ÅÄ…chowski family',NULL,NULL,NULL,'4',NULL,'2407077255',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear ÅÄ…chowski family',5,NULL,'Dear ÅÄ…chowski family',2,NULL,'ÅÄ…chowski family',NULL,NULL,NULL,0,NULL,'ÅÄ…chowski family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (175,'Organization',NULL,'Community Literacy School','Community Literacy School',NULL,NULL,NULL,NULL,1,0,0,0,0,0,NULL,'Community Literacy School',NULL,NULL,NULL,'1',NULL,'796670246',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Community Literacy School',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (176,'Household',NULL,'DÃaz family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'DÃaz family',NULL,NULL,NULL,'5',NULL,'2169249835',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear DÃaz family',5,NULL,'Dear DÃaz family',2,NULL,'DÃaz family',NULL,NULL,NULL,0,NULL,'DÃaz family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (177,'Individual',NULL,'Mr. Omar Parker',NULL,NULL,'Omar','','Parker',0,0,0,0,0,0,NULL,'Parker, Omar',NULL,NULL,NULL,'1',NULL,'3921166397',NULL,'Sample Data',3,NULL,NULL,NULL,1,NULL,'Dear Omar',1,NULL,'Dear Omar',1,NULL,'Mr. Omar Parker',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (178,'Individual',NULL,'Dr. Clint ÅÄ…chowski III',NULL,NULL,'Clint','O','ÅÄ…chowski',0,0,0,0,0,0,NULL,'ÅÄ…chowski, Clint',NULL,NULL,NULL,'3',NULL,'3739390908',NULL,'Sample Data',4,4,NULL,NULL,1,NULL,'Dear Clint',1,NULL,'Dear Clint',1,NULL,'Dr. Clint ÅÄ…chowski III',NULL,2,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (179,'Organization',NULL,'Bay Sports Collective','Bay Sports Collective',NULL,NULL,NULL,NULL,0,1,0,0,0,0,NULL,'Bay Sports Collective',NULL,NULL,NULL,'4',NULL,'3365443520',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Bay Sports Collective',NULL,NULL,NULL,0,NULL,NULL,77,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (180,'Individual',NULL,'Scarlet Nielsen-Terry',NULL,NULL,'Scarlet','','Nielsen-Terry',0,0,0,0,0,0,NULL,'Nielsen-Terry, Scarlet',NULL,NULL,NULL,NULL,NULL,'353347519',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Scarlet',1,NULL,'Dear Scarlet',1,NULL,'Scarlet Nielsen-Terry',NULL,1,'1978-07-26',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (181,'Organization',NULL,'Minnesota Education Network','Minnesota Education Network',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Minnesota Education Network',NULL,NULL,NULL,NULL,NULL,'1509961695',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Minnesota Education Network',NULL,NULL,NULL,0,NULL,NULL,128,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (182,'Individual',NULL,'Mrs. Iris Wattson',NULL,NULL,'Iris','','Wattson',0,0,0,0,0,0,NULL,'Wattson, Iris',NULL,NULL,NULL,'5',NULL,'532322376',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Iris',1,NULL,'Dear Iris',1,NULL,'Mrs. Iris Wattson',NULL,1,'1980-02-24',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (183,'Individual',NULL,'Carlos Deforest',NULL,NULL,'Carlos','H','Deforest',0,0,0,0,0,0,NULL,'Deforest, Carlos',NULL,NULL,NULL,NULL,NULL,'2222599648',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Carlos',1,NULL,'Dear Carlos',1,NULL,'Carlos Deforest',NULL,2,'1985-06-10',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (184,'Individual',NULL,'Josefa Cooper',NULL,NULL,'Josefa','R','Cooper',0,1,0,0,0,0,NULL,'Cooper, Josefa',NULL,NULL,NULL,NULL,NULL,'1658731822',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Josefa',1,NULL,'Dear Josefa',1,NULL,'Josefa Cooper',NULL,1,'1951-01-28',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (185,'Individual',NULL,'Mrs. Bernadette Terry',NULL,NULL,'Bernadette','F','Terry',0,0,0,0,1,0,NULL,'Terry, Bernadette',NULL,NULL,NULL,'4',NULL,'2401458356',NULL,'Sample Data',1,NULL,NULL,NULL,1,NULL,'Dear Bernadette',1,NULL,'Dear Bernadette',1,NULL,'Mrs. Bernadette Terry',NULL,1,'1951-03-30',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (186,'Individual',NULL,'Ashlie Samson-Cooper',NULL,NULL,'Ashlie','','Samson-Cooper',0,1,0,0,1,0,NULL,'Samson-Cooper, Ashlie',NULL,NULL,NULL,NULL,NULL,'483671564',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Ashlie',1,NULL,'Dear Ashlie',1,NULL,'Ashlie Samson-Cooper',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (187,'Household',NULL,'Jensen family',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Jensen family',NULL,NULL,NULL,'5',NULL,'797435572',NULL,'Sample Data',NULL,NULL,NULL,NULL,5,NULL,'Dear Jensen family',5,NULL,'Dear Jensen family',2,NULL,'Jensen family',NULL,NULL,NULL,0,NULL,'Jensen family',NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (188,'Individual',NULL,'Ashley Samson-Cooper III',NULL,NULL,'Ashley','','Samson-Cooper',0,0,0,0,0,0,NULL,'Samson-Cooper, Ashley',NULL,NULL,NULL,'4',NULL,'2757766479',NULL,'Sample Data',NULL,4,NULL,NULL,1,NULL,'Dear Ashley',1,NULL,'Dear Ashley',1,NULL,'Ashley Samson-Cooper III',NULL,NULL,'1985-01-15',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (189,'Individual',NULL,'Heidi ÅÄ…chowski',NULL,NULL,'Heidi','K','ÅÄ…chowski',1,0,0,0,0,0,NULL,'ÅÄ…chowski, Heidi',NULL,NULL,NULL,'2',NULL,'1305700724',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Heidi',1,NULL,'Dear Heidi',1,NULL,'Heidi ÅÄ…chowski',NULL,NULL,'1986-08-14',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (190,'Individual',NULL,'Elina Deforest',NULL,NULL,'Elina','I','Deforest',0,1,0,0,1,0,NULL,'Deforest, Elina',NULL,NULL,NULL,'4',NULL,'1943101487',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Elina',1,NULL,'Dear Elina',1,NULL,'Elina Deforest',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (191,'Organization',NULL,'Kermit Sustainability Collective','Kermit Sustainability Collective',NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'Kermit Sustainability Collective',NULL,NULL,NULL,NULL,NULL,'3027771782',NULL,'Sample Data',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,3,NULL,'Kermit Sustainability Collective',NULL,NULL,NULL,0,NULL,NULL,111,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (192,'Individual',NULL,'Errol González-ÅÄ…chowski III',NULL,NULL,'Errol','','González-ÅÄ…chowski',0,1,0,0,1,0,NULL,'González-ÅÄ…chowski, Errol',NULL,NULL,NULL,NULL,NULL,'3571001074',NULL,'Sample Data',NULL,4,NULL,NULL,1,NULL,'Dear Errol',1,NULL,'Dear Errol',1,NULL,'Errol González-ÅÄ…chowski III',NULL,2,'1999-05-20',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (193,'Individual',NULL,'Santina Reynolds',NULL,NULL,'Santina','','Reynolds',0,0,0,0,0,0,NULL,'Reynolds, Santina',NULL,NULL,NULL,'4',NULL,'3534228048',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Santina',1,NULL,'Dear Santina',1,NULL,'Santina Reynolds',NULL,1,'2008-07-22',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (194,'Individual',NULL,'Sharyn DÃaz',NULL,NULL,'Sharyn','','DÃaz',0,1,0,0,0,0,NULL,'DÃaz, Sharyn',NULL,NULL,NULL,'1',NULL,'4129279229',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Sharyn',1,NULL,'Dear Sharyn',1,NULL,'Sharyn DÃaz',NULL,1,'1986-07-05',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (195,'Individual',NULL,'Mr. Erik Adams III',NULL,NULL,'Erik','H','Adams',0,1,0,0,0,0,NULL,'Adams, Erik',NULL,NULL,NULL,'3',NULL,'1567928244',NULL,'Sample Data',3,4,NULL,NULL,1,NULL,'Dear Erik',1,NULL,'Dear Erik',1,NULL,'Mr. Erik Adams III',NULL,2,'1972-04-18',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (196,'Individual',NULL,'Ivey Prentice',NULL,NULL,'Ivey','K','Prentice',0,0,0,0,0,0,NULL,'Prentice, Ivey',NULL,NULL,NULL,NULL,NULL,'543143122',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Ivey',1,NULL,'Dear Ivey',1,NULL,'Ivey Prentice',NULL,NULL,'1976-07-09',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (197,'Individual',NULL,'margaretjensen39@sample.co.nz',NULL,NULL,NULL,NULL,NULL,0,1,0,0,0,0,NULL,'margaretjensen39@sample.co.nz',NULL,NULL,NULL,'3',NULL,'2925107065',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear margaretjensen39@sample.co.nz',1,NULL,'Dear margaretjensen39@sample.co.nz',1,NULL,'margaretjensen39@sample.co.nz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (198,'Individual',NULL,'Errol Grant','United Empowerment Association',NULL,'Errol','','Grant',0,0,0,0,0,0,NULL,'Grant, Errol',NULL,NULL,NULL,NULL,NULL,'3028211429',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Errol',1,NULL,'Dear Errol',1,NULL,'Errol Grant',NULL,NULL,'1952-03-16',0,NULL,NULL,NULL,NULL,NULL,89,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (199,'Individual',NULL,'daz.arlyne@airmail.biz',NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,0,NULL,'daz.arlyne@airmail.biz',NULL,NULL,NULL,NULL,NULL,'714825777',NULL,'Sample Data',4,NULL,NULL,NULL,1,NULL,'Dear daz.arlyne@airmail.biz',1,NULL,'Dear daz.arlyne@airmail.biz',1,NULL,'daz.arlyne@airmail.biz',NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:21','Both'), + (200,'Individual',NULL,'Claudio Adams Sr.',NULL,NULL,'Claudio','I','Adams',0,0,0,0,0,0,NULL,'Adams, Claudio',NULL,NULL,NULL,'1',NULL,'3216468199',NULL,'Sample Data',NULL,2,NULL,NULL,1,NULL,'Dear Claudio',1,NULL,'Dear Claudio',1,NULL,'Claudio Adams Sr.',NULL,2,'1936-06-07',0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (201,'Individual',NULL,'Margaret Nielsen',NULL,NULL,'Margaret','C','Nielsen',1,0,0,0,1,0,NULL,'Nielsen, Margaret',NULL,NULL,NULL,'3',NULL,'3984018462',NULL,'Sample Data',NULL,NULL,NULL,NULL,1,NULL,'Dear Margaret',1,NULL,'Dear Margaret',1,NULL,'Margaret Nielsen',NULL,1,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:20','2023-06-09 21:52:20','Both'), + (202,'Individual',NULL,'Jenny Lee',NULL,NULL,'Jenny',NULL,'Lee',0,0,0,0,0,0,NULL,'Lee, Jenny',NULL,NULL,NULL,NULL,'en_US','c79cf7cf3b1e23ab85eeccf31d53e534',NULL,NULL,NULL,NULL,NULL,1,1,NULL,'Dear Jenny',1,NULL,'Dear Jenny',1,NULL,'Jenny Lee','Volunteer coordinator',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,0,'2023-06-09 21:52:21','2023-06-09 21:52:21','Both'); /*!40000 ALTER TABLE `civicrm_contact` ENABLE KEYS */; UNLOCK TABLES; @@ -2308,117 +2287,117 @@ UNLOCK TABLES; LOCK TABLES `civicrm_contribution` WRITE; /*!40000 ALTER TABLE `civicrm_contribution` DISABLE KEYS */; INSERT INTO `civicrm_contribution` (`id`, `contact_id`, `financial_type_id`, `contribution_page_id`, `payment_instrument_id`, `receive_date`, `non_deductible_amount`, `total_amount`, `fee_amount`, `net_amount`, `trxn_id`, `invoice_id`, `invoice_number`, `currency`, `cancel_date`, `cancel_reason`, `receipt_date`, `thankyou_date`, `source`, `amount_level`, `contribution_recur_id`, `is_test`, `is_pay_later`, `contribution_status_id`, `address_id`, `check_number`, `campaign_id`, `creditnote_id`, `tax_amount`, `revenue_recognition_date`, `is_template`) VALUES - (1,2,1,NULL,4,'2013-04-30 16:20:59',0.00,125.00,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'April Mailer 1',NULL,NULL,0,0,1,NULL,'1041',NULL,NULL,NULL,NULL,0), - (2,4,1,NULL,1,'2021-01-30 16:20:59',0.00,50.00,NULL,NULL,'P20901X1',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Online: Save the Penguins',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (3,6,1,NULL,4,'2017-04-05 03:20:59',0.00,25.00,NULL,NULL,'GBP12',NULL,NULL,'GBP',NULL,NULL,NULL,NULL,'April Mailer 1',NULL,NULL,0,0,1,NULL,'2095',NULL,NULL,NULL,NULL,0), - (4,8,1,NULL,4,'2021-01-30 16:20:59',0.00,50.00,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Online: Save the Penguins',NULL,NULL,0,0,1,NULL,'10552',NULL,NULL,NULL,NULL,0), - (5,4,1,NULL,1,'2021-01-30 16:20:59',0.00,50.00,NULL,NULL,'Q90901X1',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Online: Save the Penguins',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (6,16,1,NULL,4,'2023-02-04 15:38:59',0.00,500.00,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'April Mailer 1',NULL,NULL,0,0,1,NULL,'509',NULL,NULL,NULL,NULL,0), - (7,19,1,NULL,1,'2023-04-28 16:20:59',0.00,1750.00,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Online: Save the Penguins',NULL,NULL,0,0,1,NULL,'102',NULL,NULL,NULL,NULL,0), - (8,82,1,NULL,1,'2022-09-06 00:31:59',0.00,50.00,NULL,NULL,'P20193L2',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Online: Save the Penguins',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (9,92,1,NULL,1,'2022-05-30 16:20:59',0.00,10.00,NULL,NULL,'P40232Y3',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Online: Help CiviCRM',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (10,34,1,NULL,1,'2018-12-07 18:20:59',0.00,250.00,NULL,NULL,'P20193L6',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Online: Help CiviCRM',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (11,71,1,NULL,1,'2023-04-29 12:20:59',0.00,500.00,NULL,NULL,'PL71',NULL,NULL,'JPY',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (12,43,1,NULL,1,'2022-01-30 05:47:39',0.00,50.00,NULL,NULL,'P291X1',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Online: Save the Penguins',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (13,32,1,NULL,1,'2023-01-30 00:00:00',0.00,50.00,NULL,NULL,'PL32I',NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (14,32,1,NULL,1,'2023-03-02 00:00:00',0.00,50.00,NULL,NULL,'PL32II',NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (15,59,1,NULL,1,'2022-01-30 16:20:59',0.00,25.00,NULL,NULL,'PL32I591',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (16,59,1,NULL,1,'2022-03-02 16:20:59',0.00,25.00,NULL,NULL,'PL32I592',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (17,59,1,NULL,1,'2022-04-02 16:20:59',0.00,25.00,NULL,NULL,'PL32I593',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (18,59,1,NULL,1,'2022-05-02 16:20:59',0.00,25.00,NULL,NULL,'PL32I594',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (19,59,1,NULL,1,'2022-06-02 16:20:59',0.00,25.00,NULL,NULL,'PL32I595',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (20,59,1,NULL,1,'2022-07-02 16:20:59',0.00,25.00,NULL,NULL,'PL32I596',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (21,59,1,NULL,1,'2022-08-02 16:20:59',0.00,25.00,NULL,NULL,'PL32I597',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (22,59,1,NULL,1,'2022-09-02 16:20:59',0.00,25.00,NULL,NULL,'PL32I598',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (23,59,1,NULL,1,'2022-10-02 16:20:59',0.00,25.00,NULL,NULL,'PL32I599',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (24,59,1,NULL,1,'2022-11-02 16:20:59',0.00,25.00,NULL,NULL,'PL32I5910',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (25,59,1,NULL,1,'2022-12-02 16:20:59',0.00,25.00,NULL,NULL,'PL32I5911',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (26,99,1,NULL,1,'2022-08-30 16:20:59',0.00,10.00,NULL,NULL,'PL32I991',NULL,NULL,'CAD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,2,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (27,99,1,NULL,1,'2022-09-30 16:20:59',0.00,10.00,NULL,NULL,'PL32I992',NULL,NULL,'CAD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,2,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (28,99,1,NULL,1,'2022-10-30 16:20:59',0.00,10.00,NULL,NULL,'PL32I993',NULL,NULL,'CAD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,2,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (29,99,1,NULL,1,'2022-11-30 16:20:59',0.00,10.00,NULL,NULL,'PL32I994',NULL,NULL,'CAD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,2,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (30,99,1,NULL,1,'2022-12-30 16:20:59',0.00,10.00,NULL,NULL,'PL32I995',NULL,NULL,'CAD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,2,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (31,103,1,NULL,1,'2023-03-30 16:20:59',0.00,5.00,NULL,NULL,'PL32I1031',NULL,NULL,'EUR',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,3,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (32,82,2,NULL,1,'2023-04-30 16:20:59',0.00,100.00,NULL,NULL,'6f7589b5084c6020',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (33,194,2,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'af32ad2d15612cb6',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (34,114,2,NULL,1,'2023-04-30 16:20:59',0.00,100.00,NULL,NULL,'6f4bd372a63437e7',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (35,77,2,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'82e68c03ee965a19',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (36,49,2,NULL,1,'2023-04-30 16:20:59',0.00,100.00,NULL,NULL,'5f829a39de1adcf4',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (37,78,2,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'a9e6077919deaa6f',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (38,54,2,NULL,1,'2023-04-30 16:20:59',0.00,100.00,NULL,NULL,'8a19be0472a9584a',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (39,26,2,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'d4da2fde4e1e67f7',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (40,133,2,NULL,1,'2023-04-30 16:20:59',0.00,100.00,NULL,NULL,'f81fcde204d61b49',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (41,131,2,NULL,1,'2023-04-30 16:20:59',0.00,100.00,NULL,NULL,'e3606c8457d3f30c',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (42,30,2,NULL,1,'2023-04-30 16:20:59',0.00,1200.00,NULL,NULL,'ebbbf9f8da769285',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Lifetime Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (43,25,2,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'d7076ea3bf5db736',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (44,83,2,NULL,1,'2023-04-30 16:20:59',0.00,100.00,NULL,NULL,'5d59370ff91ad6af',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (45,147,2,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'45e20ac972a75b90',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (46,150,2,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'d676d10bacc10994',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (47,73,2,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'cc8a656f37b32866',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (48,100,2,NULL,1,'2023-04-30 16:20:59',0.00,100.00,NULL,NULL,'89b4abf36a380409',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (49,13,2,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'83333c165d9fa54c',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (50,10,2,NULL,1,'2023-04-30 16:20:59',0.00,100.00,NULL,NULL,'aa6f1a8cd76a853e',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (51,180,2,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'b9b52f5ac78b6750',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (52,175,2,NULL,1,'2023-04-30 16:20:59',0.00,100.00,NULL,NULL,'2bdae4b5f5c21a76',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (53,182,2,NULL,1,'2023-04-30 16:20:59',0.00,1200.00,NULL,NULL,'15b299723d7fbaf6',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Lifetime Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (54,134,2,NULL,1,'2023-04-30 16:20:59',0.00,100.00,NULL,NULL,'5abb702cb569b268',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (55,98,2,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'c617320a73714683',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (56,157,2,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'44586c69b495d537',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (57,90,2,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'1c7f7d16f7bccc57',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (58,152,2,NULL,1,'2023-04-30 16:20:59',0.00,100.00,NULL,NULL,'96c6b2fb8d24d5bd',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (59,136,2,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'d3625956f0e541a5',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (60,110,2,NULL,1,'2023-04-30 16:20:59',0.00,100.00,NULL,NULL,'006432ee89592ed8',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (61,138,2,NULL,1,'2023-04-30 16:20:59',0.00,100.00,NULL,NULL,'6d9e4ba10e48b7dc',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (63,109,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'30e0b62f9a1970ee',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (64,85,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'b4b22306a1971add',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (65,155,4,NULL,1,'2023-04-30 16:20:59',0.00,800.00,NULL,NULL,'cfdf4e43ffe24078',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (66,160,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'9a9b39d49c5d46a0',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (67,68,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'8316da2b91c93ab0',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (68,14,4,NULL,1,'2023-04-30 16:20:59',0.00,800.00,NULL,NULL,'671fe40949dfcf3a',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (69,199,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'bcd583db2ff0ced6',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (70,64,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'c0738f622f42d29f',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (71,95,4,NULL,1,'2023-04-30 16:20:59',0.00,800.00,NULL,NULL,'9a50cff13c6fc189',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (72,148,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'d1b90bbd552288a0',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (73,169,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'2653ccbd99641f28',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (74,59,4,NULL,1,'2023-04-30 16:20:59',0.00,800.00,NULL,NULL,'0664d203cb69891c',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (75,124,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'3bb8809336322d10',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (76,123,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'1d93f04b2051f2ef',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (77,121,4,NULL,1,'2023-04-30 16:20:59',0.00,800.00,NULL,NULL,'2f45db7fc5a43fd9',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (78,93,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'5ca62d76ec1bfacf',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (79,2,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'0a78358a163808ae',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (80,94,4,NULL,1,'2023-04-30 16:20:59',0.00,800.00,NULL,NULL,'f0d1b3a6edc0ed3b',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (81,56,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'eb26b556ce875163',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (82,51,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'8873a8359f19cad7',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (83,28,4,NULL,1,'2023-04-30 16:20:59',0.00,800.00,NULL,NULL,'205c7efca65a7219',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (84,101,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'c9cab8fb1bd0e976',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (85,104,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'1895b636b3dd103a',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (86,96,4,NULL,1,'2023-04-30 16:20:59',0.00,800.00,NULL,NULL,'9f809d059d6bb191',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (87,166,4,NULL,1,'2023-04-30 16:20:59',0.00,800.00,NULL,NULL,'7ac5a1d9dd8d6122',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (88,176,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'10a963908c532a6e',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (89,173,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'3c29230ce5eb6fb9',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (90,165,4,NULL,1,'2023-04-30 16:20:59',0.00,800.00,NULL,NULL,'75543322e3077a22',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (91,153,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'045f0ff3876922c6',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (92,181,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'c40a2b9b2f785067',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (93,23,4,NULL,1,'2023-04-30 16:20:59',0.00,800.00,NULL,NULL,'cc9252d1701b4b86',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (94,58,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'5079be9f1be0a173',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (95,21,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'f123a6d1e7118c52',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (96,81,4,NULL,1,'2023-04-30 16:20:59',0.00,800.00,NULL,NULL,'77e774777749a34d',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (97,130,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'db6db09d78047ac6',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (98,151,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'af4f2a00d321d69d',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (99,24,4,NULL,1,'2023-04-30 16:20:59',0.00,800.00,NULL,NULL,'00e8874c93c147ed',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (100,19,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'60402f153a597dbf',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (101,86,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'73b91a59978a1329',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (102,91,4,NULL,1,'2023-04-30 16:20:59',0.00,800.00,NULL,NULL,'c2d01c3bd91094f7',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (103,25,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'d47448dc53af02b4',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (104,201,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'1c382f2fd9576993',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (105,87,4,NULL,1,'2023-04-30 16:20:59',0.00,800.00,NULL,NULL,'606abaccbca40fcc',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (106,77,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'604843d015822a79',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (107,190,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'7e4c149beba3b7bb',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (108,150,4,NULL,1,'2023-04-30 16:20:59',0.00,800.00,NULL,NULL,'0b8d4ea33472654e',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (109,54,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'d81bda55921def7b',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (110,38,4,NULL,1,'2023-04-30 16:20:59',0.00,50.00,NULL,NULL,'e2f1d766c78371af',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (111,37,4,NULL,1,'2023-04-30 16:20:59',0.00,800.00,NULL,NULL,'2ed8b5ca7a2876ba',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), - (112,103,4,NULL,1,'2023-04-30 16:20:59',0.00,800.00,NULL,NULL,'c38d5b31fb55a745',NULL,NULL,'USD',NULL,NULL,'2023-04-30 16:20:59',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0); + (1,2,1,NULL,4,'2013-06-09 14:52:21',0.00,125.00,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'April Mailer 1',NULL,NULL,0,0,1,NULL,'1041',NULL,NULL,NULL,NULL,0), + (2,4,1,NULL,1,'2021-03-09 14:52:21',0.00,50.00,NULL,NULL,'P20901X1',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Online: Save the Penguins',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (3,6,1,NULL,4,'2017-05-15 01:52:21',0.00,25.00,NULL,NULL,'GBP12',NULL,NULL,'GBP',NULL,NULL,NULL,NULL,'April Mailer 1',NULL,NULL,0,0,1,NULL,'2095',NULL,NULL,NULL,NULL,0), + (4,8,1,NULL,4,'2021-03-09 14:52:21',0.00,50.00,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Online: Save the Penguins',NULL,NULL,0,0,1,NULL,'10552',NULL,NULL,NULL,NULL,0), + (5,4,1,NULL,1,'2021-03-09 14:52:21',0.00,50.00,NULL,NULL,'Q90901X1',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Online: Save the Penguins',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (6,16,1,NULL,4,'2023-03-16 14:10:21',0.00,500.00,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'April Mailer 1',NULL,NULL,0,0,1,NULL,'509',NULL,NULL,NULL,NULL,0), + (7,19,1,NULL,1,'2023-06-07 14:52:21',0.00,1750.00,NULL,NULL,NULL,NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Online: Save the Penguins',NULL,NULL,0,0,1,NULL,'102',NULL,NULL,NULL,NULL,0), + (8,82,1,NULL,1,'2022-10-15 23:03:21',0.00,50.00,NULL,NULL,'P20193L2',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Online: Save the Penguins',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (9,92,1,NULL,1,'2022-07-09 14:52:21',0.00,10.00,NULL,NULL,'P40232Y3',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Online: Help CiviCRM',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (10,34,1,NULL,1,'2019-01-17 16:52:21',0.00,250.00,NULL,NULL,'P20193L6',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Online: Help CiviCRM',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (11,71,1,NULL,1,'2023-06-08 10:52:21',0.00,500.00,NULL,NULL,'PL71',NULL,NULL,'JPY',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (12,43,1,NULL,1,'2022-03-09 04:19:01',0.00,50.00,NULL,NULL,'P291X1',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Online: Save the Penguins',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (13,32,1,NULL,1,'2023-03-09 00:00:00',0.00,50.00,NULL,NULL,'PL32I',NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (14,32,1,NULL,1,'2023-04-09 00:00:00',0.00,50.00,NULL,NULL,'PL32II',NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (15,59,1,NULL,1,'2022-03-09 14:52:21',0.00,25.00,NULL,NULL,'PL32I591',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (16,59,1,NULL,1,'2022-04-09 14:52:21',0.00,25.00,NULL,NULL,'PL32I592',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (17,59,1,NULL,1,'2022-05-09 14:52:21',0.00,25.00,NULL,NULL,'PL32I593',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (18,59,1,NULL,1,'2022-06-09 14:52:21',0.00,25.00,NULL,NULL,'PL32I594',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (19,59,1,NULL,1,'2022-07-09 14:52:21',0.00,25.00,NULL,NULL,'PL32I595',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (20,59,1,NULL,1,'2022-08-09 14:52:21',0.00,25.00,NULL,NULL,'PL32I596',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (21,59,1,NULL,1,'2022-09-09 14:52:21',0.00,25.00,NULL,NULL,'PL32I597',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (22,59,1,NULL,1,'2022-10-09 14:52:21',0.00,25.00,NULL,NULL,'PL32I598',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (23,59,1,NULL,1,'2022-11-09 14:52:21',0.00,25.00,NULL,NULL,'PL32I599',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (24,59,1,NULL,1,'2022-12-09 14:52:21',0.00,25.00,NULL,NULL,'PL32I5910',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (25,59,1,NULL,1,'2023-01-09 14:52:21',0.00,25.00,NULL,NULL,'PL32I5911',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,1,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (26,99,1,NULL,1,'2022-10-09 14:52:21',0.00,10.00,NULL,NULL,'PL32I991',NULL,NULL,'CAD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,2,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (27,99,1,NULL,1,'2022-11-09 14:52:21',0.00,10.00,NULL,NULL,'PL32I992',NULL,NULL,'CAD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,2,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (28,99,1,NULL,1,'2022-12-09 14:52:21',0.00,10.00,NULL,NULL,'PL32I993',NULL,NULL,'CAD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,2,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (29,99,1,NULL,1,'2023-01-09 14:52:21',0.00,10.00,NULL,NULL,'PL32I994',NULL,NULL,'CAD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,2,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (30,99,1,NULL,1,'2023-02-09 14:52:21',0.00,10.00,NULL,NULL,'PL32I995',NULL,NULL,'CAD',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,2,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (31,103,1,NULL,1,'2023-05-09 14:52:21',0.00,5.00,NULL,NULL,'PL32I1031',NULL,NULL,'EUR',NULL,NULL,NULL,NULL,'Recurring contribution',NULL,3,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (32,94,2,NULL,1,'2023-06-09 14:52:21',0.00,100.00,NULL,NULL,'a63c621969b4fafa',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (33,145,2,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'c6bf8fdfc605a228',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (34,133,2,NULL,1,'2023-06-09 14:52:21',0.00,100.00,NULL,NULL,'435ee48ee98adc2a',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (35,103,2,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'daf78f49a4be7403',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (36,18,2,NULL,1,'2023-06-09 14:52:21',0.00,100.00,NULL,NULL,'9d88c0f0f7d55acd',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (37,27,2,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'918d4ce8eca2877c',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (38,62,2,NULL,1,'2023-06-09 14:52:21',0.00,100.00,NULL,NULL,'de569000b949cd15',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (39,29,2,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'10a8ed7878b8bc00',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (40,83,2,NULL,1,'2023-06-09 14:52:21',0.00,100.00,NULL,NULL,'3441863cdb99bbc4',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (41,53,2,NULL,1,'2023-06-09 14:52:21',0.00,100.00,NULL,NULL,'ed9ca6fd7e9d6e71',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (42,113,2,NULL,1,'2023-06-09 14:52:21',0.00,1200.00,NULL,NULL,'c7c2b7e03598de8a',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Lifetime Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (43,200,2,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'797b4d01568b3896',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (44,186,2,NULL,1,'2023-06-09 14:52:21',0.00,100.00,NULL,NULL,'aaf14f7ab4229d84',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (45,15,2,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'8cc0495a4ebdc3d2',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (46,70,2,NULL,1,'2023-06-09 14:52:21',0.00,100.00,NULL,NULL,'2a7551395c8b12fc',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (47,155,2,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'ac0ae12a8d06ca5c',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (48,23,2,NULL,1,'2023-06-09 14:52:21',0.00,100.00,NULL,NULL,'dffcede15b75b2ad',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (49,182,2,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'c45b2dae09cf9a01',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (50,30,2,NULL,1,'2023-06-09 14:52:21',0.00,100.00,NULL,NULL,'7123b34ae7f29549',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (51,69,2,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'12c863eb3cf7e379',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (52,197,2,NULL,1,'2023-06-09 14:52:21',0.00,100.00,NULL,NULL,'6ed8b46a15381cfc',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (53,201,2,NULL,1,'2023-06-09 14:52:21',0.00,1200.00,NULL,NULL,'862fabdb5981aac4',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Lifetime Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (54,13,2,NULL,1,'2023-06-09 14:52:21',0.00,100.00,NULL,NULL,'b30292064c7c0a53',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (55,157,2,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'6ccbe6ac35f5ddf5',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (56,63,2,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'819b5539b289fcc9',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (57,154,2,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'0f933686bb598025',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (58,90,2,NULL,1,'2023-06-09 14:52:21',0.00,100.00,NULL,NULL,'4242d6f63f02c87b',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (59,199,2,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'956ac4a05e3cc963',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'Student Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (60,56,2,NULL,1,'2023-06-09 14:52:21',0.00,100.00,NULL,NULL,'05b53742a3df8bba',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (61,74,2,NULL,1,'2023-06-09 14:52:21',0.00,100.00,NULL,NULL,'e6540777435c16cd',NULL,NULL,'USD',NULL,NULL,NULL,NULL,'General Membership: Offline signup',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (63,149,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'dff53ed32192eb21',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (64,99,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'a631cdb2091331ca',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (65,200,4,NULL,1,'2023-06-09 14:52:21',0.00,800.00,NULL,NULL,'da6c6a7015ce05f9',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (66,114,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'02e47c753921eaf4',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (67,165,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'e08d0289e2c5748b',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (68,83,4,NULL,1,'2023-06-09 14:52:21',0.00,800.00,NULL,NULL,'2e52c1ab5254ecfd',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (69,32,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'9a7addf2c5ff8dcb',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (70,84,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'1674358f8771bdaa',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (71,173,4,NULL,1,'2023-06-09 14:52:21',0.00,800.00,NULL,NULL,'0b0ec7d083f1493f',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (72,7,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'2df4bd47939d5f88',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (73,46,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'bc13023a2f6b7295',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (74,144,4,NULL,1,'2023-06-09 14:52:21',0.00,800.00,NULL,NULL,'f96d4e19ff817c8b',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (75,24,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'df5a4fd8964751ba',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (76,73,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'da6bff40ac2539ad',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (77,199,4,NULL,1,'2023-06-09 14:52:21',0.00,800.00,NULL,NULL,'b7cd2f63f4791ec0',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (78,67,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'a7c188e2cb58586a',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (79,184,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'c9044612f0975a64',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (80,175,4,NULL,1,'2023-06-09 14:52:21',0.00,800.00,NULL,NULL,'77e77c195b02e1c9',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (81,96,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'9fc36c7ca0cf9b34',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (82,60,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'fcad37c6c58d231e',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (83,142,4,NULL,1,'2023-06-09 14:52:21',0.00,800.00,NULL,NULL,'a99477624a6c5021',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (84,127,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'0ae75c77c7dbc85a',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (85,52,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'4dbfe9e665c0039b',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (86,86,4,NULL,1,'2023-06-09 14:52:21',0.00,800.00,NULL,NULL,'eb7718c6a80aa900',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (87,157,4,NULL,1,'2023-06-09 14:52:21',0.00,800.00,NULL,NULL,'031a47aec19b6f25',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (88,93,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'9f92e8a740543e6b',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (89,30,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'7d674b438ad49931',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (90,90,4,NULL,1,'2023-06-09 14:52:21',0.00,800.00,NULL,NULL,'d6651f5dd1133cd7',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (91,187,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'cee893e0136267b3',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (92,57,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'bddedb31f50cf953',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (93,132,4,NULL,1,'2023-06-09 14:52:21',0.00,800.00,NULL,NULL,'3d69b5f4313aeda4',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (94,115,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'dc80b0cc16be29e1',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (95,28,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'12fd140bdfee9af5',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (96,71,4,NULL,1,'2023-06-09 14:52:21',0.00,800.00,NULL,NULL,'9abfb295db2eecee',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (97,136,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'65189f4f7fef78a3',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (98,55,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'787dce4ed166e02a',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (99,137,4,NULL,1,'2023-06-09 14:52:21',0.00,800.00,NULL,NULL,'6a8d46c5a75225f5',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (100,72,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'2036cfcbbbdbaeaf',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (101,148,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'5ad0a3825baa9da8',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (102,25,4,NULL,1,'2023-06-09 14:52:21',0.00,800.00,NULL,NULL,'3200a38630dbc61c',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (103,34,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'60c05eda56ff0b4a',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (104,182,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'c6305e6dca61eab4',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (105,50,4,NULL,1,'2023-06-09 14:52:21',0.00,800.00,NULL,NULL,'f99e792870386305',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (106,181,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'f20c786c4dee338b',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (107,89,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'9b12c3163bda863c',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (108,1,4,NULL,1,'2023-06-09 14:52:21',0.00,800.00,NULL,NULL,'d9cba9eb81a6953a',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (109,110,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'a4894a8409c7ead2',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Fall Fundraiser Dinner : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (110,75,4,NULL,1,'2023-06-09 14:52:21',0.00,50.00,NULL,NULL,'e37a5ace5434ca62',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Summer Solstice Festival Day Concert : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (111,202,4,NULL,1,'2023-06-09 14:52:21',0.00,800.00,NULL,NULL,'8377a6151d4ab0db',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0), + (112,164,4,NULL,1,'2023-06-09 14:52:21',0.00,800.00,NULL,NULL,'0ed26d63bc545290',NULL,NULL,'USD',NULL,NULL,'2023-06-09 14:52:21',NULL,'Rain-forest Cup Youth Soccer Tournament : Offline registration',NULL,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL,NULL,0); /*!40000 ALTER TABLE `civicrm_contribution` ENABLE KEYS */; UNLOCK TABLES; @@ -2428,10 +2407,10 @@ UNLOCK TABLES; LOCK TABLES `civicrm_contribution_page` WRITE; /*!40000 ALTER TABLE `civicrm_contribution_page` DISABLE KEYS */; -INSERT INTO `civicrm_contribution_page` (`id`, `title`, `intro_text`, `financial_type_id`, `payment_processor`, `is_credit_card_only`, `is_monetary`, `is_recur`, `is_confirm_enabled`, `recur_frequency_unit`, `is_recur_interval`, `is_recur_installments`, `adjust_recur_start_date`, `is_pay_later`, `pay_later_text`, `pay_later_receipt`, `is_partial_payment`, `initial_amount_label`, `initial_amount_help_text`, `min_initial_amount`, `is_allow_other_amount`, `default_amount_id`, `min_amount`, `max_amount`, `goal_amount`, `thankyou_title`, `thankyou_text`, `thankyou_footer`, `is_email_receipt`, `receipt_from_name`, `receipt_from_email`, `cc_receipt`, `bcc_receipt`, `receipt_text`, `is_active`, `footer_text`, `amount_block_is_active`, `start_date`, `end_date`, `created_id`, `created_date`, `currency`, `campaign_id`, `is_share`, `is_billing_required`, `frontend_title`) VALUES - (1,'Help Support CiviCRM!','Do you love CiviCRM? Do you use CiviCRM? Then please support CiviCRM and Contribute NOW by trying out our new online contribution features!',1,NULL,0,1,0,1,NULL,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,1,137,10.00,10000.00,100000.00,'Thanks for Your Support!','<p>Thank you for your support. Your contribution will help us build even better tools.</p><p>Please tell your friends and colleagues about CiviCRM!</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>',1,'CiviCRM Fundraising Dept.','donationFake@civicrm.org','receipt@example.com','bcc@example.com','Your donation is tax deductible under IRS 501(c)(3) regulation. Our tax identification number is: 93-123-4567',1,NULL,1,NULL,NULL,NULL,NULL,'USD',NULL,1,0,NULL), - (2,'Member Signup and Renewal','Members are the life-blood of our organization. If you\'re not already a member - please consider signing up today. You can select the membership level the fits your budget and needs below.',2,NULL,0,1,0,1,NULL,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,'Thanks for Your Support!','Thanks for supporting our organization with your membership. You can learn more about membership benefits from our members only page.',NULL,1,'Membership Department','memberships@civicrm.org',NULL,NULL,'Thanks for supporting our organization with your membership. You can learn more about membership benefits from our members only page.\r\n\r\nKeep this receipt for your records.',1,NULL,0,NULL,NULL,NULL,NULL,'USD',NULL,1,0,NULL), - (3,'Pledge for CiviCRM!','Do you love CiviCRM? Do you use CiviCRM? Then please support CiviCRM and Pledge NOW by trying out our online contribution features!',1,NULL,0,1,0,1,NULL,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,1,NULL,10.00,10000.00,100000.00,'Thanks for Your Support!','<p>Thank you for your support. Your contribution will help us build even better tools like Pledge.</p><p>Please tell your friends and colleagues about CiviPledge!</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>',1,'CiviCRM Fundraising Dept.','donationFake@civicrm.org','receipt@example.com','bcc@example.com','Your donation is tax deductible under IRS 501(c)(3) regulation. Our tax identification number is: 93-123-4567',1,NULL,1,NULL,NULL,NULL,NULL,'USD',NULL,1,0,NULL); +INSERT INTO `civicrm_contribution_page` (`id`, `title`, `frontend_title`, `name`, `intro_text`, `financial_type_id`, `payment_processor`, `is_credit_card_only`, `is_monetary`, `is_recur`, `is_confirm_enabled`, `recur_frequency_unit`, `is_recur_interval`, `is_recur_installments`, `adjust_recur_start_date`, `is_pay_later`, `pay_later_text`, `pay_later_receipt`, `is_partial_payment`, `initial_amount_label`, `initial_amount_help_text`, `min_initial_amount`, `is_allow_other_amount`, `default_amount_id`, `min_amount`, `max_amount`, `goal_amount`, `thankyou_title`, `thankyou_text`, `thankyou_footer`, `is_email_receipt`, `receipt_from_name`, `receipt_from_email`, `cc_receipt`, `bcc_receipt`, `receipt_text`, `is_active`, `footer_text`, `amount_block_is_active`, `start_date`, `end_date`, `created_id`, `created_date`, `currency`, `campaign_id`, `is_share`, `is_billing_required`) VALUES + (1,'Donate page','Help Support CiviCRM!','donate','Do you love CiviCRM? Do you use CiviCRM? Then please support CiviCRM and Contribute NOW by trying out our new online contribution features!',1,NULL,0,1,0,1,NULL,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,1,137,10.00,10000.00,100000.00,'Thanks for Your Support!','<p>Thank you for your support. Your contribution will help us build even better tools.</p><p>Please tell your friends and colleagues about CiviCRM!</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>',1,'CiviCRM Fundraising Dept.','donationFake@civicrm.org','receipt@example.com','bcc@example.com','Your donation is tax deductible under IRS 501(c)(3) regulation. Our tax identification number is: 93-123-4567',1,NULL,1,NULL,NULL,NULL,NULL,'USD',NULL,1,0), + (2,'Membership page','Member Signup and Renewal','membership','Members are the life-blood of our organization. If you\'re not already a member - please consider signing up today. You can select the membership level the fits your budget and needs below.',2,NULL,0,1,0,1,NULL,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,'Thanks for Your Support!','Thanks for supporting our organization with your membership. You can learn more about membership benefits from our members only page.',NULL,1,'Membership Department','memberships@civicrm.org',NULL,NULL,'Thanks for supporting our organization with your membership. You can learn more about membership benefits from our members only page.\r\n\r\nKeep this receipt for your records.',1,NULL,0,NULL,NULL,NULL,NULL,'USD',NULL,1,0), + (3,'Pledge page','Pledge for CiviCRM!','pledge','Do you love CiviCRM? Do you use CiviCRM? Then please support CiviCRM and Pledge NOW by trying out our online contribution features!',1,NULL,0,1,0,1,NULL,0,0,0,0,NULL,NULL,0,NULL,NULL,NULL,1,NULL,10.00,10000.00,100000.00,'Thanks for Your Support!','<p>Thank you for your support. Your contribution will help us build even better tools like Pledge.</p><p>Please tell your friends and colleagues about CiviPledge!</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>',1,'CiviCRM Fundraising Dept.','donationFake@civicrm.org','receipt@example.com','bcc@example.com','Your donation is tax deductible under IRS 501(c)(3) regulation. Our tax identification number is: 93-123-4567',1,NULL,1,NULL,NULL,NULL,NULL,'USD',NULL,1,0); /*!40000 ALTER TABLE `civicrm_contribution_page` ENABLE KEYS */; UNLOCK TABLES; @@ -2451,9 +2430,9 @@ UNLOCK TABLES; LOCK TABLES `civicrm_contribution_recur` WRITE; /*!40000 ALTER TABLE `civicrm_contribution_recur` DISABLE KEYS */; INSERT INTO `civicrm_contribution_recur` (`id`, `contact_id`, `amount`, `currency`, `frequency_unit`, `frequency_interval`, `installments`, `start_date`, `create_date`, `modified_date`, `cancel_date`, `cancel_reason`, `end_date`, `processor_id`, `payment_token_id`, `trxn_id`, `invoice_id`, `contribution_status_id`, `is_test`, `cycle_day`, `next_sched_contribution_date`, `failure_count`, `failure_retry_date`, `auto_renew`, `payment_processor_id`, `financial_type_id`, `payment_instrument_id`, `campaign_id`, `is_email_receipt`) VALUES - (1,59,25.00,'USD','month',1,12,'2022-01-30 16:20:59','2023-04-30 16:20:59','2023-04-30 16:20:59',NULL,'',NULL,'CLC45',NULL,'56799',NULL,1,0,1,NULL,0,NULL,0,1,NULL,NULL,NULL,1), - (2,99,10.00,'CAD','month',1,6,'2022-08-30 16:20:59','2023-04-30 16:20:59','2023-04-30 16:20:59','2023-03-30 16:20:59','No longer interested',NULL,'CLR35',NULL,'22799',NULL,3,0,1,NULL,0,NULL,0,1,NULL,NULL,NULL,1), - (3,103,5.00,'EUR','month',3,3,'2023-03-30 16:20:59','2023-04-30 16:20:59','2023-04-30 16:20:59',NULL,'',NULL,'EGR12',NULL,'44889',NULL,5,0,1,'2023-06-30 16:20:59',0,NULL,0,1,NULL,NULL,NULL,1); + (1,59,25.00,'USD','month',1,12,'2022-03-09 14:52:21','2023-06-09 14:52:21','2023-06-09 21:52:21',NULL,'',NULL,'CLC45',NULL,'56799',NULL,1,0,1,NULL,0,NULL,0,1,NULL,NULL,NULL,1), + (2,99,10.00,'CAD','month',1,6,'2022-10-09 14:52:21','2023-06-09 14:52:21','2023-06-09 21:52:21','2023-05-09 14:52:21','No longer interested',NULL,'CLR35',NULL,'22799',NULL,3,0,1,NULL,0,NULL,0,1,NULL,NULL,NULL,1), + (3,103,5.00,'EUR','month',3,3,'2023-05-09 14:52:21','2023-06-09 14:52:21','2023-06-09 21:52:21',NULL,'',NULL,'EGR12',NULL,'44889',NULL,5,0,1,'2023-08-09 14:52:21',0,NULL,0,1,NULL,NULL,NULL,1); /*!40000 ALTER TABLE `civicrm_contribution_recur` ENABLE KEYS */; UNLOCK TABLES; @@ -2464,8 +2443,8 @@ UNLOCK TABLES; LOCK TABLES `civicrm_contribution_soft` WRITE; /*!40000 ALTER TABLE `civicrm_contribution_soft` DISABLE KEYS */; INSERT INTO `civicrm_contribution_soft` (`id`, `contribution_id`, `contact_id`, `amount`, `currency`, `pcp_id`, `pcp_display_in_roll`, `pcp_roll_nickname`, `pcp_personal_note`, `soft_credit_type_id`) VALUES - (1,9,126,10.00,'USD',1,1,'Jones Family','Helping Hands',10), - (2,10,126,250.00,'USD',1,1,'Annie and the kids','Annie Helps',10); + (1,9,56,10.00,'USD',1,1,'Jones Family','Helping Hands',10), + (2,10,56,250.00,'USD',1,1,'Annie and the kids','Annie Helps',10); /*!40000 ALTER TABLE `civicrm_contribution_soft` ENABLE KEYS */; UNLOCK TABLES; @@ -2720,7 +2699,6 @@ INSERT INTO `civicrm_country` (`id`, `name`, `iso_code`, `country_code`, `addres (1235,'Wallis and Futuna','WF',NULL,NULL,NULL,NULL,4,0,1), (1236,'Western Sahara','EH',NULL,NULL,NULL,NULL,3,0,1), (1237,'Yemen','YE',NULL,NULL,NULL,NULL,3,0,1), - (1238,'Serbia and Montenegro','CS',NULL,NULL,NULL,NULL,1,0,1), (1239,'Zambia','ZM',NULL,NULL,NULL,NULL,5,0,1), (1240,'Zimbabwe','ZW',NULL,NULL,NULL,NULL,5,0,1), (1241,'Ã…land Islands','AX',NULL,NULL,NULL,NULL,1,0,1), @@ -3064,7 +3042,7 @@ UNLOCK TABLES; LOCK TABLES `civicrm_domain` WRITE; /*!40000 ALTER TABLE `civicrm_domain` DISABLE KEYS */; INSERT INTO `civicrm_domain` (`id`, `name`, `description`, `version`, `contact_id`, `locales`, `locale_custom_strings`) VALUES - (1,'Default Domain Name',NULL,'5.62.1',1,NULL,'a:1:{s:5:\"en_US\";a:0:{}}'); + (1,'Default Domain Name',NULL,'5.63.0',1,NULL,'a:1:{s:5:\"en_US\";a:0:{}}'); /*!40000 ALTER TABLE `civicrm_domain` ENABLE KEYS */; UNLOCK TABLES; @@ -3076,189 +3054,187 @@ LOCK TABLES `civicrm_email` WRITE; /*!40000 ALTER TABLE `civicrm_email` DISABLE KEYS */; INSERT INTO `civicrm_email` (`id`, `contact_id`, `location_type_id`, `email`, `is_primary`, `is_billing`, `on_hold`, `is_bulkmail`, `hold_date`, `reset_date`, `signature_text`, `signature_html`) VALUES (1,1,1,'fixme.domainemail@example.org',1,0,0,0,NULL,NULL,NULL,NULL), - (2,99,1,'robertsk17@testmail.biz',1,0,0,0,NULL,NULL,NULL,NULL), - (3,41,1,'tcruz@mymail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), - (4,41,1,'teddycruz66@infomail.info',0,0,0,0,NULL,NULL,NULL,NULL), - (5,126,1,'elbertchowski@fakemail.net',1,0,0,0,NULL,NULL,NULL,NULL), - (6,161,1,'reynoldse@fakemail.com',1,0,0,0,NULL,NULL,NULL,NULL), - (7,161,1,'reynolds.elina@fakemail.org',0,0,0,0,NULL,NULL,NULL,NULL), - (8,81,1,'grants@testmail.biz',1,0,0,0,NULL,NULL,NULL,NULL), - (9,173,1,'ei.terry15@testing.info',1,0,0,0,NULL,NULL,NULL,NULL), - (10,173,1,'erikt@airmail.co.in',0,0,0,0,NULL,NULL,NULL,NULL), - (11,13,1,'bettyrobertson@spamalot.net',1,0,0,0,NULL,NULL,NULL,NULL), - (12,13,1,'bettyr65@airmail.info',0,0,0,0,NULL,NULL,NULL,NULL), - (13,50,1,'lbarkley61@mymail.co.in',1,0,0,0,NULL,NULL,NULL,NULL), - (14,94,1,'bjones56@fishmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), - (15,63,1,'alexiab@example.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), - (16,138,1,'shermang@testmail.org',1,0,0,0,NULL,NULL,NULL,NULL), - (17,112,1,'deforest.princess14@fishmail.org',1,0,0,0,NULL,NULL,NULL,NULL), - (18,42,1,'cruzc@example.com',1,0,0,0,NULL,NULL,NULL,NULL), - (19,42,1,'ccruz@spamalot.co.in',0,0,0,0,NULL,NULL,NULL,NULL), - (20,89,1,'barkley.kathleen@airmail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), - (21,89,1,'kathleenbarkley@sample.co.in',0,0,0,0,NULL,NULL,NULL,NULL), - (22,103,1,'mcreynolds.o.alexia63@notmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), - (23,103,1,'alexiamcreynolds@notmail.info',0,0,0,0,NULL,NULL,NULL,NULL), - (24,120,1,'bl.olsen@lol.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), - (25,100,1,'patelb94@testmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), - (26,100,1,'bernadettep@fakemail.co.uk',0,0,0,0,NULL,NULL,NULL,NULL), - (27,159,1,'samuels.a.josefa74@airmail.org',1,0,0,0,NULL,NULL,NULL,NULL), - (28,57,1,'jadams@fishmail.org',1,0,0,0,NULL,NULL,NULL,NULL), - (29,57,1,'jeromeadams@example.co.pl',0,0,0,0,NULL,NULL,NULL,NULL), - (30,109,1,'craigsamuels@spamalot.com',1,0,0,0,NULL,NULL,NULL,NULL), - (31,29,1,'estaw10@sample.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), - (32,29,1,'wattsone@fakemail.co.uk',0,0,0,0,NULL,NULL,NULL,NULL), - (33,180,1,'jacobs.princess@example.co.in',1,0,0,0,NULL,NULL,NULL,NULL), - (34,45,1,'tn.yadav@mymail.info',1,0,0,0,NULL,NULL,NULL,NULL), - (35,54,1,'aterry39@testing.info',1,0,0,0,NULL,NULL,NULL,NULL), - (36,54,1,'terry.ashlie@fishmail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL), - (37,200,1,'roberts.barry1@spamalot.net',1,0,0,0,NULL,NULL,NULL,NULL), - (38,166,1,'cruz.maria@spamalot.org',1,0,0,0,NULL,NULL,NULL,NULL), - (39,34,1,'kaceyb@testing.co.in',1,0,0,0,NULL,NULL,NULL,NULL), - (40,34,1,'kbarkley@spamalot.co.pl',0,0,0,0,NULL,NULL,NULL,NULL), - (41,184,1,'tterry53@fakemail.co.in',1,0,0,0,NULL,NULL,NULL,NULL), - (42,160,1,'cruzi15@notmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL), - (43,160,1,'cruzi@notmail.net',0,0,0,0,NULL,NULL,NULL,NULL), - (44,64,1,'mcreynoldsl@example.com',1,0,0,0,NULL,NULL,NULL,NULL), - (45,64,1,'mcreynolds.lawerence@mymail.co.in',0,0,0,0,NULL,NULL,NULL,NULL), - (46,150,1,'cruz.justina@infomail.net',1,0,0,0,NULL,NULL,NULL,NULL), - (47,157,1,'sharyng@fakemail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), - (48,157,1,'sgrant@mymail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL), - (49,172,1,'mcreynolds.barry@example.com',1,0,0,0,NULL,NULL,NULL,NULL), - (50,51,1,'wagnert@airmail.info',1,0,0,0,NULL,NULL,NULL,NULL), - (51,76,1,'samuelsj48@spamalot.com',1,0,0,0,NULL,NULL,NULL,NULL), - (52,76,1,'samuels.juliann76@testing.co.pl',0,0,0,0,NULL,NULL,NULL,NULL), - (53,47,1,'bsmith@notmail.org',1,0,0,0,NULL,NULL,NULL,NULL), - (54,47,1,'smithb@infomail.co.nz',0,0,0,0,NULL,NULL,NULL,NULL), - (55,187,1,'lashawndat@lol.co.in',1,0,0,0,NULL,NULL,NULL,NULL), - (56,118,1,'parkerb@fishmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), - (57,134,1,'jeromeolsen@lol.biz',1,0,0,0,NULL,NULL,NULL,NULL), - (58,134,1,'jeromeo@testmail.info',0,0,0,0,NULL,NULL,NULL,NULL), - (59,115,1,'josefap@testmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), - (60,115,1,'patelj80@testmail.co.nz',0,0,0,0,NULL,NULL,NULL,NULL), - (61,28,1,'samsonb@airmail.biz',1,0,0,0,NULL,NULL,NULL,NULL), - (62,30,1,'cd.chowski31@notmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), - (63,92,1,'samsonl@lol.com',1,0,0,0,NULL,NULL,NULL,NULL), - (64,92,1,'samson.lincoln@testing.co.nz',0,0,0,0,NULL,NULL,NULL,NULL), - (65,119,1,'njameson@infomail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), - (66,9,1,'tanyaw93@testmail.net',1,0,0,0,NULL,NULL,NULL,NULL), - (67,9,1,'wilson.tanya49@fishmail.co.uk',0,0,0,0,NULL,NULL,NULL,NULL), - (68,154,1,'terryh@example.com',1,0,0,0,NULL,NULL,NULL,NULL), - (69,154,1,'terry.heidi@notmail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL), - (70,117,1,'ih.terry@fakemail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), - (71,137,1,'felishaivanov45@example.co.in',1,0,0,0,NULL,NULL,NULL,NULL), - (72,181,1,'wilson.roland@airmail.info',1,0,0,0,NULL,NULL,NULL,NULL), - (73,155,1,'dazs@fishmail.info',1,0,0,0,NULL,NULL,NULL,NULL), - (74,136,1,'nj.prentice@fakemail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), - (75,136,1,'prentice.j.nicole54@spamalot.co.nz',0,0,0,0,NULL,NULL,NULL,NULL), - (76,199,1,'ablackwell@testing.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), - (77,141,1,'iveyjensen@testmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL), - (78,141,1,'jensen.ivey@notmail.net',0,0,0,0,NULL,NULL,NULL,NULL), - (79,21,1,'parkera@example.biz',1,0,0,0,NULL,NULL,NULL,NULL), - (80,147,1,'sq.parker74@lol.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), - (81,147,1,'shaunap63@testmail.info',0,0,0,0,NULL,NULL,NULL,NULL), - (82,43,1,'nielsen.truman48@airmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), - (83,43,1,'trumannielsen39@testmail.co.nz',0,0,0,0,NULL,NULL,NULL,NULL), - (84,15,1,'nielsenl@testmail.biz',1,0,0,0,NULL,NULL,NULL,NULL), - (85,188,1,'ejameson@sample.net',1,0,0,0,NULL,NULL,NULL,NULL), - (86,188,1,'elbertjameson4@sample.co.pl',0,0,0,0,NULL,NULL,NULL,NULL), - (87,163,1,'estaj2@example.net',1,0,0,0,NULL,NULL,NULL,NULL), - (88,163,1,'jameson.esta@lol.biz',0,0,0,0,NULL,NULL,NULL,NULL), - (89,91,1,'jamesonj42@notmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), - (90,91,1,'jamesonj@fishmail.com',0,0,0,0,NULL,NULL,NULL,NULL), - (91,67,1,'jameson.kathleen@fakemail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), - (92,65,1,'wagner.z.brigette@fakemail.co.in',1,0,0,0,NULL,NULL,NULL,NULL), - (93,65,1,'wagnerb@fakemail.net',0,0,0,0,NULL,NULL,NULL,NULL), - (94,102,1,'lee.bob@example.biz',1,0,0,0,NULL,NULL,NULL,NULL), - (95,131,1,'jacobadams27@fakemail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), - (96,131,1,'jacoba@example.co.in',0,0,0,0,NULL,NULL,NULL,NULL), - (97,84,1,'adamse10@notmail.org',1,0,0,0,NULL,NULL,NULL,NULL), - (98,38,1,'kathleena@infomail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), - (99,38,1,'kadams92@example.co.nz',0,0,0,0,NULL,NULL,NULL,NULL), - (100,178,1,'lee.brzczysaw@mymail.org',1,0,0,0,NULL,NULL,NULL,NULL), - (101,178,1,'lee.brzczysaw@spamalot.co.in',0,0,0,0,NULL,NULL,NULL,NULL), - (102,55,1,'lee.alexia3@testing.biz',1,0,0,0,NULL,NULL,NULL,NULL), - (103,55,1,'lee.alexia94@notmail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL), - (104,113,1,'samson.c.rodrigo@fakemail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), - (105,183,1,'samson.elina@spamalot.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), - (106,183,1,'eo.samson@airmail.co.uk',0,0,0,0,NULL,NULL,NULL,NULL), - (107,82,1,'brittneysamson44@fishmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL), - (108,146,1,'alexiabarkley-mller47@testing.co.in',1,0,0,0,NULL,NULL,NULL,NULL), - (109,146,1,'abarkley-mller@example.org',0,0,0,0,NULL,NULL,NULL,NULL), - (110,49,1,'nielsen.lashawnda@testmail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), - (111,49,1,'lnielsen31@lol.org',0,0,0,0,NULL,NULL,NULL,NULL), - (112,32,1,'kg.nielsen@airmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), - (113,8,1,'nicolen@airmail.org',1,0,0,0,NULL,NULL,NULL,NULL), - (114,8,1,'nicolenielsen@testing.org',0,0,0,0,NULL,NULL,NULL,NULL), - (115,78,1,'yadavl@infomail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), - (116,78,1,'lawerenceyadav@mymail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL), - (117,31,1,'gonzlez.elizabeth75@spamalot.biz',1,0,0,0,NULL,NULL,NULL,NULL), - (118,31,1,'gonzlez.elizabeth84@testing.net',0,0,0,0,NULL,NULL,NULL,NULL), - (119,179,1,'iyadav-gonzlez72@testing.biz',1,0,0,0,NULL,NULL,NULL,NULL), - (120,88,1,'terryb@fishmail.info',1,0,0,0,NULL,NULL,NULL,NULL), - (121,190,1,'justinat@infomail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), - (122,123,1,'robertson.x.santina@sample.net',1,0,0,0,NULL,NULL,NULL,NULL), - (123,123,1,'robertsons@lol.co.pl',0,0,0,0,NULL,NULL,NULL,NULL), - (124,53,1,'lawerencer@notmail.info',1,0,0,0,NULL,NULL,NULL,NULL), - (125,53,1,'robertson.lawerence@notmail.com',0,0,0,0,NULL,NULL,NULL,NULL), - (126,148,1,'rp.jameson84@testmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), - (127,148,1,'rp.jameson@fakemail.co.in',0,0,0,0,NULL,NULL,NULL,NULL), - (128,36,1,'meijameson@mymail.com',1,0,0,0,NULL,NULL,NULL,NULL), - (129,36,1,'jamesonm@airmail.co.nz',0,0,0,0,NULL,NULL,NULL,NULL), - (130,97,1,'nprentice@fakemail.net',1,0,0,0,NULL,NULL,NULL,NULL), - (131,97,1,'nprentice@notmail.biz',0,0,0,0,NULL,NULL,NULL,NULL), - (132,5,1,'prentice.lashawnda48@airmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL), - (133,107,1,'ls.prentice20@example.com',1,0,0,0,NULL,NULL,NULL,NULL), - (134,107,1,'prentice.s.lou27@example.co.nz',0,0,0,0,NULL,NULL,NULL,NULL), - (135,104,1,'bivanov31@spamalot.net',1,0,0,0,NULL,NULL,NULL,NULL), - (136,139,1,'nicoleivanov78@airmail.biz',1,0,0,0,NULL,NULL,NULL,NULL), - (137,139,1,'ivanov.nicole@notmail.com',0,0,0,0,NULL,NULL,NULL,NULL), - (138,60,1,'ivanov.esta@testing.com',1,0,0,0,NULL,NULL,NULL,NULL), - (139,93,1,'lareeroberts@example.co.in',1,0,0,0,NULL,NULL,NULL,NULL), - (140,93,1,'lt.roberts@spamalot.biz',0,0,0,0,NULL,NULL,NULL,NULL), - (141,197,1,'roberts.brittney75@fakemail.co.in',1,0,0,0,NULL,NULL,NULL,NULL), - (142,197,1,'roberts.brittney90@example.biz',0,0,0,0,NULL,NULL,NULL,NULL), - (143,135,1,'juliannr54@airmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), - (144,16,1,'kennyterrell20@fishmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL), - (145,90,1,'heidit14@airmail.biz',1,0,0,0,NULL,NULL,NULL,NULL), - (146,25,1,'jedt41@infomail.com',1,0,0,0,NULL,NULL,NULL,NULL), - (147,25,1,'terrell.c.jed@testing.co.in',0,0,0,0,NULL,NULL,NULL,NULL), - (148,66,1,'wilson-gonzleza@spamalot.org',1,0,0,0,NULL,NULL,NULL,NULL), - (149,23,1,'jgonzlez@airmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), - (150,22,1,'yadav.valene33@mymail.org',1,0,0,0,NULL,NULL,NULL,NULL), - (151,22,1,'vyadav73@airmail.co.in',0,0,0,0,NULL,NULL,NULL,NULL), - (152,130,1,'yadave@infomail.co.in',1,0,0,0,NULL,NULL,NULL,NULL), - (153,111,1,'kandacey@sample.net',1,0,0,0,NULL,NULL,NULL,NULL), - (154,111,1,'kandaceyadav@testmail.co.nz',0,0,0,0,NULL,NULL,NULL,NULL), - (155,33,1,'roberts.mei95@notmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), - (156,48,3,'contact@greensborocollective.org',1,0,0,0,NULL,NULL,NULL,NULL), - (157,106,2,'jw.mller93@greensborocollective.org',1,0,0,0,NULL,NULL,NULL,NULL), - (158,167,3,'contact@communityfamilyassociation.org',1,0,0,0,NULL,NULL,NULL,NULL), - (159,5,2,'@communityfamilyassociation.org',0,0,0,0,NULL,NULL,NULL,NULL), - (160,75,3,'info@ncagricultureinitiative.org',1,0,0,0,NULL,NULL,NULL,NULL), - (161,42,2,'.36@ncagricultureinitiative.org',0,0,0,0,NULL,NULL,NULL,NULL), - (162,156,3,'feedback@jacksonempowerment.org',1,0,0,0,NULL,NULL,NULL,NULL), - (163,17,2,'zope.margaret46@jacksonempowerment.org',1,0,0,0,NULL,NULL,NULL,NULL), - (164,142,3,'feedback@mapleadvocacy.org',1,0,0,0,NULL,NULL,NULL,NULL), - (165,125,3,'sales@yorktowndevelopmentpartners.org',1,0,0,0,NULL,NULL,NULL,NULL), - (166,33,2,'@yorktowndevelopmentpartners.org',0,0,0,0,NULL,NULL,NULL,NULL), - (167,189,3,'feedback@njwellnesstrust.org',1,0,0,0,NULL,NULL,NULL,NULL), - (168,51,2,'@njwellnesstrust.org',0,0,0,0,NULL,NULL,NULL,NULL), - (169,52,3,'contact@jacksondevelopmentsolutions.org',1,0,0,0,NULL,NULL,NULL,NULL), - (170,99,2,'kaceyr@jacksondevelopmentsolutions.org',0,0,0,0,NULL,NULL,NULL,NULL), - (171,69,3,'contact@lyonsassociation.org',1,0,0,0,NULL,NULL,NULL,NULL), - (172,43,2,'nielsent@lyonsassociation.org',0,0,0,0,NULL,NULL,NULL,NULL), - (173,196,3,'feedback@mainschool.org',1,0,0,0,NULL,NULL,NULL,NULL), - (174,97,2,'nicolep@mainschool.org',0,0,0,0,NULL,NULL,NULL,NULL), - (175,170,3,'service@cookwellnessfund.org',1,0,0,0,NULL,NULL,NULL,NULL), - (176,14,3,'feedback@fpeducationservices.org',1,0,0,0,NULL,NULL,NULL,NULL), - (177,6,3,'service@dickinsonpeacenetwork.org',1,0,0,0,NULL,NULL,NULL,NULL), - (178,92,2,'samson.lincoln62@dickinsonpeacenetwork.org',0,0,0,0,NULL,NULL,NULL,NULL), - (179,18,3,'sales@sierraempowermentfund.org',1,0,0,0,NULL,NULL,NULL,NULL), - (180,31,2,'gonzlez.elizabeth@sierraempowermentfund.org',0,0,0,0,NULL,NULL,NULL,NULL), - (181,202,1,'jenny@example.com',1,0,0,0,NULL,NULL,NULL,NULL), - (182,NULL,1,'development@example.org',0,0,0,0,NULL,NULL,NULL,NULL), - (183,NULL,1,'tournaments@example.org',0,0,0,0,NULL,NULL,NULL,NULL), - (184,NULL,1,'celebration@example.org',0,0,0,0,NULL,NULL,NULL,NULL); + (2,146,1,'reynolds.allan60@airmail.com',1,0,0,0,NULL,NULL,NULL,NULL), + (3,146,1,'areynolds66@spamalot.co.in',0,0,0,0,NULL,NULL,NULL,NULL), + (4,56,1,'scottp3@infomail.com',1,0,0,0,NULL,NULL,NULL,NULL), + (5,195,1,'erikadams@mymail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), + (6,195,1,'adams.h.erik29@testmail.biz',0,0,0,0,NULL,NULL,NULL,NULL), + (7,115,1,'elbertt@example.com',1,0,0,0,NULL,NULL,NULL,NULL), + (8,115,1,'eterry48@sample.info',0,0,0,0,NULL,NULL,NULL,NULL), + (9,152,1,'robertson.scarlet@fishmail.net',1,0,0,0,NULL,NULL,NULL,NULL), + (10,152,1,'robertson.k.scarlet@sample.co.uk',0,0,0,0,NULL,NULL,NULL,NULL), + (11,51,1,'dimitrov.r.daren@example.net',1,0,0,0,NULL,NULL,NULL,NULL), + (12,51,1,'darendimitrov@notmail.com',0,0,0,0,NULL,NULL,NULL,NULL), + (13,4,1,'kathleenj@mymail.net',1,0,0,0,NULL,NULL,NULL,NULL), + (14,4,1,'kathleenjameson@testing.biz',0,0,0,0,NULL,NULL,NULL,NULL), + (15,49,1,'andrewjones@airmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), + (16,49,1,'andrewj@lol.info',0,0,0,0,NULL,NULL,NULL,NULL), + (17,153,1,'ashleyreynolds@mymail.net',1,0,0,0,NULL,NULL,NULL,NULL), + (18,153,1,'ab.reynolds@mymail.co.in',0,0,0,0,NULL,NULL,NULL,NULL), + (19,171,1,'samuels.f.mei@notmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL), + (20,135,1,'samsone@fakemail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), + (21,52,1,'gonzlezb@fakemail.com',1,0,0,0,NULL,NULL,NULL,NULL), + (22,52,1,'bettygonzlez@example.info',0,0,0,0,NULL,NULL,NULL,NULL), + (23,172,1,'robertsn@lol.info',1,0,0,0,NULL,NULL,NULL,NULL), + (24,81,1,'we.gonzlez27@airmail.biz',1,0,0,0,NULL,NULL,NULL,NULL), + (25,81,1,'we.gonzlez90@notmail.com',0,0,0,0,NULL,NULL,NULL,NULL), + (26,102,1,'elinajensen39@example.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), + (27,102,1,'elinajensen@lol.com',0,0,0,0,NULL,NULL,NULL,NULL), + (28,106,1,'roland@mymail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), + (29,106,1,'chowski.r.roland60@mymail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL), + (30,167,1,'deforestm@example.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), + (31,167,1,'migueld@airmail.net',0,0,0,0,NULL,NULL,NULL,NULL), + (32,28,1,'ezope@infomail.biz',1,0,0,0,NULL,NULL,NULL,NULL), + (33,28,1,'zope.errol@airmail.co.nz',0,0,0,0,NULL,NULL,NULL,NULL), + (34,133,1,'bwattson54@notmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), + (35,133,1,'wattsonb40@infomail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL), + (36,79,1,'eq.jensen76@notmail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), + (37,79,1,'elizabethj@infomail.co.uk',0,0,0,0,NULL,NULL,NULL,NULL), + (38,134,1,'margaret22@testing.biz',1,0,0,0,NULL,NULL,NULL,NULL), + (39,31,1,'darenc@infomail.net',1,0,0,0,NULL,NULL,NULL,NULL), + (40,31,1,'darencruz9@testmail.biz',0,0,0,0,NULL,NULL,NULL,NULL), + (41,53,1,'ashleys@airmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), + (42,53,1,'samson.ashley@mymail.org',0,0,0,0,NULL,NULL,NULL,NULL), + (43,77,1,'angelikaprentice@fishmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), + (44,77,1,'aprentice@spamalot.biz',0,0,0,0,NULL,NULL,NULL,NULL), + (45,72,1,'chowskir74@testing.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), + (46,72,1,'rolandochowski33@sample.co.pl',0,0,0,0,NULL,NULL,NULL,NULL), + (47,123,1,'cooper.t.alida@example.com',1,0,0,0,NULL,NULL,NULL,NULL), + (48,100,1,'jm.nielsen@mymail.net',1,0,0,0,NULL,NULL,NULL,NULL), + (49,100,1,'juliannn@fishmail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL), + (50,33,1,'wattson.teddy@spamalot.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), + (51,25,1,'adams.erik91@spamalot.org',1,0,0,0,NULL,NULL,NULL,NULL), + (52,27,1,'terry.jacob@fakemail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), + (53,201,1,'margaretn@fishmail.biz',1,0,0,0,NULL,NULL,NULL,NULL), + (54,200,1,'ci.adams@mymail.net',1,0,0,0,NULL,NULL,NULL,NULL), + (55,200,1,'adams.claudio@testing.co.nz',0,0,0,0,NULL,NULL,NULL,NULL), + (56,114,1,'bn.daz@fakemail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), + (57,114,1,'bn.daz@testing.co.uk',0,0,0,0,NULL,NULL,NULL,NULL), + (58,92,1,'terry.v.brzczysaw@notmail.info',1,0,0,0,NULL,NULL,NULL,NULL), + (59,184,1,'cooper.r.josefa@fishmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), + (60,91,1,'cruz.maxwell@example.com',1,0,0,0,NULL,NULL,NULL,NULL), + (61,26,1,'carlosw@sample.info',1,0,0,0,NULL,NULL,NULL,NULL), + (62,141,1,'bryonl75@fakemail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), + (63,141,1,'lee.bryon@sample.info',0,0,0,0,NULL,NULL,NULL,NULL), + (64,97,1,'olsenm@infomail.com',1,0,0,0,NULL,NULL,NULL,NULL), + (65,55,1,'tanyadaz81@testmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL), + (66,55,1,'tanyad@fakemail.co.uk',0,0,0,0,NULL,NULL,NULL,NULL), + (67,12,1,'wagner.brittney5@testing.info',1,0,0,0,NULL,NULL,NULL,NULL), + (68,44,1,'valenet@spamalot.biz',1,0,0,0,NULL,NULL,NULL,NULL), + (69,44,1,'terrellv@lol.co.uk',0,0,0,0,NULL,NULL,NULL,NULL), + (70,168,1,'mllerc41@infomail.net',1,0,0,0,NULL,NULL,NULL,NULL), + (71,168,1,'mllerc35@fakemail.com',0,0,0,0,NULL,NULL,NULL,NULL), + (72,98,1,'daren78@testmail.org',1,0,0,0,NULL,NULL,NULL,NULL), + (73,87,1,'ax.ivanov@fishmail.com',1,0,0,0,NULL,NULL,NULL,NULL), + (74,87,1,'ashlieivanov33@sample.co.nz',0,0,0,0,NULL,NULL,NULL,NULL), + (75,65,1,'darenyadav@airmail.biz',1,0,0,0,NULL,NULL,NULL,NULL), + (76,65,1,'darenyadav63@airmail.net',0,0,0,0,NULL,NULL,NULL,NULL), + (77,142,1,'clintjones66@infomail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), + (78,142,1,'jones.p.clint@lol.co.pl',0,0,0,0,NULL,NULL,NULL,NULL), + (79,164,1,'bachman.carlos1@airmail.org',1,0,0,0,NULL,NULL,NULL,NULL), + (80,99,1,'cooper.allen60@fishmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL), + (81,99,1,'allenc@fishmail.co.uk',0,0,0,0,NULL,NULL,NULL,NULL), + (82,104,1,'brigettegrant@lol.co.in',1,0,0,0,NULL,NULL,NULL,NULL), + (83,169,1,'wattson.t.roland@notmail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), + (84,196,1,'prentice.k.ivey98@fishmail.biz',1,0,0,0,NULL,NULL,NULL,NULL), + (85,59,1,'nielsen.russell@fishmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), + (86,59,1,'nielsen.russell71@airmail.com',0,0,0,0,NULL,NULL,NULL,NULL), + (87,189,1,'heidi@sample.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), + (88,16,1,'chowski.errol23@testmail.co.in',1,0,0,0,NULL,NULL,NULL,NULL), + (89,16,1,'errolchowski64@infomail.co.uk',0,0,0,0,NULL,NULL,NULL,NULL), + (90,57,1,'sharynd@airmail.biz',1,0,0,0,NULL,NULL,NULL,NULL), + (91,57,1,'dimitrovs27@testmail.co.nz',0,0,0,0,NULL,NULL,NULL,NULL), + (92,107,1,'du.dimitrov58@fakemail.com',1,0,0,0,NULL,NULL,NULL,NULL), + (93,23,1,'wattson.bryon34@notmail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), + (94,41,1,'kiarar61@sample.co.in',1,0,0,0,NULL,NULL,NULL,NULL), + (95,34,1,'bwattson-reynolds@spamalot.com',1,0,0,0,NULL,NULL,NULL,NULL), + (96,34,1,'wattson-reynolds.beula@example.co.pl',0,0,0,0,NULL,NULL,NULL,NULL), + (97,2,1,'olsen.craig@spamalot.co.in',1,0,0,0,NULL,NULL,NULL,NULL), + (98,162,1,'nielsen.maria87@sample.co.in',1,0,0,0,NULL,NULL,NULL,NULL), + (99,162,1,'nielsen.maria@notmail.co.in',0,0,0,0,NULL,NULL,NULL,NULL), + (100,47,1,'damarisn@notmail.org',1,0,0,0,NULL,NULL,NULL,NULL), + (101,47,1,'dx.nielsen35@notmail.biz',0,0,0,0,NULL,NULL,NULL,NULL), + (102,118,1,'darend@infomail.net',1,0,0,0,NULL,NULL,NULL,NULL), + (103,112,1,'daz-smithr@airmail.org',1,0,0,0,NULL,NULL,NULL,NULL), + (104,155,1,'elinar93@spamalot.co.in',1,0,0,0,NULL,NULL,NULL,NULL), + (105,193,1,'reynolds.santina14@lol.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), + (106,193,1,'santinar@fakemail.net',0,0,0,0,NULL,NULL,NULL,NULL), + (107,9,1,'reynoldsa@infomail.net',1,0,0,0,NULL,NULL,NULL,NULL), + (108,9,1,'arlynereynolds@example.org',0,0,0,0,NULL,NULL,NULL,NULL), + (109,58,1,'claudiosamson51@mymail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), + (110,58,1,'claudios@infomail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL), + (111,188,1,'samson-cooper.ashley@infomail.com',1,0,0,0,NULL,NULL,NULL,NULL), + (112,137,1,'swilson@fishmail.net',1,0,0,0,NULL,NULL,NULL,NULL), + (113,145,1,'kwilson@infomail.org',1,0,0,0,NULL,NULL,NULL,NULL), + (114,143,1,'nblackwell4@airmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), + (115,143,1,'blackwell.norris62@mymail.com',0,0,0,0,NULL,NULL,NULL,NULL), + (116,192,1,'gonzlez-chowskie33@airmail.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), + (117,68,1,'kk.gonzlez-chowski@testing.net',1,0,0,0,NULL,NULL,NULL,NULL), + (118,139,1,'terrell.u.russell61@airmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), + (119,136,1,'rterrell-grant45@testing.info',1,0,0,0,NULL,NULL,NULL,NULL), + (120,128,1,'mariad14@airmail.biz',1,0,0,0,NULL,NULL,NULL,NULL), + (121,40,1,'du.daz47@notmail.info',1,0,0,0,NULL,NULL,NULL,NULL), + (122,40,1,'du.daz56@fakemail.info',0,0,0,0,NULL,NULL,NULL,NULL), + (123,63,1,'omard@fakemail.biz',1,0,0,0,NULL,NULL,NULL,NULL), + (124,63,1,'omard@example.com',0,0,0,0,NULL,NULL,NULL,NULL), + (125,194,1,'sdaz73@fishmail.info',1,0,0,0,NULL,NULL,NULL,NULL), + (126,194,1,'sdaz@infomail.net',0,0,0,0,NULL,NULL,NULL,NULL), + (127,113,1,'rn.jensen2@testmail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), + (128,197,1,'jensenm@lol.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), + (129,197,1,'margaretjensen39@sample.co.nz',0,0,0,0,NULL,NULL,NULL,NULL), + (130,20,1,'sanford14@airmail.net',1,0,0,0,NULL,NULL,NULL,NULL), + (131,20,1,'schowski@infomail.co.in',0,0,0,0,NULL,NULL,NULL,NULL), + (132,67,1,'tanyachowski73@sample.co.nz',1,0,0,0,NULL,NULL,NULL,NULL), + (133,32,1,'valenechowski@sample.com',1,0,0,0,NULL,NULL,NULL,NULL), + (134,120,1,'nielsen.j.billy@lol.info',1,0,0,0,NULL,NULL,NULL,NULL), + (135,120,1,'billynielsen@spamalot.co.in',0,0,0,0,NULL,NULL,NULL,NULL), + (136,180,1,'nielsen-terrys@fishmail.org',1,0,0,0,NULL,NULL,NULL,NULL), + (137,54,1,'nx.nielsen-terry15@spamalot.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), + (138,198,1,'grant.errol72@airmail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), + (139,198,1,'grant.errol83@testmail.co.in',0,0,0,0,NULL,NULL,NULL,NULL), + (140,132,1,'grant.x.rebekah95@fakemail.co.pl',1,0,0,0,NULL,NULL,NULL,NULL), + (141,29,1,'scarletg@lol.org',1,0,0,0,NULL,NULL,NULL,NULL), + (142,29,1,'grants30@notmail.net',0,0,0,0,NULL,NULL,NULL,NULL), + (143,7,1,'granth98@infomail.co.in',1,0,0,0,NULL,NULL,NULL,NULL), + (144,7,1,'granth93@infomail.net',0,0,0,0,NULL,NULL,NULL,NULL), + (145,39,1,'felishajameson@infomail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), + (146,39,1,'fj.jameson@fakemail.co.pl',0,0,0,0,NULL,NULL,NULL,NULL), + (147,199,1,'daz.t.arlyne30@testmail.info',1,0,0,0,NULL,NULL,NULL,NULL), + (148,199,1,'daz.arlyne@airmail.biz',0,0,0,0,NULL,NULL,NULL,NULL), + (149,48,1,'dazs69@infomail.com',1,0,0,0,NULL,NULL,NULL,NULL), + (150,182,1,'irisw91@airmail.co.uk',1,0,0,0,NULL,NULL,NULL,NULL), + (151,30,1,'terrell-wattson.lincoln71@notmail.info',1,0,0,0,NULL,NULL,NULL,NULL), + (152,30,1,'lincolnt@fishmail.biz',0,0,0,0,NULL,NULL,NULL,NULL), + (153,131,1,'terrell-wattsonb83@mymail.biz',1,0,0,0,NULL,NULL,NULL,NULL), + (154,191,3,'contact@kermitsustainability.org',1,0,0,0,NULL,NULL,NULL,NULL), + (155,111,2,'samson.lawerence@kermitsustainability.org',1,0,0,0,NULL,NULL,NULL,NULL), + (156,101,3,'info@docolumbiafamily.org',1,0,0,0,NULL,NULL,NULL,NULL), + (157,11,3,'contact@maincenter.org',1,0,0,0,NULL,NULL,NULL,NULL), + (158,39,2,'jamesonf34@maincenter.org',0,0,0,0,NULL,NULL,NULL,NULL), + (159,173,3,'feedback@vnenvironmentalpartners.org',1,0,0,0,NULL,NULL,NULL,NULL), + (160,167,2,'93@vnenvironmentalpartners.org',0,0,0,0,NULL,NULL,NULL,NULL), + (161,147,3,'sales@urbanalliance.org',1,0,0,0,NULL,NULL,NULL,NULL), + (162,88,3,'sales@maplewellness.org',1,0,0,0,NULL,NULL,NULL,NULL), + (163,100,2,'juliannnielsen@maplewellness.org',0,0,0,0,NULL,NULL,NULL,NULL), + (164,181,3,'contact@minnesotaeducation.org',1,0,0,0,NULL,NULL,NULL,NULL), + (165,128,2,'daz.maria@minnesotaeducation.org',0,0,0,0,NULL,NULL,NULL,NULL), + (166,125,3,'sales@lcpeacecollective.org',1,0,0,0,NULL,NULL,NULL,NULL), + (167,143,2,'norrisblackwell@lcpeacecollective.org',0,0,0,0,NULL,NULL,NULL,NULL), + (168,117,3,'info@pennsylvanialiteracyacademy.org',1,0,0,0,NULL,NULL,NULL,NULL), + (169,16,2,'errolchowski@pennsylvanialiteracyacademy.org',0,0,0,0,NULL,NULL,NULL,NULL), + (170,37,3,'service@nebraskaactionfund.org',1,0,0,0,NULL,NULL,NULL,NULL), + (171,136,2,'rayt@nebraskaactionfund.org',0,0,0,0,NULL,NULL,NULL,NULL), + (172,179,3,'info@baysports.org',1,0,0,0,NULL,NULL,NULL,NULL), + (173,77,2,'angelikap35@baysports.org',0,0,0,0,NULL,NULL,NULL,NULL), + (174,166,3,'info@californialegal.org',1,0,0,0,NULL,NULL,NULL,NULL), + (175,60,3,'service@tennesseepoetry.org',1,0,0,0,NULL,NULL,NULL,NULL), + (176,10,3,'info@progressiveempowerment.org',1,0,0,0,NULL,NULL,NULL,NULL), + (177,124,3,'info@friendssystems.org',1,0,0,0,NULL,NULL,NULL,NULL), + (178,175,3,'contact@communityliteracy.org',1,0,0,0,NULL,NULL,NULL,NULL), + (179,202,1,'jenny@example.com',1,0,0,0,NULL,NULL,NULL,NULL), + (180,NULL,1,'development@example.org',0,0,0,0,NULL,NULL,NULL,NULL), + (181,NULL,1,'tournaments@example.org',0,0,0,0,NULL,NULL,NULL,NULL), + (182,NULL,1,'celebration@example.org',0,0,0,0,NULL,NULL,NULL,NULL); /*!40000 ALTER TABLE `civicrm_email` ENABLE KEYS */; UNLOCK TABLES; @@ -3382,165 +3358,165 @@ INSERT INTO `civicrm_entity_financial_trxn` (`id`, `entity_table`, `entity_id`, (60,'civicrm_financial_item',30,30,10.00), (61,'civicrm_contribution',31,31,5.00), (62,'civicrm_financial_item',31,31,5.00), - (63,'civicrm_contribution',32,32,100.00), + (63,'civicrm_contribution',54,32,100.00), (64,'civicrm_financial_item',32,32,100.00), - (65,'civicrm_contribution',34,33,100.00), - (66,'civicrm_financial_item',33,33,100.00), + (65,'civicrm_contribution',45,33,50.00), + (66,'civicrm_financial_item',33,33,50.00), (67,'civicrm_contribution',36,34,100.00), (68,'civicrm_financial_item',34,34,100.00), - (69,'civicrm_contribution',38,35,100.00), + (69,'civicrm_contribution',48,35,100.00), (70,'civicrm_financial_item',35,35,100.00), - (71,'civicrm_contribution',40,36,100.00), - (72,'civicrm_financial_item',36,36,100.00), - (73,'civicrm_contribution',41,37,100.00), - (74,'civicrm_financial_item',37,37,100.00), - (75,'civicrm_contribution',44,38,100.00), + (71,'civicrm_contribution',37,36,50.00), + (72,'civicrm_financial_item',36,36,50.00), + (73,'civicrm_contribution',39,37,50.00), + (74,'civicrm_financial_item',37,37,50.00), + (75,'civicrm_contribution',50,38,100.00), (76,'civicrm_financial_item',38,38,100.00), - (77,'civicrm_contribution',48,39,100.00), + (77,'civicrm_contribution',41,39,100.00), (78,'civicrm_financial_item',39,39,100.00), - (79,'civicrm_contribution',50,40,100.00), + (79,'civicrm_contribution',60,40,100.00), (80,'civicrm_financial_item',40,40,100.00), - (81,'civicrm_contribution',52,41,100.00), + (81,'civicrm_contribution',38,41,100.00), (82,'civicrm_financial_item',41,41,100.00), - (83,'civicrm_contribution',54,42,100.00), - (84,'civicrm_financial_item',42,42,100.00), - (85,'civicrm_contribution',58,43,100.00), - (86,'civicrm_financial_item',43,43,100.00), - (87,'civicrm_contribution',60,44,100.00), + (83,'civicrm_contribution',56,42,50.00), + (84,'civicrm_financial_item',42,42,50.00), + (85,'civicrm_contribution',51,43,50.00), + (86,'civicrm_financial_item',43,43,50.00), + (87,'civicrm_contribution',46,44,100.00), (88,'civicrm_financial_item',44,44,100.00), (89,'civicrm_contribution',61,45,100.00), (90,'civicrm_financial_item',45,45,100.00), - (91,'civicrm_contribution',33,46,50.00), - (92,'civicrm_financial_item',46,46,50.00), - (93,'civicrm_contribution',35,47,50.00), - (94,'civicrm_financial_item',47,47,50.00), - (95,'civicrm_contribution',37,48,50.00), - (96,'civicrm_financial_item',48,48,50.00), - (97,'civicrm_contribution',39,49,50.00), + (91,'civicrm_contribution',40,46,100.00), + (92,'civicrm_financial_item',46,46,100.00), + (93,'civicrm_contribution',58,47,100.00), + (94,'civicrm_financial_item',47,47,100.00), + (95,'civicrm_contribution',32,48,100.00), + (96,'civicrm_financial_item',48,48,100.00), + (97,'civicrm_contribution',35,49,50.00), (98,'civicrm_financial_item',49,49,50.00), - (99,'civicrm_contribution',43,50,50.00), - (100,'civicrm_financial_item',50,50,50.00), - (101,'civicrm_contribution',45,51,50.00), - (102,'civicrm_financial_item',51,51,50.00), - (103,'civicrm_contribution',46,52,50.00), + (99,'civicrm_contribution',42,50,1200.00), + (100,'civicrm_financial_item',50,50,1200.00), + (101,'civicrm_contribution',34,51,100.00), + (102,'civicrm_financial_item',51,51,100.00), + (103,'civicrm_contribution',33,52,50.00), (104,'civicrm_financial_item',52,52,50.00), - (105,'civicrm_contribution',47,53,50.00), + (105,'civicrm_contribution',57,53,50.00), (106,'civicrm_financial_item',53,53,50.00), - (107,'civicrm_contribution',49,54,50.00), + (107,'civicrm_contribution',47,54,50.00), (108,'civicrm_financial_item',54,54,50.00), - (109,'civicrm_contribution',51,55,50.00), + (109,'civicrm_contribution',55,55,50.00), (110,'civicrm_financial_item',55,55,50.00), - (111,'civicrm_contribution',55,56,50.00), + (111,'civicrm_contribution',49,56,50.00), (112,'civicrm_financial_item',56,56,50.00), - (113,'civicrm_contribution',56,57,50.00), - (114,'civicrm_financial_item',57,57,50.00), - (115,'civicrm_contribution',57,58,50.00), - (116,'civicrm_financial_item',58,58,50.00), + (113,'civicrm_contribution',44,57,100.00), + (114,'civicrm_financial_item',57,57,100.00), + (115,'civicrm_contribution',52,58,100.00), + (116,'civicrm_financial_item',58,58,100.00), (117,'civicrm_contribution',59,59,50.00), (118,'civicrm_financial_item',59,59,50.00), - (119,'civicrm_contribution',42,60,1200.00), - (120,'civicrm_financial_item',60,60,1200.00), + (119,'civicrm_contribution',43,60,50.00), + (120,'civicrm_financial_item',60,60,50.00), (121,'civicrm_contribution',53,61,1200.00), (122,'civicrm_financial_item',61,61,1200.00), - (123,'civicrm_contribution',64,62,50.00), + (123,'civicrm_contribution',63,62,50.00), (124,'civicrm_financial_item',62,62,50.00), (125,'civicrm_contribution',67,63,50.00), (126,'civicrm_financial_item',63,63,50.00), - (127,'civicrm_contribution',70,64,50.00), - (128,'civicrm_financial_item',64,64,50.00), - (129,'civicrm_contribution',73,65,50.00), + (127,'civicrm_contribution',71,64,800.00), + (128,'civicrm_financial_item',64,64,800.00), + (129,'civicrm_contribution',75,65,50.00), (130,'civicrm_financial_item',65,65,50.00), - (131,'civicrm_contribution',76,66,50.00), - (132,'civicrm_financial_item',66,66,50.00), - (133,'civicrm_contribution',79,67,50.00), + (131,'civicrm_contribution',83,66,800.00), + (132,'civicrm_financial_item',66,66,800.00), + (133,'civicrm_contribution',88,67,50.00), (134,'civicrm_financial_item',67,67,50.00), - (135,'civicrm_contribution',82,68,50.00), + (135,'civicrm_contribution',92,68,50.00), (136,'civicrm_financial_item',68,68,50.00), - (137,'civicrm_contribution',85,69,50.00), - (138,'civicrm_financial_item',69,69,50.00), - (139,'civicrm_contribution',89,70,50.00), + (137,'civicrm_contribution',96,69,800.00), + (138,'civicrm_financial_item',69,69,800.00), + (139,'civicrm_contribution',100,70,50.00), (140,'civicrm_financial_item',70,70,50.00), - (141,'civicrm_contribution',92,71,50.00), - (142,'civicrm_financial_item',71,71,50.00), - (143,'civicrm_contribution',95,72,50.00), + (141,'civicrm_contribution',108,71,800.00), + (142,'civicrm_financial_item',71,71,800.00), + (143,'civicrm_contribution',64,72,50.00), (144,'civicrm_financial_item',72,72,50.00), - (145,'civicrm_contribution',98,73,50.00), - (146,'civicrm_financial_item',73,73,50.00), - (147,'civicrm_contribution',101,74,50.00), + (145,'civicrm_contribution',68,73,800.00), + (146,'civicrm_financial_item',73,73,800.00), + (147,'civicrm_contribution',72,74,50.00), (148,'civicrm_financial_item',74,74,50.00), - (149,'civicrm_contribution',104,75,50.00), + (149,'civicrm_contribution',76,75,50.00), (150,'civicrm_financial_item',75,75,50.00), - (151,'civicrm_contribution',107,76,50.00), + (151,'civicrm_contribution',79,76,50.00), (152,'civicrm_financial_item',76,76,50.00), - (153,'civicrm_contribution',110,77,50.00), + (153,'civicrm_contribution',81,77,50.00), (154,'civicrm_financial_item',77,77,50.00), - (155,'civicrm_contribution',65,78,800.00), - (156,'civicrm_financial_item',78,78,800.00), - (157,'civicrm_contribution',68,79,800.00), + (155,'civicrm_contribution',84,78,50.00), + (156,'civicrm_financial_item',78,78,50.00), + (157,'civicrm_contribution',87,79,800.00), (158,'civicrm_financial_item',79,79,800.00), - (159,'civicrm_contribution',71,80,800.00), - (160,'civicrm_financial_item',80,80,800.00), - (161,'civicrm_contribution',74,81,800.00), + (159,'civicrm_contribution',89,80,50.00), + (160,'civicrm_financial_item',80,80,50.00), + (161,'civicrm_contribution',93,81,800.00), (162,'civicrm_financial_item',81,81,800.00), - (163,'civicrm_contribution',77,82,800.00), - (164,'civicrm_financial_item',82,82,800.00), - (165,'civicrm_contribution',80,83,800.00), - (166,'civicrm_financial_item',83,83,800.00), - (167,'civicrm_contribution',83,84,800.00), - (168,'civicrm_financial_item',84,84,800.00), - (169,'civicrm_contribution',86,85,800.00), - (170,'civicrm_financial_item',85,85,800.00), - (171,'civicrm_contribution',87,86,800.00), - (172,'civicrm_financial_item',86,86,800.00), - (173,'civicrm_contribution',90,87,800.00), + (163,'civicrm_contribution',97,82,50.00), + (164,'civicrm_financial_item',82,82,50.00), + (165,'civicrm_contribution',101,83,50.00), + (166,'civicrm_financial_item',83,83,50.00), + (167,'civicrm_contribution',104,84,50.00), + (168,'civicrm_financial_item',84,84,50.00), + (169,'civicrm_contribution',106,85,50.00), + (170,'civicrm_financial_item',85,85,50.00), + (171,'civicrm_contribution',109,86,50.00), + (172,'civicrm_financial_item',86,86,50.00), + (173,'civicrm_contribution',112,87,800.00), (174,'civicrm_financial_item',87,87,800.00), - (175,'civicrm_contribution',93,88,800.00), + (175,'civicrm_contribution',65,88,800.00), (176,'civicrm_financial_item',88,88,800.00), - (177,'civicrm_contribution',96,89,800.00), - (178,'civicrm_financial_item',89,89,800.00), - (179,'civicrm_contribution',99,90,800.00), - (180,'civicrm_financial_item',90,90,800.00), - (181,'civicrm_contribution',102,91,800.00), + (177,'civicrm_contribution',69,89,50.00), + (178,'civicrm_financial_item',89,89,50.00), + (179,'civicrm_contribution',73,90,50.00), + (180,'civicrm_financial_item',90,90,50.00), + (181,'civicrm_contribution',80,91,800.00), (182,'civicrm_financial_item',91,91,800.00), - (183,'civicrm_contribution',105,92,800.00), + (183,'civicrm_contribution',86,92,800.00), (184,'civicrm_financial_item',92,92,800.00), - (185,'civicrm_contribution',108,93,800.00), + (185,'civicrm_contribution',90,93,800.00), (186,'civicrm_financial_item',93,93,800.00), - (187,'civicrm_contribution',111,94,800.00), - (188,'civicrm_financial_item',94,94,800.00), - (189,'civicrm_contribution',112,95,800.00), - (190,'civicrm_financial_item',95,95,800.00), - (191,'civicrm_contribution',63,96,50.00), - (192,'civicrm_financial_item',96,96,50.00), - (193,'civicrm_contribution',66,97,50.00), - (194,'civicrm_financial_item',97,97,50.00), - (195,'civicrm_contribution',69,98,50.00), + (187,'civicrm_contribution',94,94,50.00), + (188,'civicrm_financial_item',94,94,50.00), + (189,'civicrm_contribution',98,95,50.00), + (190,'civicrm_financial_item',95,95,50.00), + (191,'civicrm_contribution',105,96,800.00), + (192,'civicrm_financial_item',96,96,800.00), + (193,'civicrm_contribution',111,97,800.00), + (194,'civicrm_financial_item',97,97,800.00), + (195,'civicrm_contribution',66,98,50.00), (196,'civicrm_financial_item',98,98,50.00), - (197,'civicrm_contribution',72,99,50.00), + (197,'civicrm_contribution',70,99,50.00), (198,'civicrm_financial_item',99,99,50.00), - (199,'civicrm_contribution',75,100,50.00), - (200,'civicrm_financial_item',100,100,50.00), - (201,'civicrm_contribution',78,101,50.00), - (202,'civicrm_financial_item',101,101,50.00), - (203,'civicrm_contribution',81,102,50.00), + (199,'civicrm_contribution',74,100,800.00), + (200,'civicrm_financial_item',100,100,800.00), + (201,'civicrm_contribution',77,101,800.00), + (202,'civicrm_financial_item',101,101,800.00), + (203,'civicrm_contribution',78,102,50.00), (204,'civicrm_financial_item',102,102,50.00), - (205,'civicrm_contribution',84,103,50.00), + (205,'civicrm_contribution',82,103,50.00), (206,'civicrm_financial_item',103,103,50.00), - (207,'civicrm_contribution',88,104,50.00), + (207,'civicrm_contribution',85,104,50.00), (208,'civicrm_financial_item',104,104,50.00), (209,'civicrm_contribution',91,105,50.00), (210,'civicrm_financial_item',105,105,50.00), - (211,'civicrm_contribution',94,106,50.00), + (211,'civicrm_contribution',95,106,50.00), (212,'civicrm_financial_item',106,106,50.00), - (213,'civicrm_contribution',97,107,50.00), - (214,'civicrm_financial_item',107,107,50.00), - (215,'civicrm_contribution',100,108,50.00), - (216,'civicrm_financial_item',108,108,50.00), + (213,'civicrm_contribution',99,107,800.00), + (214,'civicrm_financial_item',107,107,800.00), + (215,'civicrm_contribution',102,108,800.00), + (216,'civicrm_financial_item',108,108,800.00), (217,'civicrm_contribution',103,109,50.00), (218,'civicrm_financial_item',109,109,50.00), - (219,'civicrm_contribution',106,110,50.00), + (219,'civicrm_contribution',107,110,50.00), (220,'civicrm_financial_item',110,110,50.00), - (221,'civicrm_contribution',109,111,50.00), + (221,'civicrm_contribution',110,111,50.00), (222,'civicrm_financial_item',111,111,50.00); /*!40000 ALTER TABLE `civicrm_entity_financial_trxn` ENABLE KEYS */; UNLOCK TABLES; @@ -3552,115 +3528,125 @@ UNLOCK TABLES; LOCK TABLES `civicrm_entity_tag` WRITE; /*!40000 ALTER TABLE `civicrm_entity_tag` DISABLE KEYS */; INSERT INTO `civicrm_entity_tag` (`id`, `entity_table`, `entity_id`, `tag_id`) VALUES - (56,'civicrm_contact',2,4), - (5,'civicrm_contact',3,1), - (63,'civicrm_contact',4,4), - (95,'civicrm_contact',5,5), - (53,'civicrm_contact',9,4), - (54,'civicrm_contact',9,5), - (105,'civicrm_contact',11,4), - (9,'civicrm_contact',14,2), - (101,'civicrm_contact',16,4), - (62,'civicrm_contact',17,5), - (42,'civicrm_contact',20,5), - (94,'civicrm_contact',26,5), - (50,'civicrm_contact',30,4), - (51,'civicrm_contact',30,5), - (81,'civicrm_contact',32,5), - (72,'civicrm_contact',38,5), - (13,'civicrm_contact',41,5), - (22,'civicrm_contact',42,4), - (23,'civicrm_contact',42,5), - (66,'civicrm_contact',43,5), - (19,'civicrm_contact',44,5), - (30,'civicrm_contact',45,4), - (31,'civicrm_contact',45,5), - (26,'civicrm_contact',46,5), - (2,'civicrm_contact',48,1), - (17,'civicrm_contact',50,5), - (6,'civicrm_contact',52,1), - (32,'civicrm_contact',54,4), - (33,'civicrm_contact',54,5), - (36,'civicrm_contact',56,5), - (104,'civicrm_contact',58,5), - (97,'civicrm_contact',60,4), - (98,'civicrm_contact',60,5), - (108,'civicrm_contact',61,5), - (106,'civicrm_contact',62,5), - (69,'civicrm_contact',65,4), - (91,'civicrm_contact',71,4), - (3,'civicrm_contact',75,3), - (44,'civicrm_contact',76,5), - (90,'civicrm_contact',77,5), - (82,'civicrm_contact',78,4), - (83,'civicrm_contact',78,5), - (84,'civicrm_contact',80,4), - (77,'civicrm_contact',82,4), - (52,'civicrm_contact',85,5), - (85,'civicrm_contact',88,5), - (102,'civicrm_contact',90,4), - (103,'civicrm_contact',90,5), - (68,'civicrm_contact',91,5), - (18,'civicrm_contact',94,5), - (11,'civicrm_contact',99,4), - (12,'civicrm_contact',99,5), - (25,'civicrm_contact',100,4), - (99,'civicrm_contact',101,4), - (24,'civicrm_contact',103,4), - (96,'civicrm_contact',104,4), - (78,'civicrm_contact',106,4), - (86,'civicrm_contact',108,4), - (87,'civicrm_contact',108,5), - (27,'civicrm_contact',109,5), - (109,'civicrm_contact',110,4), - (76,'civicrm_contact',113,4), - (7,'civicrm_contact',116,3), - (80,'civicrm_contact',121,5), - (88,'civicrm_contact',123,4), - (89,'civicrm_contact',123,5), - (65,'civicrm_contact',127,4), - (107,'civicrm_contact',130,4), - (71,'civicrm_contact',131,5), - (79,'civicrm_contact',133,5), - (46,'civicrm_contact',134,4), - (20,'civicrm_contact',138,4), - (21,'civicrm_contact',138,5), - (4,'civicrm_contact',142,2), - (74,'civicrm_contact',144,4), - (75,'civicrm_contact',144,5), - (70,'civicrm_contact',145,5), - (38,'civicrm_contact',150,4), - (39,'civicrm_contact',150,5), - (64,'civicrm_contact',152,5), - (60,'civicrm_contact',153,4), - (61,'civicrm_contact',153,5), - (58,'civicrm_contact',155,5), - (37,'civicrm_contact',160,5), - (14,'civicrm_contact',161,5), - (10,'civicrm_contact',164,1), - (1,'civicrm_contact',165,2), - (35,'civicrm_contact',166,4), - (43,'civicrm_contact',172,5), - (15,'civicrm_contact',173,4), - (16,'civicrm_contact',175,5), - (40,'civicrm_contact',177,4), - (41,'civicrm_contact',177,5), - (73,'civicrm_contact',178,5), - (28,'civicrm_contact',180,4), - (29,'civicrm_contact',180,5), - (57,'civicrm_contact',181,5), - (55,'civicrm_contact',182,4), - (92,'civicrm_contact',186,4), - (93,'civicrm_contact',186,5), - (45,'civicrm_contact',187,5), - (67,'civicrm_contact',188,5), - (49,'civicrm_contact',194,4), - (47,'civicrm_contact',195,4), - (48,'civicrm_contact',195,5), - (8,'civicrm_contact',196,3), - (100,'civicrm_contact',197,5), - (59,'civicrm_contact',199,4), - (34,'civicrm_contact',200,4); + (19,'civicrm_contact',4,4), + (73,'civicrm_contact',5,4), + (113,'civicrm_contact',6,4), + (114,'civicrm_contact',6,5), + (10,'civicrm_contact',8,3), + (9,'civicrm_contact',10,3), + (2,'civicrm_contact',11,3), + (101,'civicrm_contact',20,4), + (13,'civicrm_contact',21,4), + (14,'civicrm_contact',21,5), + (85,'civicrm_contact',22,5), + (71,'civicrm_contact',23,4), + (40,'civicrm_contact',25,5), + (31,'civicrm_contact',28,4), + (109,'civicrm_contact',29,4), + (118,'civicrm_contact',30,4), + (119,'civicrm_contact',30,5), + (35,'civicrm_contact',31,5), + (62,'civicrm_contact',35,4), + (6,'civicrm_contact',37,3), + (110,'civicrm_contact',42,4), + (111,'civicrm_contact',42,5), + (49,'civicrm_contact',44,5), + (86,'civicrm_contact',45,4), + (87,'civicrm_contact',45,5), + (77,'civicrm_contact',46,4), + (115,'civicrm_contact',48,4), + (116,'civicrm_contact',48,5), + (16,'civicrm_contact',51,4), + (17,'civicrm_contact',51,5), + (48,'civicrm_contact',55,5), + (68,'civicrm_contact',57,4), + (69,'civicrm_contact',57,5), + (82,'civicrm_contact',58,5), + (60,'civicrm_contact',61,4), + (74,'civicrm_contact',62,4), + (97,'civicrm_contact',63,4), + (98,'civicrm_contact',63,5), + (64,'civicrm_contact',64,5), + (56,'civicrm_contact',65,5), + (50,'civicrm_contact',66,4), + (51,'civicrm_contact',66,5), + (65,'civicrm_contact',69,4), + (66,'civicrm_contact',69,5), + (80,'civicrm_contact',70,4), + (18,'civicrm_contact',71,5), + (37,'civicrm_contact',72,4), + (38,'civicrm_contact',72,5), + (102,'civicrm_contact',74,4), + (41,'civicrm_contact',76,4), + (36,'civicrm_contact',77,4), + (32,'civicrm_contact',79,5), + (11,'civicrm_contact',80,4), + (28,'civicrm_contact',81,4), + (29,'civicrm_contact',81,5), + (70,'civicrm_contact',85,4), + (54,'civicrm_contact',87,4), + (55,'civicrm_contact',87,5), + (8,'civicrm_contact',89,3), + (57,'civicrm_contact',90,4), + (58,'civicrm_contact',90,5), + (45,'civicrm_contact',91,4), + (43,'civicrm_contact',92,5), + (7,'civicrm_contact',95,3), + (39,'civicrm_contact',100,4), + (61,'civicrm_contact',104,4), + (30,'civicrm_contact',106,5), + (79,'civicrm_contact',112,5), + (99,'civicrm_contact',113,4), + (15,'civicrm_contact',115,4), + (90,'civicrm_contact',116,4), + (78,'civicrm_contact',118,4), + (103,'civicrm_contact',120,4), + (104,'civicrm_contact',120,5), + (5,'civicrm_contact',125,3), + (4,'civicrm_contact',127,1), + (96,'civicrm_contact',128,5), + (24,'civicrm_contact',135,4), + (25,'civicrm_contact',135,5), + (94,'civicrm_contact',139,5), + (72,'civicrm_contact',140,4), + (46,'civicrm_contact',141,4), + (47,'civicrm_contact',141,5), + (12,'civicrm_contact',146,4), + (3,'civicrm_contact',147,3), + (91,'civicrm_contact',148,4), + (20,'civicrm_contact',150,4), + (21,'civicrm_contact',150,5), + (22,'civicrm_contact',153,4), + (23,'civicrm_contact',153,5), + (112,'civicrm_contact',154,4), + (100,'civicrm_contact',157,4), + (95,'civicrm_contact',158,4), + (88,'civicrm_contact',159,4), + (89,'civicrm_contact',159,5), + (117,'civicrm_contact',160,5), + (75,'civicrm_contact',162,4), + (76,'civicrm_contact',162,5), + (59,'civicrm_contact',164,5), + (52,'civicrm_contact',168,4), + (53,'civicrm_contact',168,5), + (26,'civicrm_contact',177,4), + (27,'civicrm_contact',177,5), + (67,'civicrm_contact',178,5), + (105,'civicrm_contact',180,4), + (106,'civicrm_contact',180,5), + (33,'civicrm_contact',183,4), + (34,'civicrm_contact',183,5), + (44,'civicrm_contact',184,4), + (83,'civicrm_contact',186,4), + (84,'civicrm_contact',186,5), + (1,'civicrm_contact',191,1), + (92,'civicrm_contact',192,4), + (93,'civicrm_contact',192,5), + (81,'civicrm_contact',193,5), + (63,'civicrm_contact',196,5), + (107,'civicrm_contact',198,4), + (108,'civicrm_contact',198,5), + (42,'civicrm_contact',200,5); /*!40000 ALTER TABLE `civicrm_entity_tag` ENABLE KEYS */; UNLOCK TABLES; @@ -3671,9 +3657,9 @@ UNLOCK TABLES; LOCK TABLES `civicrm_event` WRITE; /*!40000 ALTER TABLE `civicrm_event` DISABLE KEYS */; INSERT INTO `civicrm_event` (`id`, `title`, `summary`, `description`, `event_type_id`, `participant_listing_id`, `is_public`, `start_date`, `end_date`, `is_online_registration`, `registration_link_text`, `registration_start_date`, `registration_end_date`, `max_participants`, `event_full_text`, `is_monetary`, `financial_type_id`, `payment_processor`, `is_map`, `is_active`, `fee_label`, `is_show_location`, `loc_block_id`, `default_role_id`, `intro_text`, `footer_text`, `confirm_title`, `confirm_text`, `confirm_footer_text`, `is_email_confirm`, `confirm_email_text`, `confirm_from_name`, `confirm_from_email`, `cc_confirm`, `bcc_confirm`, `default_fee_id`, `default_discount_fee_id`, `thankyou_title`, `thankyou_text`, `thankyou_footer_text`, `is_pay_later`, `pay_later_text`, `pay_later_receipt`, `is_partial_payment`, `initial_amount_label`, `initial_amount_help_text`, `min_initial_amount`, `is_multiple_registrations`, `max_additional_participants`, `allow_same_participant_emails`, `has_waitlist`, `requires_approval`, `expiration_time`, `allow_selfcancelxfer`, `selfcancelxfer_time`, `waitlist_text`, `approval_req_text`, `is_template`, `template_title`, `created_id`, `created_date`, `currency`, `campaign_id`, `is_share`, `is_confirm_enabled`, `parent_event_id`, `slot_label_id`, `dedupe_rule_group_id`, `is_billing_required`) VALUES - (1,'Fall Fundraiser Dinner','Kick up your heels at our Fall Fundraiser Dinner/Dance at Glen Echo Park! Come by yourself or bring a partner, friend or the entire family!','This event benefits our teen programs. Admission includes a full 3 course meal and wine or soft drinks. Grab your dancing shoes, bring the kids and come join the party!',3,1,1,'2023-10-30 17:00:00','2023-11-01 17:00:00',1,'Register Now',NULL,NULL,100,'Sorry! The Fall Fundraiser Dinner is full. Please call Jane at 204 222-1000 ext 33 if you want to be added to the waiting list.',1,4,NULL,1,1,'Dinner Contribution',1,1,1,'Fill in the information below to join as at this wonderful dinner event.',NULL,'Confirm Your Registration Information','Review the information below carefully.',NULL,1,'Contact the Development Department if you need to make any changes to your registration.','Fundraising Dept.','development@example.org',NULL,NULL,NULL,NULL,'Thanks for Registering!','<p>Thank you for your support. Your contribution will help us build even better tools.</p><p>Please tell your friends and colleagues about this wonderful event.</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>',1,'I will send payment by check','Send a check payable to Our Organization within 3 business days to hold your reservation. Checks should be sent to: 100 Main St., Suite 3, San Francisco CA 94110',0,NULL,NULL,NULL,1,0,0,0,0,NULL,0,0,NULL,NULL,0,NULL,NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0), - (2,'Summer Solstice Festival Day Concert','Festival Day is coming! Join us and help support your parks.','We will gather at noon, learn a song all together, and then join in a joyous procession to the pavilion. We will be one of many groups performing at this wonderful concert which benefits our city parks.',5,1,1,'2023-04-29 12:00:00','2023-04-29 17:00:00',1,'Register Now',NULL,NULL,50,'We have all the singers we can handle. Come to the pavilion anyway and join in from the audience.',1,2,NULL,0,1,'Festival Fee',1,2,1,'Complete the form below and click Continue to register online for the festival. Or you can register by calling us at 204 222-1000 ext 22.','','Confirm Your Registration Information','','',1,'This email confirms your registration. If you have questions or need to change your registration - please do not hesitate to call us.','Event Dept.','events@example.org','',NULL,NULL,NULL,'Thanks for Your Joining In!','<p>Thank you for your support. Your participation will help build new parks.</p><p>Please tell your friends and colleagues about the concert.</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>',0,NULL,NULL,0,NULL,NULL,NULL,1,0,0,0,0,NULL,0,0,NULL,NULL,0,NULL,NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0), - (3,'Rain-forest Cup Youth Soccer Tournament','Sign up your team to participate in this fun tournament which benefits several Rain-forest protection groups in the Amazon basin.','This is a FYSA Sanctioned Tournament, which is open to all USSF/FIFA affiliated organizations for boys and girls in age groups: U9-U10 (6v6), U11-U12 (8v8), and U13-U17 (Full Sided).',3,1,1,'2023-11-30 07:00:00','2023-12-03 17:00:00',1,'Register Now',NULL,NULL,500,'Sorry! All available team slots for this tournament have been filled. Contact Jill Futbol for information about the waiting list and next years event.',1,4,NULL,0,1,'Tournament Fees',1,3,1,'Complete the form below to register your team for this year\'s tournament.','<em>A Soccer Youth Event</em>','Review and Confirm Your Registration Information','','<em>A Soccer Youth Event</em>',1,'Contact our Tournament Director for eligibility details.','Tournament Director','tournament@example.org','',NULL,NULL,NULL,'Thanks for Your Support!','<p>Thank you for your support. Your participation will help save thousands of acres of rainforest.</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>',0,NULL,NULL,0,NULL,NULL,NULL,0,0,0,0,0,NULL,0,0,NULL,NULL,0,NULL,NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0), + (1,'Fall Fundraiser Dinner','Kick up your heels at our Fall Fundraiser Dinner/Dance at Glen Echo Park! Come by yourself or bring a partner, friend or the entire family!','This event benefits our teen programs. Admission includes a full 3 course meal and wine or soft drinks. Grab your dancing shoes, bring the kids and come join the party!',3,1,1,'2023-12-09 17:00:00','2023-12-11 17:00:00',1,'Register Now',NULL,NULL,100,'Sorry! The Fall Fundraiser Dinner is full. Please call Jane at 204 222-1000 ext 33 if you want to be added to the waiting list.',1,4,NULL,1,1,'Dinner Contribution',1,1,1,'Fill in the information below to join as at this wonderful dinner event.',NULL,'Confirm Your Registration Information','Review the information below carefully.',NULL,1,'Contact the Development Department if you need to make any changes to your registration.','Fundraising Dept.','development@example.org',NULL,NULL,NULL,NULL,'Thanks for Registering!','<p>Thank you for your support. Your contribution will help us build even better tools.</p><p>Please tell your friends and colleagues about this wonderful event.</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>',1,'I will send payment by check','Send a check payable to Our Organization within 3 business days to hold your reservation. Checks should be sent to: 100 Main St., Suite 3, San Francisco CA 94110',0,NULL,NULL,NULL,1,0,0,0,0,NULL,0,0,NULL,NULL,0,NULL,NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0), + (2,'Summer Solstice Festival Day Concert','Festival Day is coming! Join us and help support your parks.','We will gather at noon, learn a song all together, and then join in a joyous procession to the pavilion. We will be one of many groups performing at this wonderful concert which benefits our city parks.',5,1,1,'2023-06-08 12:00:00','2023-06-08 17:00:00',1,'Register Now',NULL,NULL,50,'We have all the singers we can handle. Come to the pavilion anyway and join in from the audience.',1,2,NULL,0,1,'Festival Fee',1,2,1,'Complete the form below and click Continue to register online for the festival. Or you can register by calling us at 204 222-1000 ext 22.','','Confirm Your Registration Information','','',1,'This email confirms your registration. If you have questions or need to change your registration - please do not hesitate to call us.','Event Dept.','events@example.org','',NULL,NULL,NULL,'Thanks for Your Joining In!','<p>Thank you for your support. Your participation will help build new parks.</p><p>Please tell your friends and colleagues about the concert.</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>',0,NULL,NULL,0,NULL,NULL,NULL,1,0,0,0,0,NULL,0,0,NULL,NULL,0,NULL,NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0), + (3,'Rain-forest Cup Youth Soccer Tournament','Sign up your team to participate in this fun tournament which benefits several Rain-forest protection groups in the Amazon basin.','This is a FYSA Sanctioned Tournament, which is open to all USSF/FIFA affiliated organizations for boys and girls in age groups: U9-U10 (6v6), U11-U12 (8v8), and U13-U17 (Full Sided).',3,1,1,'2024-01-09 07:00:00','2024-01-12 17:00:00',1,'Register Now',NULL,NULL,500,'Sorry! All available team slots for this tournament have been filled. Contact Jill Futbol for information about the waiting list and next years event.',1,4,NULL,0,1,'Tournament Fees',1,3,1,'Complete the form below to register your team for this year\'s tournament.','<em>A Soccer Youth Event</em>','Review and Confirm Your Registration Information','','<em>A Soccer Youth Event</em>',1,'Contact our Tournament Director for eligibility details.','Tournament Director','tournament@example.org','',NULL,NULL,NULL,'Thanks for Your Support!','<p>Thank you for your support. Your participation will help save thousands of acres of rainforest.</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>',0,NULL,NULL,0,NULL,NULL,NULL,0,0,0,0,0,NULL,0,0,NULL,NULL,0,NULL,NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0), (4,NULL,NULL,NULL,4,1,1,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,1,NULL,1,NULL,1,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,1,0,0,0,0,NULL,0,0,NULL,NULL,1,'Free Meeting without Online Registration',NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0), (5,NULL,NULL,NULL,4,1,1,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,0,1,NULL,1,NULL,1,NULL,NULL,'Confirm Your Registration Information',NULL,NULL,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Thanks for Registering!',NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,1,0,1,0,0,NULL,0,0,NULL,NULL,1,'Free Meeting with Online Registration',NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0), (6,NULL,NULL,NULL,1,1,1,NULL,NULL,1,NULL,NULL,NULL,NULL,NULL,1,4,NULL,0,1,'Conference Fee',1,NULL,1,NULL,NULL,'Confirm Your Registration Information',NULL,NULL,1,NULL,'Event Template Dept.','event_templates@example.org',NULL,NULL,NULL,NULL,'Thanks for Registering!',NULL,NULL,0,NULL,NULL,0,NULL,NULL,NULL,1,0,1,0,0,NULL,0,0,NULL,NULL,1,'Paid Conference with Online Registration',NULL,NULL,'USD',NULL,1,1,NULL,NULL,NULL,0); @@ -3712,7 +3698,13 @@ INSERT INTO `civicrm_extension` (`id`, `type`, `full_name`, `name`, `label`, `fi (5,'module','recaptcha','reCAPTCHA','reCAPTCHA','recaptcha',NULL,1), (6,'module','ckeditor4','CKEditor4','CKEditor4','ckeditor4',NULL,1), (7,'module','legacycustomsearches','Custom search framework','Custom search framework','legacycustomsearches',NULL,1), - (8,'module','org.civicrm.flexmailer','FlexMailer','FlexMailer','flexmailer',NULL,1); + (8,'module','org.civicrm.flexmailer','FlexMailer','FlexMailer','flexmailer',NULL,1), + (9,'module','civi_contribute','CiviContribute','CiviContribute','civi_contribute',NULL,1), + (10,'module','civi_event','CiviEvent','CiviEvent','civi_event',NULL,1), + (11,'module','civi_mail','CiviMail','CiviMail','civi_mail',NULL,1), + (12,'module','civi_member','CiviMember','CiviMember','civi_member',NULL,1), + (13,'module','civi_pledge','CiviPledge','CiviPledge','civi_pledge',NULL,1), + (14,'module','civi_report','CiviReport','CiviReport','civi_report',NULL,1); /*!40000 ALTER TABLE `civicrm_extension` ENABLE KEYS */; UNLOCK TABLES; @@ -3756,117 +3748,117 @@ UNLOCK TABLES; LOCK TABLES `civicrm_financial_item` WRITE; /*!40000 ALTER TABLE `civicrm_financial_item` DISABLE KEYS */; INSERT INTO `civicrm_financial_item` (`id`, `created_date`, `transaction_date`, `contact_id`, `description`, `amount`, `currency`, `financial_account_id`, `status_id`, `entity_table`, `entity_id`) VALUES - (1,'2023-04-30 16:20:59','2013-04-30 16:20:59',2,'Contribution Amount',125.00,'USD',1,1,'civicrm_line_item',1), - (2,'2023-04-30 16:20:59','2021-01-30 16:20:59',4,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',2), - (3,'2023-04-30 16:20:59','2017-04-05 03:20:59',6,'Contribution Amount',25.00,'GBP',1,1,'civicrm_line_item',3), - (4,'2023-04-30 16:20:59','2021-01-30 16:20:59',8,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',4), - (5,'2023-04-30 16:20:59','2021-01-30 16:20:59',4,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',5), - (6,'2023-04-30 16:20:59','2023-02-04 15:38:59',16,'Contribution Amount',500.00,'USD',1,1,'civicrm_line_item',6), - (7,'2023-04-30 16:20:59','2023-04-28 16:20:59',19,'Contribution Amount',1750.00,'USD',1,1,'civicrm_line_item',7), - (8,'2023-04-30 16:21:00','2022-09-06 00:31:59',82,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',8), - (9,'2023-04-30 16:21:00','2022-05-30 16:20:59',92,'Contribution Amount',10.00,'USD',1,1,'civicrm_line_item',9), - (10,'2023-04-30 16:21:00','2018-12-07 18:20:59',34,'Contribution Amount',250.00,'USD',1,1,'civicrm_line_item',10), - (11,'2023-04-30 16:21:00','2023-04-29 12:20:59',71,'Contribution Amount',500.00,'JPY',1,1,'civicrm_line_item',11), - (12,'2023-04-30 16:21:00','2022-01-30 05:47:39',43,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',12), - (13,'2023-04-30 16:21:00','2023-01-30 00:00:00',32,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',13), - (14,'2023-04-30 16:21:00','2023-03-02 00:00:00',32,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',14), - (15,'2023-04-30 16:21:00','2022-01-30 16:20:59',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',15), - (16,'2023-04-30 16:21:00','2022-03-02 16:20:59',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',16), - (17,'2023-04-30 16:21:00','2022-04-02 16:20:59',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',17), - (18,'2023-04-30 16:21:00','2022-05-02 16:20:59',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',18), - (19,'2023-04-30 16:21:00','2022-06-02 16:20:59',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',19), - (20,'2023-04-30 16:21:00','2022-07-02 16:20:59',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',20), - (21,'2023-04-30 16:21:00','2022-08-02 16:20:59',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',21), - (22,'2023-04-30 16:21:00','2022-09-02 16:20:59',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',22), - (23,'2023-04-30 16:21:00','2022-10-02 16:20:59',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',23), - (24,'2023-04-30 16:21:00','2022-11-02 16:20:59',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',24), - (25,'2023-04-30 16:21:00','2022-12-02 16:20:59',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',25), - (26,'2023-04-30 16:21:00','2022-08-30 16:20:59',99,'Contribution Amount',10.00,'CAD',1,1,'civicrm_line_item',26), - (27,'2023-04-30 16:21:00','2022-09-30 16:20:59',99,'Contribution Amount',10.00,'CAD',1,1,'civicrm_line_item',27), - (28,'2023-04-30 16:21:00','2022-10-30 16:20:59',99,'Contribution Amount',10.00,'CAD',1,1,'civicrm_line_item',28), - (29,'2023-04-30 16:21:00','2022-11-30 16:20:59',99,'Contribution Amount',10.00,'CAD',1,1,'civicrm_line_item',29), - (30,'2023-04-30 16:21:00','2022-12-30 16:20:59',99,'Contribution Amount',10.00,'CAD',1,1,'civicrm_line_item',30), - (31,'2023-04-30 16:21:00','2023-03-30 16:20:59',103,'Contribution Amount',5.00,'EUR',1,1,'civicrm_line_item',31), - (32,'2023-04-30 16:21:00','2023-04-30 16:20:59',82,'General',100.00,'USD',2,1,'civicrm_line_item',32), - (33,'2023-04-30 16:21:00','2023-04-30 16:20:59',114,'General',100.00,'USD',2,1,'civicrm_line_item',33), - (34,'2023-04-30 16:21:00','2023-04-30 16:20:59',49,'General',100.00,'USD',2,1,'civicrm_line_item',34), - (35,'2023-04-30 16:21:00','2023-04-30 16:20:59',54,'General',100.00,'USD',2,1,'civicrm_line_item',35), - (36,'2023-04-30 16:21:00','2023-04-30 16:20:59',133,'General',100.00,'USD',2,1,'civicrm_line_item',36), - (37,'2023-04-30 16:21:00','2023-04-30 16:20:59',131,'General',100.00,'USD',2,1,'civicrm_line_item',37), - (38,'2023-04-30 16:21:00','2023-04-30 16:20:59',83,'General',100.00,'USD',2,1,'civicrm_line_item',38), - (39,'2023-04-30 16:21:00','2023-04-30 16:20:59',100,'General',100.00,'USD',2,1,'civicrm_line_item',39), - (40,'2023-04-30 16:21:00','2023-04-30 16:20:59',10,'General',100.00,'USD',2,1,'civicrm_line_item',40), - (41,'2023-04-30 16:21:00','2023-04-30 16:20:59',175,'General',100.00,'USD',2,1,'civicrm_line_item',41), - (42,'2023-04-30 16:21:00','2023-04-30 16:20:59',134,'General',100.00,'USD',2,1,'civicrm_line_item',42), - (43,'2023-04-30 16:21:00','2023-04-30 16:20:59',152,'General',100.00,'USD',2,1,'civicrm_line_item',43), - (44,'2023-04-30 16:21:00','2023-04-30 16:20:59',110,'General',100.00,'USD',2,1,'civicrm_line_item',44), - (45,'2023-04-30 16:21:00','2023-04-30 16:20:59',138,'General',100.00,'USD',2,1,'civicrm_line_item',45), - (46,'2023-04-30 16:21:00','2023-04-30 16:20:59',194,'Student',50.00,'USD',2,1,'civicrm_line_item',46), - (47,'2023-04-30 16:21:00','2023-04-30 16:20:59',77,'Student',50.00,'USD',2,1,'civicrm_line_item',47), - (48,'2023-04-30 16:21:00','2023-04-30 16:20:59',78,'Student',50.00,'USD',2,1,'civicrm_line_item',48), - (49,'2023-04-30 16:21:00','2023-04-30 16:20:59',26,'Student',50.00,'USD',2,1,'civicrm_line_item',49), - (50,'2023-04-30 16:21:00','2023-04-30 16:20:59',25,'Student',50.00,'USD',2,1,'civicrm_line_item',50), - (51,'2023-04-30 16:21:00','2023-04-30 16:20:59',147,'Student',50.00,'USD',2,1,'civicrm_line_item',51), - (52,'2023-04-30 16:21:00','2023-04-30 16:20:59',150,'Student',50.00,'USD',2,1,'civicrm_line_item',52), - (53,'2023-04-30 16:21:00','2023-04-30 16:20:59',73,'Student',50.00,'USD',2,1,'civicrm_line_item',53), - (54,'2023-04-30 16:21:00','2023-04-30 16:20:59',13,'Student',50.00,'USD',2,1,'civicrm_line_item',54), - (55,'2023-04-30 16:21:00','2023-04-30 16:20:59',180,'Student',50.00,'USD',2,1,'civicrm_line_item',55), - (56,'2023-04-30 16:21:00','2023-04-30 16:20:59',98,'Student',50.00,'USD',2,1,'civicrm_line_item',56), - (57,'2023-04-30 16:21:00','2023-04-30 16:20:59',157,'Student',50.00,'USD',2,1,'civicrm_line_item',57), - (58,'2023-04-30 16:21:00','2023-04-30 16:20:59',90,'Student',50.00,'USD',2,1,'civicrm_line_item',58), - (59,'2023-04-30 16:21:00','2023-04-30 16:20:59',136,'Student',50.00,'USD',2,1,'civicrm_line_item',59), - (60,'2023-04-30 16:21:00','2023-04-30 16:20:59',30,'Lifetime',1200.00,'USD',2,1,'civicrm_line_item',60), - (61,'2023-04-30 16:21:00','2023-04-30 16:20:59',182,'Lifetime',1200.00,'USD',2,1,'civicrm_line_item',61), - (62,'2023-04-30 16:21:00','2023-04-30 16:20:59',85,'Soprano',50.00,'USD',2,1,'civicrm_line_item',97), - (63,'2023-04-30 16:21:00','2023-04-30 16:20:59',68,'Soprano',50.00,'USD',2,1,'civicrm_line_item',98), - (64,'2023-04-30 16:21:00','2023-04-30 16:20:59',64,'Soprano',50.00,'USD',2,1,'civicrm_line_item',99), - (65,'2023-04-30 16:21:00','2023-04-30 16:20:59',169,'Soprano',50.00,'USD',2,1,'civicrm_line_item',100), - (66,'2023-04-30 16:21:00','2023-04-30 16:20:59',123,'Soprano',50.00,'USD',2,1,'civicrm_line_item',101), - (67,'2023-04-30 16:21:00','2023-04-30 16:20:59',2,'Soprano',50.00,'USD',2,1,'civicrm_line_item',102), - (68,'2023-04-30 16:21:00','2023-04-30 16:20:59',51,'Soprano',50.00,'USD',2,1,'civicrm_line_item',103), - (69,'2023-04-30 16:21:00','2023-04-30 16:20:59',104,'Soprano',50.00,'USD',2,1,'civicrm_line_item',104), - (70,'2023-04-30 16:21:00','2023-04-30 16:20:59',173,'Soprano',50.00,'USD',2,1,'civicrm_line_item',105), - (71,'2023-04-30 16:21:00','2023-04-30 16:20:59',181,'Soprano',50.00,'USD',2,1,'civicrm_line_item',106), - (72,'2023-04-30 16:21:00','2023-04-30 16:20:59',21,'Soprano',50.00,'USD',2,1,'civicrm_line_item',107), - (73,'2023-04-30 16:21:00','2023-04-30 16:20:59',151,'Soprano',50.00,'USD',2,1,'civicrm_line_item',108), - (74,'2023-04-30 16:21:00','2023-04-30 16:20:59',86,'Soprano',50.00,'USD',2,1,'civicrm_line_item',109), - (75,'2023-04-30 16:21:00','2023-04-30 16:20:59',201,'Soprano',50.00,'USD',2,1,'civicrm_line_item',110), - (76,'2023-04-30 16:21:00','2023-04-30 16:20:59',190,'Soprano',50.00,'USD',2,1,'civicrm_line_item',111), - (77,'2023-04-30 16:21:00','2023-04-30 16:20:59',38,'Soprano',50.00,'USD',2,1,'civicrm_line_item',112), - (78,'2023-04-30 16:21:00','2023-04-30 16:20:59',155,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',63), - (79,'2023-04-30 16:21:00','2023-04-30 16:20:59',14,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',64), - (80,'2023-04-30 16:21:00','2023-04-30 16:20:59',95,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',65), - (81,'2023-04-30 16:21:00','2023-04-30 16:20:59',59,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',66), - (82,'2023-04-30 16:21:00','2023-04-30 16:20:59',121,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',67), - (83,'2023-04-30 16:21:00','2023-04-30 16:20:59',94,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',68), - (84,'2023-04-30 16:21:00','2023-04-30 16:20:59',28,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',69), - (85,'2023-04-30 16:21:00','2023-04-30 16:20:59',96,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',70), - (86,'2023-04-30 16:21:00','2023-04-30 16:20:59',166,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',71), - (87,'2023-04-30 16:21:00','2023-04-30 16:20:59',165,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',72), - (88,'2023-04-30 16:21:00','2023-04-30 16:20:59',23,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',73), - (89,'2023-04-30 16:21:00','2023-04-30 16:20:59',81,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',74), - (90,'2023-04-30 16:21:00','2023-04-30 16:20:59',24,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',75), - (91,'2023-04-30 16:21:00','2023-04-30 16:20:59',91,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',76), - (92,'2023-04-30 16:21:00','2023-04-30 16:20:59',87,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',77), - (93,'2023-04-30 16:21:00','2023-04-30 16:20:59',150,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',78), - (94,'2023-04-30 16:21:00','2023-04-30 16:20:59',37,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',79), - (95,'2023-04-30 16:21:00','2023-04-30 16:20:59',103,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',80), - (96,'2023-04-30 16:21:00','2023-04-30 16:20:59',109,'Single',50.00,'USD',4,1,'civicrm_line_item',81), - (97,'2023-04-30 16:21:00','2023-04-30 16:20:59',160,'Single',50.00,'USD',4,1,'civicrm_line_item',82), - (98,'2023-04-30 16:21:00','2023-04-30 16:20:59',199,'Single',50.00,'USD',4,1,'civicrm_line_item',83), - (99,'2023-04-30 16:21:00','2023-04-30 16:20:59',148,'Single',50.00,'USD',4,1,'civicrm_line_item',84), - (100,'2023-04-30 16:21:00','2023-04-30 16:20:59',124,'Single',50.00,'USD',4,1,'civicrm_line_item',85), - (101,'2023-04-30 16:21:00','2023-04-30 16:20:59',93,'Single',50.00,'USD',4,1,'civicrm_line_item',86), - (102,'2023-04-30 16:21:00','2023-04-30 16:20:59',56,'Single',50.00,'USD',4,1,'civicrm_line_item',87), - (103,'2023-04-30 16:21:00','2023-04-30 16:20:59',101,'Single',50.00,'USD',4,1,'civicrm_line_item',88), - (104,'2023-04-30 16:21:00','2023-04-30 16:20:59',176,'Single',50.00,'USD',4,1,'civicrm_line_item',89), - (105,'2023-04-30 16:21:00','2023-04-30 16:20:59',153,'Single',50.00,'USD',4,1,'civicrm_line_item',90), - (106,'2023-04-30 16:21:01','2023-04-30 16:20:59',58,'Single',50.00,'USD',4,1,'civicrm_line_item',91), - (107,'2023-04-30 16:21:01','2023-04-30 16:20:59',130,'Single',50.00,'USD',4,1,'civicrm_line_item',92), - (108,'2023-04-30 16:21:01','2023-04-30 16:20:59',19,'Single',50.00,'USD',4,1,'civicrm_line_item',93), - (109,'2023-04-30 16:21:01','2023-04-30 16:20:59',25,'Single',50.00,'USD',4,1,'civicrm_line_item',94), - (110,'2023-04-30 16:21:01','2023-04-30 16:20:59',77,'Single',50.00,'USD',4,1,'civicrm_line_item',95), - (111,'2023-04-30 16:21:01','2023-04-30 16:20:59',54,'Single',50.00,'USD',4,1,'civicrm_line_item',96); + (1,'2023-06-09 21:52:21','2013-06-09 14:52:21',2,'Contribution Amount',125.00,'USD',1,1,'civicrm_line_item',1), + (2,'2023-06-09 21:52:21','2021-03-09 14:52:21',4,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',2), + (3,'2023-06-09 21:52:21','2017-05-15 01:52:21',6,'Contribution Amount',25.00,'GBP',1,1,'civicrm_line_item',3), + (4,'2023-06-09 21:52:21','2021-03-09 14:52:21',8,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',4), + (5,'2023-06-09 21:52:21','2021-03-09 14:52:21',4,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',5), + (6,'2023-06-09 21:52:21','2023-03-16 14:10:21',16,'Contribution Amount',500.00,'USD',1,1,'civicrm_line_item',6), + (7,'2023-06-09 21:52:21','2023-06-07 14:52:21',19,'Contribution Amount',1750.00,'USD',1,1,'civicrm_line_item',7), + (8,'2023-06-09 21:52:21','2022-10-15 23:03:21',82,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',8), + (9,'2023-06-09 21:52:21','2022-07-09 14:52:21',92,'Contribution Amount',10.00,'USD',1,1,'civicrm_line_item',9), + (10,'2023-06-09 21:52:21','2019-01-17 16:52:21',34,'Contribution Amount',250.00,'USD',1,1,'civicrm_line_item',10), + (11,'2023-06-09 21:52:21','2023-06-08 10:52:21',71,'Contribution Amount',500.00,'JPY',1,1,'civicrm_line_item',11), + (12,'2023-06-09 21:52:21','2022-03-09 04:19:01',43,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',12), + (13,'2023-06-09 21:52:21','2023-03-09 00:00:00',32,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',13), + (14,'2023-06-09 21:52:21','2023-04-09 00:00:00',32,'Contribution Amount',50.00,'USD',1,1,'civicrm_line_item',14), + (15,'2023-06-09 21:52:21','2022-03-09 14:52:21',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',15), + (16,'2023-06-09 21:52:21','2022-04-09 14:52:21',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',16), + (17,'2023-06-09 21:52:21','2022-05-09 14:52:21',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',17), + (18,'2023-06-09 21:52:21','2022-06-09 14:52:21',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',18), + (19,'2023-06-09 21:52:21','2022-07-09 14:52:21',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',19), + (20,'2023-06-09 21:52:21','2022-08-09 14:52:21',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',20), + (21,'2023-06-09 21:52:21','2022-09-09 14:52:21',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',21), + (22,'2023-06-09 21:52:21','2022-10-09 14:52:21',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',22), + (23,'2023-06-09 21:52:21','2022-11-09 14:52:21',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',23), + (24,'2023-06-09 21:52:21','2022-12-09 14:52:21',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',24), + (25,'2023-06-09 21:52:21','2023-01-09 14:52:21',59,'Contribution Amount',25.00,'USD',1,1,'civicrm_line_item',25), + (26,'2023-06-09 21:52:21','2022-10-09 14:52:21',99,'Contribution Amount',10.00,'CAD',1,1,'civicrm_line_item',26), + (27,'2023-06-09 21:52:21','2022-11-09 14:52:21',99,'Contribution Amount',10.00,'CAD',1,1,'civicrm_line_item',27), + (28,'2023-06-09 21:52:21','2022-12-09 14:52:21',99,'Contribution Amount',10.00,'CAD',1,1,'civicrm_line_item',28), + (29,'2023-06-09 21:52:21','2023-01-09 14:52:21',99,'Contribution Amount',10.00,'CAD',1,1,'civicrm_line_item',29), + (30,'2023-06-09 21:52:21','2023-02-09 14:52:21',99,'Contribution Amount',10.00,'CAD',1,1,'civicrm_line_item',30), + (31,'2023-06-09 21:52:21','2023-05-09 14:52:21',103,'Contribution Amount',5.00,'EUR',1,1,'civicrm_line_item',31), + (32,'2023-06-09 21:52:21','2023-06-09 14:52:21',13,'General',100.00,'USD',2,1,'civicrm_line_item',43), + (33,'2023-06-09 21:52:21','2023-06-09 14:52:21',15,'Student',50.00,'USD',2,1,'civicrm_line_item',52), + (34,'2023-06-09 21:52:21','2023-06-09 14:52:21',18,'General',100.00,'USD',2,1,'civicrm_line_item',34), + (35,'2023-06-09 21:52:21','2023-06-09 14:52:21',23,'General',100.00,'USD',2,1,'civicrm_line_item',40), + (36,'2023-06-09 21:52:21','2023-06-09 14:52:21',27,'Student',50.00,'USD',2,1,'civicrm_line_item',49), + (37,'2023-06-09 21:52:21','2023-06-09 14:52:21',29,'Student',50.00,'USD',2,1,'civicrm_line_item',50), + (38,'2023-06-09 21:52:21','2023-06-09 14:52:21',30,'General',100.00,'USD',2,1,'civicrm_line_item',41), + (39,'2023-06-09 21:52:21','2023-06-09 14:52:21',53,'General',100.00,'USD',2,1,'civicrm_line_item',37), + (40,'2023-06-09 21:52:21','2023-06-09 14:52:21',56,'General',100.00,'USD',2,1,'civicrm_line_item',45), + (41,'2023-06-09 21:52:21','2023-06-09 14:52:21',62,'General',100.00,'USD',2,1,'civicrm_line_item',35), + (42,'2023-06-09 21:52:21','2023-06-09 14:52:21',63,'Student',50.00,'USD',2,1,'civicrm_line_item',57), + (43,'2023-06-09 21:52:21','2023-06-09 14:52:21',69,'Student',50.00,'USD',2,1,'civicrm_line_item',55), + (44,'2023-06-09 21:52:21','2023-06-09 14:52:21',70,'General',100.00,'USD',2,1,'civicrm_line_item',39), + (45,'2023-06-09 21:52:21','2023-06-09 14:52:21',74,'General',100.00,'USD',2,1,'civicrm_line_item',46), + (46,'2023-06-09 21:52:21','2023-06-09 14:52:21',83,'General',100.00,'USD',2,1,'civicrm_line_item',36), + (47,'2023-06-09 21:52:21','2023-06-09 14:52:21',90,'General',100.00,'USD',2,1,'civicrm_line_item',44), + (48,'2023-06-09 21:52:21','2023-06-09 14:52:21',94,'General',100.00,'USD',2,1,'civicrm_line_item',32), + (49,'2023-06-09 21:52:21','2023-06-09 14:52:21',103,'Student',50.00,'USD',2,1,'civicrm_line_item',48), + (50,'2023-06-09 21:52:21','2023-06-09 14:52:21',113,'Lifetime',1200.00,'USD',2,1,'civicrm_line_item',60), + (51,'2023-06-09 21:52:21','2023-06-09 14:52:21',133,'General',100.00,'USD',2,1,'civicrm_line_item',33), + (52,'2023-06-09 21:52:21','2023-06-09 14:52:21',145,'Student',50.00,'USD',2,1,'civicrm_line_item',47), + (53,'2023-06-09 21:52:21','2023-06-09 14:52:21',154,'Student',50.00,'USD',2,1,'civicrm_line_item',58), + (54,'2023-06-09 21:52:21','2023-06-09 14:52:21',155,'Student',50.00,'USD',2,1,'civicrm_line_item',53), + (55,'2023-06-09 21:52:21','2023-06-09 14:52:21',157,'Student',50.00,'USD',2,1,'civicrm_line_item',56), + (56,'2023-06-09 21:52:21','2023-06-09 14:52:21',182,'Student',50.00,'USD',2,1,'civicrm_line_item',54), + (57,'2023-06-09 21:52:21','2023-06-09 14:52:21',186,'General',100.00,'USD',2,1,'civicrm_line_item',38), + (58,'2023-06-09 21:52:21','2023-06-09 14:52:21',197,'General',100.00,'USD',2,1,'civicrm_line_item',42), + (59,'2023-06-09 21:52:21','2023-06-09 14:52:21',199,'Student',50.00,'USD',2,1,'civicrm_line_item',59), + (60,'2023-06-09 21:52:21','2023-06-09 14:52:21',200,'Student',50.00,'USD',2,1,'civicrm_line_item',51), + (61,'2023-06-09 21:52:21','2023-06-09 14:52:21',201,'Lifetime',1200.00,'USD',2,1,'civicrm_line_item',61), + (62,'2023-06-09 21:52:21','2023-06-09 14:52:21',149,'Single',50.00,'USD',4,1,'civicrm_line_item',96), + (63,'2023-06-09 21:52:21','2023-06-09 14:52:21',165,'Soprano',50.00,'USD',2,1,'civicrm_line_item',111), + (64,'2023-06-09 21:52:21','2023-06-09 14:52:21',173,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',78), + (65,'2023-06-09 21:52:21','2023-06-09 14:52:21',24,'Single',50.00,'USD',4,1,'civicrm_line_item',92), + (66,'2023-06-09 21:52:21','2023-06-09 14:52:21',142,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',74), + (67,'2023-06-09 21:52:21','2023-06-09 14:52:21',93,'Single',50.00,'USD',4,1,'civicrm_line_item',88), + (68,'2023-06-09 21:52:21','2023-06-09 14:52:21',57,'Soprano',50.00,'USD',2,1,'civicrm_line_item',103), + (69,'2023-06-09 21:52:21','2023-06-09 14:52:21',71,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',69), + (70,'2023-06-09 21:52:21','2023-06-09 14:52:21',72,'Single',50.00,'USD',4,1,'civicrm_line_item',84), + (71,'2023-06-09 21:52:21','2023-06-09 14:52:21',1,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',65), + (72,'2023-06-09 21:52:21','2023-06-09 14:52:21',99,'Soprano',50.00,'USD',2,1,'civicrm_line_item',112), + (73,'2023-06-09 21:52:21','2023-06-09 14:52:21',83,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',79), + (74,'2023-06-09 21:52:21','2023-06-09 14:52:21',7,'Single',50.00,'USD',4,1,'civicrm_line_item',93), + (75,'2023-06-09 21:52:21','2023-06-09 14:52:21',73,'Soprano',50.00,'USD',2,1,'civicrm_line_item',108), + (76,'2023-06-09 21:52:21','2023-06-09 14:52:21',184,'Soprano',50.00,'USD',2,1,'civicrm_line_item',107), + (77,'2023-06-09 21:52:21','2023-06-09 14:52:21',96,'Single',50.00,'USD',4,1,'civicrm_line_item',90), + (78,'2023-06-09 21:52:21','2023-06-09 14:52:21',127,'Single',50.00,'USD',4,1,'civicrm_line_item',89), + (79,'2023-06-09 21:52:21','2023-06-09 14:52:21',157,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',72), + (80,'2023-06-09 21:52:21','2023-06-09 14:52:21',30,'Soprano',50.00,'USD',2,1,'civicrm_line_item',104), + (81,'2023-06-09 21:52:21','2023-06-09 14:52:21',132,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',70), + (82,'2023-06-09 21:52:21','2023-06-09 14:52:21',136,'Single',50.00,'USD',4,1,'civicrm_line_item',85), + (83,'2023-06-09 21:52:21','2023-06-09 14:52:21',148,'Soprano',50.00,'USD',2,1,'civicrm_line_item',100), + (84,'2023-06-09 21:52:21','2023-06-09 14:52:21',182,'Soprano',50.00,'USD',2,1,'civicrm_line_item',99), + (85,'2023-06-09 21:52:21','2023-06-09 14:52:21',181,'Single',50.00,'USD',4,1,'civicrm_line_item',82), + (86,'2023-06-09 21:52:21','2023-06-09 14:52:21',110,'Single',50.00,'USD',4,1,'civicrm_line_item',81), + (87,'2023-06-09 21:52:21','2023-06-09 14:52:21',164,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',63), + (88,'2023-06-09 21:52:21','2023-06-09 14:52:21',200,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',80), + (89,'2023-06-09 21:52:21','2023-06-09 14:52:21',32,'Single',50.00,'USD',4,1,'civicrm_line_item',94), + (90,'2023-06-09 21:52:21','2023-06-09 14:52:21',46,'Soprano',50.00,'USD',2,1,'civicrm_line_item',109), + (91,'2023-06-09 21:52:21','2023-06-09 14:52:21',175,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',75), + (92,'2023-06-09 21:52:21','2023-06-09 14:52:21',86,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',73), + (93,'2023-06-09 21:52:21','2023-06-09 14:52:21',90,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',71), + (94,'2023-06-09 21:52:21','2023-06-09 14:52:21',115,'Single',50.00,'USD',4,1,'civicrm_line_item',86), + (95,'2023-06-09 21:52:21','2023-06-09 14:52:21',55,'Soprano',50.00,'USD',2,1,'civicrm_line_item',101), + (96,'2023-06-09 21:52:21','2023-06-09 14:52:21',50,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',66), + (97,'2023-06-09 21:52:21','2023-06-09 14:52:21',202,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',64), + (98,'2023-06-09 21:52:21','2023-06-09 14:52:21',114,'Single',50.00,'USD',4,1,'civicrm_line_item',95), + (99,'2023-06-09 21:52:21','2023-06-09 14:52:21',84,'Soprano',50.00,'USD',2,1,'civicrm_line_item',110), + (100,'2023-06-09 21:52:21','2023-06-09 14:52:21',144,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',77), + (101,'2023-06-09 21:52:21','2023-06-09 14:52:21',199,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',76), + (102,'2023-06-09 21:52:21','2023-06-09 14:52:21',67,'Single',50.00,'USD',4,1,'civicrm_line_item',91), + (103,'2023-06-09 21:52:21','2023-06-09 14:52:21',60,'Soprano',50.00,'USD',2,1,'civicrm_line_item',106), + (104,'2023-06-09 21:52:21','2023-06-09 14:52:21',52,'Soprano',50.00,'USD',2,1,'civicrm_line_item',105), + (105,'2023-06-09 21:52:21','2023-06-09 14:52:21',187,'Single',50.00,'USD',4,1,'civicrm_line_item',87), + (106,'2023-06-09 21:52:21','2023-06-09 14:52:21',28,'Soprano',50.00,'USD',2,1,'civicrm_line_item',102), + (107,'2023-06-09 21:52:21','2023-06-09 14:52:21',137,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',68), + (108,'2023-06-09 21:52:21','2023-06-09 14:52:21',25,'Tiny-tots (ages 5-8)',800.00,'USD',4,1,'civicrm_line_item',67), + (109,'2023-06-09 21:52:21','2023-06-09 14:52:21',34,'Single',50.00,'USD',4,1,'civicrm_line_item',83), + (110,'2023-06-09 21:52:21','2023-06-09 14:52:21',89,'Soprano',50.00,'USD',2,1,'civicrm_line_item',98), + (111,'2023-06-09 21:52:21','2023-06-09 14:52:21',75,'Soprano',50.00,'USD',2,1,'civicrm_line_item',97); /*!40000 ALTER TABLE `civicrm_financial_item` ENABLE KEYS */; UNLOCK TABLES; @@ -3877,117 +3869,117 @@ UNLOCK TABLES; LOCK TABLES `civicrm_financial_trxn` WRITE; /*!40000 ALTER TABLE `civicrm_financial_trxn` DISABLE KEYS */; INSERT INTO `civicrm_financial_trxn` (`id`, `from_financial_account_id`, `to_financial_account_id`, `trxn_date`, `total_amount`, `fee_amount`, `net_amount`, `currency`, `is_payment`, `trxn_id`, `trxn_result_code`, `status_id`, `payment_processor_id`, `payment_instrument_id`, `card_type_id`, `check_number`, `pan_truncation`, `order_reference`) VALUES - (1,NULL,6,'2013-04-30 16:20:59',125.00,NULL,NULL,'USD',1,NULL,NULL,1,NULL,4,NULL,'1041',NULL,NULL), - (2,NULL,6,'2021-01-30 16:20:59',50.00,NULL,NULL,'USD',1,'P20901X1',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (3,NULL,6,'2017-04-05 03:20:59',25.00,NULL,NULL,'GBP',1,'GBP12',NULL,1,NULL,4,NULL,'2095',NULL,NULL), - (4,NULL,6,'2021-01-30 16:20:59',50.00,NULL,NULL,'USD',1,NULL,NULL,1,NULL,4,NULL,'10552',NULL,NULL), - (5,NULL,6,'2021-01-30 16:20:59',50.00,NULL,NULL,'USD',1,'Q90901X1',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (6,NULL,6,'2023-02-04 15:38:59',500.00,NULL,NULL,'USD',1,NULL,NULL,1,NULL,4,NULL,'509',NULL,NULL), - (7,NULL,6,'2023-04-28 16:20:59',1750.00,NULL,NULL,'USD',1,NULL,NULL,1,NULL,1,NULL,'102',NULL,NULL), - (8,NULL,6,'2022-09-06 00:31:59',50.00,NULL,NULL,'USD',1,'P20193L2',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (9,NULL,6,'2022-05-30 16:20:59',10.00,NULL,NULL,'USD',1,'P40232Y3',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (10,NULL,6,'2018-12-07 18:20:59',250.00,NULL,NULL,'USD',1,'P20193L6',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (11,NULL,6,'2023-04-29 12:20:59',500.00,NULL,NULL,'JPY',1,'PL71',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (12,NULL,6,'2022-01-30 05:47:39',50.00,NULL,NULL,'USD',1,'P291X1',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (13,NULL,6,'2023-01-30 00:00:00',50.00,NULL,NULL,'USD',1,'PL32I',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (14,NULL,6,'2023-03-02 00:00:00',50.00,NULL,NULL,'USD',1,'PL32II',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (15,NULL,6,'2022-01-30 16:20:59',25.00,NULL,NULL,'USD',1,'PL32I591',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (16,NULL,6,'2022-03-02 16:20:59',25.00,NULL,NULL,'USD',1,'PL32I592',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (17,NULL,6,'2022-04-02 16:20:59',25.00,NULL,NULL,'USD',1,'PL32I593',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (18,NULL,6,'2022-05-02 16:20:59',25.00,NULL,NULL,'USD',1,'PL32I594',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (19,NULL,6,'2022-06-02 16:20:59',25.00,NULL,NULL,'USD',1,'PL32I595',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (20,NULL,6,'2022-07-02 16:20:59',25.00,NULL,NULL,'USD',1,'PL32I596',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (21,NULL,6,'2022-08-02 16:20:59',25.00,NULL,NULL,'USD',1,'PL32I597',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (22,NULL,6,'2022-09-02 16:20:59',25.00,NULL,NULL,'USD',1,'PL32I598',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (23,NULL,6,'2022-10-02 16:20:59',25.00,NULL,NULL,'USD',1,'PL32I599',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (24,NULL,6,'2022-11-02 16:20:59',25.00,NULL,NULL,'USD',1,'PL32I5910',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (25,NULL,6,'2022-12-02 16:20:59',25.00,NULL,NULL,'USD',1,'PL32I5911',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (26,NULL,6,'2022-08-30 16:20:59',10.00,NULL,NULL,'CAD',1,'PL32I991',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (27,NULL,6,'2022-09-30 16:20:59',10.00,NULL,NULL,'CAD',1,'PL32I992',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (28,NULL,6,'2022-10-30 16:20:59',10.00,NULL,NULL,'CAD',1,'PL32I993',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (29,NULL,6,'2022-11-30 16:20:59',10.00,NULL,NULL,'CAD',1,'PL32I994',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (30,NULL,6,'2022-12-30 16:20:59',10.00,NULL,NULL,'CAD',1,'PL32I995',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (31,NULL,6,'2023-03-30 16:20:59',5.00,NULL,NULL,'EUR',1,'PL32I1031',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (32,NULL,6,'2023-04-30 16:20:59',100.00,NULL,NULL,'USD',1,'6f7589b5084c6020',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (33,NULL,6,'2023-04-30 16:20:59',100.00,NULL,NULL,'USD',1,'6f4bd372a63437e7',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (34,NULL,6,'2023-04-30 16:20:59',100.00,NULL,NULL,'USD',1,'5f829a39de1adcf4',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (35,NULL,6,'2023-04-30 16:20:59',100.00,NULL,NULL,'USD',1,'8a19be0472a9584a',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (36,NULL,6,'2023-04-30 16:20:59',100.00,NULL,NULL,'USD',1,'f81fcde204d61b49',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (37,NULL,6,'2023-04-30 16:20:59',100.00,NULL,NULL,'USD',1,'e3606c8457d3f30c',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (38,NULL,6,'2023-04-30 16:20:59',100.00,NULL,NULL,'USD',1,'5d59370ff91ad6af',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (39,NULL,6,'2023-04-30 16:20:59',100.00,NULL,NULL,'USD',1,'89b4abf36a380409',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (40,NULL,6,'2023-04-30 16:20:59',100.00,NULL,NULL,'USD',1,'aa6f1a8cd76a853e',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (41,NULL,6,'2023-04-30 16:20:59',100.00,NULL,NULL,'USD',1,'2bdae4b5f5c21a76',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (42,NULL,6,'2023-04-30 16:20:59',100.00,NULL,NULL,'USD',1,'5abb702cb569b268',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (43,NULL,6,'2023-04-30 16:20:59',100.00,NULL,NULL,'USD',1,'96c6b2fb8d24d5bd',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (44,NULL,6,'2023-04-30 16:20:59',100.00,NULL,NULL,'USD',1,'006432ee89592ed8',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (45,NULL,6,'2023-04-30 16:20:59',100.00,NULL,NULL,'USD',1,'6d9e4ba10e48b7dc',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (46,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'af32ad2d15612cb6',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (47,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'82e68c03ee965a19',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (48,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'a9e6077919deaa6f',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (49,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'d4da2fde4e1e67f7',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (50,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'d7076ea3bf5db736',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (51,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'45e20ac972a75b90',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (52,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'d676d10bacc10994',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (53,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'cc8a656f37b32866',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (54,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'83333c165d9fa54c',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (55,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'b9b52f5ac78b6750',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (56,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'c617320a73714683',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (57,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'44586c69b495d537',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (58,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'1c7f7d16f7bccc57',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (59,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'d3625956f0e541a5',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (60,NULL,6,'2023-04-30 16:20:59',1200.00,NULL,NULL,'USD',1,'ebbbf9f8da769285',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (61,NULL,6,'2023-04-30 16:20:59',1200.00,NULL,NULL,'USD',1,'15b299723d7fbaf6',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (62,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'b4b22306a1971add',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (63,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'8316da2b91c93ab0',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (64,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'c0738f622f42d29f',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (65,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'2653ccbd99641f28',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (66,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'1d93f04b2051f2ef',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (67,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'0a78358a163808ae',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (68,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'8873a8359f19cad7',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (69,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'1895b636b3dd103a',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (70,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'3c29230ce5eb6fb9',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (71,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'c40a2b9b2f785067',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (72,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'f123a6d1e7118c52',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (73,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'af4f2a00d321d69d',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (74,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'73b91a59978a1329',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (75,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'1c382f2fd9576993',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (76,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'7e4c149beba3b7bb',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (77,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'e2f1d766c78371af',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (78,NULL,6,'2023-04-30 16:20:59',800.00,NULL,NULL,'USD',1,'cfdf4e43ffe24078',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (79,NULL,6,'2023-04-30 16:20:59',800.00,NULL,NULL,'USD',1,'671fe40949dfcf3a',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (80,NULL,6,'2023-04-30 16:20:59',800.00,NULL,NULL,'USD',1,'9a50cff13c6fc189',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (81,NULL,6,'2023-04-30 16:20:59',800.00,NULL,NULL,'USD',1,'0664d203cb69891c',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (82,NULL,6,'2023-04-30 16:20:59',800.00,NULL,NULL,'USD',1,'2f45db7fc5a43fd9',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (83,NULL,6,'2023-04-30 16:20:59',800.00,NULL,NULL,'USD',1,'f0d1b3a6edc0ed3b',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (84,NULL,6,'2023-04-30 16:20:59',800.00,NULL,NULL,'USD',1,'205c7efca65a7219',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (85,NULL,6,'2023-04-30 16:20:59',800.00,NULL,NULL,'USD',1,'9f809d059d6bb191',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (86,NULL,6,'2023-04-30 16:20:59',800.00,NULL,NULL,'USD',1,'7ac5a1d9dd8d6122',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (87,NULL,6,'2023-04-30 16:20:59',800.00,NULL,NULL,'USD',1,'75543322e3077a22',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (88,NULL,6,'2023-04-30 16:20:59',800.00,NULL,NULL,'USD',1,'cc9252d1701b4b86',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (89,NULL,6,'2023-04-30 16:20:59',800.00,NULL,NULL,'USD',1,'77e774777749a34d',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (90,NULL,6,'2023-04-30 16:20:59',800.00,NULL,NULL,'USD',1,'00e8874c93c147ed',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (91,NULL,6,'2023-04-30 16:20:59',800.00,NULL,NULL,'USD',1,'c2d01c3bd91094f7',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (92,NULL,6,'2023-04-30 16:20:59',800.00,NULL,NULL,'USD',1,'606abaccbca40fcc',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (93,NULL,6,'2023-04-30 16:20:59',800.00,NULL,NULL,'USD',1,'0b8d4ea33472654e',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (94,NULL,6,'2023-04-30 16:20:59',800.00,NULL,NULL,'USD',1,'2ed8b5ca7a2876ba',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (95,NULL,6,'2023-04-30 16:20:59',800.00,NULL,NULL,'USD',1,'c38d5b31fb55a745',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (96,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'30e0b62f9a1970ee',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (97,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'9a9b39d49c5d46a0',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (98,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'bcd583db2ff0ced6',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (99,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'d1b90bbd552288a0',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (100,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'3bb8809336322d10',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (101,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'5ca62d76ec1bfacf',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (102,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'eb26b556ce875163',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (103,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'c9cab8fb1bd0e976',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (104,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'10a963908c532a6e',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (105,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'045f0ff3876922c6',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (106,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'5079be9f1be0a173',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (107,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'db6db09d78047ac6',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (108,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'60402f153a597dbf',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (109,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'d47448dc53af02b4',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (110,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'604843d015822a79',NULL,1,NULL,1,NULL,NULL,NULL,NULL), - (111,NULL,6,'2023-04-30 16:20:59',50.00,NULL,NULL,'USD',1,'d81bda55921def7b',NULL,1,NULL,1,NULL,NULL,NULL,NULL); + (1,NULL,6,'2013-06-09 14:52:21',125.00,NULL,NULL,'USD',1,NULL,NULL,1,NULL,4,NULL,'1041',NULL,NULL), + (2,NULL,6,'2021-03-09 14:52:21',50.00,NULL,NULL,'USD',1,'P20901X1',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (3,NULL,6,'2017-05-15 01:52:21',25.00,NULL,NULL,'GBP',1,'GBP12',NULL,1,NULL,4,NULL,'2095',NULL,NULL), + (4,NULL,6,'2021-03-09 14:52:21',50.00,NULL,NULL,'USD',1,NULL,NULL,1,NULL,4,NULL,'10552',NULL,NULL), + (5,NULL,6,'2021-03-09 14:52:21',50.00,NULL,NULL,'USD',1,'Q90901X1',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (6,NULL,6,'2023-03-16 14:10:21',500.00,NULL,NULL,'USD',1,NULL,NULL,1,NULL,4,NULL,'509',NULL,NULL), + (7,NULL,6,'2023-06-07 14:52:21',1750.00,NULL,NULL,'USD',1,NULL,NULL,1,NULL,1,NULL,'102',NULL,NULL), + (8,NULL,6,'2022-10-15 23:03:21',50.00,NULL,NULL,'USD',1,'P20193L2',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (9,NULL,6,'2022-07-09 14:52:21',10.00,NULL,NULL,'USD',1,'P40232Y3',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (10,NULL,6,'2019-01-17 16:52:21',250.00,NULL,NULL,'USD',1,'P20193L6',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (11,NULL,6,'2023-06-08 10:52:21',500.00,NULL,NULL,'JPY',1,'PL71',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (12,NULL,6,'2022-03-09 04:19:01',50.00,NULL,NULL,'USD',1,'P291X1',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (13,NULL,6,'2023-03-09 00:00:00',50.00,NULL,NULL,'USD',1,'PL32I',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (14,NULL,6,'2023-04-09 00:00:00',50.00,NULL,NULL,'USD',1,'PL32II',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (15,NULL,6,'2022-03-09 14:52:21',25.00,NULL,NULL,'USD',1,'PL32I591',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (16,NULL,6,'2022-04-09 14:52:21',25.00,NULL,NULL,'USD',1,'PL32I592',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (17,NULL,6,'2022-05-09 14:52:21',25.00,NULL,NULL,'USD',1,'PL32I593',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (18,NULL,6,'2022-06-09 14:52:21',25.00,NULL,NULL,'USD',1,'PL32I594',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (19,NULL,6,'2022-07-09 14:52:21',25.00,NULL,NULL,'USD',1,'PL32I595',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (20,NULL,6,'2022-08-09 14:52:21',25.00,NULL,NULL,'USD',1,'PL32I596',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (21,NULL,6,'2022-09-09 14:52:21',25.00,NULL,NULL,'USD',1,'PL32I597',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (22,NULL,6,'2022-10-09 14:52:21',25.00,NULL,NULL,'USD',1,'PL32I598',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (23,NULL,6,'2022-11-09 14:52:21',25.00,NULL,NULL,'USD',1,'PL32I599',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (24,NULL,6,'2022-12-09 14:52:21',25.00,NULL,NULL,'USD',1,'PL32I5910',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (25,NULL,6,'2023-01-09 14:52:21',25.00,NULL,NULL,'USD',1,'PL32I5911',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (26,NULL,6,'2022-10-09 14:52:21',10.00,NULL,NULL,'CAD',1,'PL32I991',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (27,NULL,6,'2022-11-09 14:52:21',10.00,NULL,NULL,'CAD',1,'PL32I992',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (28,NULL,6,'2022-12-09 14:52:21',10.00,NULL,NULL,'CAD',1,'PL32I993',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (29,NULL,6,'2023-01-09 14:52:21',10.00,NULL,NULL,'CAD',1,'PL32I994',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (30,NULL,6,'2023-02-09 14:52:21',10.00,NULL,NULL,'CAD',1,'PL32I995',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (31,NULL,6,'2023-05-09 14:52:21',5.00,NULL,NULL,'EUR',1,'PL32I1031',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (32,NULL,6,'2023-06-09 14:52:21',100.00,NULL,NULL,'USD',1,'b30292064c7c0a53',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (33,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'8cc0495a4ebdc3d2',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (34,NULL,6,'2023-06-09 14:52:21',100.00,NULL,NULL,'USD',1,'9d88c0f0f7d55acd',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (35,NULL,6,'2023-06-09 14:52:21',100.00,NULL,NULL,'USD',1,'dffcede15b75b2ad',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (36,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'918d4ce8eca2877c',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (37,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'10a8ed7878b8bc00',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (38,NULL,6,'2023-06-09 14:52:21',100.00,NULL,NULL,'USD',1,'7123b34ae7f29549',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (39,NULL,6,'2023-06-09 14:52:21',100.00,NULL,NULL,'USD',1,'ed9ca6fd7e9d6e71',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (40,NULL,6,'2023-06-09 14:52:21',100.00,NULL,NULL,'USD',1,'05b53742a3df8bba',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (41,NULL,6,'2023-06-09 14:52:21',100.00,NULL,NULL,'USD',1,'de569000b949cd15',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (42,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'819b5539b289fcc9',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (43,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'12c863eb3cf7e379',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (44,NULL,6,'2023-06-09 14:52:21',100.00,NULL,NULL,'USD',1,'2a7551395c8b12fc',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (45,NULL,6,'2023-06-09 14:52:21',100.00,NULL,NULL,'USD',1,'e6540777435c16cd',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (46,NULL,6,'2023-06-09 14:52:21',100.00,NULL,NULL,'USD',1,'3441863cdb99bbc4',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (47,NULL,6,'2023-06-09 14:52:21',100.00,NULL,NULL,'USD',1,'4242d6f63f02c87b',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (48,NULL,6,'2023-06-09 14:52:21',100.00,NULL,NULL,'USD',1,'a63c621969b4fafa',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (49,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'daf78f49a4be7403',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (50,NULL,6,'2023-06-09 14:52:21',1200.00,NULL,NULL,'USD',1,'c7c2b7e03598de8a',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (51,NULL,6,'2023-06-09 14:52:21',100.00,NULL,NULL,'USD',1,'435ee48ee98adc2a',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (52,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'c6bf8fdfc605a228',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (53,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'0f933686bb598025',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (54,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'ac0ae12a8d06ca5c',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (55,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'6ccbe6ac35f5ddf5',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (56,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'c45b2dae09cf9a01',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (57,NULL,6,'2023-06-09 14:52:21',100.00,NULL,NULL,'USD',1,'aaf14f7ab4229d84',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (58,NULL,6,'2023-06-09 14:52:21',100.00,NULL,NULL,'USD',1,'6ed8b46a15381cfc',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (59,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'956ac4a05e3cc963',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (60,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'797b4d01568b3896',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (61,NULL,6,'2023-06-09 14:52:21',1200.00,NULL,NULL,'USD',1,'862fabdb5981aac4',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (62,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'dff53ed32192eb21',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (63,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'e08d0289e2c5748b',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (64,NULL,6,'2023-06-09 14:52:21',800.00,NULL,NULL,'USD',1,'0b0ec7d083f1493f',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (65,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'df5a4fd8964751ba',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (66,NULL,6,'2023-06-09 14:52:21',800.00,NULL,NULL,'USD',1,'a99477624a6c5021',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (67,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'9f92e8a740543e6b',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (68,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'bddedb31f50cf953',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (69,NULL,6,'2023-06-09 14:52:21',800.00,NULL,NULL,'USD',1,'9abfb295db2eecee',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (70,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'2036cfcbbbdbaeaf',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (71,NULL,6,'2023-06-09 14:52:21',800.00,NULL,NULL,'USD',1,'d9cba9eb81a6953a',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (72,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'a631cdb2091331ca',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (73,NULL,6,'2023-06-09 14:52:21',800.00,NULL,NULL,'USD',1,'2e52c1ab5254ecfd',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (74,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'2df4bd47939d5f88',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (75,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'da6bff40ac2539ad',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (76,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'c9044612f0975a64',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (77,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'9fc36c7ca0cf9b34',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (78,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'0ae75c77c7dbc85a',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (79,NULL,6,'2023-06-09 14:52:21',800.00,NULL,NULL,'USD',1,'031a47aec19b6f25',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (80,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'7d674b438ad49931',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (81,NULL,6,'2023-06-09 14:52:21',800.00,NULL,NULL,'USD',1,'3d69b5f4313aeda4',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (82,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'65189f4f7fef78a3',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (83,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'5ad0a3825baa9da8',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (84,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'c6305e6dca61eab4',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (85,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'f20c786c4dee338b',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (86,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'a4894a8409c7ead2',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (87,NULL,6,'2023-06-09 14:52:21',800.00,NULL,NULL,'USD',1,'0ed26d63bc545290',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (88,NULL,6,'2023-06-09 14:52:21',800.00,NULL,NULL,'USD',1,'da6c6a7015ce05f9',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (89,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'9a7addf2c5ff8dcb',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (90,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'bc13023a2f6b7295',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (91,NULL,6,'2023-06-09 14:52:21',800.00,NULL,NULL,'USD',1,'77e77c195b02e1c9',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (92,NULL,6,'2023-06-09 14:52:21',800.00,NULL,NULL,'USD',1,'eb7718c6a80aa900',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (93,NULL,6,'2023-06-09 14:52:21',800.00,NULL,NULL,'USD',1,'d6651f5dd1133cd7',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (94,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'dc80b0cc16be29e1',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (95,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'787dce4ed166e02a',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (96,NULL,6,'2023-06-09 14:52:21',800.00,NULL,NULL,'USD',1,'f99e792870386305',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (97,NULL,6,'2023-06-09 14:52:21',800.00,NULL,NULL,'USD',1,'8377a6151d4ab0db',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (98,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'02e47c753921eaf4',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (99,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'1674358f8771bdaa',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (100,NULL,6,'2023-06-09 14:52:21',800.00,NULL,NULL,'USD',1,'f96d4e19ff817c8b',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (101,NULL,6,'2023-06-09 14:52:21',800.00,NULL,NULL,'USD',1,'b7cd2f63f4791ec0',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (102,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'a7c188e2cb58586a',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (103,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'fcad37c6c58d231e',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (104,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'4dbfe9e665c0039b',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (105,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'cee893e0136267b3',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (106,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'12fd140bdfee9af5',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (107,NULL,6,'2023-06-09 14:52:21',800.00,NULL,NULL,'USD',1,'6a8d46c5a75225f5',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (108,NULL,6,'2023-06-09 14:52:21',800.00,NULL,NULL,'USD',1,'3200a38630dbc61c',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (109,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'60c05eda56ff0b4a',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (110,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'9b12c3163bda863c',NULL,1,NULL,1,NULL,NULL,NULL,NULL), + (111,NULL,6,'2023-06-09 14:52:21',50.00,NULL,NULL,'USD',1,'e37a5ace5434ca62',NULL,1,NULL,1,NULL,NULL,NULL,NULL); /*!40000 ALTER TABLE `civicrm_financial_trxn` ENABLE KEYS */; UNLOCK TABLES; @@ -4026,89 +4018,89 @@ UNLOCK TABLES; LOCK TABLES `civicrm_group_contact` WRITE; /*!40000 ALTER TABLE `civicrm_group_contact` DISABLE KEYS */; INSERT INTO `civicrm_group_contact` (`id`, `group_id`, `contact_id`, `status`, `location_id`, `email_id`) VALUES - (1,2,99,'Added',NULL,NULL), - (2,2,68,'Added',NULL,NULL), - (3,2,41,'Added',NULL,NULL), - (4,2,126,'Added',NULL,NULL), - (5,2,161,'Added',NULL,NULL), - (6,2,81,'Added',NULL,NULL), - (7,2,173,'Added',NULL,NULL), - (8,2,168,'Added',NULL,NULL), - (9,2,175,'Added',NULL,NULL), - (10,2,13,'Added',NULL,NULL), - (11,2,50,'Added',NULL,NULL), - (12,2,95,'Added',NULL,NULL), - (13,2,94,'Added',NULL,NULL), - (14,2,63,'Added',NULL,NULL), - (15,2,44,'Added',NULL,NULL), - (16,2,169,'Added',NULL,NULL), - (17,2,138,'Added',NULL,NULL), - (18,2,112,'Added',NULL,NULL), - (19,2,42,'Added',NULL,NULL), - (20,2,89,'Added',NULL,NULL), - (21,2,103,'Added',NULL,NULL), - (22,2,120,'Added',NULL,NULL), - (23,2,100,'Added',NULL,NULL), - (24,2,159,'Added',NULL,NULL), - (25,2,46,'Added',NULL,NULL), - (26,2,57,'Added',NULL,NULL), - (27,2,109,'Added',NULL,NULL), - (28,2,29,'Added',NULL,NULL), - (29,2,180,'Added',NULL,NULL), - (30,2,10,'Added',NULL,NULL), - (31,2,45,'Added',NULL,NULL), - (32,2,129,'Added',NULL,NULL), - (33,2,54,'Added',NULL,NULL), - (34,2,114,'Added',NULL,NULL), - (35,2,200,'Added',NULL,NULL), - (36,2,35,'Added',NULL,NULL), - (37,2,166,'Added',NULL,NULL), - (38,2,34,'Added',NULL,NULL), - (39,2,56,'Added',NULL,NULL), - (40,2,184,'Added',NULL,NULL), - (41,2,160,'Added',NULL,NULL), - (42,2,64,'Added',NULL,NULL), - (43,2,150,'Added',NULL,NULL), - (44,2,74,'Added',NULL,NULL), - (45,2,177,'Added',NULL,NULL), - (46,2,171,'Added',NULL,NULL), - (47,2,20,'Added',NULL,NULL), - (48,2,157,'Added',NULL,NULL), - (49,2,172,'Added',NULL,NULL), - (50,2,51,'Added',NULL,NULL), - (51,2,76,'Added',NULL,NULL), - (52,2,47,'Added',NULL,NULL), - (53,2,187,'Added',NULL,NULL), - (54,2,118,'Added',NULL,NULL), - (55,2,134,'Added',NULL,NULL), - (56,2,98,'Added',NULL,NULL), - (57,2,195,'Added',NULL,NULL), - (58,2,115,'Added',NULL,NULL), - (59,2,194,'Added',NULL,NULL), - (60,2,28,'Added',NULL,NULL), - (61,3,30,'Added',NULL,NULL), - (62,3,92,'Added',NULL,NULL), - (63,3,85,'Added',NULL,NULL), - (64,3,119,'Added',NULL,NULL), - (65,3,9,'Added',NULL,NULL), - (66,3,154,'Added',NULL,NULL), - (67,3,182,'Added',NULL,NULL), - (68,3,117,'Added',NULL,NULL), - (69,3,2,'Added',NULL,NULL), - (70,3,137,'Added',NULL,NULL), - (71,3,181,'Added',NULL,NULL), - (72,3,143,'Added',NULL,NULL), - (73,3,155,'Added',NULL,NULL), - (74,3,136,'Added',NULL,NULL), - (75,3,199,'Added',NULL,NULL), - (76,4,99,'Added',NULL,NULL), - (77,4,168,'Added',NULL,NULL), - (78,4,44,'Added',NULL,NULL), - (79,4,120,'Added',NULL,NULL), - (80,4,180,'Added',NULL,NULL), - (81,4,35,'Added',NULL,NULL), - (82,4,150,'Added',NULL,NULL), - (83,4,51,'Added',NULL,NULL), + (1,2,80,'Added',NULL,NULL), + (2,2,156,'Added',NULL,NULL), + (3,2,146,'Added',NULL,NULL), + (4,2,56,'Added',NULL,NULL), + (5,2,21,'Added',NULL,NULL), + (6,2,195,'Added',NULL,NULL), + (7,2,115,'Added',NULL,NULL), + (8,2,152,'Added',NULL,NULL), + (9,2,51,'Added',NULL,NULL), + (10,2,138,'Added',NULL,NULL), + (11,2,71,'Added',NULL,NULL), + (12,2,110,'Added',NULL,NULL), + (13,2,4,'Added',NULL,NULL), + (14,2,49,'Added',NULL,NULL), + (15,2,150,'Added',NULL,NULL), + (16,2,161,'Added',NULL,NULL), + (17,2,153,'Added',NULL,NULL), + (18,2,171,'Added',NULL,NULL), + (19,2,135,'Added',NULL,NULL), + (20,2,52,'Added',NULL,NULL), + (21,2,177,'Added',NULL,NULL), + (22,2,172,'Added',NULL,NULL), + (23,2,81,'Added',NULL,NULL), + (24,2,102,'Added',NULL,NULL), + (25,2,106,'Added',NULL,NULL), + (26,2,167,'Added',NULL,NULL), + (27,2,28,'Added',NULL,NULL), + (28,2,133,'Added',NULL,NULL), + (29,2,79,'Added',NULL,NULL), + (30,2,134,'Added',NULL,NULL), + (31,2,183,'Added',NULL,NULL), + (32,2,170,'Added',NULL,NULL), + (33,2,31,'Added',NULL,NULL), + (34,2,53,'Added',NULL,NULL), + (35,2,77,'Added',NULL,NULL), + (36,2,108,'Added',NULL,NULL), + (37,2,72,'Added',NULL,NULL), + (38,2,123,'Added',NULL,NULL), + (39,2,100,'Added',NULL,NULL), + (40,2,33,'Added',NULL,NULL), + (41,2,25,'Added',NULL,NULL), + (42,2,27,'Added',NULL,NULL), + (43,2,76,'Added',NULL,NULL), + (44,2,201,'Added',NULL,NULL), + (45,2,200,'Added',NULL,NULL), + (46,2,114,'Added',NULL,NULL), + (47,2,92,'Added',NULL,NULL), + (48,2,190,'Added',NULL,NULL), + (49,2,184,'Added',NULL,NULL), + (50,2,163,'Added',NULL,NULL), + (51,2,91,'Added',NULL,NULL), + (52,2,26,'Added',NULL,NULL), + (53,2,141,'Added',NULL,NULL), + (54,2,97,'Added',NULL,NULL), + (55,2,55,'Added',NULL,NULL), + (56,2,12,'Added',NULL,NULL), + (57,2,44,'Added',NULL,NULL), + (58,2,73,'Added',NULL,NULL), + (59,2,66,'Added',NULL,NULL), + (60,2,75,'Added',NULL,NULL), + (61,3,168,'Added',NULL,NULL), + (62,3,98,'Added',NULL,NULL), + (63,3,87,'Added',NULL,NULL), + (64,3,50,'Added',NULL,NULL), + (65,3,65,'Added',NULL,NULL), + (66,3,144,'Added',NULL,NULL), + (67,3,90,'Added',NULL,NULL), + (68,3,142,'Added',NULL,NULL), + (69,3,164,'Added',NULL,NULL), + (70,3,111,'Added',NULL,NULL), + (71,3,61,'Added',NULL,NULL), + (72,3,99,'Added',NULL,NULL), + (73,3,104,'Added',NULL,NULL), + (74,3,169,'Added',NULL,NULL), + (75,3,35,'Added',NULL,NULL), + (76,4,80,'Added',NULL,NULL), + (77,4,152,'Added',NULL,NULL), + (78,4,150,'Added',NULL,NULL), + (79,4,172,'Added',NULL,NULL), + (80,4,79,'Added',NULL,NULL), + (81,4,108,'Added',NULL,NULL), + (82,4,76,'Added',NULL,NULL), + (83,4,163,'Added',NULL,NULL), (84,4,202,'Added',NULL,NULL); /*!40000 ALTER TABLE `civicrm_group_contact` ENABLE KEYS */; UNLOCK TABLES; @@ -4230,20 +4222,20 @@ INSERT INTO `civicrm_line_item` (`id`, `entity_table`, `entity_id`, `contributio (36,'civicrm_membership',9,40,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL,NULL), (37,'civicrm_membership',10,41,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL,NULL), (38,'civicrm_membership',13,44,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL,NULL), - (39,'civicrm_membership',17,48,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL,NULL), - (40,'civicrm_membership',19,50,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL,NULL), - (41,'civicrm_membership',21,52,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL,NULL), - (42,'civicrm_membership',23,54,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL,NULL), - (43,'civicrm_membership',27,58,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL,NULL), - (44,'civicrm_membership',29,60,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL,NULL), - (45,'civicrm_membership',30,61,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL,NULL), - (46,'civicrm_membership',2,33,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL,NULL), - (47,'civicrm_membership',4,35,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL,NULL), - (48,'civicrm_membership',6,37,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL,NULL), - (49,'civicrm_membership',8,39,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL,NULL), - (50,'civicrm_membership',12,43,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL,NULL), - (51,'civicrm_membership',14,45,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL,NULL), - (52,'civicrm_membership',15,46,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL,NULL), + (39,'civicrm_membership',15,46,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL,NULL), + (40,'civicrm_membership',17,48,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL,NULL), + (41,'civicrm_membership',19,50,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL,NULL), + (42,'civicrm_membership',21,52,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL,NULL), + (43,'civicrm_membership',23,54,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL,NULL), + (44,'civicrm_membership',27,58,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL,NULL), + (45,'civicrm_membership',29,60,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL,NULL), + (46,'civicrm_membership',30,61,4,'General',1.00,100.00,100.00,NULL,7,2,0.00,NULL,NULL), + (47,'civicrm_membership',2,33,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL,NULL), + (48,'civicrm_membership',4,35,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL,NULL), + (49,'civicrm_membership',6,37,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL,NULL), + (50,'civicrm_membership',8,39,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL,NULL), + (51,'civicrm_membership',12,43,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL,NULL), + (52,'civicrm_membership',14,45,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL,NULL), (53,'civicrm_membership',16,47,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL,NULL), (54,'civicrm_membership',18,49,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL,NULL), (55,'civicrm_membership',20,51,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL,NULL), @@ -4253,56 +4245,56 @@ INSERT INTO `civicrm_line_item` (`id`, `entity_table`, `entity_id`, `contributio (59,'civicrm_membership',28,59,4,'Student',1.00,50.00,50.00,NULL,8,2,0.00,NULL,NULL), (60,'civicrm_membership',11,42,4,'Lifetime',1.00,1200.00,1200.00,NULL,9,2,0.00,NULL,NULL), (61,'civicrm_membership',22,53,4,'Lifetime',1.00,1200.00,1200.00,NULL,9,2,0.00,NULL,NULL), - (63,'civicrm_participant',3,65,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), - (64,'civicrm_participant',6,68,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), - (65,'civicrm_participant',9,71,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), - (66,'civicrm_participant',12,74,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), - (67,'civicrm_participant',15,77,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), - (68,'civicrm_participant',18,80,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), - (69,'civicrm_participant',21,83,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), - (70,'civicrm_participant',24,86,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), - (71,'civicrm_participant',25,87,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), - (72,'civicrm_participant',28,90,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), - (73,'civicrm_participant',31,93,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), - (74,'civicrm_participant',34,96,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), - (75,'civicrm_participant',37,99,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), - (76,'civicrm_participant',40,102,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), - (77,'civicrm_participant',43,105,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), - (78,'civicrm_participant',46,108,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), - (79,'civicrm_participant',49,111,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), - (80,'civicrm_participant',50,112,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), - (81,'civicrm_participant',1,63,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), - (82,'civicrm_participant',4,66,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), - (83,'civicrm_participant',7,69,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), - (84,'civicrm_participant',10,72,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), - (85,'civicrm_participant',13,75,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), - (86,'civicrm_participant',16,78,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), - (87,'civicrm_participant',19,81,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), - (88,'civicrm_participant',22,84,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), - (89,'civicrm_participant',26,88,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), - (90,'civicrm_participant',29,91,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), - (91,'civicrm_participant',32,94,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), - (92,'civicrm_participant',35,97,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), - (93,'civicrm_participant',38,100,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), - (94,'civicrm_participant',41,103,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), - (95,'civicrm_participant',44,106,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), - (96,'civicrm_participant',47,109,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), - (97,'civicrm_participant',2,64,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), - (98,'civicrm_participant',5,67,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), - (99,'civicrm_participant',8,70,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), - (100,'civicrm_participant',11,73,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), - (101,'civicrm_participant',14,76,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), - (102,'civicrm_participant',17,79,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), - (103,'civicrm_participant',20,82,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), - (104,'civicrm_participant',23,85,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), - (105,'civicrm_participant',27,89,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), - (106,'civicrm_participant',30,92,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), - (107,'civicrm_participant',33,95,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), - (108,'civicrm_participant',36,98,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), - (109,'civicrm_participant',39,101,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), - (110,'civicrm_participant',42,104,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), - (111,'civicrm_participant',45,107,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), - (112,'civicrm_participant',48,110,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL); + (63,'civicrm_participant',50,112,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), + (64,'civicrm_participant',49,111,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), + (65,'civicrm_participant',46,108,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), + (66,'civicrm_participant',43,105,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), + (67,'civicrm_participant',40,102,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), + (68,'civicrm_participant',37,99,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), + (69,'civicrm_participant',34,96,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), + (70,'civicrm_participant',31,93,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), + (71,'civicrm_participant',28,90,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), + (72,'civicrm_participant',25,87,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), + (73,'civicrm_participant',24,86,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), + (74,'civicrm_participant',21,83,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), + (75,'civicrm_participant',18,80,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), + (76,'civicrm_participant',15,77,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), + (77,'civicrm_participant',12,74,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), + (78,'civicrm_participant',9,71,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), + (79,'civicrm_participant',6,68,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), + (80,'civicrm_participant',3,65,7,'Tiny-tots (ages 5-8)',1.00,800.00,800.00,0,13,4,0.00,NULL,NULL), + (81,'civicrm_participant',47,109,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), + (82,'civicrm_participant',44,106,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), + (83,'civicrm_participant',41,103,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), + (84,'civicrm_participant',38,100,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), + (85,'civicrm_participant',35,97,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), + (86,'civicrm_participant',32,94,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), + (87,'civicrm_participant',29,91,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), + (88,'civicrm_participant',26,88,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), + (89,'civicrm_participant',22,84,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), + (90,'civicrm_participant',19,81,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), + (91,'civicrm_participant',16,78,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), + (92,'civicrm_participant',13,75,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), + (93,'civicrm_participant',10,72,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), + (94,'civicrm_participant',7,69,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), + (95,'civicrm_participant',4,66,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), + (96,'civicrm_participant',1,63,8,'Single',1.00,50.00,50.00,0,16,4,0.00,NULL,NULL), + (97,'civicrm_participant',48,110,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), + (98,'civicrm_participant',45,107,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), + (99,'civicrm_participant',42,104,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), + (100,'civicrm_participant',39,101,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), + (101,'civicrm_participant',36,98,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), + (102,'civicrm_participant',33,95,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), + (103,'civicrm_participant',30,92,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), + (104,'civicrm_participant',27,89,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), + (105,'civicrm_participant',23,85,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), + (106,'civicrm_participant',20,82,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), + (107,'civicrm_participant',17,79,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), + (108,'civicrm_participant',14,76,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), + (109,'civicrm_participant',11,73,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), + (110,'civicrm_participant',8,70,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), + (111,'civicrm_participant',5,67,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL), + (112,'civicrm_participant',2,64,9,'Soprano',1.00,50.00,50.00,0,21,2,0.00,NULL,NULL); /*!40000 ALTER TABLE `civicrm_line_item` ENABLE KEYS */; UNLOCK TABLES; @@ -4313,9 +4305,9 @@ UNLOCK TABLES; LOCK TABLES `civicrm_loc_block` WRITE; /*!40000 ALTER TABLE `civicrm_loc_block` DISABLE KEYS */; INSERT INTO `civicrm_loc_block` (`id`, `address_id`, `email_id`, `phone_id`, `im_id`, `address_2_id`, `email_2_id`, `phone_2_id`, `im_2_id`) VALUES - (1,187,182,167,NULL,NULL,NULL,NULL,NULL), - (2,188,183,168,NULL,NULL,NULL,NULL,NULL), - (3,189,184,169,NULL,NULL,NULL,NULL,NULL); + (1,177,180,170,NULL,NULL,NULL,NULL,NULL), + (2,178,181,171,NULL,NULL,NULL,NULL,NULL), + (3,179,182,172,NULL,NULL,NULL,NULL,NULL); /*!40000 ALTER TABLE `civicrm_loc_block` ENABLE KEYS */; UNLOCK TABLES; @@ -4341,7 +4333,7 @@ UNLOCK TABLES; LOCK TABLES `civicrm_log` WRITE; /*!40000 ALTER TABLE `civicrm_log` DISABLE KEYS */; INSERT INTO `civicrm_log` (`id`, `entity_table`, `entity_id`, `data`, `modified_id`, `modified_date`) VALUES - (1,'civicrm_contact',202,'civicrm_contact,202',202,'2023-04-30 16:20:55'); + (1,'civicrm_contact',202,'civicrm_contact,202',202,'2023-06-09 14:52:21'); /*!40000 ALTER TABLE `civicrm_log` ENABLE KEYS */; UNLOCK TABLES; @@ -4730,8 +4722,8 @@ UNLOCK TABLES; LOCK TABLES `civicrm_managed` WRITE; /*!40000 ALTER TABLE `civicrm_managed` DISABLE KEYS */; INSERT INTO `civicrm_managed` (`id`, `module`, `name`, `entity_type`, `entity_id`, `cleanup`, `entity_modified_date`) VALUES - (1,'legacycustomsearches','Custom Searches1','Navigation',252,'always',NULL), - (2,'legacycustomsearches','Manage Custom Searches1','Navigation',253,'always',NULL); + (1,'legacycustomsearches','Custom Searches1','Navigation',250,'always',NULL), + (2,'legacycustomsearches','Manage Custom Searches1','Navigation',251,'always',NULL); /*!40000 ALTER TABLE `civicrm_managed` ENABLE KEYS */; UNLOCK TABLES; @@ -4760,36 +4752,36 @@ UNLOCK TABLES; LOCK TABLES `civicrm_membership` WRITE; /*!40000 ALTER TABLE `civicrm_membership` DISABLE KEYS */; INSERT INTO `civicrm_membership` (`id`, `contact_id`, `membership_type_id`, `join_date`, `start_date`, `end_date`, `source`, `status_id`, `is_override`, `status_override_end_date`, `owner_membership_id`, `max_related`, `is_test`, `is_pay_later`, `contribution_recur_id`, `campaign_id`) VALUES - (1,82,1,'2023-04-30','2023-04-30','2025-04-29','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (2,194,2,'2023-04-29','2023-04-29','2024-04-28','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (3,114,1,'2023-04-28','2023-04-28','2025-04-27','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (4,77,2,'2023-04-27','2023-04-27','2024-04-26','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (5,49,1,'2021-03-29','2021-03-29','2023-03-28','Check',3,0,NULL,NULL,NULL,0,0,NULL,NULL), - (6,78,2,'2023-04-25','2023-04-25','2024-04-24','Check',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (7,54,1,'2023-04-24','2023-04-24','2025-04-23','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (8,26,2,'2023-04-23','2023-04-23','2024-04-22','Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (9,133,1,'2023-04-22','2023-04-22','2025-04-21','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (10,131,1,'2021-02-17','2021-02-17','2023-02-16','Donation',3,0,NULL,NULL,NULL,0,0,NULL,NULL), - (11,30,3,'2023-04-20','2023-04-20',NULL,'Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (12,25,2,'2023-04-19','2023-04-19','2024-04-18','Check',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (13,83,1,'2023-04-18','2023-04-18','2025-04-17','Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (14,147,2,'2023-04-17','2023-04-17','2024-04-16','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (15,150,2,'2022-04-16','2022-04-16','2023-04-15','Payment',4,0,NULL,NULL,NULL,0,0,NULL,NULL), - (16,73,2,'2023-04-15','2023-04-15','2024-04-14','Check',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (17,100,1,'2023-04-14','2023-04-14','2025-04-13','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (18,13,2,'2023-04-13','2023-04-13','2024-04-12','Check',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (19,10,1,'2023-04-12','2023-04-12','2025-04-11','Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (20,180,2,'2022-04-11','2022-04-11','2023-04-10','Check',4,0,NULL,NULL,NULL,0,0,NULL,NULL), - (21,175,1,'2023-04-10','2023-04-10','2025-04-09','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (22,182,3,'2023-04-09','2023-04-09',NULL,'Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (23,134,1,'2023-04-08','2023-04-08','2025-04-07','Check',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (24,98,2,'2023-04-07','2023-04-07','2024-04-06','Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (25,157,2,'2022-04-06','2022-04-06','2023-04-05','Payment',4,0,NULL,NULL,NULL,0,0,NULL,NULL), - (26,90,2,'2023-04-05','2023-04-05','2024-04-04','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (27,152,1,'2023-04-04','2023-04-04','2025-04-03','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (28,136,2,'2023-04-03','2023-04-03','2024-04-02','Check',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (29,110,1,'2023-04-02','2023-04-02','2025-04-01','Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), - (30,138,1,'2020-09-10','2020-09-10','2022-09-09','Donation',3,0,NULL,NULL,NULL,0,0,NULL,NULL); + (1,94,1,'2023-06-09','2023-06-09','2025-06-08','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (2,145,2,'2023-06-08','2023-06-08','2024-06-07','Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (3,133,1,'2023-06-07','2023-06-07','2025-06-06','Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (4,103,2,'2023-06-06','2023-06-06','2024-06-05','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (5,18,1,'2021-05-08','2021-05-08','2023-05-07','Payment',3,0,NULL,NULL,NULL,0,0,NULL,NULL), + (6,27,2,'2023-06-04','2023-06-04','2024-06-03','Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (7,62,1,'2023-06-03','2023-06-03','2025-06-02','Check',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (8,29,2,'2023-06-02','2023-06-02','2024-06-01','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (9,83,1,'2023-06-01','2023-06-01','2025-05-31','Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (10,53,1,'2021-03-29','2021-03-29','2023-03-28','Donation',3,0,NULL,NULL,NULL,0,0,NULL,NULL), + (11,113,3,'2023-05-30','2023-05-30',NULL,'Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (12,200,2,'2023-05-29','2023-05-29','2024-05-28','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (13,186,1,'2023-05-28','2023-05-28','2025-05-27','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (14,15,2,'2023-05-27','2023-05-27','2024-05-26','Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (15,70,1,'2021-02-17','2021-02-17','2023-02-16','Payment',3,0,NULL,NULL,NULL,0,0,NULL,NULL), + (16,155,2,'2023-05-25','2023-05-25','2024-05-24','Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (17,23,1,'2023-05-24','2023-05-24','2025-05-23','Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (18,182,2,'2023-05-23','2023-05-23','2024-05-22','Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (19,30,1,'2023-05-22','2023-05-22','2025-05-21','Check',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (20,69,2,'2022-05-21','2022-05-21','2023-05-20','Payment',4,0,NULL,NULL,NULL,0,0,NULL,NULL), + (21,197,1,'2023-05-20','2023-05-20','2025-05-19','Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (22,201,3,'2023-05-19','2023-05-19',NULL,'Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (23,13,1,'2023-05-18','2023-05-18','2025-05-17','Check',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (24,157,2,'2023-05-17','2023-05-17','2024-05-16','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (25,63,2,'2022-05-16','2022-05-16','2023-05-15','Check',4,0,NULL,NULL,NULL,0,0,NULL,NULL), + (26,154,2,'2023-05-15','2023-05-15','2024-05-14','Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (27,90,1,'2023-05-14','2023-05-14','2025-05-13','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (28,199,2,'2023-05-13','2023-05-13','2024-05-12','Payment',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (29,56,1,'2023-05-12','2023-05-12','2025-05-11','Donation',1,0,NULL,NULL,NULL,0,0,NULL,NULL), + (30,74,1,'2020-10-20','2020-10-20','2022-10-19','Donation',3,0,NULL,NULL,NULL,0,0,NULL,NULL); /*!40000 ALTER TABLE `civicrm_membership` ENABLE KEYS */; UNLOCK TABLES; @@ -4811,36 +4803,36 @@ UNLOCK TABLES; LOCK TABLES `civicrm_membership_log` WRITE; /*!40000 ALTER TABLE `civicrm_membership_log` DISABLE KEYS */; INSERT INTO `civicrm_membership_log` (`id`, `membership_id`, `status_id`, `start_date`, `end_date`, `modified_id`, `modified_date`, `membership_type_id`, `max_related`) VALUES - (1,19,1,'2023-04-12','2025-04-11',10,'2023-04-30',1,NULL), - (2,18,1,'2023-04-13','2024-04-12',13,'2023-04-30',2,NULL), - (3,12,1,'2023-04-19','2024-04-18',25,'2023-04-30',2,NULL), - (4,8,1,'2023-04-23','2024-04-22',26,'2023-04-30',2,NULL), - (5,11,1,'2023-04-20',NULL,30,'2023-04-30',3,NULL), - (6,5,3,'2021-03-29','2023-03-28',49,'2023-04-30',1,NULL), - (7,7,1,'2023-04-24','2025-04-23',54,'2023-04-30',1,NULL), - (8,16,1,'2023-04-15','2024-04-14',73,'2023-04-30',2,NULL), - (9,4,1,'2023-04-27','2024-04-26',77,'2023-04-30',2,NULL), - (10,6,1,'2023-04-25','2024-04-24',78,'2023-04-30',2,NULL), - (11,1,1,'2023-04-30','2025-04-29',82,'2023-04-30',1,NULL), - (12,13,1,'2023-04-18','2025-04-17',83,'2023-04-30',1,NULL), - (13,26,1,'2023-04-05','2024-04-04',90,'2023-04-30',2,NULL), - (14,24,1,'2023-04-07','2024-04-06',98,'2023-04-30',2,NULL), - (15,17,1,'2023-04-14','2025-04-13',100,'2023-04-30',1,NULL), - (16,29,1,'2023-04-02','2025-04-01',110,'2023-04-30',1,NULL), - (17,3,1,'2023-04-28','2025-04-27',114,'2023-04-30',1,NULL), - (18,10,3,'2021-02-17','2023-02-16',131,'2023-04-30',1,NULL), - (19,9,1,'2023-04-22','2025-04-21',133,'2023-04-30',1,NULL), - (20,23,1,'2023-04-08','2025-04-07',134,'2023-04-30',1,NULL), - (21,28,1,'2023-04-03','2024-04-02',136,'2023-04-30',2,NULL), - (22,30,3,'2020-09-10','2022-09-09',138,'2023-04-30',1,NULL), - (23,14,1,'2023-04-17','2024-04-16',147,'2023-04-30',2,NULL), - (24,15,4,'2022-04-16','2023-04-15',150,'2023-04-30',2,NULL), - (25,27,1,'2023-04-04','2025-04-03',152,'2023-04-30',1,NULL), - (26,25,4,'2022-04-06','2023-04-05',157,'2023-04-30',2,NULL), - (27,21,1,'2023-04-10','2025-04-09',175,'2023-04-30',1,NULL), - (28,20,4,'2022-04-11','2023-04-10',180,'2023-04-30',2,NULL), - (29,22,1,'2023-04-09',NULL,182,'2023-04-30',3,NULL), - (30,2,1,'2023-04-29','2024-04-28',194,'2023-04-30',2,NULL); + (1,23,1,'2023-05-18','2025-05-17',13,'2023-06-09',1,NULL), + (2,14,1,'2023-05-27','2024-05-26',15,'2023-06-09',2,NULL), + (3,5,3,'2021-05-08','2023-05-07',18,'2023-06-09',1,NULL), + (4,17,1,'2023-05-24','2025-05-23',23,'2023-06-09',1,NULL), + (5,6,1,'2023-06-04','2024-06-03',27,'2023-06-09',2,NULL), + (6,8,1,'2023-06-02','2024-06-01',29,'2023-06-09',2,NULL), + (7,19,1,'2023-05-22','2025-05-21',30,'2023-06-09',1,NULL), + (8,10,3,'2021-03-29','2023-03-28',53,'2023-06-09',1,NULL), + (9,29,1,'2023-05-12','2025-05-11',56,'2023-06-09',1,NULL), + (10,7,1,'2023-06-03','2025-06-02',62,'2023-06-09',1,NULL), + (11,25,4,'2022-05-16','2023-05-15',63,'2023-06-09',2,NULL), + (12,20,4,'2022-05-21','2023-05-20',69,'2023-06-09',2,NULL), + (13,15,3,'2021-02-17','2023-02-16',70,'2023-06-09',1,NULL), + (14,30,3,'2020-10-20','2022-10-19',74,'2023-06-09',1,NULL), + (15,9,1,'2023-06-01','2025-05-31',83,'2023-06-09',1,NULL), + (16,27,1,'2023-05-14','2025-05-13',90,'2023-06-09',1,NULL), + (17,1,1,'2023-06-09','2025-06-08',94,'2023-06-09',1,NULL), + (18,4,1,'2023-06-06','2024-06-05',103,'2023-06-09',2,NULL), + (19,11,1,'2023-05-30',NULL,113,'2023-06-09',3,NULL), + (20,3,1,'2023-06-07','2025-06-06',133,'2023-06-09',1,NULL), + (21,2,1,'2023-06-08','2024-06-07',145,'2023-06-09',2,NULL), + (22,26,1,'2023-05-15','2024-05-14',154,'2023-06-09',2,NULL), + (23,16,1,'2023-05-25','2024-05-24',155,'2023-06-09',2,NULL), + (24,24,1,'2023-05-17','2024-05-16',157,'2023-06-09',2,NULL), + (25,18,1,'2023-05-23','2024-05-22',182,'2023-06-09',2,NULL), + (26,13,1,'2023-05-28','2025-05-27',186,'2023-06-09',1,NULL), + (27,21,1,'2023-05-20','2025-05-19',197,'2023-06-09',1,NULL), + (28,28,1,'2023-05-13','2024-05-12',199,'2023-06-09',2,NULL), + (29,12,1,'2023-05-29','2024-05-28',200,'2023-06-09',2,NULL), + (30,22,1,'2023-05-19',NULL,201,'2023-06-09',3,NULL); /*!40000 ALTER TABLE `civicrm_membership_log` ENABLE KEYS */; UNLOCK TABLES; @@ -4851,36 +4843,36 @@ UNLOCK TABLES; LOCK TABLES `civicrm_membership_payment` WRITE; /*!40000 ALTER TABLE `civicrm_membership_payment` DISABLE KEYS */; INSERT INTO `civicrm_membership_payment` (`id`, `membership_id`, `contribution_id`) VALUES - (1,1,32), - (2,2,33), - (3,3,34), - (4,4,35), - (5,5,36), - (6,6,37), - (7,7,38), - (8,8,39), - (9,9,40), - (10,10,41), - (11,11,42), - (12,12,43), - (13,13,44), - (14,14,45), - (15,15,46), - (16,16,47), - (17,17,48), - (18,18,49), - (19,19,50), - (20,20,51), - (21,21,52), - (22,22,53), - (23,23,54), + (17,1,32), + (21,2,33), + (20,3,34), + (18,4,35), + (3,5,36), + (5,6,37), + (10,7,38), + (6,8,39), + (15,9,40), + (8,10,41), + (19,11,42), + (29,12,43), + (26,13,44), + (2,14,45), + (13,15,46), + (23,16,47), + (4,17,48), + (25,18,49), + (7,19,50), + (12,20,51), + (27,21,52), + (30,22,53), + (1,23,54), (24,24,55), - (25,25,56), - (26,26,57), - (27,27,58), + (11,25,56), + (22,26,57), + (16,27,58), (28,28,59), - (29,29,60), - (30,30,61); + (9,29,60), + (14,30,61); /*!40000 ALTER TABLE `civicrm_membership_payment` ENABLE KEYS */; UNLOCK TABLES; @@ -4921,359 +4913,359 @@ UNLOCK TABLES; LOCK TABLES `civicrm_menu` WRITE; /*!40000 ALTER TABLE `civicrm_menu` DISABLE KEYS */; INSERT INTO `civicrm_menu` (`id`, `domain_id`, `path`, `path_arguments`, `title`, `access_callback`, `access_arguments`, `page_callback`, `page_arguments`, `breadcrumb`, `return_url`, `return_url_args`, `component_id`, `is_active`, `is_public`, `is_exposed`, `is_ssl`, `weight`, `type`, `page_type`, `skipBreadcrumb`, `module_data`) VALUES - (1,1,'civicrm/custom',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Custom_Form_CustomDataByType\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (2,1,'civicrm/activity','action=add&context=standalone','New Activity','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Activity_Form_Activity\";','s:14:\"attachUpload=1\";','a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (3,1,'civicrm/activity/view',NULL,'View Activity','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Activity_Form_ActivityView\";','s:14:\"attachUpload=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&action=add&context=standalone\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (4,1,'civicrm/ajax/activity',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:15:\"getCaseActivity\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (5,1,'civicrm/ajax/globalrelationships',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:26:\"getCaseGlobalRelationships\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (6,1,'civicrm/ajax/clientrelationships',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:26:\"getCaseClientRelationships\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (7,1,'civicrm/ajax/caseroles',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:12:\"getCaseRoles\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (8,1,'civicrm/ajax/contactactivity',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:18:\"getContactActivity\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (9,1,'civicrm/ajax/activity/convert',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:21:\"convertToCaseActivity\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,3,0,'a:0:{}'), - (10,1,'civicrm/activity/search',NULL,'Find Activities','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Activity_Controller_Search\";','s:14:\"attachUpload=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&action=add&context=standalone\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (11,1,'civicrm/custom/add',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Custom_Form_CustomData\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (12,1,'civicrm/ajax/optionlist',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:20:\"CRM_Custom_Page_AJAX\";i:1;s:13:\"getOptionList\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (13,1,'civicrm/ajax/reorder',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:20:\"CRM_Custom_Page_AJAX\";i:1;s:11:\"fixOrdering\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (14,1,'civicrm/ajax/multirecordfieldlist',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:20:\"CRM_Custom_Page_AJAX\";i:1;s:23:\"getMultiRecordFieldList\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (15,1,'civicrm/tag',NULL,'Tags','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:11:\"manage tags\";}i:1;s:2:\"or\";}','s:16:\"CRM_Tag_Page_Tag\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,25,1,0,0,'a:2:{s:4:\"desc\";s:158:\"Tags are useful for segmenting the contacts in your database into categories (e.g. Staff Member, Donor, Volunteer, etc.). Create and edit available tags here.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (16,1,'civicrm/tag/edit','action=add','New Tag','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:11:\"manage tags\";}i:1;s:2:\"or\";}','s:17:\"CRM_Tag_Form_Edit\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:4:\"Tags\";s:3:\"url\";s:20:\"/civicrm/tag?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (17,1,'civicrm/tag/merge',NULL,'Merge Tags','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:11:\"manage tags\";}i:1;s:2:\"or\";}','s:18:\"CRM_Tag_Form_Merge\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:4:\"Tags\";s:3:\"url\";s:20:\"/civicrm/tag?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (18,1,'civicrm/ajax/tagTree',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:11:\"manage tags\";}i:1;s:2:\"or\";}','a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:10:\"getTagTree\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (19,1,'civicrm/pcp',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:16:\"CRM_PCP_Form_PCP\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), - (20,1,'civicrm/pcp/campaign',NULL,'Setup a Personal Campaign Page - Account Information','s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','s:22:\"CRM_PCP_Controller_PCP\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,0,1,0,0,'a:0:{}'), - (21,1,'civicrm/pcp/info',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:20:\"CRM_PCP_Page_PCPInfo\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), - (22,1,'civicrm/admin/pcp','context=contribute','Personal Campaign Pages','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:16:\"CRM_PCP_Page_PCP\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,362,1,0,0,'a:2:{s:4:\"desc\";s:49:\"View and manage existing personal campaign pages.\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'), - (23,1,'civicrm/upgrade',NULL,'Upgrade CiviCRM','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:24:\"CRM_Upgrade_Page_Upgrade\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (24,1,'civicrm/export',NULL,'Download Errors','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Export_BAO_Export\";i:1;s:6:\"invoke\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (25,1,'civicrm/export/contact',NULL,'Export Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Export_BAO_Export\";i:1;s:6:\"invoke\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Download Errors\";s:3:\"url\";s:23:\"/civicrm/export?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,0,1,0,0,'a:0:{}'), - (26,1,'civicrm/export/standalone',NULL,'Export','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Export_Controller_Standalone\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Download Errors\";s:3:\"url\";s:23:\"/civicrm/export?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (27,1,'civicrm/admin/options/acl_role',NULL,'ACL Roles','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (28,1,'civicrm/acl',NULL,'Manage ACLs','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:16:\"CRM_ACL_Page_ACL\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (29,1,'civicrm/acl/entityrole',NULL,'Assign Users to ACL Roles','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:23:\"CRM_ACL_Page_EntityRole\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"Manage ACLs\";s:3:\"url\";s:20:\"/civicrm/acl?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (30,1,'civicrm/acl/basic',NULL,'ACL','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_ACL_Page_ACLBasic\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"Manage ACLs\";s:3:\"url\";s:20:\"/civicrm/acl?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (31,1,'civicrm/file',NULL,'Browse Uploaded files','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access uploaded files\";}i:1;s:3:\"and\";}','s:18:\"CRM_Core_Page_File\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (32,1,'civicrm/file/delete',NULL,'Delete File','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:17:\"CRM_Core_BAO_File\";i:1;s:16:\"deleteAttachment\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:21:\"Browse Uploaded files\";s:3:\"url\";s:21:\"/civicrm/file?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (33,1,'civicrm/friend',NULL,'Tell a Friend','s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:15:\"CRM_Friend_Form\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), - (34,1,'civicrm/logout',NULL,'Log out','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:16:\"CRM_Utils_System\";i:1;s:6:\"logout\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,9999,1,1,0,'a:0:{}'), - (35,1,'civicrm/i18n',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:17:\"translate CiviCRM\";}i:1;s:3:\"and\";}','s:18:\"CRM_Core_I18n_Form\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (36,1,'civicrm/ajax/attachment',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access AJAX API\";}i:1;s:2:\"or\";}','a:2:{i:0;s:29:\"CRM_Core_Page_AJAX_Attachment\";i:1;s:10:\"attachFile\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (37,1,'civicrm/api',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Core_Page_Redirect\";','s:16:\"url=civicrm/api3\";','a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (38,1,'civicrm/api3',NULL,'CiviCRM API v3','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Admin_Page_APIExplorer\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (39,1,'civicrm/ajax/apiexample',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:26:\"CRM_Admin_Page_APIExplorer\";i:1;s:14:\"getExampleFile\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (40,1,'civicrm/ajax/apidoc',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:26:\"CRM_Admin_Page_APIExplorer\";i:1;s:6:\"getDoc\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (41,1,'civicrm/ajax/rest',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access AJAX API\";}i:1;s:2:\"or\";}','a:2:{i:0;s:14:\"CRM_Utils_REST\";i:1;s:4:\"ajax\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (42,1,'civicrm/api/json',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:14:\"CRM_Utils_REST\";i:1;s:8:\"ajaxJson\";}','s:16:\"url=civicrm/api3\";','a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (43,1,'civicrm/inline',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:14:\"CRM_Utils_REST\";i:1;s:12:\"loadTemplate\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (44,1,'civicrm/ajax/chart',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:38:\"CRM_Contribute_Form_ContributionCharts\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (45,1,'civicrm/asset/builder',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"*always allow*\";}i:1;s:3:\"and\";}','a:2:{i:0;s:23:\"\\Civi\\Core\\AssetBuilder\";i:1;s:7:\"pageRun\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (46,1,'civicrm/contribute/ajax/tableview',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contribute_Page_DashBoard\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:0:{}'), - (47,1,'civicrm/payment/ipn',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','a:2:{i:0;s:16:\"CRM_Core_Payment\";i:1;s:9:\"handleIPN\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:39:\"/civicrm/payment?reset=1&action=add\";}}',NULL,NULL,2,1,1,1,0,1,1,0,0,'a:0:{}'), - (48,1,'civicrm/batch',NULL,'Batch Data Entry','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:20:\"CRM_Batch_Page_Batch\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (49,1,'civicrm/batch/add',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:20:\"CRM_Batch_Form_Batch\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Batch Data Entry\";s:3:\"url\";s:22:\"/civicrm/batch?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (50,1,'civicrm/batch/entry',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:20:\"CRM_Batch_Form_Entry\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Batch Data Entry\";s:3:\"url\";s:22:\"/civicrm/batch?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (51,1,'civicrm/ajax/batch',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Batch_Page_AJAX\";i:1;s:9:\"batchSave\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (52,1,'civicrm/ajax/batchlist',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Batch_Page_AJAX\";i:1;s:12:\"getBatchList\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (53,1,'civicrm/ajax/inline',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:18:\"CRM_Core_Page_AJAX\";i:1;s:3:\"run\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (54,1,'civicrm/dev/qunit',NULL,'QUnit','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}','s:19:\"CRM_Core_Page_QUnit\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (55,1,'civicrm/dev/fake-error',NULL,'Fake Error','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"*always allow*\";}i:1;s:3:\"and\";}','s:23:\"CRM_Core_Page_FakeError\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), - (56,1,'civicrm/profile-editor/schema',NULL,'ProfileEditor','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:25:\"CRM_UF_Page_ProfileEditor\";i:1;s:13:\"getSchemaJSON\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (57,1,'civicrm/a',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:23:\"\\Civi\\Angular\\Page\\Main\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (58,1,'civicrm/ajax/angular-modules',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"*always allow*\";}i:1;s:3:\"and\";}','s:26:\"\\Civi\\Angular\\Page\\Modules\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (59,1,'civicrm/ajax/recurringentity/update-mode',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:34:\"CRM_Core_Page_AJAX_RecurringEntity\";i:1;s:10:\"updateMode\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (60,1,'civicrm/recurringentity/preview',NULL,'Confirm dates','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:36:\"CRM_Core_Page_RecurringEntityPreview\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (61,1,'civicrm/shortcode',NULL,'Insert CiviCRM Content','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:23:\"CRM_Core_Form_ShortCode\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (62,1,'civicrm/task/add-to-group',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Contact_Form_Task_AddToGroup\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (63,1,'civicrm/task/remove-from-group',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:37:\"CRM_Contact_Form_Task_RemoveFromGroup\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (64,1,'civicrm/task/add-to-tag',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Contact_Form_Task_AddToTag\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (65,1,'civicrm/task/remove-from-tag',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:35:\"CRM_Contact_Form_Task_RemoveFromTag\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (66,1,'civicrm/task/send-email',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Contact_Form_Task_Email\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (67,1,'civicrm/task/make-mailing-label',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Contact_Form_Task_Label\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (68,1,'civicrm/task/pick-profile',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:33:\"CRM_Contact_Form_Task_PickProfile\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (69,1,'civicrm/task/print-document',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Contact_Form_Task_PDF\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (70,1,'civicrm/task/unhold-email',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:28:\"CRM_Contact_Form_Task_Unhold\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (71,1,'civicrm/task/alter-contact-preference',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:38:\"CRM_Contact_Form_Task_AlterPreferences\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (72,1,'civicrm/task/delete-contact',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:28:\"CRM_Contact_Form_Task_Delete\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (73,1,'civicrm/task/add-activity',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Activity_Form_Activity\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (74,1,'civicrm/payment/form',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:26:\"CRM_Financial_Form_Payment\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:39:\"/civicrm/payment?reset=1&action=add\";}}',NULL,NULL,2,1,1,1,0,0,1,0,0,'a:0:{}'), - (75,1,'civicrm/payment/edit',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:30:\"CRM_Financial_Form_PaymentEdit\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:39:\"/civicrm/payment?reset=1&action=add\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:1:{s:9:\"component\";s:14:\"CiviContribute\";}'), - (76,1,'civicrm',NULL,'CiviCRM','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Contact_Page_DashBoard\";',NULL,'a:0:{}',NULL,NULL,NULL,1,0,1,0,0,1,0,0,'a:0:{}'), - (77,1,'civicrm/dashboard',NULL,'CiviCRM Home','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Contact_Page_DashBoard\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,0,1,1,0,'a:0:{}'), - (78,1,'civicrm/contact/search',NULL,'Find Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contact_Controller_Search\";','s:8:\"mode=256\";','a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,10,1,1,0,'a:0:{}'), - (79,1,'civicrm/contact/image',NULL,'Process Uploaded Images','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access uploaded files\";}i:1;s:3:\"and\";}','a:2:{i:0;s:23:\"CRM_Contact_BAO_Contact\";i:1;s:12:\"processImage\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (80,1,'civicrm/contact/imagefile',NULL,'Get Image File','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"*always allow*\";}i:1;s:3:\"and\";}','s:26:\"CRM_Contact_Page_ImageFile\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (81,1,'civicrm/contact/search/basic',NULL,'Find Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contact_Controller_Search\";','s:8:\"mode=256\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:31:\"/civicrm/contact/search?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (82,1,'civicrm/contact/search/advanced',NULL,'Advanced Search','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contact_Controller_Search\";','s:8:\"mode=512\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:31:\"/civicrm/contact/search?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,12,1,1,0,'a:0:{}'), - (83,1,'civicrm/contact/search/builder',NULL,'Search Builder','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contact_Controller_Search\";','s:9:\"mode=8192\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:31:\"/civicrm/contact/search?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,14,1,1,0,'a:0:{}'), - (84,1,'civicrm/contact/add',NULL,'New Contact','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:24:\"CRM_Contact_Form_Contact\";','s:13:\"addSequence=1\";','a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (85,1,'civicrm/contact/add/individual','ct=Individual','New Individual','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:12:\"add contacts\";}i:1;s:3:\"and\";}','s:24:\"CRM_Contact_Form_Contact\";','s:13:\"addSequence=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:28:\"/civicrm/contact/add?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (86,1,'civicrm/contact/add/household','ct=Household','New Household','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:12:\"add contacts\";}i:1;s:3:\"and\";}','s:24:\"CRM_Contact_Form_Contact\";','s:13:\"addSequence=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:28:\"/civicrm/contact/add?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (87,1,'civicrm/contact/add/organization','ct=Organization','New Organization','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:12:\"add contacts\";}i:1;s:3:\"and\";}','s:24:\"CRM_Contact_Form_Contact\";','s:13:\"addSequence=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:28:\"/civicrm/contact/add?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (88,1,'civicrm/contact/relatedcontact',NULL,'Edit Related Contact','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:24:\"access Contact Dashboard\";}i:1;s:3:\"and\";}','s:31:\"CRM_Contact_Form_RelatedContact\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), - (89,1,'civicrm/contact/merge',NULL,'Merge Contact','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}','s:22:\"CRM_Contact_Form_Merge\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (90,1,'civicrm/contact/email',NULL,'Email a Contact','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Contact_Form_Task_Email\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (91,1,'civicrm/contact/map',NULL,'Map Location(s)','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Contact_Form_Task_Map\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), - (92,1,'civicrm/contact/map/event',NULL,'Map Event Location','s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:31:\"CRM_Contact_Form_Task_Map_Event\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Map Location(s)\";s:3:\"url\";s:28:\"/civicrm/contact/map?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), - (93,1,'civicrm/contact/view','cid=%%cid%%','Contact Summary','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:29:\"CRM_Contact_Page_View_Summary\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (94,1,'civicrm/contact/view/delete',NULL,'Delete Contact','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:28:\"CRM_Contact_Form_Task_Delete\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (95,1,'civicrm/contact/view/activity','show=1,cid=%%cid%%','Activities','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:21:\"CRM_Activity_Page_Tab\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (96,1,'civicrm/activity/add','action=add','Activities','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Activity_Form_Activity\";','s:14:\"attachUpload=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&action=add&context=standalone\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (97,1,'civicrm/activity/email/add','action=add','Activities','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Contact_Form_Task_Email\";','s:14:\"attachUpload=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&action=add&context=standalone\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (98,1,'civicrm/activity/pdf/add','action=add','Activities','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Contact_Form_Task_PDF\";','s:14:\"attachUpload=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&action=add&context=standalone\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (99,1,'civicrm/contact/view/rel','cid=%%cid%%','Relationships','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:34:\"CRM_Contact_Page_View_Relationship\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (100,1,'civicrm/contact/view/group','cid=%%cid%%','Groups','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:34:\"CRM_Contact_Page_View_GroupContact\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (101,1,'civicrm/contact/view/smartgroup','cid=%%cid%%','Smart Groups','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:39:\"CRM_Contact_Page_View_ContactSmartGroup\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (102,1,'civicrm/contact/view/note','cid=%%cid%%','Notes','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:26:\"CRM_Contact_Page_View_Note\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (103,1,'civicrm/contact/view/tag','cid=%%cid%%','Tags','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:25:\"CRM_Contact_Page_View_Tag\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (104,1,'civicrm/contact/view/cd',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:32:\"CRM_Contact_Page_View_CustomData\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (105,1,'civicrm/contact/view/cd/edit',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:27:\"CRM_Contact_Form_CustomData\";','s:13:\"addSequence=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (106,1,'civicrm/contact/view/vcard',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:27:\"CRM_Contact_Page_View_Vcard\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (107,1,'civicrm/contact/view/print',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:27:\"CRM_Contact_Page_View_Print\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (108,1,'civicrm/contact/view/log',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:25:\"CRM_Contact_Page_View_Log\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (109,1,'civicrm/user',NULL,'Contact Dashboard','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:24:\"access Contact Dashboard\";}i:1;s:3:\"and\";}','s:35:\"CRM_Contact_Page_View_UserDashBoard\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,0,1,0,0,'a:0:{}'), - (110,1,'civicrm/dashlet/activity',NULL,'Activity Dashlet','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Dashlet_Page_Activity\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (111,1,'civicrm/dashlet/blog',NULL,'CiviCRM Blog','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Dashlet_Page_Blog\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (112,1,'civicrm/dashlet/getting-started',NULL,'CiviCRM Resources','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:31:\"CRM_Dashlet_Page_GettingStarted\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (113,1,'civicrm/ajax/relation',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:12:\"relationship\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,3,0,'a:0:{}'), - (114,1,'civicrm/ajax/groupTree',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"groupTree\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (115,1,'civicrm/ajax/custom',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:11:\"customField\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (116,1,'civicrm/ajax/customvalue',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:17:\"deleteCustomValue\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,3,0,'a:0:{}'), - (117,1,'civicrm/ajax/cmsuser',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:13:\"checkUserName\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (118,1,'civicrm/ajax/checkemail',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:15:\"getContactEmail\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (119,1,'civicrm/ajax/checkphone',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:15:\"getContactPhone\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (120,1,'civicrm/ajax/subtype',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:13:\"buildSubTypes\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (121,1,'civicrm/ajax/signature',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:12:\"getSignature\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (122,1,'civicrm/ajax/pdfFormat',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"pdfFormat\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (123,1,'civicrm/ajax/paperSize',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"paperSize\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (124,1,'civicrm/ajax/contactref',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:31:\"access contact reference fields\";i:1;s:15:\" access CiviCRM\";}i:1;s:2:\"or\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:16:\"contactReference\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (125,1,'civicrm/dashlet/myCases',NULL,'Case Dashlet','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:24:\"CRM_Dashlet_Page_MyCases\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (126,1,'civicrm/dashlet/allCases',NULL,'All Cases Dashlet','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:31:\"access all cases and activities\";}i:1;s:3:\"and\";}','s:25:\"CRM_Dashlet_Page_AllCases\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (127,1,'civicrm/dashlet/casedashboard',NULL,'Case Dashboard Dashlet','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Dashlet_Page_CaseDashboard\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (128,1,'civicrm/contact/deduperules',NULL,'Find and Merge Duplicate Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:23:\"administer dedupe rules\";i:1;s:24:\"merge duplicate contacts\";}i:1;s:2:\"or\";}','s:28:\"CRM_Contact_Page_DedupeRules\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,105,1,0,0,'a:2:{s:4:\"desc\";s:158:\"Manage the rules used to identify potentially duplicate contact records. Scan for duplicates using a selected rule and merge duplicate contact data as needed.\";s:10:\"adminGroup\";s:6:\"Manage\";}'), - (129,1,'civicrm/contact/dedupefind',NULL,'Find and Merge Duplicate Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}','s:27:\"CRM_Contact_Page_DedupeFind\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (130,1,'civicrm/ajax/dedupefind',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:10:\"getDedupes\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (131,1,'civicrm/contact/dedupemerge',NULL,'Batch Merge Duplicate Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}','s:28:\"CRM_Contact_Page_DedupeMerge\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (132,1,'civicrm/dedupe/exception',NULL,'Dedupe Exceptions','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Contact_Page_DedupeException\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,110,1,0,0,'a:1:{s:10:\"adminGroup\";s:6:\"Manage\";}'), - (133,1,'civicrm/ajax/dedupeRules',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:16:\"buildDedupeRules\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (134,1,'civicrm/contact/view/useradd','cid=%%cid%%','Add User','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:29:\"CRM_Contact_Page_View_Useradd\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (135,1,'civicrm/ajax/markSelection',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:22:\"selectUnselectContacts\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (136,1,'civicrm/ajax/toggleDedupeSelect',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:18:\"toggleDedupeSelect\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (137,1,'civicrm/ajax/flipDupePairs',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:13:\"flipDupePairs\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (138,1,'civicrm/activity/sms/add','action=add','Activities','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:8:\"send SMS\";}i:1;s:3:\"and\";}','s:25:\"CRM_Contact_Form_Task_SMS\";','s:14:\"attachUpload=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&action=add&context=standalone\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (139,1,'civicrm/ajax/contactrelationships',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"view my contact\";}i:1;s:2:\"or\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:23:\"getContactRelationships\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (140,1,'civicrm/admin/custom/group',NULL,'Custom Data','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:21:\"CRM_Custom_Page_Group\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,10,1,0,0,'a:2:{s:4:\"desc\";s:109:\"Configure custom fields to collect and store custom data which is not included in the standard CiviCRM forms.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (141,1,'civicrm/admin/custom/group/edit',NULL,'Configure Custom Set','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:21:\"CRM_Custom_Form_Group\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (142,1,'civicrm/admin/custom/group/preview',NULL,'Custom Field Preview','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:23:\"CRM_Custom_Form_Preview\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (143,1,'civicrm/admin/custom/group/delete',NULL,'Delete Custom Set','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:27:\"CRM_Custom_Form_DeleteGroup\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (144,1,'civicrm/admin/custom/group/field',NULL,'Custom Data Fields','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:21:\"CRM_Custom_Page_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,11,1,0,0,'a:0:{}'), - (145,1,'civicrm/admin/custom/group/field/delete',NULL,'Delete Custom Field','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:27:\"CRM_Custom_Form_DeleteField\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (146,1,'civicrm/admin/custom/group/field/option',NULL,'Custom Field - Options','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:22:\"CRM_Custom_Page_Option\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (147,1,'civicrm/admin/custom/group/field/add',NULL,'Custom Field - Add','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:21:\"CRM_Custom_Form_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (148,1,'civicrm/admin/custom/group/field/update',NULL,'Custom Field - Edit','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:21:\"CRM_Custom_Form_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (149,1,'civicrm/admin/custom/group/field/move',NULL,'Custom Field - Move','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:25:\"CRM_Custom_Form_MoveField\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (150,1,'civicrm/admin/uf/group',NULL,'Profiles','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Page_Group\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,20,1,0,0,'a:2:{s:4:\"desc\";s:151:\"Profiles allow you to aggregate groups of fields and include them in your site as input forms, contact display pages, and search and listings features.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (151,1,'civicrm/admin/uf/group/preview',NULL,'Preview','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:19:\"CRM_UF_Form_Preview\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (152,1,'civicrm/admin/uf/group/field',NULL,'CiviCRM Profile Fields','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Page_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,21,1,0,0,'a:0:{}'), - (153,1,'civicrm/admin/uf/group/field/add',NULL,'Add Field','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Form_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,22,1,0,0,'a:0:{}'), - (154,1,'civicrm/admin/uf/group/field/update',NULL,'Edit Field','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Form_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,23,1,0,0,'a:0:{}'), - (155,1,'civicrm/admin/uf/group/add',NULL,'New CiviCRM Profile','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Form_Group\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,24,1,0,0,'a:0:{}'), - (156,1,'civicrm/admin/uf/group/update',NULL,'Profile Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Form_Group\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,25,1,0,0,'a:0:{}'), - (157,1,'civicrm/admin/uf/group/setting',NULL,'AdditionalInfo Form','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_UF_Form_AdvanceSetting\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,0,1,0,0,'a:0:{}'), - (158,1,'civicrm/admin/options/activity_type',NULL,'Activity Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,30,1,0,0,'a:2:{s:4:\"desc\";s:155:\"CiviCRM has several built-in activity types (meetings, phone calls, emails sent). Track other types of interactions by creating custom activity types here.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (159,1,'civicrm/admin/reltype',NULL,'Relationship Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:31:\"CRM_Admin_Page_RelationshipType\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,35,1,0,0,'a:2:{s:4:\"desc\";s:148:\"Contacts can be linked to each other through Relationships (e.g. Spouse, Employer, etc.). Define the types of relationships you want to record here.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (160,1,'civicrm/admin/reltype/edit',NULL,'Edit Relationship Type','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:31:\"CRM_Admin_Form_RelationshipType\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:18:\"Relationship Types\";s:3:\"url\";s:30:\"/civicrm/admin/reltype?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (161,1,'civicrm/admin/options/subtype',NULL,'Contact Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Admin_Page_ContactType\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,40,1,0,0,'a:1:{s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (162,1,'civicrm/admin/options/subtype/edit',NULL,'Edit Contact Type','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Admin_Form_ContactType\";',NULL,'a:4:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}i:3;a:2:{s:5:\"title\";s:13:\"Contact Types\";s:3:\"url\";s:38:\"/civicrm/admin/options/subtype?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (163,1,'civicrm/admin/options/gender',NULL,'Gender Options','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,45,1,0,0,'a:2:{s:4:\"desc\";s:79:\"Options for assigning gender to individual contacts (e.g. Male, Female, Other).\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (164,1,'civicrm/admin/options/individual_prefix',NULL,'Individual Prefixes (Ms, Mr...)','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,50,1,0,0,'a:2:{s:4:\"desc\";s:66:\"Options for individual contact prefixes (e.g. Ms., Mr., Dr. etc.).\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (165,1,'civicrm/admin/options/individual_suffix',NULL,'Individual Suffixes (Jr, Sr...)','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,55,1,0,0,'a:2:{s:4:\"desc\";s:61:\"Options for individual contact suffixes (e.g. Jr., Sr. etc.).\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (166,1,'civicrm/admin/locationType',NULL,'Location Types (Home, Work...)','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Page_LocationType\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,60,1,0,0,'a:2:{s:4:\"desc\";s:94:\"Options for categorizing contact addresses and phone numbers (e.g. Home, Work, Billing, etc.).\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (167,1,'civicrm/admin/locationType/edit',NULL,'Edit Location Type','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Form_LocationType\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:30:\"Location Types (Home, Work...)\";s:3:\"url\";s:35:\"/civicrm/admin/locationType?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (168,1,'civicrm/admin/options/website_type',NULL,'Website Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,65,1,0,0,'a:2:{s:4:\"desc\";s:48:\"Options for assigning website types to contacts.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (169,1,'civicrm/admin/options/instant_messenger_service',NULL,'Instant Messenger Services','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,70,1,0,0,'a:2:{s:4:\"desc\";s:79:\"List of IM services which can be used when recording screen-names for contacts.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (170,1,'civicrm/admin/options/mobile_provider',NULL,'Mobile Phone Providers','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,75,1,0,0,'a:2:{s:4:\"desc\";s:90:\"List of mobile phone providers which can be assigned when recording contact phone numbers.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (171,1,'civicrm/admin/options/phone_type',NULL,'Phone Type','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,80,1,0,0,'a:2:{s:4:\"desc\";s:80:\"Options for assigning phone type to contacts (e.g Phone,\n Mobile, Fax, Pager)\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (172,1,'civicrm/admin/setting/preferences/display',NULL,'Display Preferences','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:34:\"CRM_Admin_Form_Preferences_Display\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,90,1,0,0,'a:1:{s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (173,1,'civicrm/admin/setting/search',NULL,'Search Preferences','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Admin_Form_Setting_Search\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,95,1,0,0,'a:1:{s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (174,1,'civicrm/admin/setting/preferences/date',NULL,'View Date Preferences','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Admin_Page_PreferencesDate\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (175,1,'civicrm/admin/menu',NULL,'Navigation Menu','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Admin_Page_Navigation\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,100,1,0,0,'a:2:{s:4:\"desc\";s:79:\"Add or remove menu items, and modify the order of items on the navigation menu.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (176,1,'civicrm/admin/options/wordreplacements',NULL,'Word Replacements','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:31:\"CRM_Admin_Form_WordReplacements\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,105,1,0,0,'a:2:{s:4:\"desc\";s:18:\"Word Replacements.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (177,1,'civicrm/admin/options/custom_search',NULL,'Manage Custom Searches','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,110,1,0,0,'a:2:{s:4:\"desc\";s:225:\"Developers and accidental techies with a bit of PHP and SQL knowledge can create new search forms to handle specific search and reporting needs which aren\'t covered by the built-in Advanced Search and Search Builder features.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), - (178,1,'civicrm/admin/domain','action=update','Organization Address and Contact Info','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:23:\"CRM_Contact_Form_Domain\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,10,1,0,0,'a:2:{s:4:\"desc\";s:150:\"Configure primary contact name, email, return-path and address information. This information is used by CiviMail to identify the sending organization.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), - (179,1,'civicrm/admin/options/from_email_address',NULL,'From Email Addresses','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,20,1,0,0,'a:2:{s:4:\"desc\";s:74:\"List of Email Addresses which can be used when sending emails to contacts.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), - (180,1,'civicrm/admin/messageTemplates',NULL,'Message Templates','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:22:\"edit message templates\";i:1;s:34:\"edit user-driven message templates\";i:2;s:38:\"edit system workflow message templates\";}i:1;s:2:\"or\";}','s:31:\"CRM_Admin_Page_MessageTemplates\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,30,1,0,0,'a:2:{s:4:\"desc\";s:130:\"Message templates allow you to save and re-use messages with layouts which you can use when sending email to one or more contacts.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), - (181,1,'civicrm/admin/messageTemplates/add',NULL,'Message Templates','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:22:\"edit message templates\";i:1;s:34:\"edit user-driven message templates\";i:2;s:38:\"edit system workflow message templates\";}i:1;s:2:\"or\";}','s:31:\"CRM_Admin_Form_MessageTemplates\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Message Templates\";s:3:\"url\";s:39:\"/civicrm/admin/messageTemplates?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,262,1,0,0,'a:1:{s:4:\"desc\";s:26:\"Add/Edit Message Templates\";}'), - (182,1,'civicrm/admin/scheduleReminders',NULL,'Schedule Reminders','s:1:\"1\";','a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCRM data\";i:1;s:15:\"edit all events\";}i:1;s:2:\"or\";}','s:32:\"CRM_Admin_Page_ScheduleReminders\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,40,1,0,0,'a:2:{s:4:\"desc\";s:19:\"Schedule Reminders.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), - (183,1,'civicrm/admin/weight',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:16:\"CRM_Utils_Weight\";i:1;s:8:\"fixOrder\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (184,1,'civicrm/admin/options/preferred_communication_method',NULL,'Preferred Communication Methods','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,50,1,0,0,'a:2:{s:4:\"desc\";s:117:\"One or more preferred methods of communication can be assigned to each contact. Customize the available options here.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), - (185,1,'civicrm/admin/labelFormats',NULL,'Label Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Page_LabelFormats\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,60,1,0,0,'a:2:{s:4:\"desc\";s:67:\"Configure Label Formats that are used when creating mailing labels.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), - (186,1,'civicrm/admin/pdfFormats',NULL,'Print Page (PDF) Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Admin_Page_PdfFormats\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,70,1,0,0,'a:2:{s:4:\"desc\";s:95:\"Configure PDF Page Formats that can be assigned to Message Templates when creating PDF letters.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), - (187,1,'civicrm/admin/options/communication_style',NULL,'Communication Style Options','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,75,1,0,0,'a:2:{s:4:\"desc\";s:42:\"Options for Communication Style selection.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), - (188,1,'civicrm/admin/options/email_greeting',NULL,'Email Greeting Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,80,1,0,0,'a:2:{s:4:\"desc\";s:75:\"Options for assigning email greetings to individual and household contacts.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), - (189,1,'civicrm/admin/options/postal_greeting',NULL,'Postal Greeting Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,90,1,0,0,'a:2:{s:4:\"desc\";s:76:\"Options for assigning postal greetings to individual and household contacts.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), - (190,1,'civicrm/admin/options/addressee',NULL,'Addressee Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,100,1,0,0,'a:2:{s:4:\"desc\";s:83:\"Options for assigning addressee to individual, household and organization contacts.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), - (191,1,'civicrm/admin/setting/localization',NULL,'Languages, Currency, Locations','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:35:\"CRM_Admin_Form_Setting_Localization\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,10,1,0,0,'a:1:{s:10:\"adminGroup\";s:12:\"Localization\";}'), - (192,1,'civicrm/admin/setting/preferences/address',NULL,'Address Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:34:\"CRM_Admin_Form_Preferences_Address\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,20,1,0,0,'a:1:{s:10:\"adminGroup\";s:12:\"Localization\";}'), - (193,1,'civicrm/admin/setting/date',NULL,'Date Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Form_Setting_Date\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,30,1,0,0,'a:1:{s:10:\"adminGroup\";s:12:\"Localization\";}'), - (194,1,'civicrm/admin/options/languages',NULL,'Preferred Languages','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,40,1,0,0,'a:2:{s:4:\"desc\";s:30:\"Options for contact languages.\";s:10:\"adminGroup\";s:12:\"Localization\";}'), - (195,1,'civicrm/admin/access',NULL,'Access Control','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Admin_Page_Access\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,10,1,0,0,'a:2:{s:4:\"desc\";s:73:\"Grant or deny access to actions (view, edit...), features and components.\";s:10:\"adminGroup\";s:21:\"Users and Permissions\";}'), - (196,1,'civicrm/admin/access/wp-permissions',NULL,'WordPress Access Control','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:34:\"CRM_ACL_Form_WordPress_Permissions\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:14:\"Access Control\";s:3:\"url\";s:29:\"/civicrm/admin/access?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,10,1,0,0,'a:1:{s:4:\"desc\";s:65:\"Grant access to CiviCRM components and other CiviCRM permissions.\";}'), - (197,1,'civicrm/admin/synchUser',NULL,'Synchronize Users to Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Form_CMSUser\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,20,1,0,0,'a:2:{s:4:\"desc\";s:71:\"Automatically create a CiviCRM contact record for each CMS user record.\";s:10:\"adminGroup\";s:21:\"Users and Permissions\";}'), - (198,1,'civicrm/admin/configtask',NULL,'Configuration Checklist','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Admin_Page_ConfigTaskList\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}','civicrm/admin/configtask',NULL,NULL,1,0,1,1,1,1,0,0,'a:2:{s:4:\"desc\";s:55:\"List of configuration tasks with links to each setting.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (199,1,'civicrm/admin/setting/component',NULL,'Enable CiviCRM Components','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Admin_Form_Setting_Component\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,10,1,0,0,'a:2:{s:4:\"desc\";s:269:\"Enable or disable components (e.g. CiviEvent, CiviMember, etc.) for your site based on the features you need. We recommend disabling any components not being used in order to simplify the user interface. You can easily re-enable components at any time from this screen.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (200,1,'civicrm/admin/extensions',NULL,'Manage Extensions','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:25:\"CRM_Admin_Page_Extensions\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,120,1,0,0,'a:2:{s:4:\"desc\";s:0:\"\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (201,1,'civicrm/admin/extensions/upgrade',NULL,'Database Upgrades','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:32:\"CRM_Admin_Page_ExtensionsUpgrade\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Manage Extensions\";s:3:\"url\";s:33:\"/civicrm/admin/extensions?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (202,1,'civicrm/admin/setting/smtp',NULL,'Outbound Email Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Form_Setting_Smtp\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,20,1,0,0,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (203,1,'civicrm/admin/paymentProcessor',NULL,'Settings - Payment Processor','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:29:\"administer payment processors\";}i:1;s:3:\"and\";}','s:31:\"CRM_Admin_Page_PaymentProcessor\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,30,1,0,0,'a:2:{s:4:\"desc\";s:48:\"Payment Processor setup for CiviCRM transactions\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (204,1,'civicrm/admin/paymentProcessor/edit',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:29:\"administer payment processors\";}i:1;s:3:\"and\";}','s:31:\"CRM_Admin_Form_PaymentProcessor\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:28:\"Settings - Payment Processor\";s:3:\"url\";s:39:\"/civicrm/admin/paymentProcessor?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (205,1,'civicrm/admin/setting/mapping',NULL,'Mapping and Geocoding','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Admin_Form_Setting_Mapping\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,40,1,0,0,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (206,1,'civicrm/admin/setting/misc',NULL,'Misc (Undelete, PDFs, Limits, Logging, etc.)','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:36:\"CRM_Admin_Form_Setting_Miscellaneous\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,50,1,0,0,'a:2:{s:4:\"desc\";s:63:\"Enable undelete/move to trash feature, detailed change logging.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (207,1,'civicrm/admin/setting/path',NULL,'Directories','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Form_Setting_Path\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,60,1,0,0,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (208,1,'civicrm/admin/setting/url',NULL,'Resource URLs','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Admin_Form_Setting_Url\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,70,1,0,0,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (209,1,'civicrm/admin/setting/updateConfigBackend',NULL,'Cleanup Caches and Update Paths','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:42:\"CRM_Admin_Form_Setting_UpdateConfigBackend\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,80,1,0,0,'a:2:{s:4:\"desc\";s:157:\"Reset the Base Directory Path and Base URL settings - generally when a CiviCRM site is moved to another location in the file system and/or to another domain.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (210,1,'civicrm/admin/setting/uf',NULL,'CMS Database Integration','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Admin_Form_Setting_UF\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,90,1,0,0,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (211,1,'civicrm/admin/options/safe_file_extension',NULL,'Safe File Extension Options','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,100,1,0,0,'a:2:{s:4:\"desc\";s:44:\"File Extensions that can be considered safe.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (212,1,'civicrm/admin/options',NULL,'Option Groups','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,105,1,0,0,'a:2:{s:4:\"desc\";s:35:\"Access all meta-data option groups.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (213,1,'civicrm/admin/mapping',NULL,'Import/Export Mappings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Mapping\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,110,1,0,0,'a:2:{s:4:\"desc\";s:141:\"Import and Export mappings allow you to easily run the same job multiple times. This option allows you to rename or delete existing mappings.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (214,1,'civicrm/admin/setting/debug',NULL,'Debugging','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Admin_Form_Setting_Debugging\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,120,1,0,0,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (215,1,'civicrm/admin/setting/preferences/multisite',NULL,'Multi Site Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Form_Generic\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,130,1,0,0,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (216,1,'civicrm/admin/setting/preferences/campaign',NULL,'CiviCampaign Component Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Form_Generic\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,10,1,0,0,'a:3:{s:4:\"desc\";s:40:\"Configure global CiviCampaign behaviors.\";s:10:\"adminGroup\";s:12:\"CiviCampaign\";s:9:\"component\";s:12:\"CiviCampaign\";}'), - (217,1,'civicrm/admin/setting/preferences/event',NULL,'CiviEvent Component Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:16:\"access CiviEvent\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Form_Generic\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,420,1,0,0,'a:2:{s:4:\"desc\";s:37:\"Configure global CiviEvent behaviors.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'), - (218,1,'civicrm/admin/setting/preferences/mailing',NULL,'CiviMail Component Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}','s:34:\"CRM_Admin_Form_Preferences_Mailing\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,430,1,0,0,'a:2:{s:4:\"desc\";s:36:\"Configure global CiviMail behaviors.\";s:10:\"adminGroup\";s:8:\"CiviMail\";}'), - (219,1,'civicrm/admin/setting/preferences/member',NULL,'CiviMember Component Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:17:\"access CiviMember\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}','s:33:\"CRM_Admin_Form_Preferences_Member\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,390,1,0,0,'a:2:{s:4:\"desc\";s:38:\"Configure global CiviMember behaviors.\";s:10:\"adminGroup\";s:10:\"CiviMember\";}'), - (220,1,'civicrm/admin/runjobs',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','a:2:{i:0;s:16:\"CRM_Utils_System\";i:1;s:20:\"executeScheduledJobs\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:1:{s:4:\"desc\";s:36:\"URL used for running scheduled jobs.\";}'), - (221,1,'civicrm/admin/job',NULL,'Scheduled Jobs','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:18:\"CRM_Admin_Page_Job\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1370,1,0,0,'a:2:{s:4:\"desc\";s:35:\"Managing periodially running tasks.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (222,1,'civicrm/admin/job/add',NULL,'Add Scheduled Job','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:18:\"CRM_Admin_Page_Job\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:14:\"Scheduled Jobs\";s:3:\"url\";s:26:\"/civicrm/admin/job?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1371,1,0,0,'a:2:{s:4:\"desc\";s:31:\"Add a periodially running task.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (223,1,'civicrm/admin/job/edit',NULL,'Edit Scheduled Job','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:18:\"CRM_Admin_Page_Job\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:14:\"Scheduled Jobs\";s:3:\"url\";s:26:\"/civicrm/admin/job?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1372,1,0,0,'a:2:{s:4:\"desc\";s:32:\"Edit a periodially running task.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (224,1,'civicrm/admin/joblog',NULL,'Scheduled Jobs Log','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:21:\"CRM_Admin_Page_JobLog\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1380,1,0,0,'a:2:{s:4:\"desc\";s:46:\"Browsing the log of periodially running tasks.\";s:10:\"adminGroup\";s:6:\"Manage\";}'), - (225,1,'civicrm/admin/options/grant_type',NULL,'Grant Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,385,1,0,0,'a:2:{s:4:\"desc\";s:148:\"List of types which can be assigned to Grants. (Enable CiviGrant from Administer > System Settings > Enable Components if you want to track grants.)\";s:10:\"adminGroup\";s:12:\"Option Lists\";}'), - (226,1,'civicrm/admin/paymentProcessorType',NULL,'Payment Processor Type','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:35:\"CRM_Admin_Page_PaymentProcessorType\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,390,1,0,0,'a:1:{s:4:\"desc\";s:34:\"Payment Processor type information\";}'), - (227,1,'civicrm/admin',NULL,'Administer CiviCRM','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:20:\"CRM_Admin_Page_Admin\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,9000,1,1,0,'a:0:{}'), - (228,1,'civicrm/ajax/navmenu',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:7:\"navMenu\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (229,1,'civicrm/ajax/menutree',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:8:\"menuTree\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,3,0,'a:0:{}'), - (230,1,'civicrm/ajax/statusmsg',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:12:\"getStatusMsg\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (231,1,'civicrm/admin/price',NULL,'Price Sets','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:18:\"CRM_Price_Page_Set\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,380,1,0,0,'a:2:{s:4:\"desc\";s:205:\"Price sets allow you to offer multiple options with associated fees (e.g. pre-conference workshops, additional meals, etc.). Configure Price Sets for events which need more than a single set of fee levels.\";s:10:\"adminGroup\";s:9:\"Customize\";}'), - (232,1,'civicrm/admin/price/add','action=add','New Price Set','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:18:\"CRM_Price_Page_Set\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:28:\"/civicrm/admin/price?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:1:{s:4:\"desc\";s:205:\"Price sets allow you to offer multiple options with associated fees (e.g. pre-conference workshops, additional meals, etc.). Configure Price Sets for events which need more than a single set of fee levels.\";}'), - (233,1,'civicrm/admin/price/field',NULL,'Price Fields','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:20:\"CRM_Price_Page_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:28:\"/civicrm/admin/price?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (234,1,'civicrm/admin/price/field/option',NULL,'Price Field Options','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:21:\"CRM_Price_Page_Option\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:28:\"/civicrm/admin/price?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (235,1,'civicrm/ajax/mapping',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:11:\"mappingList\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (236,1,'civicrm/ajax/recipientListing',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:16:\"access CiviEvent\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:16:\"recipientListing\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (237,1,'civicrm/admin/sms/provider',NULL,'Sms Providers','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_SMS_Page_Provider\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,500,1,0,0,'a:2:{s:4:\"desc\";s:27:\"To configure a sms provider\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (238,1,'civicrm/sms/send',NULL,'New Mass SMS','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:8:\"send SMS\";}i:1;s:3:\"and\";}','s:23:\"CRM_SMS_Controller_Send\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,610,1,1,0,'a:0:{}'), - (239,1,'civicrm/sms/callback',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_SMS_Page_Callback\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), - (240,1,'civicrm/admin/badgelayout','action=browse','Event Name Badge Layouts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Badge_Page_Layout\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,399,1,0,0,'a:2:{s:4:\"desc\";s:107:\"Configure name badge layouts for event participants, including logos and what data to include on the badge.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'), - (241,1,'civicrm/admin/badgelayout/add',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Badge_Form_Layout\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:24:\"Event Name Badge Layouts\";s:3:\"url\";s:52:\"/civicrm/admin/badgelayout?reset=1&action=browse\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (242,1,'civicrm/profile',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:23:\"CRM_Profile_Page_Router\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,0,1,0,0,'a:0:{}'), - (243,1,'civicrm/profile/create',NULL,'CiviCRM Profile Create','s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:23:\"CRM_Profile_Page_Router\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,0,1,0,0,'a:0:{}'), - (244,1,'civicrm/profile/view',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Profile_Page_View\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), - (245,1,'civicrm/ajax/api4',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Api4_Permission\";i:1;s:5:\"check\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:18:\"CRM_Api4_Page_AJAX\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (246,1,'civicrm/api4',NULL,'CiviCRM','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Api4_Page_Api4Explorer\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (247,1,'civicrm/ajax/jqState',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:7:\"jqState\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), - (248,1,'civicrm/ajax/jqCounty',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:8:\"jqCounty\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), - (249,1,'civicrm/group',NULL,'Manage Groups','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:20:\"CRM_Group_Page_Group\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,30,1,1,0,'a:0:{}'), - (250,1,'civicrm/group/search',NULL,'Group Members','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contact_Controller_Search\";','s:8:\"mode=256\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Manage Groups\";s:3:\"url\";s:22:\"/civicrm/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:1:{s:7:\"comment\";s:164:\"Note: group search already respect ACL, so a strict permission at url level is not required. A simple/basic permission like \'access CiviCRM\' could be used. CRM-5417\";}'), - (251,1,'civicrm/group/add',NULL,'New Group','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:11:\"edit groups\";}i:1;s:3:\"and\";}','s:20:\"CRM_Group_Controller\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Manage Groups\";s:3:\"url\";s:22:\"/civicrm/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (252,1,'civicrm/group/edit',NULL,'Edit Group','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:11:\"edit groups\";}i:1;s:3:\"and\";}','s:19:\"CRM_Group_Form_Edit\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Manage Groups\";s:3:\"url\";s:22:\"/civicrm/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (253,1,'civicrm/ajax/grouplist',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Group_Page_AJAX\";i:1;s:12:\"getGroupList\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (254,1,'civicrm/import',NULL,'Import','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contact_Import_Controller\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,400,1,1,0,'a:0:{}'), - (255,1,'civicrm/import/contact',NULL,'Import Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contact_Import_Controller\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:23:\"/civicrm/import?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,410,1,1,0,'a:0:{}'), - (256,1,'civicrm/import/contact/summary',NULL,'Import Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:31:\"CRM_Contact_Import_Form_Summary\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:23:\"/civicrm/import?reset=1\";}i:2;a:2:{s:5:\"title\";s:15:\"Import Contacts\";s:3:\"url\";s:31:\"/civicrm/import/contact?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,410,1,1,0,'a:0:{}'), - (257,1,'civicrm/import/outcome',NULL,'Import results','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:16:\"CRM_Import_Forms\";i:1;s:9:\"outputCSV\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:23:\"/civicrm/import?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (258,1,'civicrm/import/activity',NULL,'Import Activities','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Activity_Import_Controller\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:23:\"/civicrm/import?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,420,1,1,0,'a:0:{}'), - (259,1,'civicrm/import/contribution',NULL,'Import Contributions','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:21:\"access CiviContribute\";i:1;s:18:\"edit contributions\";}i:1;s:3:\"and\";}','s:32:\"CRM_Contribute_Import_Controller\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:23:\"/civicrm/import?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,520,1,1,0,'a:0:{}'), - (260,1,'civicrm/import/custom','id=%%id%%','Import Multi-value Custom Data','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:28:\"CRM_Custom_Import_Controller\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:23:\"/civicrm/import?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,420,1,1,0,'a:0:{}'), - (261,1,'civicrm/ajax/status',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:28:\"CRM_Contact_Import_Page_AJAX\";i:1;s:6:\"status\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (262,1,'civicrm/import/datasource',NULL,'Import','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Import_Form_DataSourceConfig\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:23:\"/civicrm/import?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,450,1,1,0,'a:0:{}'), - (263,1,'civicrm/event/manage/pcp',NULL,'Personal Campaign Pages','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:18:\"CRM_PCP_Form_Event\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:29:\"/civicrm/event/manage?reset=1\";}}',NULL,NULL,1,1,0,1,1,540,1,1,0,'a:0:{}'), - (264,1,'civicrm/event/pcp',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:16:\"CRM_PCP_Form_PCP\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,0,1,1,0,0,'a:0:{}'), - (265,1,'civicrm/event/campaign',NULL,'Setup a Personal Campaign Page - Account Information','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','s:22:\"CRM_PCP_Controller_PCP\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,0,0,1,0,0,'a:0:{}'), - (266,1,'civicrm/event',NULL,'CiviEvent Dashboard','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:24:\"CRM_Event_Page_DashBoard\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,1,1,0,1,0,800,1,1,0,'a:1:{s:9:\"component\";s:9:\"CiviEvent\";}'), - (267,1,'civicrm/participant/add','action=add','Register New Participant','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:18:\"CRM_Event_Page_Tab\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:1:{s:9:\"component\";s:9:\"CiviEvent\";}'), - (268,1,'civicrm/event/info',NULL,'Event Information','s:1:\"1\";','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:24:\"CRM_Event_Page_EventInfo\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,0,1,1,0,0,'a:0:{}'), - (269,1,'civicrm/event/register',NULL,'Event Registration','s:1:\"1\";','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:33:\"CRM_Event_Controller_Registration\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,1,1,1,0,0,'a:0:{}'), - (270,1,'civicrm/event/confirm',NULL,'Confirm Event Registration','s:1:\"1\";','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:46:\"CRM_Event_Form_Registration_ParticipantConfirm\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,1,1,1,0,0,'a:0:{}'), - (271,1,'civicrm/event/ical',NULL,'Current and Upcoming Events','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:15:\"view event info\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Event_ICalendar\";i:1;s:3:\"run\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,0,0,1,0,0,'a:0:{}'), - (272,1,'civicrm/event/list',NULL,'Current and Upcoming Events','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:15:\"view event info\";}i:1;s:3:\"and\";}','s:19:\"CRM_Event_Page_List\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,0,0,1,0,0,'a:0:{}'), - (273,1,'civicrm/event/participant',NULL,'Event Participants List','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"view event participants\";}i:1;s:3:\"and\";}','s:33:\"CRM_Event_Page_ParticipantListing\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,0,0,1,0,0,'a:0:{}'), - (274,1,'civicrm/admin/event',NULL,'Manage Events','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:26:\"CRM_Event_Page_ManageEvent\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,370,1,0,0,'a:2:{s:4:\"desc\";s:136:\"Create and edit event configuration including times, locations, online registration forms, and fees. Links for iCal and RSS syndication.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'), - (275,1,'civicrm/admin/eventTemplate',NULL,'Event Templates','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:28:\"CRM_Admin_Page_EventTemplate\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,375,1,0,0,'a:2:{s:4:\"desc\";s:115:\"Administrators can create Event Templates - which are basically master event records pre-filled with default values\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'), - (276,1,'civicrm/admin/options/event_type',NULL,'Event Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,385,1,0,0,'a:2:{s:4:\"desc\";s:143:\"Use Event Types to categorize your events. Event feeds can be filtered by Event Type and participant searches can use Event Type as a criteria.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'), - (277,1,'civicrm/admin/participant_status',NULL,'Participant Status','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:36:\"CRM_Admin_Page_ParticipantStatusType\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,390,1,0,0,'a:2:{s:4:\"desc\";s:154:\"Define statuses for event participants here (e.g. Registered, Attended, Cancelled...). You can then assign statuses and search for participants by status.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'), - (278,1,'civicrm/admin/options/participant_role',NULL,'Participant Role','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,395,1,0,0,'a:2:{s:4:\"desc\";s:138:\"Define participant roles for events here (e.g. Attendee, Host, Speaker...). You can then assign roles and search for participants by role.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'), - (279,1,'civicrm/admin/options/participant_listing',NULL,'Participant Listing Templates','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,398,1,0,0,'a:2:{s:4:\"desc\";s:48:\"Template to control participant listing display.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'), - (280,1,'civicrm/admin/options/conference_slot',NULL,'Conference Slot Labels','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,415,1,0,0,'a:2:{s:4:\"desc\";s:35:\"Define conference slots and labels.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'), - (281,1,'civicrm/event/search',NULL,'Find Participants','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:27:\"CRM_Event_Controller_Search\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,0,1,0,810,1,1,0,'a:0:{}'), - (282,1,'civicrm/event/manage',NULL,'Manage Events','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:26:\"CRM_Event_Page_ManageEvent\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,0,1,1,820,1,1,0,'a:0:{}'), - (283,1,'civicrm/event/badge',NULL,'Print Event Name Badge','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:25:\"CRM_Event_Form_Task_Badge\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,0,1,0,1,1,0,0,'a:0:{}'), - (284,1,'civicrm/event/manage/settings',NULL,'Event Info and Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:36:\"CRM_Event_Form_ManageEvent_EventInfo\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:29:\"/civicrm/event/manage?reset=1\";}}',NULL,NULL,1,1,0,1,1,910,1,0,0,'a:0:{}'), - (285,1,'civicrm/event/manage/location',NULL,'Event Location','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:35:\"CRM_Event_Form_ManageEvent_Location\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:29:\"/civicrm/event/manage?reset=1\";}}',NULL,NULL,1,1,0,1,1,930,1,0,0,'a:0:{}'), - (286,1,'civicrm/event/manage/fee',NULL,'Event Fees','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:30:\"CRM_Event_Form_ManageEvent_Fee\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:29:\"/civicrm/event/manage?reset=1\";}}',NULL,NULL,1,1,0,1,1,920,1,0,0,'a:0:{}'), - (287,1,'civicrm/event/manage/registration',NULL,'Event Online Registration','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:39:\"CRM_Event_Form_ManageEvent_Registration\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:29:\"/civicrm/event/manage?reset=1\";}}',NULL,NULL,1,1,0,1,1,930,1,0,0,'a:0:{}'), - (288,1,'civicrm/event/manage/friend',NULL,'Tell a Friend','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:21:\"CRM_Friend_Form_Event\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:29:\"/civicrm/event/manage?reset=1\";}}',NULL,NULL,1,1,0,1,1,940,1,0,0,'a:0:{}'), - (289,1,'civicrm/event/manage/reminder',NULL,'Schedule Reminders','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:44:\"CRM_Event_Form_ManageEvent_ScheduleReminders\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:29:\"/civicrm/event/manage?reset=1\";}}',NULL,NULL,1,1,0,1,1,950,1,0,0,'a:0:{}'), - (290,1,'civicrm/event/manage/repeat',NULL,'Repeat Event','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:33:\"CRM_Event_Form_ManageEvent_Repeat\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:29:\"/civicrm/event/manage?reset=1\";}}',NULL,NULL,1,1,0,1,1,960,1,0,0,'a:0:{}'), - (291,1,'civicrm/event/manage/conference',NULL,'Conference Slots','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:37:\"CRM_Event_Form_ManageEvent_Conference\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:29:\"/civicrm/event/manage?reset=1\";}}',NULL,NULL,1,1,0,1,1,950,1,0,0,'a:0:{}'), - (292,1,'civicrm/event/add','action=add','New Event','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:36:\"CRM_Event_Form_ManageEvent_EventInfo\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,0,1,0,830,1,0,0,'a:0:{}'), - (293,1,'civicrm/event/import',NULL,'Import Participants','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:16:\"access CiviEvent\";i:1;s:23:\"edit event participants\";}i:1;s:3:\"and\";}','s:27:\"CRM_Event_Import_Controller\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,0,1,0,840,1,1,0,'a:0:{}'), - (294,1,'civicrm/event/price',NULL,'Manage Price Sets','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:18:\"CRM_Price_Page_Set\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,0,1,0,850,1,1,0,'a:0:{}'), - (295,1,'civicrm/event/selfsvcupdate',NULL,'Self-service Registration Update','s:1:\"1\";','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:28:\"CRM_Event_Form_SelfSvcUpdate\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,0,880,1,1,0,'a:0:{}'), - (296,1,'civicrm/event/selfsvctransfer',NULL,'Self-service Registration Transfer','s:1:\"1\";','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:30:\"CRM_Event_Form_SelfSvcTransfer\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,0,890,1,1,0,'a:0:{}'), - (297,1,'civicrm/contact/view/participant',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:18:\"CRM_Event_Page_Tab\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,4,1,0,0,'a:0:{}'), - (298,1,'civicrm/ajax/eventFee',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Event_Page_AJAX\";i:1;s:8:\"eventFee\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (299,1,'civicrm/ajax/locBlock',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:11:\"getLocBlock\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (300,1,'civicrm/event/participant/feeselection',NULL,'Change Registration Selections','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:38:\"CRM_Event_Form_ParticipantFeeSelection\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:23:\"Event Participants List\";s:3:\"url\";s:34:\"/civicrm/event/participant?reset=1\";}}',NULL,NULL,1,1,0,1,0,1,1,0,0,'a:0:{}'), - (301,1,'civicrm/admin/contribute/pcp',NULL,'Personal Campaign Pages','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:23:\"CRM_PCP_Form_Contribute\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,450,1,0,0,'a:0:{}'), - (302,1,'civicrm/contribute/campaign',NULL,'Setup a Personal Campaign Page - Account Information','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','s:22:\"CRM_PCP_Controller_PCP\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,1,1,0,0,1,0,0,'a:0:{}'), - (303,1,'civicrm/contribute',NULL,'CiviContribute Dashboard','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contribute_Page_DashBoard\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,2,1,0,1,0,500,1,1,0,'a:1:{s:9:\"component\";s:14:\"CiviContribute\";}'), - (304,1,'civicrm/contribute/add','action=add','New Contribution','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:23:\"CRM_Contribute_Page_Tab\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,1,0,'a:1:{s:9:\"component\";s:14:\"CiviContribute\";}'), - (305,1,'civicrm/contribute/chart',NULL,'Contribution Summary - Chart View','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:38:\"CRM_Contribute_Form_ContributionCharts\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:1:{s:9:\"component\";s:14:\"CiviContribute\";}'), - (306,1,'civicrm/contribute/transact',NULL,'CiviContribute','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','s:38:\"CRM_Contribute_Controller_Contribution\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,1,1,1,0,1,0,0,'a:0:{}'), - (307,1,'civicrm/admin/contribute',NULL,'Manage Contribution Pages','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:36:\"CRM_Contribute_Page_ContributionPage\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,360,1,0,0,'a:2:{s:4:\"desc\";s:242:\"CiviContribute allows you to create and maintain any number of Online Contribution Pages. You can create different pages for different programs or campaigns - and customize text, amounts, types of information collected from contributors, etc.\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'), - (308,1,'civicrm/admin/contribute/settings',NULL,'Title and Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:45:\"CRM_Contribute_Form_ContributionPage_Settings\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,400,1,0,0,'a:0:{}'), - (309,1,'civicrm/admin/contribute/amount',NULL,'Contribution Amounts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:43:\"CRM_Contribute_Form_ContributionPage_Amount\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,410,1,0,0,'a:0:{}'), - (310,1,'civicrm/admin/contribute/membership',NULL,'Membership Section','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:31:\"CRM_Member_Form_MembershipBlock\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,420,1,0,0,'a:0:{}'), - (311,1,'civicrm/admin/contribute/custom',NULL,'Include Profiles','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:43:\"CRM_Contribute_Form_ContributionPage_Custom\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,430,1,0,0,'a:0:{}'), - (312,1,'civicrm/admin/contribute/thankyou',NULL,'Thank-you and Receipting','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:45:\"CRM_Contribute_Form_ContributionPage_ThankYou\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,430,1,0,0,'a:0:{}'), - (313,1,'civicrm/admin/contribute/friend',NULL,'Tell a Friend','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Friend_Form_Contribute\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,440,1,0,0,'a:0:{}'), - (314,1,'civicrm/admin/contribute/widget',NULL,'Configure Widget','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:43:\"CRM_Contribute_Form_ContributionPage_Widget\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,460,1,0,0,'a:0:{}'), - (315,1,'civicrm/admin/contribute/premium',NULL,'Premiums','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:44:\"CRM_Contribute_Form_ContributionPage_Premium\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,470,1,0,0,'a:0:{}'), - (316,1,'civicrm/admin/contribute/addProductToPage',NULL,'Add Products to This Page','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:47:\"CRM_Contribute_Form_ContributionPage_AddProduct\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,480,1,0,0,'a:0:{}'), - (317,1,'civicrm/admin/contribute/add','action=add','New Contribution Page','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:42:\"CRM_Contribute_Controller_ContributionPage\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (318,1,'civicrm/admin/contribute/managePremiums',NULL,'Manage Premiums','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:34:\"CRM_Contribute_Page_ManagePremiums\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,365,1,0,0,'a:2:{s:4:\"desc\";s:175:\"CiviContribute allows you to configure any number of Premiums which can be offered to contributors as incentives / thank-you gifts. Define the premiums you want to offer here.\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'), - (319,1,'civicrm/admin/financial/financialType',NULL,'Financial Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Financial_Page_FinancialType\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,580,1,0,0,'a:2:{s:4:\"desc\";s:64:\"Formerly civicrm_contribution_type merged into this table in 4.1\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'), - (320,1,'civicrm/admin/financial/financialType/edit',NULL,'Edit Financial Type','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Financial_Form_FinancialType\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:15:\"Financial Types\";s:3:\"url\";s:46:\"/civicrm/admin/financial/financialType?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (321,1,'civicrm/payment','action=add','New Payment','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:37:\"CRM_Contribute_Form_AdditionalPayment\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,1,0,'a:1:{s:9:\"component\";s:14:\"CiviContribute\";}'), - (322,1,'civicrm/admin/financial/financialAccount',NULL,'Financial Accounts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:35:\"CRM_Financial_Page_FinancialAccount\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,370,1,0,0,'a:2:{s:4:\"desc\";s:128:\"Financial types are used to categorize contributions for reporting and accounting purposes. These are also referred to as Funds.\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'), - (323,1,'civicrm/admin/financial/financialAccount/edit',NULL,'Edit Financial Accounts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:35:\"CRM_Financial_Form_FinancialAccount\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:18:\"Financial Accounts\";s:3:\"url\";s:49:\"/civicrm/admin/financial/financialAccount?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), - (324,1,'civicrm/admin/options/payment_instrument',NULL,'Payment Methods','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,380,1,0,0,'a:2:{s:4:\"desc\";s:224:\"You may choose to record the payment instrument used for each contribution. Common payment methods are installed by default (e.g. Check, Cash, Credit Card...). If your site requires additional payment methods, add them here.\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'), - (325,1,'civicrm/admin/options/accept_creditcard',NULL,'Accepted Credit Cards','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,395,1,0,0,'a:2:{s:4:\"desc\";s:94:\"Credit card options that will be offered to contributors using your Online Contribution pages.\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'), - (326,1,'civicrm/admin/options/soft_credit_type',NULL,'Soft Credit Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:2:{s:4:\"desc\";s:86:\"Soft Credit Types that will be offered to contributors during soft credit contribution\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'), - (327,1,'civicrm/contact/view/contribution',NULL,'Contributions','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:23:\"CRM_Contribute_Page_Tab\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (328,1,'civicrm/contact/view/contributionrecur',NULL,'Recurring Contributions','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:37:\"CRM_Contribute_Page_ContributionRecur\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (329,1,'civicrm/contact/view/contribution/additionalinfo',NULL,'Additional Info','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:34:\"CRM_Contribute_Form_AdditionalInfo\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}i:2;a:2:{s:5:\"title\";s:13:\"Contributions\";s:3:\"url\";s:42:\"/civicrm/contact/view/contribution?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (330,1,'civicrm/contribute/search',NULL,'Find Contributions','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:32:\"CRM_Contribute_Controller_Search\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,510,1,1,0,'a:0:{}'), - (331,1,'civicrm/contribute/searchBatch',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:37:\"CRM_Contribute_Controller_SearchBatch\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,588,1,1,0,'a:0:{}'), - (332,1,'civicrm/contribute/manage',NULL,'Manage Contribution Pages','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:36:\"CRM_Contribute_Page_ContributionPage\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,530,1,1,0,'a:0:{}'), - (333,1,'civicrm/contribute/additionalinfo',NULL,'AdditionalInfo Form','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:34:\"CRM_Contribute_Form_AdditionalInfo\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,0,1,0,0,'a:0:{}'), - (334,1,'civicrm/ajax/permlocation',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:23:\"getPermissionedLocation\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (335,1,'civicrm/contribute/unsubscribe',NULL,'Cancel Subscription','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','s:38:\"CRM_Contribute_Form_CancelSubscription\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:0:{}'), - (336,1,'civicrm/contribute/onbehalf',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','s:43:\"CRM_Contribute_Form_Contribution_OnBehalfOf\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:0:{}'), - (337,1,'civicrm/contribute/updatebilling',NULL,'Update Billing Details','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','s:33:\"CRM_Contribute_Form_UpdateBilling\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:0:{}'), - (338,1,'civicrm/contribute/updaterecur',NULL,'Update Subscription','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','s:38:\"CRM_Contribute_Form_UpdateSubscription\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:0:{}'), - (339,1,'civicrm/contribute/subscriptionstatus',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','s:38:\"CRM_Contribute_Page_SubscriptionStatus\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:0:{}'), - (340,1,'civicrm/admin/financial/financialType/accounts',NULL,'Financial Type Accounts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:39:\"CRM_Financial_Page_FinancialTypeAccount\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:15:\"Financial Types\";s:3:\"url\";s:46:\"/civicrm/admin/financial/financialType?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,581,1,0,0,'a:0:{}'), - (341,1,'civicrm/financial/batch',NULL,'Accounting Batch','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:19:\"create manual batch\";}i:1;s:3:\"and\";}','s:33:\"CRM_Financial_Page_FinancialBatch\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,585,1,0,0,'a:0:{}'), - (342,1,'civicrm/financial/financialbatches',NULL,'Accounting Batches','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:24:\"CRM_Financial_Page_Batch\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,586,1,0,0,'a:0:{}'), - (343,1,'civicrm/batchtransaction',NULL,'Accounting Batch','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:35:\"CRM_Financial_Page_BatchTransaction\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,600,1,0,0,'a:0:{}'), - (344,1,'civicrm/financial/batch/export',NULL,'Accounting Batch Export','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:19:\"create manual batch\";}i:1;s:3:\"and\";}','s:25:\"CRM_Financial_Form_Export\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Accounting Batch\";s:3:\"url\";s:32:\"/civicrm/financial/batch?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,610,1,0,0,'a:0:{}'), - (345,1,'civicrm/payment/view','action=view','View Payment','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:31:\"CRM_Contribute_Page_PaymentInfo\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:39:\"/civicrm/payment?reset=1&action=add\";}}',NULL,NULL,2,1,0,1,0,1,1,1,0,'a:1:{s:9:\"component\";s:14:\"CiviContribute\";}'), - (346,1,'civicrm/admin/setting/preferences/contribute',NULL,'CiviContribute Component Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:21:\"access CiviContribute\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}','s:37:\"CRM_Admin_Form_Preferences_Contribute\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:2:{s:4:\"desc\";s:42:\"Configure global CiviContribute behaviors.\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'), - (347,1,'civicrm/contribute/invoice',NULL,'PDF Invoice','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:20:\"checkDownloadInvoice\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','a:2:{i:0;s:32:\"CRM_Contribute_Form_Task_Invoice\";i:1;s:11:\"getPrintPDF\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,620,1,1,0,'a:1:{s:9:\"component\";s:14:\"CiviContribute\";}'), - (348,1,'civicrm/contribute/invoice/email',NULL,'Email Invoice','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:20:\"checkDownloadInvoice\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:32:\"CRM_Contribute_Form_Task_Invoice\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"PDF Invoice\";s:3:\"url\";s:35:\"/civicrm/contribute/invoice?reset=1\";}}',NULL,NULL,2,1,0,1,0,630,1,1,0,'a:1:{s:9:\"component\";s:14:\"CiviContribute\";}'), - (349,1,'civicrm/ajax/softcontributionlist',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:24:\"CRM_Contribute_Page_AJAX\";i:1;s:23:\"getSoftContributionRows\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (350,1,'civicrm/contribute/contributionrecur-payments',NULL,'Recurring Contribution\'s Payments','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:45:\"CRM_Contribute_Page_ContributionRecurPayments\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:0:{}'), - (351,1,'civicrm/membership/recurring-contributions',NULL,'Membership Recurring Contributions','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:38:\"CRM_Member_Page_RecurringContributions\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), - (352,1,'civicrm/contribute/widget',NULL,'CiviContribute','s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:26:\"CRM_Contribute_Page_Widget\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,1,1,0,0,1,0,0,'a:0:{}'), - (353,1,'civicrm/contribute/task',NULL,'Contribution Task','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:30:\"CRM_Contribute_Controller_Task\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:0:{}'), + (1,1,'civicrm/ajax/api4',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Api4_Permission\";i:1;s:5:\"check\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:18:\"CRM_Api4_Page_AJAX\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (2,1,'civicrm/api4',NULL,'CiviCRM','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Api4_Page_Api4Explorer\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (3,1,'civicrm/import',NULL,'Import','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contact_Import_Controller\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,400,1,1,0,'a:0:{}'), + (4,1,'civicrm/import/contact',NULL,'Import Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contact_Import_Controller\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:23:\"/civicrm/import?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,410,1,1,0,'a:0:{}'), + (5,1,'civicrm/import/contact/summary',NULL,'Import Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:31:\"CRM_Contact_Import_Form_Summary\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:23:\"/civicrm/import?reset=1\";}i:2;a:2:{s:5:\"title\";s:15:\"Import Contacts\";s:3:\"url\";s:31:\"/civicrm/import/contact?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,410,1,1,0,'a:0:{}'), + (6,1,'civicrm/import/outcome',NULL,'Import results','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:16:\"CRM_Import_Forms\";i:1;s:9:\"outputCSV\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:23:\"/civicrm/import?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (7,1,'civicrm/import/activity',NULL,'Import Activities','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Activity_Import_Controller\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:23:\"/civicrm/import?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,420,1,1,0,'a:0:{}'), + (8,1,'civicrm/import/contribution',NULL,'Import Contributions','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:21:\"access CiviContribute\";i:1;s:18:\"edit contributions\";}i:1;s:3:\"and\";}','s:32:\"CRM_Contribute_Import_Controller\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:23:\"/civicrm/import?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,520,1,1,0,'a:0:{}'), + (9,1,'civicrm/import/custom','id=%%id%%','Import Multi-value Custom Data','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:28:\"CRM_Custom_Import_Controller\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:23:\"/civicrm/import?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,420,1,1,0,'a:0:{}'), + (10,1,'civicrm/ajax/status',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:15:\"import contacts\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:28:\"CRM_Contact_Import_Page_AJAX\";i:1;s:6:\"status\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (11,1,'civicrm/import/datasource',NULL,'Import','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Import_Form_DataSourceConfig\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:6:\"Import\";s:3:\"url\";s:23:\"/civicrm/import?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,450,1,1,0,'a:0:{}'), + (12,1,'civicrm/custom/add',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Custom_Form_CustomData\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (13,1,'civicrm/ajax/optionlist',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:20:\"CRM_Custom_Page_AJAX\";i:1;s:13:\"getOptionList\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (14,1,'civicrm/ajax/reorder',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:20:\"CRM_Custom_Page_AJAX\";i:1;s:11:\"fixOrdering\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (15,1,'civicrm/ajax/multirecordfieldlist',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:20:\"CRM_Custom_Page_AJAX\";i:1;s:23:\"getMultiRecordFieldList\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (16,1,'civicrm/group',NULL,'Manage Groups','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:20:\"CRM_Group_Page_Group\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,30,1,1,0,'a:0:{}'), + (17,1,'civicrm/group/search',NULL,'Group Members','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contact_Controller_Search\";','s:8:\"mode=256\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Manage Groups\";s:3:\"url\";s:22:\"/civicrm/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:1:{s:7:\"comment\";s:164:\"Note: group search already respect ACL, so a strict permission at url level is not required. A simple/basic permission like \'access CiviCRM\' could be used. CRM-5417\";}'), + (18,1,'civicrm/group/add',NULL,'New Group','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:11:\"edit groups\";}i:1;s:3:\"and\";}','s:20:\"CRM_Group_Controller\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Manage Groups\";s:3:\"url\";s:22:\"/civicrm/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (19,1,'civicrm/group/edit',NULL,'Edit Group','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:11:\"edit groups\";}i:1;s:3:\"and\";}','s:19:\"CRM_Group_Form_Edit\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Manage Groups\";s:3:\"url\";s:22:\"/civicrm/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (20,1,'civicrm/ajax/grouplist',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Group_Page_AJAX\";i:1;s:12:\"getGroupList\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (21,1,'civicrm/tag',NULL,'Tags','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:11:\"manage tags\";}i:1;s:2:\"or\";}','s:16:\"CRM_Tag_Page_Tag\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,25,1,0,0,'a:2:{s:4:\"desc\";s:158:\"Tags are useful for segmenting the contacts in your database into categories (e.g. Staff Member, Donor, Volunteer, etc.). Create and edit available tags here.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (22,1,'civicrm/tag/edit','action=add','New Tag','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:11:\"manage tags\";}i:1;s:2:\"or\";}','s:17:\"CRM_Tag_Form_Edit\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:4:\"Tags\";s:3:\"url\";s:20:\"/civicrm/tag?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (23,1,'civicrm/tag/merge',NULL,'Merge Tags','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:11:\"manage tags\";}i:1;s:2:\"or\";}','s:18:\"CRM_Tag_Form_Merge\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:4:\"Tags\";s:3:\"url\";s:20:\"/civicrm/tag?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (24,1,'civicrm/ajax/tagTree',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:11:\"manage tags\";}i:1;s:2:\"or\";}','a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:10:\"getTagTree\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (25,1,'civicrm/payment/form',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:26:\"CRM_Financial_Form_Payment\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:39:\"/civicrm/payment?reset=1&action=add\";}}',NULL,NULL,2,1,1,1,0,0,1,0,0,'a:0:{}'), + (26,1,'civicrm/payment/edit',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:30:\"CRM_Financial_Form_PaymentEdit\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:39:\"/civicrm/payment?reset=1&action=add\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:1:{s:9:\"component\";s:14:\"CiviContribute\";}'), + (27,1,'civicrm',NULL,'CiviCRM','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Contact_Page_DashBoard\";',NULL,'a:0:{}',NULL,NULL,NULL,1,0,1,0,0,1,0,0,'a:0:{}'), + (28,1,'civicrm/dashboard',NULL,'CiviCRM Home','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Contact_Page_DashBoard\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,0,1,1,0,'a:0:{}'), + (29,1,'civicrm/contact/search',NULL,'Find Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contact_Controller_Search\";','s:8:\"mode=256\";','a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,10,1,1,0,'a:0:{}'), + (30,1,'civicrm/contact/image',NULL,'Process Uploaded Images','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access uploaded files\";}i:1;s:3:\"and\";}','a:2:{i:0;s:23:\"CRM_Contact_BAO_Contact\";i:1;s:12:\"processImage\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (31,1,'civicrm/contact/imagefile',NULL,'Get Image File','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"*always allow*\";}i:1;s:3:\"and\";}','s:26:\"CRM_Contact_Page_ImageFile\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (32,1,'civicrm/contact/search/basic',NULL,'Find Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contact_Controller_Search\";','s:8:\"mode=256\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:31:\"/civicrm/contact/search?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (33,1,'civicrm/contact/search/advanced',NULL,'Advanced Search','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contact_Controller_Search\";','s:8:\"mode=512\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:31:\"/civicrm/contact/search?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,12,1,1,0,'a:0:{}'), + (34,1,'civicrm/contact/search/builder',NULL,'Search Builder','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contact_Controller_Search\";','s:9:\"mode=8192\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:31:\"/civicrm/contact/search?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,14,1,1,0,'a:0:{}'), + (35,1,'civicrm/contact/add',NULL,'New Contact','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:24:\"CRM_Contact_Form_Contact\";','s:13:\"addSequence=1\";','a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (36,1,'civicrm/contact/add/individual','ct=Individual','New Individual','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:12:\"add contacts\";}i:1;s:3:\"and\";}','s:24:\"CRM_Contact_Form_Contact\";','s:13:\"addSequence=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:28:\"/civicrm/contact/add?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (37,1,'civicrm/contact/add/household','ct=Household','New Household','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:12:\"add contacts\";}i:1;s:3:\"and\";}','s:24:\"CRM_Contact_Form_Contact\";','s:13:\"addSequence=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:28:\"/civicrm/contact/add?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (38,1,'civicrm/contact/add/organization','ct=Organization','New Organization','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:12:\"add contacts\";}i:1;s:3:\"and\";}','s:24:\"CRM_Contact_Form_Contact\";','s:13:\"addSequence=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Contact\";s:3:\"url\";s:28:\"/civicrm/contact/add?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (39,1,'civicrm/contact/relatedcontact',NULL,'Edit Related Contact','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:24:\"access Contact Dashboard\";}i:1;s:3:\"and\";}','s:31:\"CRM_Contact_Form_RelatedContact\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), + (40,1,'civicrm/contact/merge',NULL,'Merge Contact','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}','s:22:\"CRM_Contact_Form_Merge\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (41,1,'civicrm/contact/email',NULL,'Email a Contact','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Contact_Form_Task_Email\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (42,1,'civicrm/contact/map',NULL,'Map Location(s)','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Contact_Form_Task_Map\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), + (43,1,'civicrm/contact/map/event',NULL,'Map Event Location','s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:31:\"CRM_Contact_Form_Task_Map_Event\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Map Location(s)\";s:3:\"url\";s:28:\"/civicrm/contact/map?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), + (44,1,'civicrm/contact/view','cid=%%cid%%','Contact Summary','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:29:\"CRM_Contact_Page_View_Summary\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (45,1,'civicrm/contact/view/delete',NULL,'Delete Contact','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:28:\"CRM_Contact_Form_Task_Delete\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (46,1,'civicrm/contact/view/activity','show=1,cid=%%cid%%','Activities','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:21:\"CRM_Activity_Page_Tab\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (47,1,'civicrm/activity/add','action=add','Activities','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Activity_Form_Activity\";','s:14:\"attachUpload=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&action=add&context=standalone\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (48,1,'civicrm/activity/email/add','action=add','Activities','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Contact_Form_Task_Email\";','s:14:\"attachUpload=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&action=add&context=standalone\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (49,1,'civicrm/activity/pdf/add','action=add','Activities','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Contact_Form_Task_PDF\";','s:14:\"attachUpload=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&action=add&context=standalone\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (50,1,'civicrm/contact/view/rel','cid=%%cid%%','Relationships','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:34:\"CRM_Contact_Page_View_Relationship\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (51,1,'civicrm/contact/view/group','cid=%%cid%%','Groups','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:34:\"CRM_Contact_Page_View_GroupContact\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (52,1,'civicrm/contact/view/smartgroup','cid=%%cid%%','Smart Groups','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:39:\"CRM_Contact_Page_View_ContactSmartGroup\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (53,1,'civicrm/contact/view/note','cid=%%cid%%','Notes','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:26:\"CRM_Contact_Page_View_Note\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (54,1,'civicrm/contact/view/tag','cid=%%cid%%','Tags','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:25:\"CRM_Contact_Page_View_Tag\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (55,1,'civicrm/contact/view/cd',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:32:\"CRM_Contact_Page_View_CustomData\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (56,1,'civicrm/contact/view/cd/edit',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:27:\"CRM_Contact_Form_CustomData\";','s:13:\"addSequence=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (57,1,'civicrm/contact/view/vcard',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:27:\"CRM_Contact_Page_View_Vcard\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (58,1,'civicrm/contact/view/print',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:27:\"CRM_Contact_Page_View_Print\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (59,1,'civicrm/contact/view/log',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:25:\"CRM_Contact_Page_View_Log\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (60,1,'civicrm/user',NULL,'Contact Dashboard','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:24:\"access Contact Dashboard\";}i:1;s:3:\"and\";}','s:35:\"CRM_Contact_Page_View_UserDashBoard\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,0,1,0,0,'a:0:{}'), + (61,1,'civicrm/dashlet/activity',NULL,'Activity Dashlet','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Dashlet_Page_Activity\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (62,1,'civicrm/dashlet/blog',NULL,'CiviCRM Blog','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Dashlet_Page_Blog\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (63,1,'civicrm/dashlet/getting-started',NULL,'CiviCRM Resources','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:31:\"CRM_Dashlet_Page_GettingStarted\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (64,1,'civicrm/ajax/relation',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:12:\"relationship\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,3,0,'a:0:{}'), + (65,1,'civicrm/ajax/groupTree',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"groupTree\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (66,1,'civicrm/ajax/custom',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:11:\"customField\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (67,1,'civicrm/ajax/customvalue',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:17:\"deleteCustomValue\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,3,0,'a:0:{}'), + (68,1,'civicrm/ajax/cmsuser',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:13:\"checkUserName\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (69,1,'civicrm/ajax/checkemail',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:15:\"getContactEmail\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (70,1,'civicrm/ajax/checkphone',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:15:\"getContactPhone\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (71,1,'civicrm/ajax/subtype',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:13:\"buildSubTypes\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (72,1,'civicrm/ajax/signature',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:12:\"getSignature\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (73,1,'civicrm/ajax/pdfFormat',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"pdfFormat\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (74,1,'civicrm/ajax/paperSize',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:9:\"paperSize\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (75,1,'civicrm/ajax/contactref',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:31:\"access contact reference fields\";i:1;s:15:\" access CiviCRM\";}i:1;s:2:\"or\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:16:\"contactReference\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (76,1,'civicrm/dashlet/myCases',NULL,'Case Dashlet','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:24:\"CRM_Dashlet_Page_MyCases\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (77,1,'civicrm/dashlet/allCases',NULL,'All Cases Dashlet','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:31:\"access all cases and activities\";}i:1;s:3:\"and\";}','s:25:\"CRM_Dashlet_Page_AllCases\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (78,1,'civicrm/dashlet/casedashboard',NULL,'Case Dashboard Dashlet','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Dashlet_Page_CaseDashboard\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (79,1,'civicrm/contact/deduperules',NULL,'Find and Merge Duplicate Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:23:\"administer dedupe rules\";i:1;s:24:\"merge duplicate contacts\";}i:1;s:2:\"or\";}','s:28:\"CRM_Contact_Page_DedupeRules\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,105,1,0,0,'a:2:{s:4:\"desc\";s:158:\"Manage the rules used to identify potentially duplicate contact records. Scan for duplicates using a selected rule and merge duplicate contact data as needed.\";s:10:\"adminGroup\";s:6:\"Manage\";}'), + (80,1,'civicrm/contact/dedupefind',NULL,'Find and Merge Duplicate Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}','s:27:\"CRM_Contact_Page_DedupeFind\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (81,1,'civicrm/ajax/dedupefind',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:10:\"getDedupes\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (82,1,'civicrm/contact/dedupemerge',NULL,'Batch Merge Duplicate Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}','s:28:\"CRM_Contact_Page_DedupeMerge\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (83,1,'civicrm/dedupe/exception',NULL,'Dedupe Exceptions','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Contact_Page_DedupeException\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,110,1,0,0,'a:1:{s:10:\"adminGroup\";s:6:\"Manage\";}'), + (84,1,'civicrm/ajax/dedupeRules',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:16:\"buildDedupeRules\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (85,1,'civicrm/contact/view/useradd','cid=%%cid%%','Add User','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:29:\"CRM_Contact_Page_View_Useradd\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (86,1,'civicrm/ajax/markSelection',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:22:\"selectUnselectContacts\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (87,1,'civicrm/ajax/toggleDedupeSelect',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:18:\"toggleDedupeSelect\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (88,1,'civicrm/ajax/flipDupePairs',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:24:\"merge duplicate contacts\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:13:\"flipDupePairs\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (89,1,'civicrm/activity/sms/add','action=add','Activities','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:8:\"send SMS\";}i:1;s:3:\"and\";}','s:25:\"CRM_Contact_Form_Task_SMS\";','s:14:\"attachUpload=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&action=add&context=standalone\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (90,1,'civicrm/ajax/contactrelationships',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"view my contact\";}i:1;s:2:\"or\";}','a:2:{i:0;s:21:\"CRM_Contact_Page_AJAX\";i:1;s:23:\"getContactRelationships\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (91,1,'civicrm/pcp',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:16:\"CRM_PCP_Form_PCP\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), + (92,1,'civicrm/pcp/campaign',NULL,'Setup a Personal Campaign Page - Account Information','s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','s:22:\"CRM_PCP_Controller_PCP\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,0,1,0,0,'a:0:{}'), + (93,1,'civicrm/pcp/info',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:20:\"CRM_PCP_Page_PCPInfo\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), + (94,1,'civicrm/admin/pcp','context=contribute','Personal Campaign Pages','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:16:\"CRM_PCP_Page_PCP\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,362,1,0,0,'a:2:{s:4:\"desc\";s:49:\"View and manage existing personal campaign pages.\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'), + (95,1,'civicrm/activity','action=add&context=standalone','New Activity','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Activity_Form_Activity\";','s:14:\"attachUpload=1\";','a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (96,1,'civicrm/activity/view',NULL,'View Activity','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Activity_Form_ActivityView\";','s:14:\"attachUpload=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&action=add&context=standalone\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (97,1,'civicrm/ajax/activity',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:15:\"getCaseActivity\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (98,1,'civicrm/ajax/globalrelationships',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:26:\"getCaseGlobalRelationships\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (99,1,'civicrm/ajax/clientrelationships',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:26:\"getCaseClientRelationships\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (100,1,'civicrm/ajax/caseroles',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:12:\"getCaseRoles\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (101,1,'civicrm/ajax/contactactivity',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:18:\"getContactActivity\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (102,1,'civicrm/ajax/activity/convert',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:22:\"CRM_Activity_Page_AJAX\";i:1;s:21:\"convertToCaseActivity\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,3,0,'a:0:{}'), + (103,1,'civicrm/activity/search',NULL,'Find Activities','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Activity_Controller_Search\";','s:14:\"attachUpload=1\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:12:\"New Activity\";s:3:\"url\";s:63:\"/civicrm/activity?reset=1&action=add&context=standalone\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (104,1,'civicrm/custom',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Custom_Form_CustomDataByType\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (105,1,'civicrm/profile',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:23:\"CRM_Profile_Page_Router\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,0,1,0,0,'a:0:{}'), + (106,1,'civicrm/profile/create',NULL,'CiviCRM Profile Create','s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:23:\"CRM_Profile_Page_Router\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,0,1,0,0,'a:0:{}'), + (107,1,'civicrm/profile/view',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Profile_Page_View\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), + (108,1,'civicrm/ajax/jqState',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:7:\"jqState\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), + (109,1,'civicrm/ajax/jqCounty',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:8:\"jqCounty\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), + (110,1,'civicrm/admin/custom/group',NULL,'Custom Data','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:21:\"CRM_Custom_Page_Group\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,10,1,0,0,'a:2:{s:4:\"desc\";s:109:\"Configure custom fields to collect and store custom data which is not included in the standard CiviCRM forms.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (111,1,'civicrm/admin/custom/group/edit',NULL,'Configure Custom Set','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:21:\"CRM_Custom_Form_Group\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (112,1,'civicrm/admin/custom/group/preview',NULL,'Custom Field Preview','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:23:\"CRM_Custom_Form_Preview\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (113,1,'civicrm/admin/custom/group/delete',NULL,'Delete Custom Set','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:27:\"CRM_Custom_Form_DeleteGroup\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (114,1,'civicrm/admin/custom/group/field',NULL,'Custom Data Fields','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:21:\"CRM_Custom_Page_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,11,1,0,0,'a:0:{}'), + (115,1,'civicrm/admin/custom/group/field/delete',NULL,'Delete Custom Field','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:27:\"CRM_Custom_Form_DeleteField\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (116,1,'civicrm/admin/custom/group/field/option',NULL,'Custom Field - Options','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:22:\"CRM_Custom_Page_Option\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (117,1,'civicrm/admin/custom/group/field/add',NULL,'Custom Field - Add','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:21:\"CRM_Custom_Form_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (118,1,'civicrm/admin/custom/group/field/update',NULL,'Custom Field - Edit','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:21:\"CRM_Custom_Form_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (119,1,'civicrm/admin/custom/group/field/move',NULL,'Custom Field - Move','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"administer CiviCRM data\";}i:1;s:3:\"and\";}','s:25:\"CRM_Custom_Form_MoveField\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"Custom Data\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (120,1,'civicrm/admin/uf/group',NULL,'Profiles','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Page_Group\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,20,1,0,0,'a:2:{s:4:\"desc\";s:151:\"Profiles allow you to aggregate groups of fields and include them in your site as input forms, contact display pages, and search and listings features.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (121,1,'civicrm/admin/uf/group/preview',NULL,'Preview','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:19:\"CRM_UF_Form_Preview\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (122,1,'civicrm/admin/uf/group/field',NULL,'CiviCRM Profile Fields','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Page_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,21,1,0,0,'a:0:{}'), + (123,1,'civicrm/admin/uf/group/field/add',NULL,'Add Field','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Form_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,22,1,0,0,'a:0:{}'), + (124,1,'civicrm/admin/uf/group/field/update',NULL,'Edit Field','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Form_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,23,1,0,0,'a:0:{}'), + (125,1,'civicrm/admin/uf/group/add',NULL,'New CiviCRM Profile','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Form_Group\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,24,1,0,0,'a:0:{}'), + (126,1,'civicrm/admin/uf/group/update',NULL,'Profile Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:17:\"CRM_UF_Form_Group\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,25,1,0,0,'a:0:{}'), + (127,1,'civicrm/admin/uf/group/setting',NULL,'AdditionalInfo Form','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_UF_Form_AdvanceSetting\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,0,1,0,0,'a:0:{}'), + (128,1,'civicrm/admin/options/activity_type',NULL,'Activity Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,30,1,0,0,'a:2:{s:4:\"desc\";s:155:\"CiviCRM has several built-in activity types (meetings, phone calls, emails sent). Track other types of interactions by creating custom activity types here.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (129,1,'civicrm/admin/reltype',NULL,'Relationship Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:31:\"CRM_Admin_Page_RelationshipType\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,35,1,0,0,'a:2:{s:4:\"desc\";s:148:\"Contacts can be linked to each other through Relationships (e.g. Spouse, Employer, etc.). Define the types of relationships you want to record here.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (130,1,'civicrm/admin/reltype/edit',NULL,'Edit Relationship Type','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:31:\"CRM_Admin_Form_RelationshipType\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:18:\"Relationship Types\";s:3:\"url\";s:30:\"/civicrm/admin/reltype?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (131,1,'civicrm/admin/options/subtype',NULL,'Contact Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Admin_Page_ContactType\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,40,1,0,0,'a:1:{s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (132,1,'civicrm/admin/options/subtype/edit',NULL,'Edit Contact Type','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Admin_Form_ContactType\";',NULL,'a:4:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}i:3;a:2:{s:5:\"title\";s:13:\"Contact Types\";s:3:\"url\";s:38:\"/civicrm/admin/options/subtype?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (133,1,'civicrm/admin/options/gender',NULL,'Gender Options','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,45,1,0,0,'a:2:{s:4:\"desc\";s:79:\"Options for assigning gender to individual contacts (e.g. Male, Female, Other).\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (134,1,'civicrm/admin/options/individual_prefix',NULL,'Individual Prefixes (Ms, Mr...)','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,50,1,0,0,'a:2:{s:4:\"desc\";s:66:\"Options for individual contact prefixes (e.g. Ms., Mr., Dr. etc.).\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (135,1,'civicrm/admin/options/individual_suffix',NULL,'Individual Suffixes (Jr, Sr...)','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,55,1,0,0,'a:2:{s:4:\"desc\";s:61:\"Options for individual contact suffixes (e.g. Jr., Sr. etc.).\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (136,1,'civicrm/admin/locationType',NULL,'Location Types (Home, Work...)','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Page_LocationType\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,60,1,0,0,'a:2:{s:4:\"desc\";s:94:\"Options for categorizing contact addresses and phone numbers (e.g. Home, Work, Billing, etc.).\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (137,1,'civicrm/admin/locationType/edit',NULL,'Edit Location Type','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Form_LocationType\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:30:\"Location Types (Home, Work...)\";s:3:\"url\";s:35:\"/civicrm/admin/locationType?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (138,1,'civicrm/admin/options/website_type',NULL,'Website Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,65,1,0,0,'a:2:{s:4:\"desc\";s:48:\"Options for assigning website types to contacts.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (139,1,'civicrm/admin/options/instant_messenger_service',NULL,'Instant Messenger Services','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,70,1,0,0,'a:2:{s:4:\"desc\";s:79:\"List of IM services which can be used when recording screen-names for contacts.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (140,1,'civicrm/admin/options/mobile_provider',NULL,'Mobile Phone Providers','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,75,1,0,0,'a:2:{s:4:\"desc\";s:90:\"List of mobile phone providers which can be assigned when recording contact phone numbers.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (141,1,'civicrm/admin/options/phone_type',NULL,'Phone Type','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,80,1,0,0,'a:2:{s:4:\"desc\";s:80:\"Options for assigning phone type to contacts (e.g Phone,\n Mobile, Fax, Pager)\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (142,1,'civicrm/admin/setting/preferences/display',NULL,'Display Preferences','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:34:\"CRM_Admin_Form_Preferences_Display\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,90,1,0,0,'a:1:{s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (143,1,'civicrm/admin/setting/search',NULL,'Search Preferences','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Admin_Form_Setting_Search\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,95,1,0,0,'a:1:{s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (144,1,'civicrm/admin/setting/preferences/date',NULL,'View Date Preferences','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Admin_Page_PreferencesDate\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (145,1,'civicrm/admin/menu',NULL,'Navigation Menu','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Admin_Page_Navigation\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,100,1,0,0,'a:2:{s:4:\"desc\";s:79:\"Add or remove menu items, and modify the order of items on the navigation menu.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (146,1,'civicrm/admin/options/wordreplacements',NULL,'Word Replacements','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:31:\"CRM_Admin_Form_WordReplacements\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,105,1,0,0,'a:2:{s:4:\"desc\";s:18:\"Word Replacements.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (147,1,'civicrm/admin/options/custom_search',NULL,'Manage Custom Searches','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,110,1,0,0,'a:2:{s:4:\"desc\";s:225:\"Developers and accidental techies with a bit of PHP and SQL knowledge can create new search forms to handle specific search and reporting needs which aren\'t covered by the built-in Advanced Search and Search Builder features.\";s:10:\"adminGroup\";s:26:\"Customize Data and Screens\";}'), + (148,1,'civicrm/admin/domain','action=update','Organization Address and Contact Info','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:23:\"CRM_Contact_Form_Domain\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,10,1,0,0,'a:2:{s:4:\"desc\";s:150:\"Configure primary contact name, email, return-path and address information. This information is used by CiviMail to identify the sending organization.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), + (149,1,'civicrm/admin/options/from_email_address',NULL,'From Email Addresses','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,20,1,0,0,'a:2:{s:4:\"desc\";s:74:\"List of Email Addresses which can be used when sending emails to contacts.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), + (150,1,'civicrm/admin/messageTemplates',NULL,'Message Templates','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:22:\"edit message templates\";i:1;s:34:\"edit user-driven message templates\";i:2;s:38:\"edit system workflow message templates\";}i:1;s:2:\"or\";}','s:31:\"CRM_Admin_Page_MessageTemplates\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,30,1,0,0,'a:2:{s:4:\"desc\";s:130:\"Message templates allow you to save and re-use messages with layouts which you can use when sending email to one or more contacts.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), + (151,1,'civicrm/admin/messageTemplates/add',NULL,'Message Templates','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:22:\"edit message templates\";i:1;s:34:\"edit user-driven message templates\";i:2;s:38:\"edit system workflow message templates\";}i:1;s:2:\"or\";}','s:31:\"CRM_Admin_Form_MessageTemplates\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Message Templates\";s:3:\"url\";s:39:\"/civicrm/admin/messageTemplates?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,262,1,0,0,'a:1:{s:4:\"desc\";s:26:\"Add/Edit Message Templates\";}'), + (152,1,'civicrm/admin/scheduleReminders',NULL,'Schedule Reminders','s:1:\"1\";','a:2:{i:0;a:2:{i:0;s:23:\"administer CiviCRM data\";i:1;s:15:\"edit all events\";}i:1;s:2:\"or\";}','s:32:\"CRM_Admin_Page_ScheduleReminders\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,40,1,0,0,'a:2:{s:4:\"desc\";s:19:\"Schedule Reminders.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), + (153,1,'civicrm/admin/weight',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:16:\"CRM_Utils_Weight\";i:1;s:8:\"fixOrder\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (154,1,'civicrm/admin/options/preferred_communication_method',NULL,'Preferred Communication Methods','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,50,1,0,0,'a:2:{s:4:\"desc\";s:117:\"One or more preferred methods of communication can be assigned to each contact. Customize the available options here.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), + (155,1,'civicrm/admin/labelFormats',NULL,'Label Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Page_LabelFormats\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,60,1,0,0,'a:2:{s:4:\"desc\";s:67:\"Configure Label Formats that are used when creating mailing labels.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), + (156,1,'civicrm/admin/pdfFormats',NULL,'Print Page (PDF) Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Admin_Page_PdfFormats\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,70,1,0,0,'a:2:{s:4:\"desc\";s:95:\"Configure PDF Page Formats that can be assigned to Message Templates when creating PDF letters.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), + (157,1,'civicrm/admin/options/communication_style',NULL,'Communication Style Options','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,75,1,0,0,'a:2:{s:4:\"desc\";s:42:\"Options for Communication Style selection.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), + (158,1,'civicrm/admin/options/email_greeting',NULL,'Email Greeting Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,80,1,0,0,'a:2:{s:4:\"desc\";s:75:\"Options for assigning email greetings to individual and household contacts.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), + (159,1,'civicrm/admin/options/postal_greeting',NULL,'Postal Greeting Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,90,1,0,0,'a:2:{s:4:\"desc\";s:76:\"Options for assigning postal greetings to individual and household contacts.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), + (160,1,'civicrm/admin/options/addressee',NULL,'Addressee Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,100,1,0,0,'a:2:{s:4:\"desc\";s:83:\"Options for assigning addressee to individual, household and organization contacts.\";s:10:\"adminGroup\";s:14:\"Communications\";}'), + (161,1,'civicrm/admin/setting/localization',NULL,'Languages, Currency, Locations','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:35:\"CRM_Admin_Form_Setting_Localization\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,10,1,0,0,'a:1:{s:10:\"adminGroup\";s:12:\"Localization\";}'), + (162,1,'civicrm/admin/setting/preferences/address',NULL,'Address Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:34:\"CRM_Admin_Form_Preferences_Address\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,20,1,0,0,'a:1:{s:10:\"adminGroup\";s:12:\"Localization\";}'), + (163,1,'civicrm/admin/setting/date',NULL,'Date Formats','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Form_Setting_Date\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,30,1,0,0,'a:1:{s:10:\"adminGroup\";s:12:\"Localization\";}'), + (164,1,'civicrm/admin/options/languages',NULL,'Preferred Languages','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,40,1,0,0,'a:2:{s:4:\"desc\";s:30:\"Options for contact languages.\";s:10:\"adminGroup\";s:12:\"Localization\";}'), + (165,1,'civicrm/admin/access',NULL,'Access Control','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Admin_Page_Access\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,10,1,0,0,'a:2:{s:4:\"desc\";s:73:\"Grant or deny access to actions (view, edit...), features and components.\";s:10:\"adminGroup\";s:21:\"Users and Permissions\";}'), + (166,1,'civicrm/admin/access/wp-permissions',NULL,'WordPress Access Control','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:34:\"CRM_ACL_Form_WordPress_Permissions\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:14:\"Access Control\";s:3:\"url\";s:29:\"/civicrm/admin/access?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,10,1,0,0,'a:1:{s:4:\"desc\";s:65:\"Grant access to CiviCRM components and other CiviCRM permissions.\";}'), + (167,1,'civicrm/admin/synchUser',NULL,'Synchronize Users to Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Form_CMSUser\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,20,1,0,0,'a:2:{s:4:\"desc\";s:71:\"Automatically create a CiviCRM contact record for each CMS user record.\";s:10:\"adminGroup\";s:21:\"Users and Permissions\";}'), + (168,1,'civicrm/admin/configtask',NULL,'Configuration Checklist','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Admin_Page_ConfigTaskList\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}','civicrm/admin/configtask',NULL,NULL,1,0,1,1,1,1,0,0,'a:2:{s:4:\"desc\";s:55:\"List of configuration tasks with links to each setting.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (169,1,'civicrm/admin/setting/component',NULL,'Enable CiviCRM Components','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Admin_Form_Setting_Component\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,10,1,0,0,'a:2:{s:4:\"desc\";s:269:\"Enable or disable components (e.g. CiviEvent, CiviMember, etc.) for your site based on the features you need. We recommend disabling any components not being used in order to simplify the user interface. You can easily re-enable components at any time from this screen.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (170,1,'civicrm/admin/extensions',NULL,'Manage Extensions','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:25:\"CRM_Admin_Page_Extensions\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,120,1,0,0,'a:2:{s:4:\"desc\";s:0:\"\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (171,1,'civicrm/admin/extensions/upgrade',NULL,'Database Upgrades','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:32:\"CRM_Admin_Page_ExtensionsUpgrade\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:17:\"Manage Extensions\";s:3:\"url\";s:33:\"/civicrm/admin/extensions?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (172,1,'civicrm/admin/setting/smtp',NULL,'Outbound Email Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Form_Setting_Smtp\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,20,1,0,0,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (173,1,'civicrm/admin/paymentProcessor',NULL,'Settings - Payment Processor','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:29:\"administer payment processors\";}i:1;s:3:\"and\";}','s:31:\"CRM_Admin_Page_PaymentProcessor\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,30,1,0,0,'a:2:{s:4:\"desc\";s:48:\"Payment Processor setup for CiviCRM transactions\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (174,1,'civicrm/admin/paymentProcessor/edit',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:29:\"administer payment processors\";}i:1;s:3:\"and\";}','s:31:\"CRM_Admin_Form_PaymentProcessor\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:28:\"Settings - Payment Processor\";s:3:\"url\";s:39:\"/civicrm/admin/paymentProcessor?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (175,1,'civicrm/admin/setting/mapping',NULL,'Mapping and Geocoding','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Admin_Form_Setting_Mapping\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,40,1,0,0,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (176,1,'civicrm/admin/setting/misc',NULL,'Misc (Undelete, PDFs, Limits, Logging, etc.)','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:36:\"CRM_Admin_Form_Setting_Miscellaneous\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,50,1,0,0,'a:2:{s:4:\"desc\";s:63:\"Enable undelete/move to trash feature, detailed change logging.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (177,1,'civicrm/admin/setting/path',NULL,'Directories','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Admin_Form_Setting_Path\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,60,1,0,0,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (178,1,'civicrm/admin/setting/url',NULL,'Resource URLs','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Admin_Form_Setting_Url\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,70,1,0,0,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (179,1,'civicrm/admin/setting/updateConfigBackend',NULL,'Cleanup Caches and Update Paths','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:42:\"CRM_Admin_Form_Setting_UpdateConfigBackend\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,80,1,0,0,'a:2:{s:4:\"desc\";s:157:\"Reset the Base Directory Path and Base URL settings - generally when a CiviCRM site is moved to another location in the file system and/or to another domain.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (180,1,'civicrm/admin/setting/uf',NULL,'CMS Database Integration','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Admin_Form_Setting_UF\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,90,1,0,0,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (181,1,'civicrm/admin/options/safe_file_extension',NULL,'Safe File Extension Options','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,100,1,0,0,'a:2:{s:4:\"desc\";s:44:\"File Extensions that can be considered safe.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (182,1,'civicrm/admin/options',NULL,'Option Groups','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,105,1,0,0,'a:2:{s:4:\"desc\";s:35:\"Access all meta-data option groups.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (183,1,'civicrm/admin/mapping',NULL,'Import/Export Mappings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Mapping\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,110,1,0,0,'a:2:{s:4:\"desc\";s:141:\"Import and Export mappings allow you to easily run the same job multiple times. This option allows you to rename or delete existing mappings.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (184,1,'civicrm/admin/setting/debug',NULL,'Debugging','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Admin_Form_Setting_Debugging\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,120,1,0,0,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (185,1,'civicrm/admin/setting/preferences/multisite',NULL,'Multi Site Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Form_Generic\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,130,1,0,0,'a:1:{s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (186,1,'civicrm/admin/setting/preferences/campaign',NULL,'CiviCampaign Component Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Form_Generic\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,10,1,0,0,'a:3:{s:4:\"desc\";s:40:\"Configure global CiviCampaign behaviors.\";s:10:\"adminGroup\";s:12:\"CiviCampaign\";s:9:\"component\";s:12:\"CiviCampaign\";}'), + (187,1,'civicrm/admin/setting/preferences/event',NULL,'CiviEvent Component Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:16:\"access CiviEvent\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Form_Generic\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,420,1,0,0,'a:2:{s:4:\"desc\";s:37:\"Configure global CiviEvent behaviors.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'), + (188,1,'civicrm/admin/setting/preferences/mailing',NULL,'CiviMail Component Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:15:\"access CiviMail\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}','s:34:\"CRM_Admin_Form_Preferences_Mailing\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,430,1,0,0,'a:2:{s:4:\"desc\";s:36:\"Configure global CiviMail behaviors.\";s:10:\"adminGroup\";s:8:\"CiviMail\";}'), + (189,1,'civicrm/admin/setting/preferences/member',NULL,'CiviMember Component Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:17:\"access CiviMember\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}','s:33:\"CRM_Admin_Form_Preferences_Member\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,390,1,0,0,'a:2:{s:4:\"desc\";s:38:\"Configure global CiviMember behaviors.\";s:10:\"adminGroup\";s:10:\"CiviMember\";}'), + (190,1,'civicrm/admin/runjobs',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','a:2:{i:0;s:16:\"CRM_Utils_System\";i:1;s:20:\"executeScheduledJobs\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:1:{s:4:\"desc\";s:36:\"URL used for running scheduled jobs.\";}'), + (191,1,'civicrm/admin/job',NULL,'Scheduled Jobs','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:18:\"CRM_Admin_Page_Job\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1370,1,0,0,'a:2:{s:4:\"desc\";s:35:\"Managing periodially running tasks.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (192,1,'civicrm/admin/job/add',NULL,'Add Scheduled Job','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:18:\"CRM_Admin_Page_Job\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:14:\"Scheduled Jobs\";s:3:\"url\";s:26:\"/civicrm/admin/job?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1371,1,0,0,'a:2:{s:4:\"desc\";s:31:\"Add a periodially running task.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (193,1,'civicrm/admin/job/edit',NULL,'Edit Scheduled Job','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:18:\"CRM_Admin_Page_Job\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:14:\"Scheduled Jobs\";s:3:\"url\";s:26:\"/civicrm/admin/job?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1372,1,0,0,'a:2:{s:4:\"desc\";s:32:\"Edit a periodially running task.\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (194,1,'civicrm/admin/joblog',NULL,'Scheduled Jobs Log','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:25:\"administer CiviCRM system\";}i:1;s:3:\"and\";}','s:21:\"CRM_Admin_Page_JobLog\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1380,1,0,0,'a:2:{s:4:\"desc\";s:46:\"Browsing the log of periodially running tasks.\";s:10:\"adminGroup\";s:6:\"Manage\";}'), + (195,1,'civicrm/admin/options/grant_type',NULL,'Grant Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,385,1,0,0,'a:2:{s:4:\"desc\";s:148:\"List of types which can be assigned to Grants. (Enable CiviGrant from Administer > System Settings > Enable Components if you want to track grants.)\";s:10:\"adminGroup\";s:12:\"Option Lists\";}'), + (196,1,'civicrm/admin/paymentProcessorType',NULL,'Payment Processor Type','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:35:\"CRM_Admin_Page_PaymentProcessorType\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,390,1,0,0,'a:1:{s:4:\"desc\";s:34:\"Payment Processor type information\";}'), + (197,1,'civicrm/admin',NULL,'Administer CiviCRM','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:20:\"CRM_Admin_Page_Admin\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,9000,1,1,0,'a:0:{}'), + (198,1,'civicrm/ajax/navmenu',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:7:\"navMenu\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (199,1,'civicrm/ajax/menutree',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:8:\"menuTree\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,3,0,'a:0:{}'), + (200,1,'civicrm/ajax/statusmsg',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:12:\"getStatusMsg\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (201,1,'civicrm/admin/price',NULL,'Price Sets','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:18:\"CRM_Price_Page_Set\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,380,1,0,0,'a:2:{s:4:\"desc\";s:205:\"Price sets allow you to offer multiple options with associated fees (e.g. pre-conference workshops, additional meals, etc.). Configure Price Sets for events which need more than a single set of fee levels.\";s:10:\"adminGroup\";s:9:\"Customize\";}'), + (202,1,'civicrm/admin/price/add','action=add','New Price Set','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:18:\"CRM_Price_Page_Set\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:28:\"/civicrm/admin/price?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:1:{s:4:\"desc\";s:205:\"Price sets allow you to offer multiple options with associated fees (e.g. pre-conference workshops, additional meals, etc.). Configure Price Sets for events which need more than a single set of fee levels.\";}'), + (203,1,'civicrm/admin/price/field',NULL,'Price Fields','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:20:\"CRM_Price_Page_Field\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:28:\"/civicrm/admin/price?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (204,1,'civicrm/admin/price/field/option',NULL,'Price Field Options','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:21:\"CRM_Price_Page_Option\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:10:\"Price Sets\";s:3:\"url\";s:28:\"/civicrm/admin/price?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (205,1,'civicrm/ajax/mapping',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:11:\"mappingList\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (206,1,'civicrm/ajax/recipientListing',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:16:\"access CiviEvent\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Admin_Page_AJAX\";i:1;s:16:\"recipientListing\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (207,1,'civicrm/admin/sms/provider',NULL,'Sms Providers','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_SMS_Page_Provider\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,500,1,0,0,'a:2:{s:4:\"desc\";s:27:\"To configure a sms provider\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), + (208,1,'civicrm/sms/send',NULL,'New Mass SMS','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:8:\"send SMS\";}i:1;s:3:\"and\";}','s:23:\"CRM_SMS_Controller_Send\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,610,1,1,0,'a:0:{}'), + (209,1,'civicrm/sms/callback',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_SMS_Page_Callback\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), + (210,1,'civicrm/admin/badgelayout','action=browse','Event Name Badge Layouts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Badge_Page_Layout\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,399,1,0,0,'a:2:{s:4:\"desc\";s:107:\"Configure name badge layouts for event participants, including logos and what data to include on the badge.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'), + (211,1,'civicrm/admin/badgelayout/add',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_Badge_Form_Layout\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:24:\"Event Name Badge Layouts\";s:3:\"url\";s:52:\"/civicrm/admin/badgelayout?reset=1&action=browse\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (212,1,'civicrm/upgrade',NULL,'Upgrade CiviCRM','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:24:\"CRM_Upgrade_Page_Upgrade\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (213,1,'civicrm/export',NULL,'Download Errors','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Export_BAO_Export\";i:1;s:6:\"invoke\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (214,1,'civicrm/export/contact',NULL,'Export Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:21:\"CRM_Export_BAO_Export\";i:1;s:6:\"invoke\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Download Errors\";s:3:\"url\";s:23:\"/civicrm/export?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,0,1,0,0,'a:0:{}'), + (215,1,'civicrm/export/standalone',NULL,'Export','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Export_Controller_Standalone\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Download Errors\";s:3:\"url\";s:23:\"/civicrm/export?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (216,1,'civicrm/admin/options/acl_role',NULL,'ACL Roles','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (217,1,'civicrm/acl',NULL,'Manage ACLs','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:16:\"CRM_ACL_Page_ACL\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (218,1,'civicrm/acl/entityrole',NULL,'Assign Users to ACL Roles','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:23:\"CRM_ACL_Page_EntityRole\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"Manage ACLs\";s:3:\"url\";s:20:\"/civicrm/acl?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (219,1,'civicrm/acl/basic',NULL,'ACL','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:21:\"CRM_ACL_Page_ACLBasic\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"Manage ACLs\";s:3:\"url\";s:20:\"/civicrm/acl?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (220,1,'civicrm/file',NULL,'Browse Uploaded files','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access uploaded files\";}i:1;s:3:\"and\";}','s:18:\"CRM_Core_Page_File\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (221,1,'civicrm/file/delete',NULL,'Delete File','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:17:\"CRM_Core_BAO_File\";i:1;s:16:\"deleteAttachment\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:21:\"Browse Uploaded files\";s:3:\"url\";s:21:\"/civicrm/file?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (222,1,'civicrm/friend',NULL,'Tell a Friend','s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:15:\"CRM_Friend_Form\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), + (223,1,'civicrm/logout',NULL,'Log out','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:16:\"CRM_Utils_System\";i:1;s:6:\"logout\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,9999,1,1,0,'a:0:{}'), + (224,1,'civicrm/i18n',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:17:\"translate CiviCRM\";}i:1;s:3:\"and\";}','s:18:\"CRM_Core_I18n_Form\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (225,1,'civicrm/ajax/attachment',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access AJAX API\";}i:1;s:2:\"or\";}','a:2:{i:0;s:29:\"CRM_Core_Page_AJAX_Attachment\";i:1;s:10:\"attachFile\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (226,1,'civicrm/api',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Core_Page_Redirect\";','s:16:\"url=civicrm/api3\";','a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (227,1,'civicrm/api3',NULL,'CiviCRM API v3','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Admin_Page_APIExplorer\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (228,1,'civicrm/ajax/apiexample',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:26:\"CRM_Admin_Page_APIExplorer\";i:1;s:14:\"getExampleFile\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (229,1,'civicrm/ajax/apidoc',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:26:\"CRM_Admin_Page_APIExplorer\";i:1;s:6:\"getDoc\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (230,1,'civicrm/ajax/rest',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"access AJAX API\";}i:1;s:2:\"or\";}','a:2:{i:0;s:14:\"CRM_Utils_REST\";i:1;s:4:\"ajax\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (231,1,'civicrm/api/json',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:14:\"CRM_Utils_REST\";i:1;s:8:\"ajaxJson\";}','s:16:\"url=civicrm/api3\";','a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (232,1,'civicrm/inline',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:14:\"CRM_Utils_REST\";i:1;s:12:\"loadTemplate\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (233,1,'civicrm/ajax/chart',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:38:\"CRM_Contribute_Form_ContributionCharts\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (234,1,'civicrm/asset/builder',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"*always allow*\";}i:1;s:3:\"and\";}','a:2:{i:0;s:23:\"\\Civi\\Core\\AssetBuilder\";i:1;s:7:\"pageRun\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (235,1,'civicrm/contribute/ajax/tableview',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contribute_Page_DashBoard\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:0:{}'), + (236,1,'civicrm/payment/ipn',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','a:2:{i:0;s:16:\"CRM_Core_Payment\";i:1;s:9:\"handleIPN\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:39:\"/civicrm/payment?reset=1&action=add\";}}',NULL,NULL,2,1,1,1,0,1,1,0,0,'a:0:{}'), + (237,1,'civicrm/batch',NULL,'Batch Data Entry','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:20:\"CRM_Batch_Page_Batch\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (238,1,'civicrm/batch/add',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:20:\"CRM_Batch_Form_Batch\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Batch Data Entry\";s:3:\"url\";s:22:\"/civicrm/batch?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (239,1,'civicrm/batch/entry',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:20:\"CRM_Batch_Form_Entry\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Batch Data Entry\";s:3:\"url\";s:22:\"/civicrm/batch?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (240,1,'civicrm/ajax/batch',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Batch_Page_AJAX\";i:1;s:9:\"batchSave\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (241,1,'civicrm/ajax/batchlist',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Batch_Page_AJAX\";i:1;s:12:\"getBatchList\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (242,1,'civicrm/ajax/inline',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:18:\"CRM_Core_Page_AJAX\";i:1;s:3:\"run\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (243,1,'civicrm/dev/qunit',NULL,'QUnit','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}','s:19:\"CRM_Core_Page_QUnit\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (244,1,'civicrm/dev/fake-error',NULL,'Fake Error','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"*always allow*\";}i:1;s:3:\"and\";}','s:23:\"CRM_Core_Page_FakeError\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,1,1,0,1,1,0,0,'a:0:{}'), + (245,1,'civicrm/profile-editor/schema',NULL,'ProfileEditor','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:25:\"CRM_UF_Page_ProfileEditor\";i:1;s:13:\"getSchemaJSON\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (246,1,'civicrm/a',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:23:\"\\Civi\\Angular\\Page\\Main\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (247,1,'civicrm/ajax/angular-modules',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"*always allow*\";}i:1;s:3:\"and\";}','s:26:\"\\Civi\\Angular\\Page\\Modules\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (248,1,'civicrm/ajax/recurringentity/update-mode',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:34:\"CRM_Core_Page_AJAX_RecurringEntity\";i:1;s:10:\"updateMode\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (249,1,'civicrm/recurringentity/preview',NULL,'Confirm dates','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:36:\"CRM_Core_Page_RecurringEntityPreview\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (250,1,'civicrm/shortcode',NULL,'Insert CiviCRM Content','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:23:\"CRM_Core_Form_ShortCode\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (251,1,'civicrm/task/add-to-group',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Contact_Form_Task_AddToGroup\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (252,1,'civicrm/task/remove-from-group',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:37:\"CRM_Contact_Form_Task_RemoveFromGroup\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (253,1,'civicrm/task/add-to-tag',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Contact_Form_Task_AddToTag\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (254,1,'civicrm/task/remove-from-tag',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:35:\"CRM_Contact_Form_Task_RemoveFromTag\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (255,1,'civicrm/task/send-email',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Contact_Form_Task_Email\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (256,1,'civicrm/task/make-mailing-label',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:27:\"CRM_Contact_Form_Task_Label\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (257,1,'civicrm/task/pick-profile',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:33:\"CRM_Contact_Form_Task_PickProfile\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (258,1,'civicrm/task/print-document',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:25:\"CRM_Contact_Form_Task_PDF\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (259,1,'civicrm/task/unhold-email',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:28:\"CRM_Contact_Form_Task_Unhold\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (260,1,'civicrm/task/alter-contact-preference',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:38:\"CRM_Contact_Form_Task_AlterPreferences\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (261,1,'civicrm/task/delete-contact',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:28:\"CRM_Contact_Form_Task_Delete\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (262,1,'civicrm/task/add-activity',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Activity_Form_Activity\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (263,1,'civicrm/event',NULL,'CiviEvent Dashboard','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:24:\"CRM_Event_Page_DashBoard\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,1,1,0,1,0,800,1,1,0,'a:1:{s:9:\"component\";s:9:\"CiviEvent\";}'), + (264,1,'civicrm/participant/add','action=add','Register New Participant','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:18:\"CRM_Event_Page_Tab\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:1:{s:9:\"component\";s:9:\"CiviEvent\";}'), + (265,1,'civicrm/event/info',NULL,'Event Information','s:1:\"1\";','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:24:\"CRM_Event_Page_EventInfo\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,0,1,1,0,0,'a:0:{}'), + (266,1,'civicrm/event/register',NULL,'Event Registration','s:1:\"1\";','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:33:\"CRM_Event_Controller_Registration\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,1,1,1,0,0,'a:0:{}'), + (267,1,'civicrm/event/confirm',NULL,'Confirm Event Registration','s:1:\"1\";','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:46:\"CRM_Event_Form_Registration_ParticipantConfirm\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,1,1,1,0,0,'a:0:{}'), + (268,1,'civicrm/event/ical',NULL,'Current and Upcoming Events','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:15:\"view event info\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Event_ICalendar\";i:1;s:3:\"run\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,0,0,1,0,0,'a:0:{}'), + (269,1,'civicrm/event/list',NULL,'Current and Upcoming Events','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:15:\"view event info\";}i:1;s:3:\"and\";}','s:19:\"CRM_Event_Page_List\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,0,0,1,0,0,'a:0:{}'), + (270,1,'civicrm/event/participant',NULL,'Event Participants List','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:23:\"view event participants\";}i:1;s:3:\"and\";}','s:33:\"CRM_Event_Page_ParticipantListing\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,0,0,1,0,0,'a:0:{}'), + (271,1,'civicrm/admin/event',NULL,'Manage Events','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:26:\"CRM_Event_Page_ManageEvent\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,370,1,0,0,'a:2:{s:4:\"desc\";s:136:\"Create and edit event configuration including times, locations, online registration forms, and fees. Links for iCal and RSS syndication.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'), + (272,1,'civicrm/admin/eventTemplate',NULL,'Event Templates','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:28:\"CRM_Admin_Page_EventTemplate\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,375,1,0,0,'a:2:{s:4:\"desc\";s:115:\"Administrators can create Event Templates - which are basically master event records pre-filled with default values\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'), + (273,1,'civicrm/admin/options/event_type',NULL,'Event Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,385,1,0,0,'a:2:{s:4:\"desc\";s:143:\"Use Event Types to categorize your events. Event feeds can be filtered by Event Type and participant searches can use Event Type as a criteria.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'), + (274,1,'civicrm/admin/participant_status',NULL,'Participant Status','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:36:\"CRM_Admin_Page_ParticipantStatusType\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,390,1,0,0,'a:2:{s:4:\"desc\";s:154:\"Define statuses for event participants here (e.g. Registered, Attended, Cancelled...). You can then assign statuses and search for participants by status.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'), + (275,1,'civicrm/admin/options/participant_role',NULL,'Participant Role','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,395,1,0,0,'a:2:{s:4:\"desc\";s:138:\"Define participant roles for events here (e.g. Attendee, Host, Speaker...). You can then assign roles and search for participants by role.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'), + (276,1,'civicrm/admin/options/participant_listing',NULL,'Participant Listing Templates','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,398,1,0,0,'a:2:{s:4:\"desc\";s:48:\"Template to control participant listing display.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'), + (277,1,'civicrm/admin/options/conference_slot',NULL,'Conference Slot Labels','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,415,1,0,0,'a:2:{s:4:\"desc\";s:35:\"Define conference slots and labels.\";s:10:\"adminGroup\";s:9:\"CiviEvent\";}'), + (278,1,'civicrm/event/search',NULL,'Find Participants','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:27:\"CRM_Event_Controller_Search\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,0,1,0,810,1,1,0,'a:0:{}'), + (279,1,'civicrm/event/manage',NULL,'Manage Events','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:26:\"CRM_Event_Page_ManageEvent\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,0,1,1,820,1,1,0,'a:0:{}'), + (280,1,'civicrm/event/badge',NULL,'Print Event Name Badge','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:25:\"CRM_Event_Form_Task_Badge\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,0,1,0,1,1,0,0,'a:0:{}'), + (281,1,'civicrm/event/manage/settings',NULL,'Event Info and Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:36:\"CRM_Event_Form_ManageEvent_EventInfo\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:29:\"/civicrm/event/manage?reset=1\";}}',NULL,NULL,1,1,0,1,1,910,1,0,0,'a:0:{}'), + (282,1,'civicrm/event/manage/location',NULL,'Event Location','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:35:\"CRM_Event_Form_ManageEvent_Location\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:29:\"/civicrm/event/manage?reset=1\";}}',NULL,NULL,1,1,0,1,1,930,1,0,0,'a:0:{}'), + (283,1,'civicrm/event/manage/fee',NULL,'Event Fees','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:30:\"CRM_Event_Form_ManageEvent_Fee\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:29:\"/civicrm/event/manage?reset=1\";}}',NULL,NULL,1,1,0,1,1,920,1,0,0,'a:0:{}'), + (284,1,'civicrm/event/manage/registration',NULL,'Event Online Registration','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:39:\"CRM_Event_Form_ManageEvent_Registration\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:29:\"/civicrm/event/manage?reset=1\";}}',NULL,NULL,1,1,0,1,1,930,1,0,0,'a:0:{}'), + (285,1,'civicrm/event/manage/friend',NULL,'Tell a Friend','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:21:\"CRM_Friend_Form_Event\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:29:\"/civicrm/event/manage?reset=1\";}}',NULL,NULL,1,1,0,1,1,940,1,0,0,'a:0:{}'), + (286,1,'civicrm/event/manage/reminder',NULL,'Schedule Reminders','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:44:\"CRM_Event_Form_ManageEvent_ScheduleReminders\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:29:\"/civicrm/event/manage?reset=1\";}}',NULL,NULL,1,1,0,1,1,950,1,0,0,'a:0:{}'), + (287,1,'civicrm/event/manage/repeat',NULL,'Repeat Event','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:33:\"CRM_Event_Form_ManageEvent_Repeat\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:29:\"/civicrm/event/manage?reset=1\";}}',NULL,NULL,1,1,0,1,1,960,1,0,0,'a:0:{}'), + (288,1,'civicrm/event/manage/conference',NULL,'Conference Slots','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:37:\"CRM_Event_Form_ManageEvent_Conference\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:29:\"/civicrm/event/manage?reset=1\";}}',NULL,NULL,1,1,0,1,1,950,1,0,0,'a:0:{}'), + (289,1,'civicrm/event/add','action=add','New Event','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:36:\"CRM_Event_Form_ManageEvent_EventInfo\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,0,1,0,830,1,0,0,'a:0:{}'), + (290,1,'civicrm/event/import',NULL,'Import Participants','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:16:\"access CiviEvent\";i:1;s:23:\"edit event participants\";}i:1;s:3:\"and\";}','s:27:\"CRM_Event_Import_Controller\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,0,1,0,840,1,1,0,'a:0:{}'), + (291,1,'civicrm/event/price',NULL,'Manage Price Sets','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:18:\"CRM_Price_Page_Set\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,0,1,0,850,1,1,0,'a:0:{}'), + (292,1,'civicrm/event/selfsvcupdate',NULL,'Self-service Registration Update','s:1:\"1\";','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:28:\"CRM_Event_Form_SelfSvcUpdate\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,0,880,1,1,0,'a:0:{}'), + (293,1,'civicrm/event/selfsvctransfer',NULL,'Self-service Registration Transfer','s:1:\"1\";','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:30:\"CRM_Event_Form_SelfSvcTransfer\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,0,890,1,1,0,'a:0:{}'), + (294,1,'civicrm/contact/view/participant',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:18:\"CRM_Event_Page_Tab\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,4,1,0,0,'a:0:{}'), + (295,1,'civicrm/ajax/eventFee',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','a:2:{i:0;s:19:\"CRM_Event_Page_AJAX\";i:1;s:8:\"eventFee\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (296,1,'civicrm/ajax/locBlock',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:11:\"getLocBlock\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (297,1,'civicrm/event/participant/feeselection',NULL,'Change Registration Selections','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:38:\"CRM_Event_Form_ParticipantFeeSelection\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:23:\"Event Participants List\";s:3:\"url\";s:34:\"/civicrm/event/participant?reset=1\";}}',NULL,NULL,1,1,0,1,0,1,1,0,0,'a:0:{}'), + (298,1,'civicrm/event/manage/pcp',NULL,'Personal Campaign Pages','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:18:\"CRM_PCP_Form_Event\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Manage Events\";s:3:\"url\";s:29:\"/civicrm/event/manage?reset=1\";}}',NULL,NULL,1,1,0,1,1,540,1,1,0,'a:0:{}'), + (299,1,'civicrm/event/pcp',NULL,NULL,'s:1:\"1\";','a:2:{i:0;a:2:{i:0;s:14:\"access CiviCRM\";i:1;s:16:\"access CiviEvent\";}i:1;s:3:\"and\";}','s:16:\"CRM_PCP_Form_PCP\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,0,1,1,0,0,'a:0:{}'), + (300,1,'civicrm/event/campaign',NULL,'Setup a Personal Campaign Page - Account Information','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','s:22:\"CRM_PCP_Controller_PCP\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:19:\"CiviEvent Dashboard\";s:3:\"url\";s:22:\"/civicrm/event?reset=1\";}}',NULL,NULL,1,1,1,1,0,0,1,0,0,'a:0:{}'), + (301,1,'civicrm/contribute',NULL,'CiviContribute Dashboard','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contribute_Page_DashBoard\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,2,1,0,1,0,500,1,1,0,'a:1:{s:9:\"component\";s:14:\"CiviContribute\";}'), + (302,1,'civicrm/contribute/add','action=add','New Contribution','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:23:\"CRM_Contribute_Page_Tab\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,1,0,'a:1:{s:9:\"component\";s:14:\"CiviContribute\";}'), + (303,1,'civicrm/contribute/chart',NULL,'Contribution Summary - Chart View','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:38:\"CRM_Contribute_Form_ContributionCharts\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:1:{s:9:\"component\";s:14:\"CiviContribute\";}'), + (304,1,'civicrm/contribute/transact',NULL,'CiviContribute','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','s:38:\"CRM_Contribute_Controller_Contribution\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,1,1,1,0,1,0,0,'a:0:{}'), + (305,1,'civicrm/admin/contribute',NULL,'Manage Contribution Pages','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:36:\"CRM_Contribute_Page_ContributionPage\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,360,1,0,0,'a:2:{s:4:\"desc\";s:242:\"CiviContribute allows you to create and maintain any number of Online Contribution Pages. You can create different pages for different programs or campaigns - and customize text, amounts, types of information collected from contributors, etc.\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'), + (306,1,'civicrm/admin/contribute/settings',NULL,'Title and Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:45:\"CRM_Contribute_Form_ContributionPage_Settings\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,400,1,0,0,'a:0:{}'), + (307,1,'civicrm/admin/contribute/amount',NULL,'Contribution Amounts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:43:\"CRM_Contribute_Form_ContributionPage_Amount\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,410,1,0,0,'a:0:{}'), + (308,1,'civicrm/admin/contribute/membership',NULL,'Membership Section','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:31:\"CRM_Member_Form_MembershipBlock\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,420,1,0,0,'a:0:{}'), + (309,1,'civicrm/admin/contribute/custom',NULL,'Include Profiles','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:43:\"CRM_Contribute_Form_ContributionPage_Custom\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,430,1,0,0,'a:0:{}'), + (310,1,'civicrm/admin/contribute/thankyou',NULL,'Thank-you and Receipting','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:45:\"CRM_Contribute_Form_ContributionPage_ThankYou\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,430,1,0,0,'a:0:{}'), + (311,1,'civicrm/admin/contribute/friend',NULL,'Tell a Friend','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:26:\"CRM_Friend_Form_Contribute\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,440,1,0,0,'a:0:{}'), + (312,1,'civicrm/admin/contribute/widget',NULL,'Configure Widget','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:43:\"CRM_Contribute_Form_ContributionPage_Widget\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,460,1,0,0,'a:0:{}'), + (313,1,'civicrm/admin/contribute/premium',NULL,'Premiums','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:44:\"CRM_Contribute_Form_ContributionPage_Premium\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,470,1,0,0,'a:0:{}'), + (314,1,'civicrm/admin/contribute/addProductToPage',NULL,'Add Products to This Page','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:47:\"CRM_Contribute_Form_ContributionPage_AddProduct\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,480,1,0,0,'a:0:{}'), + (315,1,'civicrm/admin/contribute/add','action=add','New Contribution Page','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:42:\"CRM_Contribute_Controller_ContributionPage\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (316,1,'civicrm/admin/contribute/managePremiums',NULL,'Manage Premiums','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:34:\"CRM_Contribute_Page_ManagePremiums\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,365,1,0,0,'a:2:{s:4:\"desc\";s:175:\"CiviContribute allows you to configure any number of Premiums which can be offered to contributors as incentives / thank-you gifts. Define the premiums you want to offer here.\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'), + (317,1,'civicrm/admin/financial/financialType',NULL,'Financial Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Financial_Page_FinancialType\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,580,1,0,0,'a:2:{s:4:\"desc\";s:64:\"Formerly civicrm_contribution_type merged into this table in 4.1\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'), + (318,1,'civicrm/admin/financial/financialType/edit',NULL,'Edit Financial Type','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:32:\"CRM_Financial_Form_FinancialType\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:15:\"Financial Types\";s:3:\"url\";s:46:\"/civicrm/admin/financial/financialType?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (319,1,'civicrm/payment','action=add','New Payment','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:37:\"CRM_Contribute_Form_AdditionalPayment\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,1,0,'a:1:{s:9:\"component\";s:14:\"CiviContribute\";}'), + (320,1,'civicrm/admin/financial/financialAccount',NULL,'Financial Accounts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:35:\"CRM_Financial_Page_FinancialAccount\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,370,1,0,0,'a:2:{s:4:\"desc\";s:128:\"Financial types are used to categorize contributions for reporting and accounting purposes. These are also referred to as Funds.\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'), + (321,1,'civicrm/admin/financial/financialAccount/edit',NULL,'Edit Financial Accounts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:35:\"CRM_Financial_Form_FinancialAccount\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:18:\"Financial Accounts\";s:3:\"url\";s:49:\"/civicrm/admin/financial/financialAccount?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:0:{}'), + (322,1,'civicrm/admin/options/payment_instrument',NULL,'Payment Methods','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,380,1,0,0,'a:2:{s:4:\"desc\";s:224:\"You may choose to record the payment instrument used for each contribution. Common payment methods are installed by default (e.g. Check, Cash, Credit Card...). If your site requires additional payment methods, add them here.\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'), + (323,1,'civicrm/admin/options/accept_creditcard',NULL,'Accepted Credit Cards','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,395,1,0,0,'a:2:{s:4:\"desc\";s:94:\"Credit card options that will be offered to contributors using your Online Contribution pages.\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'), + (324,1,'civicrm/admin/options/soft_credit_type',NULL,'Soft Credit Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Page_Options\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Option Groups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:2:{s:4:\"desc\";s:86:\"Soft Credit Types that will be offered to contributors during soft credit contribution\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'), + (325,1,'civicrm/contact/view/contribution',NULL,'Contributions','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:23:\"CRM_Contribute_Page_Tab\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (326,1,'civicrm/contact/view/contributionrecur',NULL,'Recurring Contributions','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:37:\"CRM_Contribute_Page_ContributionRecur\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (327,1,'civicrm/contact/view/contribution/additionalinfo',NULL,'Additional Info','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:14:\"access CiviCRM\";i:1;s:15:\"edit my contact\";i:2;s:15:\"view my contact\";}i:1;s:2:\"or\";}','s:34:\"CRM_Contribute_Form_AdditionalInfo\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:15:\"Contact Summary\";s:3:\"url\";s:45:\"/civicrm/contact/view?reset=1&cid=%%cid%%\";}i:2;a:2:{s:5:\"title\";s:13:\"Contributions\";s:3:\"url\";s:42:\"/civicrm/contact/view/contribution?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (328,1,'civicrm/contribute/search',NULL,'Find Contributions','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:32:\"CRM_Contribute_Controller_Search\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,510,1,1,0,'a:0:{}'), + (329,1,'civicrm/contribute/searchBatch',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:37:\"CRM_Contribute_Controller_SearchBatch\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,588,1,1,0,'a:0:{}'), + (330,1,'civicrm/contribute/manage',NULL,'Manage Contribution Pages','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:18:\"administer CiviCRM\";i:1;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:36:\"CRM_Contribute_Page_ContributionPage\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,530,1,1,0,'a:0:{}'), + (331,1,'civicrm/contribute/additionalinfo',NULL,'AdditionalInfo Form','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:34:\"CRM_Contribute_Form_AdditionalInfo\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,0,1,0,0,'a:0:{}'), + (332,1,'civicrm/ajax/permlocation',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','a:2:{i:0;s:27:\"CRM_Core_Page_AJAX_Location\";i:1;s:23:\"getPermissionedLocation\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (333,1,'civicrm/contribute/unsubscribe',NULL,'Cancel Subscription','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','s:38:\"CRM_Contribute_Form_CancelSubscription\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:0:{}'), + (334,1,'civicrm/contribute/onbehalf',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','s:43:\"CRM_Contribute_Form_Contribution_OnBehalfOf\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:0:{}'), + (335,1,'civicrm/contribute/updatebilling',NULL,'Update Billing Details','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','s:33:\"CRM_Contribute_Form_UpdateBilling\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:0:{}'), + (336,1,'civicrm/contribute/updaterecur',NULL,'Update Subscription','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','s:38:\"CRM_Contribute_Form_UpdateSubscription\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:0:{}'), + (337,1,'civicrm/contribute/subscriptionstatus',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','s:38:\"CRM_Contribute_Page_SubscriptionStatus\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:0:{}'), + (338,1,'civicrm/admin/financial/financialType/accounts',NULL,'Financial Type Accounts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:39:\"CRM_Financial_Page_FinancialTypeAccount\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:15:\"Financial Types\";s:3:\"url\";s:46:\"/civicrm/admin/financial/financialType?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,581,1,0,0,'a:0:{}'), + (339,1,'civicrm/financial/batch',NULL,'Accounting Batch','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:19:\"create manual batch\";}i:1;s:3:\"and\";}','s:33:\"CRM_Financial_Page_FinancialBatch\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,585,1,0,0,'a:0:{}'), + (340,1,'civicrm/financial/financialbatches',NULL,'Accounting Batches','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:24:\"CRM_Financial_Page_Batch\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,586,1,0,0,'a:0:{}'), + (341,1,'civicrm/batchtransaction',NULL,'Accounting Batch','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:35:\"CRM_Financial_Page_BatchTransaction\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,600,1,0,0,'a:0:{}'), + (342,1,'civicrm/financial/batch/export',NULL,'Accounting Batch Export','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:19:\"create manual batch\";}i:1;s:3:\"and\";}','s:25:\"CRM_Financial_Form_Export\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:16:\"Accounting Batch\";s:3:\"url\";s:32:\"/civicrm/financial/batch?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,610,1,0,0,'a:0:{}'), + (343,1,'civicrm/payment/view','action=view','View Payment','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:31:\"CRM_Contribute_Page_PaymentInfo\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:11:\"New Payment\";s:3:\"url\";s:39:\"/civicrm/payment?reset=1&action=add\";}}',NULL,NULL,2,1,0,1,0,1,1,1,0,'a:1:{s:9:\"component\";s:14:\"CiviContribute\";}'), + (344,1,'civicrm/admin/setting/preferences/contribute',NULL,'CiviContribute Component Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:2:{i:0;s:21:\"access CiviContribute\";i:1;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}','s:37:\"CRM_Admin_Form_Preferences_Contribute\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:2:{s:4:\"desc\";s:42:\"Configure global CiviContribute behaviors.\";s:10:\"adminGroup\";s:14:\"CiviContribute\";}'), + (345,1,'civicrm/contribute/invoice',NULL,'PDF Invoice','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:20:\"checkDownloadInvoice\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','a:2:{i:0;s:32:\"CRM_Contribute_Form_Task_Invoice\";i:1;s:11:\"getPrintPDF\";}',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,620,1,1,0,'a:1:{s:9:\"component\";s:14:\"CiviContribute\";}'), + (346,1,'civicrm/contribute/invoice/email',NULL,'Email Invoice','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:20:\"checkDownloadInvoice\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:32:\"CRM_Contribute_Form_Task_Invoice\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}i:2;a:2:{s:5:\"title\";s:11:\"PDF Invoice\";s:3:\"url\";s:35:\"/civicrm/contribute/invoice?reset=1\";}}',NULL,NULL,2,1,0,1,0,630,1,1,0,'a:1:{s:9:\"component\";s:14:\"CiviContribute\";}'), + (347,1,'civicrm/ajax/softcontributionlist',NULL,NULL,'a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','a:2:{i:0;s:24:\"CRM_Contribute_Page_AJAX\";i:1;s:23:\"getSoftContributionRows\";}',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (348,1,'civicrm/contribute/contributionrecur-payments',NULL,'Recurring Contribution\'s Payments','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:45:\"CRM_Contribute_Page_ContributionRecurPayments\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:0:{}'), + (349,1,'civicrm/membership/recurring-contributions',NULL,'Membership Recurring Contributions','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:38:\"CRM_Member_Page_RecurringContributions\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,1,1,0,0,'a:0:{}'), + (350,1,'civicrm/contribute/widget',NULL,'CiviContribute','s:1:\"1\";','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:26:\"CRM_Contribute_Page_Widget\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,1,1,0,0,1,0,0,'a:0:{}'), + (351,1,'civicrm/contribute/task',NULL,'Contribution Task','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:21:\"access CiviContribute\";}i:1;s:3:\"and\";}','s:30:\"CRM_Contribute_Controller_Task\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,0,1,0,1,1,0,0,'a:0:{}'), + (352,1,'civicrm/admin/contribute/pcp',NULL,'Personal Campaign Pages','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:23:\"CRM_PCP_Form_Contribute\";',NULL,'a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}i:2;a:2:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,450,1,0,0,'a:0:{}'), + (353,1,'civicrm/contribute/campaign',NULL,'Setup a Personal Campaign Page - Account Information','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:25:\"make online contributions\";}i:1;s:3:\"and\";}','s:22:\"CRM_PCP_Controller_PCP\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:24:\"CiviContribute Dashboard\";s:3:\"url\";s:27:\"/civicrm/contribute?reset=1\";}}',NULL,NULL,2,1,1,1,0,0,1,0,0,'a:0:{}'), (354,1,'civicrm/member',NULL,'CiviMember Dashboard','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}','s:25:\"CRM_Member_Page_DashBoard\";',NULL,'a:1:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}}',NULL,NULL,3,1,0,1,0,700,1,1,0,'a:1:{s:9:\"component\";s:10:\"CiviMember\";}'), (355,1,'civicrm/member/add','action=add','New Membership','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:17:\"access CiviMember\";}i:1;s:3:\"and\";}','s:19:\"CRM_Member_Page_Tab\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:20:\"CiviMember Dashboard\";s:3:\"url\";s:23:\"/civicrm/member?reset=1\";}}',NULL,NULL,3,1,0,1,0,1,1,0,0,'a:1:{s:9:\"component\";s:10:\"CiviMember\";}'), (356,1,'civicrm/admin/member/membershipType',NULL,'Membership Types','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:3:{i:0;s:25:\"administer CiviCRM system\";i:1;s:23:\"administer CiviCRM data\";i:2;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:30:\"CRM_Member_Page_MembershipType\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,370,1,0,0,'a:2:{s:4:\"desc\";s:174:\"Define the types of memberships you want to offer. For each type, you can specify a \'name\' (Gold Member, Honor Society Member...), a description, duration, and a minimum fee.\";s:10:\"adminGroup\";s:10:\"CiviMember\";}'), @@ -5380,7 +5372,7 @@ INSERT INTO `civicrm_menu` (`id`, `domain_id`, `path`, `path_arguments`, `title` (457,1,'civicrm/contact/search/custom',NULL,'Find Contacts','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:42:\"CRM_Legacycustomsearches_Controller_Search\";','s:10:\"mode=16384\";','a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:31:\"/civicrm/contact/search?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,10,1,1,0,'a:0:{}'), (458,1,'civicrm/contact/search/custom/list',NULL,'Custom Searches','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:14:\"access CiviCRM\";}i:1;s:3:\"and\";}','s:29:\"CRM_Contact_Page_CustomSearch\";','s:10:\"mode=16384\";','a:3:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:31:\"/civicrm/contact/search?reset=1\";}i:2;a:2:{s:5:\"title\";s:13:\"Find Contacts\";s:3:\"url\";s:38:\"/civicrm/contact/search/custom?reset=1\";}}',NULL,NULL,NULL,1,0,1,0,16,1,1,0,'a:0:{}'), (459,1,'civicrm/admin/setting/recaptcha',NULL,'reCAPTCHA Settings','a:2:{i:0;s:19:\"CRM_Core_Permission\";i:1;s:9:\"checkMenu\";}','a:2:{i:0;a:1:{i:0;s:18:\"administer CiviCRM\";}i:1;s:3:\"and\";}','s:22:\"CRM_Admin_Form_Generic\";',NULL,'a:2:{i:0;a:2:{s:5:\"title\";s:7:\"CiviCRM\";s:3:\"url\";s:16:\"/civicrm?reset=1\";}i:1;a:2:{s:5:\"title\";s:18:\"Administer CiviCRM\";s:3:\"url\";s:22:\"/civicrm/admin?reset=1\";}}',NULL,NULL,NULL,1,0,1,1,1,1,0,0,'a:2:{s:4:\"desc\";s:43:\"Configure anti-abuse/bot-prevention service\";s:10:\"adminGroup\";s:15:\"System Settings\";}'), - (460,1,'admin',NULL,NULL,NULL,NULL,NULL,NULL,'a:15:{s:26:\"Customize Data and Screens\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:19:{s:13:\"{weight}.Tags\";a:6:{s:5:\"title\";s:4:\"Tags\";s:4:\"desc\";s:158:\"Tags are useful for segmenting the contacts in your database into categories (e.g. Staff Member, Donor, Volunteer, etc.). Create and edit available tags here.\";s:2:\"id\";s:4:\"Tags\";s:3:\"url\";s:20:\"/civicrm/tag?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:20:\"{weight}.Custom Data\";a:6:{s:5:\"title\";s:11:\"Custom Data\";s:4:\"desc\";s:109:\"Configure custom fields to collect and store custom data which is not included in the standard CiviCRM forms.\";s:2:\"id\";s:10:\"CustomData\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:17:\"{weight}.Profiles\";a:6:{s:5:\"title\";s:8:\"Profiles\";s:4:\"desc\";s:151:\"Profiles allow you to aggregate groups of fields and include them in your site as input forms, contact display pages, and search and listings features.\";s:2:\"id\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:23:\"{weight}.Activity Types\";a:6:{s:5:\"title\";s:14:\"Activity Types\";s:4:\"desc\";s:155:\"CiviCRM has several built-in activity types (meetings, phone calls, emails sent). Track other types of interactions by creating custom activity types here.\";s:2:\"id\";s:13:\"ActivityTypes\";s:3:\"url\";s:44:\"/civicrm/admin/options/activity_type?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.Relationship Types\";a:6:{s:5:\"title\";s:18:\"Relationship Types\";s:4:\"desc\";s:148:\"Contacts can be linked to each other through Relationships (e.g. Spouse, Employer, etc.). Define the types of relationships you want to record here.\";s:2:\"id\";s:17:\"RelationshipTypes\";s:3:\"url\";s:30:\"/civicrm/admin/reltype?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Contact Types\";a:6:{s:5:\"title\";s:13:\"Contact Types\";s:4:\"desc\";N;s:2:\"id\";s:12:\"ContactTypes\";s:3:\"url\";s:38:\"/civicrm/admin/options/subtype?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:23:\"{weight}.Gender Options\";a:6:{s:5:\"title\";s:14:\"Gender Options\";s:4:\"desc\";s:79:\"Options for assigning gender to individual contacts (e.g. Male, Female, Other).\";s:2:\"id\";s:13:\"GenderOptions\";s:3:\"url\";s:37:\"/civicrm/admin/options/gender?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:40:\"{weight}.Individual Prefixes (Ms, Mr...)\";a:6:{s:5:\"title\";s:31:\"Individual Prefixes (Ms, Mr...)\";s:4:\"desc\";s:66:\"Options for individual contact prefixes (e.g. Ms., Mr., Dr. etc.).\";s:2:\"id\";s:27:\"IndividualPrefixes_Ms_Mr...\";s:3:\"url\";s:48:\"/civicrm/admin/options/individual_prefix?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:40:\"{weight}.Individual Suffixes (Jr, Sr...)\";a:6:{s:5:\"title\";s:31:\"Individual Suffixes (Jr, Sr...)\";s:4:\"desc\";s:61:\"Options for individual contact suffixes (e.g. Jr., Sr. etc.).\";s:2:\"id\";s:27:\"IndividualSuffixes_Jr_Sr...\";s:3:\"url\";s:48:\"/civicrm/admin/options/individual_suffix?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:39:\"{weight}.Location Types (Home, Work...)\";a:6:{s:5:\"title\";s:30:\"Location Types (Home, Work...)\";s:4:\"desc\";s:94:\"Options for categorizing contact addresses and phone numbers (e.g. Home, Work, Billing, etc.).\";s:2:\"id\";s:26:\"LocationTypes_Home_Work...\";s:3:\"url\";s:35:\"/civicrm/admin/locationType?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Website Types\";a:6:{s:5:\"title\";s:13:\"Website Types\";s:4:\"desc\";s:48:\"Options for assigning website types to contacts.\";s:2:\"id\";s:12:\"WebsiteTypes\";s:3:\"url\";s:43:\"/civicrm/admin/options/website_type?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:35:\"{weight}.Instant Messenger Services\";a:6:{s:5:\"title\";s:26:\"Instant Messenger Services\";s:4:\"desc\";s:79:\"List of IM services which can be used when recording screen-names for contacts.\";s:2:\"id\";s:24:\"InstantMessengerServices\";s:3:\"url\";s:56:\"/civicrm/admin/options/instant_messenger_service?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:31:\"{weight}.Mobile Phone Providers\";a:6:{s:5:\"title\";s:22:\"Mobile Phone Providers\";s:4:\"desc\";s:90:\"List of mobile phone providers which can be assigned when recording contact phone numbers.\";s:2:\"id\";s:20:\"MobilePhoneProviders\";s:3:\"url\";s:46:\"/civicrm/admin/options/mobile_provider?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:19:\"{weight}.Phone Type\";a:6:{s:5:\"title\";s:10:\"Phone Type\";s:4:\"desc\";s:80:\"Options for assigning phone type to contacts (e.g Phone,\n Mobile, Fax, Pager)\";s:2:\"id\";s:9:\"PhoneType\";s:3:\"url\";s:41:\"/civicrm/admin/options/phone_type?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:28:\"{weight}.Display Preferences\";a:6:{s:5:\"title\";s:19:\"Display Preferences\";s:4:\"desc\";N;s:2:\"id\";s:18:\"DisplayPreferences\";s:3:\"url\";s:50:\"/civicrm/admin/setting/preferences/display?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.Search Preferences\";a:6:{s:5:\"title\";s:18:\"Search Preferences\";s:4:\"desc\";N;s:2:\"id\";s:17:\"SearchPreferences\";s:3:\"url\";s:37:\"/civicrm/admin/setting/search?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Navigation Menu\";a:6:{s:5:\"title\";s:15:\"Navigation Menu\";s:4:\"desc\";s:79:\"Add or remove menu items, and modify the order of items on the navigation menu.\";s:2:\"id\";s:14:\"NavigationMenu\";s:3:\"url\";s:27:\"/civicrm/admin/menu?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:26:\"{weight}.Word Replacements\";a:6:{s:5:\"title\";s:17:\"Word Replacements\";s:4:\"desc\";s:18:\"Word Replacements.\";s:2:\"id\";s:16:\"WordReplacements\";s:3:\"url\";s:47:\"/civicrm/admin/options/wordreplacements?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:31:\"{weight}.Manage Custom Searches\";a:6:{s:5:\"title\";s:22:\"Manage Custom Searches\";s:4:\"desc\";s:225:\"Developers and accidental techies with a bit of PHP and SQL knowledge can create new search forms to handle specific search and reporting needs which aren\'t covered by the built-in Advanced Search and Search Builder features.\";s:2:\"id\";s:20:\"ManageCustomSearches\";s:3:\"url\";s:44:\"/civicrm/admin/options/custom_search?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:14:\"CiviContribute\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:9:{s:32:\"{weight}.Personal Campaign Pages\";a:6:{s:5:\"title\";s:23:\"Personal Campaign Pages\";s:4:\"desc\";s:49:\"View and manage existing personal campaign pages.\";s:2:\"id\";s:21:\"PersonalCampaignPages\";s:3:\"url\";s:49:\"/civicrm/admin/pcp?context=contribute&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:34:\"{weight}.Manage Contribution Pages\";a:6:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:4:\"desc\";s:242:\"CiviContribute allows you to create and maintain any number of Online Contribution Pages. You can create different pages for different programs or campaigns - and customize text, amounts, types of information collected from contributors, etc.\";s:2:\"id\";s:23:\"ManageContributionPages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Manage Premiums\";a:6:{s:5:\"title\";s:15:\"Manage Premiums\";s:4:\"desc\";s:175:\"CiviContribute allows you to configure any number of Premiums which can be offered to contributors as incentives / thank-you gifts. Define the premiums you want to offer here.\";s:2:\"id\";s:14:\"ManagePremiums\";s:3:\"url\";s:48:\"/civicrm/admin/contribute/managePremiums?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Financial Types\";a:6:{s:5:\"title\";s:15:\"Financial Types\";s:4:\"desc\";s:64:\"Formerly civicrm_contribution_type merged into this table in 4.1\";s:2:\"id\";s:14:\"FinancialTypes\";s:3:\"url\";s:46:\"/civicrm/admin/financial/financialType?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.Financial Accounts\";a:6:{s:5:\"title\";s:18:\"Financial Accounts\";s:4:\"desc\";s:128:\"Financial types are used to categorize contributions for reporting and accounting purposes. These are also referred to as Funds.\";s:2:\"id\";s:17:\"FinancialAccounts\";s:3:\"url\";s:49:\"/civicrm/admin/financial/financialAccount?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Payment Methods\";a:6:{s:5:\"title\";s:15:\"Payment Methods\";s:4:\"desc\";s:224:\"You may choose to record the payment instrument used for each contribution. Common payment methods are installed by default (e.g. Check, Cash, Credit Card...). If your site requires additional payment methods, add them here.\";s:2:\"id\";s:14:\"PaymentMethods\";s:3:\"url\";s:49:\"/civicrm/admin/options/payment_instrument?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:30:\"{weight}.Accepted Credit Cards\";a:6:{s:5:\"title\";s:21:\"Accepted Credit Cards\";s:4:\"desc\";s:94:\"Credit card options that will be offered to contributors using your Online Contribution pages.\";s:2:\"id\";s:19:\"AcceptedCreditCards\";s:3:\"url\";s:48:\"/civicrm/admin/options/accept_creditcard?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:26:\"{weight}.Soft Credit Types\";a:6:{s:5:\"title\";s:17:\"Soft Credit Types\";s:4:\"desc\";s:86:\"Soft Credit Types that will be offered to contributors during soft credit contribution\";s:2:\"id\";s:15:\"SoftCreditTypes\";s:3:\"url\";s:47:\"/civicrm/admin/options/soft_credit_type?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:42:\"{weight}.CiviContribute Component Settings\";a:6:{s:5:\"title\";s:33:\"CiviContribute Component Settings\";s:4:\"desc\";s:42:\"Configure global CiviContribute behaviors.\";s:2:\"id\";s:31:\"CiviContributeComponentSettings\";s:3:\"url\";s:53:\"/civicrm/admin/setting/preferences/contribute?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:6:\"Manage\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{s:42:\"{weight}.Find and Merge Duplicate Contacts\";a:6:{s:5:\"title\";s:33:\"Find and Merge Duplicate Contacts\";s:4:\"desc\";s:158:\"Manage the rules used to identify potentially duplicate contact records. Scan for duplicates using a selected rule and merge duplicate contact data as needed.\";s:2:\"id\";s:29:\"FindandMergeDuplicateContacts\";s:3:\"url\";s:36:\"/civicrm/contact/deduperules?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:26:\"{weight}.Dedupe Exceptions\";a:6:{s:5:\"title\";s:17:\"Dedupe Exceptions\";s:4:\"desc\";N;s:2:\"id\";s:16:\"DedupeExceptions\";s:3:\"url\";s:33:\"/civicrm/dedupe/exception?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.Scheduled Jobs Log\";a:6:{s:5:\"title\";s:18:\"Scheduled Jobs Log\";s:4:\"desc\";s:46:\"Browsing the log of periodially running tasks.\";s:2:\"id\";s:16:\"ScheduledJobsLog\";s:3:\"url\";s:29:\"/civicrm/admin/joblog?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:14:\"Communications\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:11:{s:46:\"{weight}.Organization Address and Contact Info\";a:6:{s:5:\"title\";s:37:\"Organization Address and Contact Info\";s:4:\"desc\";s:150:\"Configure primary contact name, email, return-path and address information. This information is used by CiviMail to identify the sending organization.\";s:2:\"id\";s:33:\"OrganizationAddressandContactInfo\";s:3:\"url\";s:47:\"/civicrm/admin/domain?action=update&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:29:\"{weight}.From Email Addresses\";a:6:{s:5:\"title\";s:20:\"From Email Addresses\";s:4:\"desc\";s:74:\"List of Email Addresses which can be used when sending emails to contacts.\";s:2:\"id\";s:18:\"FromEmailAddresses\";s:3:\"url\";s:49:\"/civicrm/admin/options/from_email_address?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:26:\"{weight}.Message Templates\";a:6:{s:5:\"title\";s:17:\"Message Templates\";s:4:\"desc\";s:130:\"Message templates allow you to save and re-use messages with layouts which you can use when sending email to one or more contacts.\";s:2:\"id\";s:16:\"MessageTemplates\";s:3:\"url\";s:39:\"/civicrm/admin/messageTemplates?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.Schedule Reminders\";a:6:{s:5:\"title\";s:18:\"Schedule Reminders\";s:4:\"desc\";s:19:\"Schedule Reminders.\";s:2:\"id\";s:17:\"ScheduleReminders\";s:3:\"url\";s:40:\"/civicrm/admin/scheduleReminders?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:40:\"{weight}.Preferred Communication Methods\";a:6:{s:5:\"title\";s:31:\"Preferred Communication Methods\";s:4:\"desc\";s:117:\"One or more preferred methods of communication can be assigned to each contact. Customize the available options here.\";s:2:\"id\";s:29:\"PreferredCommunicationMethods\";s:3:\"url\";s:61:\"/civicrm/admin/options/preferred_communication_method?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Label Formats\";a:6:{s:5:\"title\";s:13:\"Label Formats\";s:4:\"desc\";s:67:\"Configure Label Formats that are used when creating mailing labels.\";s:2:\"id\";s:12:\"LabelFormats\";s:3:\"url\";s:35:\"/civicrm/admin/labelFormats?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:33:\"{weight}.Print Page (PDF) Formats\";a:6:{s:5:\"title\";s:24:\"Print Page (PDF) Formats\";s:4:\"desc\";s:95:\"Configure PDF Page Formats that can be assigned to Message Templates when creating PDF letters.\";s:2:\"id\";s:20:\"PrintPage_PDFFormats\";s:3:\"url\";s:33:\"/civicrm/admin/pdfFormats?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:36:\"{weight}.Communication Style Options\";a:6:{s:5:\"title\";s:27:\"Communication Style Options\";s:4:\"desc\";s:42:\"Options for Communication Style selection.\";s:2:\"id\";s:25:\"CommunicationStyleOptions\";s:3:\"url\";s:50:\"/civicrm/admin/options/communication_style?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:31:\"{weight}.Email Greeting Formats\";a:6:{s:5:\"title\";s:22:\"Email Greeting Formats\";s:4:\"desc\";s:75:\"Options for assigning email greetings to individual and household contacts.\";s:2:\"id\";s:20:\"EmailGreetingFormats\";s:3:\"url\";s:45:\"/civicrm/admin/options/email_greeting?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:32:\"{weight}.Postal Greeting Formats\";a:6:{s:5:\"title\";s:23:\"Postal Greeting Formats\";s:4:\"desc\";s:76:\"Options for assigning postal greetings to individual and household contacts.\";s:2:\"id\";s:21:\"PostalGreetingFormats\";s:3:\"url\";s:46:\"/civicrm/admin/options/postal_greeting?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:26:\"{weight}.Addressee Formats\";a:6:{s:5:\"title\";s:17:\"Addressee Formats\";s:4:\"desc\";s:83:\"Options for assigning addressee to individual, household and organization contacts.\";s:2:\"id\";s:16:\"AddresseeFormats\";s:3:\"url\";s:40:\"/civicrm/admin/options/addressee?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:12:\"Localization\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:4:{s:39:\"{weight}.Languages, Currency, Locations\";a:6:{s:5:\"title\";s:30:\"Languages, Currency, Locations\";s:4:\"desc\";N;s:2:\"id\";s:28:\"Languages_Currency_Locations\";s:3:\"url\";s:43:\"/civicrm/admin/setting/localization?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:25:\"{weight}.Address Settings\";a:6:{s:5:\"title\";s:16:\"Address Settings\";s:4:\"desc\";N;s:2:\"id\";s:15:\"AddressSettings\";s:3:\"url\";s:50:\"/civicrm/admin/setting/preferences/address?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:21:\"{weight}.Date Formats\";a:6:{s:5:\"title\";s:12:\"Date Formats\";s:4:\"desc\";N;s:2:\"id\";s:11:\"DateFormats\";s:3:\"url\";s:35:\"/civicrm/admin/setting/date?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:28:\"{weight}.Preferred Languages\";a:6:{s:5:\"title\";s:19:\"Preferred Languages\";s:4:\"desc\";s:30:\"Options for contact languages.\";s:2:\"id\";s:18:\"PreferredLanguages\";s:3:\"url\";s:40:\"/civicrm/admin/options/languages?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:21:\"Users and Permissions\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:2:{s:23:\"{weight}.Access Control\";a:6:{s:5:\"title\";s:14:\"Access Control\";s:4:\"desc\";s:73:\"Grant or deny access to actions (view, edit...), features and components.\";s:2:\"id\";s:13:\"AccessControl\";s:3:\"url\";s:29:\"/civicrm/admin/access?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:38:\"{weight}.Synchronize Users to Contacts\";a:6:{s:5:\"title\";s:29:\"Synchronize Users to Contacts\";s:4:\"desc\";s:71:\"Automatically create a CiviCRM contact record for each CMS user record.\";s:2:\"id\";s:26:\"SynchronizeUserstoContacts\";s:3:\"url\";s:32:\"/civicrm/admin/synchUser?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:15:\"System Settings\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:21:{s:32:\"{weight}.Configuration Checklist\";a:6:{s:5:\"title\";s:23:\"Configuration Checklist\";s:4:\"desc\";s:55:\"List of configuration tasks with links to each setting.\";s:2:\"id\";s:22:\"ConfigurationChecklist\";s:3:\"url\";s:33:\"/civicrm/admin/configtask?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:34:\"{weight}.Enable CiviCRM Components\";a:6:{s:5:\"title\";s:25:\"Enable CiviCRM Components\";s:4:\"desc\";s:269:\"Enable or disable components (e.g. CiviEvent, CiviMember, etc.) for your site based on the features you need. We recommend disabling any components not being used in order to simplify the user interface. You can easily re-enable components at any time from this screen.\";s:2:\"id\";s:23:\"EnableCiviCRMComponents\";s:3:\"url\";s:40:\"/civicrm/admin/setting/component?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:26:\"{weight}.Manage Extensions\";a:6:{s:5:\"title\";s:17:\"Manage Extensions\";s:4:\"desc\";s:0:\"\";s:2:\"id\";s:16:\"ManageExtensions\";s:3:\"url\";s:33:\"/civicrm/admin/extensions?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:32:\"{weight}.Outbound Email Settings\";a:6:{s:5:\"title\";s:23:\"Outbound Email Settings\";s:4:\"desc\";N;s:2:\"id\";s:21:\"OutboundEmailSettings\";s:3:\"url\";s:35:\"/civicrm/admin/setting/smtp?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:37:\"{weight}.Settings - Payment Processor\";a:6:{s:5:\"title\";s:28:\"Settings - Payment Processor\";s:4:\"desc\";s:48:\"Payment Processor setup for CiviCRM transactions\";s:2:\"id\";s:25:\"Settings-PaymentProcessor\";s:3:\"url\";s:39:\"/civicrm/admin/paymentProcessor?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:30:\"{weight}.Mapping and Geocoding\";a:6:{s:5:\"title\";s:21:\"Mapping and Geocoding\";s:4:\"desc\";N;s:2:\"id\";s:19:\"MappingandGeocoding\";s:3:\"url\";s:38:\"/civicrm/admin/setting/mapping?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:53:\"{weight}.Misc (Undelete, PDFs, Limits, Logging, etc.)\";a:6:{s:5:\"title\";s:44:\"Misc (Undelete, PDFs, Limits, Logging, etc.)\";s:4:\"desc\";s:63:\"Enable undelete/move to trash feature, detailed change logging.\";s:2:\"id\";s:38:\"Misc_Undelete_PDFs_Limits_Logging_etc.\";s:3:\"url\";s:35:\"/civicrm/admin/setting/misc?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:20:\"{weight}.Directories\";a:6:{s:5:\"title\";s:11:\"Directories\";s:4:\"desc\";N;s:2:\"id\";s:11:\"Directories\";s:3:\"url\";s:35:\"/civicrm/admin/setting/path?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Resource URLs\";a:6:{s:5:\"title\";s:13:\"Resource URLs\";s:4:\"desc\";N;s:2:\"id\";s:12:\"ResourceURLs\";s:3:\"url\";s:34:\"/civicrm/admin/setting/url?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:40:\"{weight}.Cleanup Caches and Update Paths\";a:6:{s:5:\"title\";s:31:\"Cleanup Caches and Update Paths\";s:4:\"desc\";s:157:\"Reset the Base Directory Path and Base URL settings - generally when a CiviCRM site is moved to another location in the file system and/or to another domain.\";s:2:\"id\";s:27:\"CleanupCachesandUpdatePaths\";s:3:\"url\";s:50:\"/civicrm/admin/setting/updateConfigBackend?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:33:\"{weight}.CMS Database Integration\";a:6:{s:5:\"title\";s:24:\"CMS Database Integration\";s:4:\"desc\";N;s:2:\"id\";s:22:\"CMSDatabaseIntegration\";s:3:\"url\";s:33:\"/civicrm/admin/setting/uf?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:36:\"{weight}.Safe File Extension Options\";a:6:{s:5:\"title\";s:27:\"Safe File Extension Options\";s:4:\"desc\";s:44:\"File Extensions that can be considered safe.\";s:2:\"id\";s:24:\"SafeFileExtensionOptions\";s:3:\"url\";s:50:\"/civicrm/admin/options/safe_file_extension?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Option Groups\";a:6:{s:5:\"title\";s:13:\"Option Groups\";s:4:\"desc\";s:35:\"Access all meta-data option groups.\";s:2:\"id\";s:12:\"OptionGroups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:31:\"{weight}.Import/Export Mappings\";a:6:{s:5:\"title\";s:22:\"Import/Export Mappings\";s:4:\"desc\";s:141:\"Import and Export mappings allow you to easily run the same job multiple times. This option allows you to rename or delete existing mappings.\";s:2:\"id\";s:21:\"Import_ExportMappings\";s:3:\"url\";s:30:\"/civicrm/admin/mapping?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:18:\"{weight}.Debugging\";a:6:{s:5:\"title\";s:9:\"Debugging\";s:4:\"desc\";N;s:2:\"id\";s:9:\"Debugging\";s:3:\"url\";s:36:\"/civicrm/admin/setting/debug?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:28:\"{weight}.Multi Site Settings\";a:6:{s:5:\"title\";s:19:\"Multi Site Settings\";s:4:\"desc\";N;s:2:\"id\";s:17:\"MultiSiteSettings\";s:3:\"url\";s:52:\"/civicrm/admin/setting/preferences/multisite?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:23:\"{weight}.Scheduled Jobs\";a:6:{s:5:\"title\";s:14:\"Scheduled Jobs\";s:4:\"desc\";s:35:\"Managing periodially running tasks.\";s:2:\"id\";s:13:\"ScheduledJobs\";s:3:\"url\";s:26:\"/civicrm/admin/job?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:26:\"{weight}.Add Scheduled Job\";a:6:{s:5:\"title\";s:17:\"Add Scheduled Job\";s:4:\"desc\";s:31:\"Add a periodially running task.\";s:2:\"id\";s:15:\"AddScheduledJob\";s:3:\"url\";s:30:\"/civicrm/admin/job/add?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.Edit Scheduled Job\";a:6:{s:5:\"title\";s:18:\"Edit Scheduled Job\";s:4:\"desc\";s:32:\"Edit a periodially running task.\";s:2:\"id\";s:16:\"EditScheduledJob\";s:3:\"url\";s:31:\"/civicrm/admin/job/edit?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Sms Providers\";a:6:{s:5:\"title\";s:13:\"Sms Providers\";s:4:\"desc\";s:27:\"To configure a sms provider\";s:2:\"id\";s:12:\"SmsProviders\";s:3:\"url\";s:35:\"/civicrm/admin/sms/provider?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.reCAPTCHA Settings\";a:6:{s:5:\"title\";s:18:\"reCAPTCHA Settings\";s:4:\"desc\";s:43:\"Configure anti-abuse/bot-prevention service\";s:2:\"id\";s:17:\"reCAPTCHASettings\";s:3:\"url\";s:40:\"/civicrm/admin/setting/recaptcha?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:12:\"CiviCampaign\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:5:{s:40:\"{weight}.CiviCampaign Component Settings\";a:6:{s:5:\"title\";s:31:\"CiviCampaign Component Settings\";s:4:\"desc\";s:40:\"Configure global CiviCampaign behaviors.\";s:2:\"id\";s:29:\"CiviCampaignComponentSettings\";s:3:\"url\";s:51:\"/civicrm/admin/setting/preferences/campaign?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:21:\"{weight}.Survey Types\";a:6:{s:5:\"title\";s:12:\"Survey Types\";s:4:\"desc\";N;s:2:\"id\";s:11:\"SurveyTypes\";s:3:\"url\";s:42:\"/civicrm/admin/campaign/surveyType?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:23:\"{weight}.Campaign Types\";a:6:{s:5:\"title\";s:14:\"Campaign Types\";s:4:\"desc\";s:47:\"categorize your campaigns using campaign types.\";s:2:\"id\";s:13:\"CampaignTypes\";s:3:\"url\";s:44:\"/civicrm/admin/options/campaign_type?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Campaign Status\";a:6:{s:5:\"title\";s:15:\"Campaign Status\";s:4:\"desc\";s:34:\"Define statuses for campaign here.\";s:2:\"id\";s:14:\"CampaignStatus\";s:3:\"url\";s:46:\"/civicrm/admin/options/campaign_status?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:25:\"{weight}.Engagement Index\";a:6:{s:5:\"title\";s:16:\"Engagement Index\";s:4:\"desc\";s:18:\"Engagement levels.\";s:2:\"id\";s:15:\"EngagementIndex\";s:3:\"url\";s:47:\"/civicrm/admin/options/engagement_index?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:9:\"CiviEvent\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:9:{s:37:\"{weight}.CiviEvent Component Settings\";a:6:{s:5:\"title\";s:28:\"CiviEvent Component Settings\";s:4:\"desc\";s:37:\"Configure global CiviEvent behaviors.\";s:2:\"id\";s:26:\"CiviEventComponentSettings\";s:3:\"url\";s:48:\"/civicrm/admin/setting/preferences/event?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:33:\"{weight}.Event Name Badge Layouts\";a:6:{s:5:\"title\";s:24:\"Event Name Badge Layouts\";s:4:\"desc\";s:107:\"Configure name badge layouts for event participants, including logos and what data to include on the badge.\";s:2:\"id\";s:21:\"EventNameBadgeLayouts\";s:3:\"url\";s:52:\"/civicrm/admin/badgelayout?action=browse&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Manage Events\";a:6:{s:5:\"title\";s:13:\"Manage Events\";s:4:\"desc\";s:136:\"Create and edit event configuration including times, locations, online registration forms, and fees. Links for iCal and RSS syndication.\";s:2:\"id\";s:12:\"ManageEvents\";s:3:\"url\";s:28:\"/civicrm/admin/event?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Event Templates\";a:6:{s:5:\"title\";s:15:\"Event Templates\";s:4:\"desc\";s:115:\"Administrators can create Event Templates - which are basically master event records pre-filled with default values\";s:2:\"id\";s:14:\"EventTemplates\";s:3:\"url\";s:36:\"/civicrm/admin/eventTemplate?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:20:\"{weight}.Event Types\";a:6:{s:5:\"title\";s:11:\"Event Types\";s:4:\"desc\";s:143:\"Use Event Types to categorize your events. Event feeds can be filtered by Event Type and participant searches can use Event Type as a criteria.\";s:2:\"id\";s:10:\"EventTypes\";s:3:\"url\";s:41:\"/civicrm/admin/options/event_type?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.Participant Status\";a:6:{s:5:\"title\";s:18:\"Participant Status\";s:4:\"desc\";s:154:\"Define statuses for event participants here (e.g. Registered, Attended, Cancelled...). You can then assign statuses and search for participants by status.\";s:2:\"id\";s:17:\"ParticipantStatus\";s:3:\"url\";s:41:\"/civicrm/admin/participant_status?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:25:\"{weight}.Participant Role\";a:6:{s:5:\"title\";s:16:\"Participant Role\";s:4:\"desc\";s:138:\"Define participant roles for events here (e.g. Attendee, Host, Speaker...). You can then assign roles and search for participants by role.\";s:2:\"id\";s:15:\"ParticipantRole\";s:3:\"url\";s:47:\"/civicrm/admin/options/participant_role?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:38:\"{weight}.Participant Listing Templates\";a:6:{s:5:\"title\";s:29:\"Participant Listing Templates\";s:4:\"desc\";s:48:\"Template to control participant listing display.\";s:2:\"id\";s:27:\"ParticipantListingTemplates\";s:3:\"url\";s:50:\"/civicrm/admin/options/participant_listing?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:31:\"{weight}.Conference Slot Labels\";a:6:{s:5:\"title\";s:22:\"Conference Slot Labels\";s:4:\"desc\";s:35:\"Define conference slots and labels.\";s:2:\"id\";s:20:\"ConferenceSlotLabels\";s:3:\"url\";s:46:\"/civicrm/admin/options/conference_slot?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:8:\"CiviMail\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:5:{s:36:\"{weight}.CiviMail Component Settings\";a:6:{s:5:\"title\";s:27:\"CiviMail Component Settings\";s:4:\"desc\";s:36:\"Configure global CiviMail behaviors.\";s:2:\"id\";s:25:\"CiviMailComponentSettings\";s:3:\"url\";s:50:\"/civicrm/admin/setting/preferences/mailing?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Mailer Settings\";a:6:{s:5:\"title\";s:15:\"Mailer Settings\";s:4:\"desc\";s:61:\"Configure spool period, throttling and other mailer settings.\";s:2:\"id\";s:14:\"MailerSettings\";s:3:\"url\";s:27:\"/civicrm/admin/mail?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:49:\"{weight}.Headers, Footers, and Automated Messages\";a:6:{s:5:\"title\";s:40:\"Headers, Footers, and Automated Messages\";s:4:\"desc\";s:143:\"Configure the header and footer used for mailings. Customize the content of automated Subscribe, Unsubscribe, Resubscribe and Opt-out messages.\";s:2:\"id\";s:36:\"Headers_Footers_andAutomatedMessages\";s:3:\"url\";s:32:\"/civicrm/admin/component?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:29:\"{weight}.From Email Addresses\";a:6:{s:5:\"title\";s:20:\"From Email Addresses\";s:4:\"desc\";s:74:\"List of Email Addresses which can be used when sending emails to contacts.\";s:2:\"id\";s:18:\"FromEmailAddresses\";s:3:\"url\";s:58:\"/civicrm/admin/options/from_email_address/civimail?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Mail Accounts\";a:6:{s:5:\"title\";s:13:\"Mail Accounts\";s:4:\"desc\";s:32:\"Configure email account setting.\";s:2:\"id\";s:12:\"MailAccounts\";s:3:\"url\";s:35:\"/civicrm/admin/mailSettings?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:10:\"CiviMember\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{s:38:\"{weight}.CiviMember Component Settings\";a:6:{s:5:\"title\";s:29:\"CiviMember Component Settings\";s:4:\"desc\";s:38:\"Configure global CiviMember behaviors.\";s:2:\"id\";s:27:\"CiviMemberComponentSettings\";s:3:\"url\";s:49:\"/civicrm/admin/setting/preferences/member?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:25:\"{weight}.Membership Types\";a:6:{s:5:\"title\";s:16:\"Membership Types\";s:4:\"desc\";s:174:\"Define the types of memberships you want to offer. For each type, you can specify a \'name\' (Gold Member, Honor Society Member...), a description, duration, and a minimum fee.\";s:2:\"id\";s:15:\"MembershipTypes\";s:3:\"url\";s:44:\"/civicrm/admin/member/membershipType?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:32:\"{weight}.Membership Status Rules\";a:6:{s:5:\"title\";s:23:\"Membership Status Rules\";s:4:\"desc\";s:187:\"Status \'rules\' define the current status for a membership based on that membership\'s start and end dates. You can adjust the default status options and rules as needed to meet your needs.\";s:2:\"id\";s:21:\"MembershipStatusRules\";s:3:\"url\";s:46:\"/civicrm/admin/member/membershipStatus?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:12:\"Option Lists\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:1:{s:20:\"{weight}.Grant Types\";a:6:{s:5:\"title\";s:11:\"Grant Types\";s:4:\"desc\";s:148:\"List of types which can be assigned to Grants. (Enable CiviGrant from Administer > System Settings > Enable Components if you want to track grants.)\";s:2:\"id\";s:10:\"GrantTypes\";s:3:\"url\";s:41:\"/civicrm/admin/options/grant_type?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:9:\"Customize\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:1:{s:19:\"{weight}.Price Sets\";a:6:{s:5:\"title\";s:10:\"Price Sets\";s:4:\"desc\";s:205:\"Price sets allow you to offer multiple options with associated fees (e.g. pre-conference workshops, additional meals, etc.). Configure Price Sets for events which need more than a single set of fee levels.\";s:2:\"id\";s:9:\"PriceSets\";s:3:\"url\";s:28:\"/civicrm/admin/price?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:8:\"CiviCase\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:5:{s:26:\"{weight}.CiviCase Settings\";a:6:{s:5:\"title\";s:17:\"CiviCase Settings\";s:4:\"desc\";N;s:2:\"id\";s:16:\"CiviCaseSettings\";s:3:\"url\";s:35:\"/civicrm/admin/setting/case?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:19:\"{weight}.Case Types\";a:6:{s:5:\"title\";s:10:\"Case Types\";s:4:\"desc\";s:137:\"List of types which can be assigned to Cases. (Enable the Cases tab from System Settings - Enable Components if you want to track cases.)\";s:2:\"id\";s:9:\"CaseTypes\";s:3:\"url\";s:40:\"/civicrm/admin/options/case_type?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Redaction Rules\";a:6:{s:5:\"title\";s:15:\"Redaction Rules\";s:4:\"desc\";s:223:\"List of rules which can be applied to user input strings so that the redacted output can be recognized as repeated instances of the same string or can be identified as a \"semantic type of the data element\" within case data.\";s:2:\"id\";s:14:\"RedactionRules\";s:3:\"url\";s:45:\"/civicrm/admin/options/redaction_rule?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Case Statuses\";a:6:{s:5:\"title\";s:13:\"Case Statuses\";s:4:\"desc\";s:48:\"List of statuses that can be assigned to a case.\";s:2:\"id\";s:12:\"CaseStatuses\";s:3:\"url\";s:42:\"/civicrm/admin/options/case_status?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:26:\"{weight}.Encounter Mediums\";a:6:{s:5:\"title\";s:17:\"Encounter Mediums\";s:4:\"desc\";s:26:\"List of encounter mediums.\";s:2:\"id\";s:16:\"EncounterMediums\";s:3:\"url\";s:47:\"/civicrm/admin/options/encounter_medium?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:10:\"CiviReport\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{s:40:\"{weight}.Create New Report from Template\";a:6:{s:5:\"title\";s:31:\"Create New Report from Template\";s:4:\"desc\";s:49:\"Component wise listing of all available templates\";s:2:\"id\";s:27:\"CreateNewReportfromTemplate\";s:3:\"url\";s:43:\"/civicrm/admin/report/template/list?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:25:\"{weight}.Manage Templates\";a:6:{s:5:\"title\";s:16:\"Manage Templates\";s:4:\"desc\";s:45:\"Browse, Edit and Delete the Report templates.\";s:2:\"id\";s:15:\"ManageTemplates\";s:3:\"url\";s:53:\"/civicrm/admin/report/options/report_template?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Reports Listing\";a:6:{s:5:\"title\";s:15:\"Reports Listing\";s:4:\"desc\";s:60:\"Browse existing report, change report criteria and settings.\";s:2:\"id\";s:14:\"ReportsListing\";s:3:\"url\";s:34:\"/civicrm/admin/report/list?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}}',NULL,NULL,NULL,1,0,1,1,1,1,1,0,'a:0:{}'); + (460,1,'admin',NULL,NULL,NULL,NULL,NULL,NULL,'a:15:{s:26:\"Customize Data and Screens\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:19:{s:13:\"{weight}.Tags\";a:6:{s:5:\"title\";s:4:\"Tags\";s:4:\"desc\";s:158:\"Tags are useful for segmenting the contacts in your database into categories (e.g. Staff Member, Donor, Volunteer, etc.). Create and edit available tags here.\";s:2:\"id\";s:4:\"Tags\";s:3:\"url\";s:20:\"/civicrm/tag?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:20:\"{weight}.Custom Data\";a:6:{s:5:\"title\";s:11:\"Custom Data\";s:4:\"desc\";s:109:\"Configure custom fields to collect and store custom data which is not included in the standard CiviCRM forms.\";s:2:\"id\";s:10:\"CustomData\";s:3:\"url\";s:35:\"/civicrm/admin/custom/group?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:17:\"{weight}.Profiles\";a:6:{s:5:\"title\";s:8:\"Profiles\";s:4:\"desc\";s:151:\"Profiles allow you to aggregate groups of fields and include them in your site as input forms, contact display pages, and search and listings features.\";s:2:\"id\";s:8:\"Profiles\";s:3:\"url\";s:31:\"/civicrm/admin/uf/group?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:23:\"{weight}.Activity Types\";a:6:{s:5:\"title\";s:14:\"Activity Types\";s:4:\"desc\";s:155:\"CiviCRM has several built-in activity types (meetings, phone calls, emails sent). Track other types of interactions by creating custom activity types here.\";s:2:\"id\";s:13:\"ActivityTypes\";s:3:\"url\";s:44:\"/civicrm/admin/options/activity_type?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.Relationship Types\";a:6:{s:5:\"title\";s:18:\"Relationship Types\";s:4:\"desc\";s:148:\"Contacts can be linked to each other through Relationships (e.g. Spouse, Employer, etc.). Define the types of relationships you want to record here.\";s:2:\"id\";s:17:\"RelationshipTypes\";s:3:\"url\";s:30:\"/civicrm/admin/reltype?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Contact Types\";a:6:{s:5:\"title\";s:13:\"Contact Types\";s:4:\"desc\";N;s:2:\"id\";s:12:\"ContactTypes\";s:3:\"url\";s:38:\"/civicrm/admin/options/subtype?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:23:\"{weight}.Gender Options\";a:6:{s:5:\"title\";s:14:\"Gender Options\";s:4:\"desc\";s:79:\"Options for assigning gender to individual contacts (e.g. Male, Female, Other).\";s:2:\"id\";s:13:\"GenderOptions\";s:3:\"url\";s:37:\"/civicrm/admin/options/gender?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:40:\"{weight}.Individual Prefixes (Ms, Mr...)\";a:6:{s:5:\"title\";s:31:\"Individual Prefixes (Ms, Mr...)\";s:4:\"desc\";s:66:\"Options for individual contact prefixes (e.g. Ms., Mr., Dr. etc.).\";s:2:\"id\";s:27:\"IndividualPrefixes_Ms_Mr...\";s:3:\"url\";s:48:\"/civicrm/admin/options/individual_prefix?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:40:\"{weight}.Individual Suffixes (Jr, Sr...)\";a:6:{s:5:\"title\";s:31:\"Individual Suffixes (Jr, Sr...)\";s:4:\"desc\";s:61:\"Options for individual contact suffixes (e.g. Jr., Sr. etc.).\";s:2:\"id\";s:27:\"IndividualSuffixes_Jr_Sr...\";s:3:\"url\";s:48:\"/civicrm/admin/options/individual_suffix?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:39:\"{weight}.Location Types (Home, Work...)\";a:6:{s:5:\"title\";s:30:\"Location Types (Home, Work...)\";s:4:\"desc\";s:94:\"Options for categorizing contact addresses and phone numbers (e.g. Home, Work, Billing, etc.).\";s:2:\"id\";s:26:\"LocationTypes_Home_Work...\";s:3:\"url\";s:35:\"/civicrm/admin/locationType?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Website Types\";a:6:{s:5:\"title\";s:13:\"Website Types\";s:4:\"desc\";s:48:\"Options for assigning website types to contacts.\";s:2:\"id\";s:12:\"WebsiteTypes\";s:3:\"url\";s:43:\"/civicrm/admin/options/website_type?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:35:\"{weight}.Instant Messenger Services\";a:6:{s:5:\"title\";s:26:\"Instant Messenger Services\";s:4:\"desc\";s:79:\"List of IM services which can be used when recording screen-names for contacts.\";s:2:\"id\";s:24:\"InstantMessengerServices\";s:3:\"url\";s:56:\"/civicrm/admin/options/instant_messenger_service?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:31:\"{weight}.Mobile Phone Providers\";a:6:{s:5:\"title\";s:22:\"Mobile Phone Providers\";s:4:\"desc\";s:90:\"List of mobile phone providers which can be assigned when recording contact phone numbers.\";s:2:\"id\";s:20:\"MobilePhoneProviders\";s:3:\"url\";s:46:\"/civicrm/admin/options/mobile_provider?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:19:\"{weight}.Phone Type\";a:6:{s:5:\"title\";s:10:\"Phone Type\";s:4:\"desc\";s:80:\"Options for assigning phone type to contacts (e.g Phone,\n Mobile, Fax, Pager)\";s:2:\"id\";s:9:\"PhoneType\";s:3:\"url\";s:41:\"/civicrm/admin/options/phone_type?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:28:\"{weight}.Display Preferences\";a:6:{s:5:\"title\";s:19:\"Display Preferences\";s:4:\"desc\";N;s:2:\"id\";s:18:\"DisplayPreferences\";s:3:\"url\";s:50:\"/civicrm/admin/setting/preferences/display?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.Search Preferences\";a:6:{s:5:\"title\";s:18:\"Search Preferences\";s:4:\"desc\";N;s:2:\"id\";s:17:\"SearchPreferences\";s:3:\"url\";s:37:\"/civicrm/admin/setting/search?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Navigation Menu\";a:6:{s:5:\"title\";s:15:\"Navigation Menu\";s:4:\"desc\";s:79:\"Add or remove menu items, and modify the order of items on the navigation menu.\";s:2:\"id\";s:14:\"NavigationMenu\";s:3:\"url\";s:27:\"/civicrm/admin/menu?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:26:\"{weight}.Word Replacements\";a:6:{s:5:\"title\";s:17:\"Word Replacements\";s:4:\"desc\";s:18:\"Word Replacements.\";s:2:\"id\";s:16:\"WordReplacements\";s:3:\"url\";s:47:\"/civicrm/admin/options/wordreplacements?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:31:\"{weight}.Manage Custom Searches\";a:6:{s:5:\"title\";s:22:\"Manage Custom Searches\";s:4:\"desc\";s:225:\"Developers and accidental techies with a bit of PHP and SQL knowledge can create new search forms to handle specific search and reporting needs which aren\'t covered by the built-in Advanced Search and Search Builder features.\";s:2:\"id\";s:20:\"ManageCustomSearches\";s:3:\"url\";s:44:\"/civicrm/admin/options/custom_search?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:6:\"Manage\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{s:42:\"{weight}.Find and Merge Duplicate Contacts\";a:6:{s:5:\"title\";s:33:\"Find and Merge Duplicate Contacts\";s:4:\"desc\";s:158:\"Manage the rules used to identify potentially duplicate contact records. Scan for duplicates using a selected rule and merge duplicate contact data as needed.\";s:2:\"id\";s:29:\"FindandMergeDuplicateContacts\";s:3:\"url\";s:36:\"/civicrm/contact/deduperules?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:26:\"{weight}.Dedupe Exceptions\";a:6:{s:5:\"title\";s:17:\"Dedupe Exceptions\";s:4:\"desc\";N;s:2:\"id\";s:16:\"DedupeExceptions\";s:3:\"url\";s:33:\"/civicrm/dedupe/exception?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.Scheduled Jobs Log\";a:6:{s:5:\"title\";s:18:\"Scheduled Jobs Log\";s:4:\"desc\";s:46:\"Browsing the log of periodially running tasks.\";s:2:\"id\";s:16:\"ScheduledJobsLog\";s:3:\"url\";s:29:\"/civicrm/admin/joblog?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:14:\"CiviContribute\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:9:{s:32:\"{weight}.Personal Campaign Pages\";a:6:{s:5:\"title\";s:23:\"Personal Campaign Pages\";s:4:\"desc\";s:49:\"View and manage existing personal campaign pages.\";s:2:\"id\";s:21:\"PersonalCampaignPages\";s:3:\"url\";s:49:\"/civicrm/admin/pcp?context=contribute&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:34:\"{weight}.Manage Contribution Pages\";a:6:{s:5:\"title\";s:25:\"Manage Contribution Pages\";s:4:\"desc\";s:242:\"CiviContribute allows you to create and maintain any number of Online Contribution Pages. You can create different pages for different programs or campaigns - and customize text, amounts, types of information collected from contributors, etc.\";s:2:\"id\";s:23:\"ManageContributionPages\";s:3:\"url\";s:33:\"/civicrm/admin/contribute?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Manage Premiums\";a:6:{s:5:\"title\";s:15:\"Manage Premiums\";s:4:\"desc\";s:175:\"CiviContribute allows you to configure any number of Premiums which can be offered to contributors as incentives / thank-you gifts. Define the premiums you want to offer here.\";s:2:\"id\";s:14:\"ManagePremiums\";s:3:\"url\";s:48:\"/civicrm/admin/contribute/managePremiums?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Financial Types\";a:6:{s:5:\"title\";s:15:\"Financial Types\";s:4:\"desc\";s:64:\"Formerly civicrm_contribution_type merged into this table in 4.1\";s:2:\"id\";s:14:\"FinancialTypes\";s:3:\"url\";s:46:\"/civicrm/admin/financial/financialType?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.Financial Accounts\";a:6:{s:5:\"title\";s:18:\"Financial Accounts\";s:4:\"desc\";s:128:\"Financial types are used to categorize contributions for reporting and accounting purposes. These are also referred to as Funds.\";s:2:\"id\";s:17:\"FinancialAccounts\";s:3:\"url\";s:49:\"/civicrm/admin/financial/financialAccount?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Payment Methods\";a:6:{s:5:\"title\";s:15:\"Payment Methods\";s:4:\"desc\";s:224:\"You may choose to record the payment instrument used for each contribution. Common payment methods are installed by default (e.g. Check, Cash, Credit Card...). If your site requires additional payment methods, add them here.\";s:2:\"id\";s:14:\"PaymentMethods\";s:3:\"url\";s:49:\"/civicrm/admin/options/payment_instrument?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:30:\"{weight}.Accepted Credit Cards\";a:6:{s:5:\"title\";s:21:\"Accepted Credit Cards\";s:4:\"desc\";s:94:\"Credit card options that will be offered to contributors using your Online Contribution pages.\";s:2:\"id\";s:19:\"AcceptedCreditCards\";s:3:\"url\";s:48:\"/civicrm/admin/options/accept_creditcard?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:26:\"{weight}.Soft Credit Types\";a:6:{s:5:\"title\";s:17:\"Soft Credit Types\";s:4:\"desc\";s:86:\"Soft Credit Types that will be offered to contributors during soft credit contribution\";s:2:\"id\";s:15:\"SoftCreditTypes\";s:3:\"url\";s:47:\"/civicrm/admin/options/soft_credit_type?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:42:\"{weight}.CiviContribute Component Settings\";a:6:{s:5:\"title\";s:33:\"CiviContribute Component Settings\";s:4:\"desc\";s:42:\"Configure global CiviContribute behaviors.\";s:2:\"id\";s:31:\"CiviContributeComponentSettings\";s:3:\"url\";s:53:\"/civicrm/admin/setting/preferences/contribute?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:14:\"Communications\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:11:{s:46:\"{weight}.Organization Address and Contact Info\";a:6:{s:5:\"title\";s:37:\"Organization Address and Contact Info\";s:4:\"desc\";s:150:\"Configure primary contact name, email, return-path and address information. This information is used by CiviMail to identify the sending organization.\";s:2:\"id\";s:33:\"OrganizationAddressandContactInfo\";s:3:\"url\";s:47:\"/civicrm/admin/domain?action=update&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:29:\"{weight}.From Email Addresses\";a:6:{s:5:\"title\";s:20:\"From Email Addresses\";s:4:\"desc\";s:74:\"List of Email Addresses which can be used when sending emails to contacts.\";s:2:\"id\";s:18:\"FromEmailAddresses\";s:3:\"url\";s:49:\"/civicrm/admin/options/from_email_address?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:26:\"{weight}.Message Templates\";a:6:{s:5:\"title\";s:17:\"Message Templates\";s:4:\"desc\";s:130:\"Message templates allow you to save and re-use messages with layouts which you can use when sending email to one or more contacts.\";s:2:\"id\";s:16:\"MessageTemplates\";s:3:\"url\";s:39:\"/civicrm/admin/messageTemplates?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.Schedule Reminders\";a:6:{s:5:\"title\";s:18:\"Schedule Reminders\";s:4:\"desc\";s:19:\"Schedule Reminders.\";s:2:\"id\";s:17:\"ScheduleReminders\";s:3:\"url\";s:40:\"/civicrm/admin/scheduleReminders?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:40:\"{weight}.Preferred Communication Methods\";a:6:{s:5:\"title\";s:31:\"Preferred Communication Methods\";s:4:\"desc\";s:117:\"One or more preferred methods of communication can be assigned to each contact. Customize the available options here.\";s:2:\"id\";s:29:\"PreferredCommunicationMethods\";s:3:\"url\";s:61:\"/civicrm/admin/options/preferred_communication_method?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Label Formats\";a:6:{s:5:\"title\";s:13:\"Label Formats\";s:4:\"desc\";s:67:\"Configure Label Formats that are used when creating mailing labels.\";s:2:\"id\";s:12:\"LabelFormats\";s:3:\"url\";s:35:\"/civicrm/admin/labelFormats?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:33:\"{weight}.Print Page (PDF) Formats\";a:6:{s:5:\"title\";s:24:\"Print Page (PDF) Formats\";s:4:\"desc\";s:95:\"Configure PDF Page Formats that can be assigned to Message Templates when creating PDF letters.\";s:2:\"id\";s:20:\"PrintPage_PDFFormats\";s:3:\"url\";s:33:\"/civicrm/admin/pdfFormats?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:36:\"{weight}.Communication Style Options\";a:6:{s:5:\"title\";s:27:\"Communication Style Options\";s:4:\"desc\";s:42:\"Options for Communication Style selection.\";s:2:\"id\";s:25:\"CommunicationStyleOptions\";s:3:\"url\";s:50:\"/civicrm/admin/options/communication_style?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:31:\"{weight}.Email Greeting Formats\";a:6:{s:5:\"title\";s:22:\"Email Greeting Formats\";s:4:\"desc\";s:75:\"Options for assigning email greetings to individual and household contacts.\";s:2:\"id\";s:20:\"EmailGreetingFormats\";s:3:\"url\";s:45:\"/civicrm/admin/options/email_greeting?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:32:\"{weight}.Postal Greeting Formats\";a:6:{s:5:\"title\";s:23:\"Postal Greeting Formats\";s:4:\"desc\";s:76:\"Options for assigning postal greetings to individual and household contacts.\";s:2:\"id\";s:21:\"PostalGreetingFormats\";s:3:\"url\";s:46:\"/civicrm/admin/options/postal_greeting?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:26:\"{weight}.Addressee Formats\";a:6:{s:5:\"title\";s:17:\"Addressee Formats\";s:4:\"desc\";s:83:\"Options for assigning addressee to individual, household and organization contacts.\";s:2:\"id\";s:16:\"AddresseeFormats\";s:3:\"url\";s:40:\"/civicrm/admin/options/addressee?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:12:\"Localization\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:4:{s:39:\"{weight}.Languages, Currency, Locations\";a:6:{s:5:\"title\";s:30:\"Languages, Currency, Locations\";s:4:\"desc\";N;s:2:\"id\";s:28:\"Languages_Currency_Locations\";s:3:\"url\";s:43:\"/civicrm/admin/setting/localization?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:25:\"{weight}.Address Settings\";a:6:{s:5:\"title\";s:16:\"Address Settings\";s:4:\"desc\";N;s:2:\"id\";s:15:\"AddressSettings\";s:3:\"url\";s:50:\"/civicrm/admin/setting/preferences/address?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:21:\"{weight}.Date Formats\";a:6:{s:5:\"title\";s:12:\"Date Formats\";s:4:\"desc\";N;s:2:\"id\";s:11:\"DateFormats\";s:3:\"url\";s:35:\"/civicrm/admin/setting/date?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:28:\"{weight}.Preferred Languages\";a:6:{s:5:\"title\";s:19:\"Preferred Languages\";s:4:\"desc\";s:30:\"Options for contact languages.\";s:2:\"id\";s:18:\"PreferredLanguages\";s:3:\"url\";s:40:\"/civicrm/admin/options/languages?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:21:\"Users and Permissions\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:2:{s:23:\"{weight}.Access Control\";a:6:{s:5:\"title\";s:14:\"Access Control\";s:4:\"desc\";s:73:\"Grant or deny access to actions (view, edit...), features and components.\";s:2:\"id\";s:13:\"AccessControl\";s:3:\"url\";s:29:\"/civicrm/admin/access?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:38:\"{weight}.Synchronize Users to Contacts\";a:6:{s:5:\"title\";s:29:\"Synchronize Users to Contacts\";s:4:\"desc\";s:71:\"Automatically create a CiviCRM contact record for each CMS user record.\";s:2:\"id\";s:26:\"SynchronizeUserstoContacts\";s:3:\"url\";s:32:\"/civicrm/admin/synchUser?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:15:\"System Settings\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:21:{s:32:\"{weight}.Configuration Checklist\";a:6:{s:5:\"title\";s:23:\"Configuration Checklist\";s:4:\"desc\";s:55:\"List of configuration tasks with links to each setting.\";s:2:\"id\";s:22:\"ConfigurationChecklist\";s:3:\"url\";s:33:\"/civicrm/admin/configtask?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:34:\"{weight}.Enable CiviCRM Components\";a:6:{s:5:\"title\";s:25:\"Enable CiviCRM Components\";s:4:\"desc\";s:269:\"Enable or disable components (e.g. CiviEvent, CiviMember, etc.) for your site based on the features you need. We recommend disabling any components not being used in order to simplify the user interface. You can easily re-enable components at any time from this screen.\";s:2:\"id\";s:23:\"EnableCiviCRMComponents\";s:3:\"url\";s:40:\"/civicrm/admin/setting/component?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:26:\"{weight}.Manage Extensions\";a:6:{s:5:\"title\";s:17:\"Manage Extensions\";s:4:\"desc\";s:0:\"\";s:2:\"id\";s:16:\"ManageExtensions\";s:3:\"url\";s:33:\"/civicrm/admin/extensions?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:32:\"{weight}.Outbound Email Settings\";a:6:{s:5:\"title\";s:23:\"Outbound Email Settings\";s:4:\"desc\";N;s:2:\"id\";s:21:\"OutboundEmailSettings\";s:3:\"url\";s:35:\"/civicrm/admin/setting/smtp?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:37:\"{weight}.Settings - Payment Processor\";a:6:{s:5:\"title\";s:28:\"Settings - Payment Processor\";s:4:\"desc\";s:48:\"Payment Processor setup for CiviCRM transactions\";s:2:\"id\";s:25:\"Settings-PaymentProcessor\";s:3:\"url\";s:39:\"/civicrm/admin/paymentProcessor?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:30:\"{weight}.Mapping and Geocoding\";a:6:{s:5:\"title\";s:21:\"Mapping and Geocoding\";s:4:\"desc\";N;s:2:\"id\";s:19:\"MappingandGeocoding\";s:3:\"url\";s:38:\"/civicrm/admin/setting/mapping?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:53:\"{weight}.Misc (Undelete, PDFs, Limits, Logging, etc.)\";a:6:{s:5:\"title\";s:44:\"Misc (Undelete, PDFs, Limits, Logging, etc.)\";s:4:\"desc\";s:63:\"Enable undelete/move to trash feature, detailed change logging.\";s:2:\"id\";s:38:\"Misc_Undelete_PDFs_Limits_Logging_etc.\";s:3:\"url\";s:35:\"/civicrm/admin/setting/misc?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:20:\"{weight}.Directories\";a:6:{s:5:\"title\";s:11:\"Directories\";s:4:\"desc\";N;s:2:\"id\";s:11:\"Directories\";s:3:\"url\";s:35:\"/civicrm/admin/setting/path?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Resource URLs\";a:6:{s:5:\"title\";s:13:\"Resource URLs\";s:4:\"desc\";N;s:2:\"id\";s:12:\"ResourceURLs\";s:3:\"url\";s:34:\"/civicrm/admin/setting/url?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:40:\"{weight}.Cleanup Caches and Update Paths\";a:6:{s:5:\"title\";s:31:\"Cleanup Caches and Update Paths\";s:4:\"desc\";s:157:\"Reset the Base Directory Path and Base URL settings - generally when a CiviCRM site is moved to another location in the file system and/or to another domain.\";s:2:\"id\";s:27:\"CleanupCachesandUpdatePaths\";s:3:\"url\";s:50:\"/civicrm/admin/setting/updateConfigBackend?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:33:\"{weight}.CMS Database Integration\";a:6:{s:5:\"title\";s:24:\"CMS Database Integration\";s:4:\"desc\";N;s:2:\"id\";s:22:\"CMSDatabaseIntegration\";s:3:\"url\";s:33:\"/civicrm/admin/setting/uf?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:36:\"{weight}.Safe File Extension Options\";a:6:{s:5:\"title\";s:27:\"Safe File Extension Options\";s:4:\"desc\";s:44:\"File Extensions that can be considered safe.\";s:2:\"id\";s:24:\"SafeFileExtensionOptions\";s:3:\"url\";s:50:\"/civicrm/admin/options/safe_file_extension?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Option Groups\";a:6:{s:5:\"title\";s:13:\"Option Groups\";s:4:\"desc\";s:35:\"Access all meta-data option groups.\";s:2:\"id\";s:12:\"OptionGroups\";s:3:\"url\";s:30:\"/civicrm/admin/options?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:31:\"{weight}.Import/Export Mappings\";a:6:{s:5:\"title\";s:22:\"Import/Export Mappings\";s:4:\"desc\";s:141:\"Import and Export mappings allow you to easily run the same job multiple times. This option allows you to rename or delete existing mappings.\";s:2:\"id\";s:21:\"Import_ExportMappings\";s:3:\"url\";s:30:\"/civicrm/admin/mapping?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:18:\"{weight}.Debugging\";a:6:{s:5:\"title\";s:9:\"Debugging\";s:4:\"desc\";N;s:2:\"id\";s:9:\"Debugging\";s:3:\"url\";s:36:\"/civicrm/admin/setting/debug?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:28:\"{weight}.Multi Site Settings\";a:6:{s:5:\"title\";s:19:\"Multi Site Settings\";s:4:\"desc\";N;s:2:\"id\";s:17:\"MultiSiteSettings\";s:3:\"url\";s:52:\"/civicrm/admin/setting/preferences/multisite?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:23:\"{weight}.Scheduled Jobs\";a:6:{s:5:\"title\";s:14:\"Scheduled Jobs\";s:4:\"desc\";s:35:\"Managing periodially running tasks.\";s:2:\"id\";s:13:\"ScheduledJobs\";s:3:\"url\";s:26:\"/civicrm/admin/job?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:26:\"{weight}.Add Scheduled Job\";a:6:{s:5:\"title\";s:17:\"Add Scheduled Job\";s:4:\"desc\";s:31:\"Add a periodially running task.\";s:2:\"id\";s:15:\"AddScheduledJob\";s:3:\"url\";s:30:\"/civicrm/admin/job/add?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.Edit Scheduled Job\";a:6:{s:5:\"title\";s:18:\"Edit Scheduled Job\";s:4:\"desc\";s:32:\"Edit a periodially running task.\";s:2:\"id\";s:16:\"EditScheduledJob\";s:3:\"url\";s:31:\"/civicrm/admin/job/edit?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Sms Providers\";a:6:{s:5:\"title\";s:13:\"Sms Providers\";s:4:\"desc\";s:27:\"To configure a sms provider\";s:2:\"id\";s:12:\"SmsProviders\";s:3:\"url\";s:35:\"/civicrm/admin/sms/provider?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.reCAPTCHA Settings\";a:6:{s:5:\"title\";s:18:\"reCAPTCHA Settings\";s:4:\"desc\";s:43:\"Configure anti-abuse/bot-prevention service\";s:2:\"id\";s:17:\"reCAPTCHASettings\";s:3:\"url\";s:40:\"/civicrm/admin/setting/recaptcha?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:12:\"CiviCampaign\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:5:{s:40:\"{weight}.CiviCampaign Component Settings\";a:6:{s:5:\"title\";s:31:\"CiviCampaign Component Settings\";s:4:\"desc\";s:40:\"Configure global CiviCampaign behaviors.\";s:2:\"id\";s:29:\"CiviCampaignComponentSettings\";s:3:\"url\";s:51:\"/civicrm/admin/setting/preferences/campaign?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:21:\"{weight}.Survey Types\";a:6:{s:5:\"title\";s:12:\"Survey Types\";s:4:\"desc\";N;s:2:\"id\";s:11:\"SurveyTypes\";s:3:\"url\";s:42:\"/civicrm/admin/campaign/surveyType?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:23:\"{weight}.Campaign Types\";a:6:{s:5:\"title\";s:14:\"Campaign Types\";s:4:\"desc\";s:47:\"categorize your campaigns using campaign types.\";s:2:\"id\";s:13:\"CampaignTypes\";s:3:\"url\";s:44:\"/civicrm/admin/options/campaign_type?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Campaign Status\";a:6:{s:5:\"title\";s:15:\"Campaign Status\";s:4:\"desc\";s:34:\"Define statuses for campaign here.\";s:2:\"id\";s:14:\"CampaignStatus\";s:3:\"url\";s:46:\"/civicrm/admin/options/campaign_status?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:25:\"{weight}.Engagement Index\";a:6:{s:5:\"title\";s:16:\"Engagement Index\";s:4:\"desc\";s:18:\"Engagement levels.\";s:2:\"id\";s:15:\"EngagementIndex\";s:3:\"url\";s:47:\"/civicrm/admin/options/engagement_index?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:9:\"CiviEvent\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:9:{s:37:\"{weight}.CiviEvent Component Settings\";a:6:{s:5:\"title\";s:28:\"CiviEvent Component Settings\";s:4:\"desc\";s:37:\"Configure global CiviEvent behaviors.\";s:2:\"id\";s:26:\"CiviEventComponentSettings\";s:3:\"url\";s:48:\"/civicrm/admin/setting/preferences/event?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:33:\"{weight}.Event Name Badge Layouts\";a:6:{s:5:\"title\";s:24:\"Event Name Badge Layouts\";s:4:\"desc\";s:107:\"Configure name badge layouts for event participants, including logos and what data to include on the badge.\";s:2:\"id\";s:21:\"EventNameBadgeLayouts\";s:3:\"url\";s:52:\"/civicrm/admin/badgelayout?action=browse&reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Manage Events\";a:6:{s:5:\"title\";s:13:\"Manage Events\";s:4:\"desc\";s:136:\"Create and edit event configuration including times, locations, online registration forms, and fees. Links for iCal and RSS syndication.\";s:2:\"id\";s:12:\"ManageEvents\";s:3:\"url\";s:28:\"/civicrm/admin/event?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Event Templates\";a:6:{s:5:\"title\";s:15:\"Event Templates\";s:4:\"desc\";s:115:\"Administrators can create Event Templates - which are basically master event records pre-filled with default values\";s:2:\"id\";s:14:\"EventTemplates\";s:3:\"url\";s:36:\"/civicrm/admin/eventTemplate?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:20:\"{weight}.Event Types\";a:6:{s:5:\"title\";s:11:\"Event Types\";s:4:\"desc\";s:143:\"Use Event Types to categorize your events. Event feeds can be filtered by Event Type and participant searches can use Event Type as a criteria.\";s:2:\"id\";s:10:\"EventTypes\";s:3:\"url\";s:41:\"/civicrm/admin/options/event_type?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:27:\"{weight}.Participant Status\";a:6:{s:5:\"title\";s:18:\"Participant Status\";s:4:\"desc\";s:154:\"Define statuses for event participants here (e.g. Registered, Attended, Cancelled...). You can then assign statuses and search for participants by status.\";s:2:\"id\";s:17:\"ParticipantStatus\";s:3:\"url\";s:41:\"/civicrm/admin/participant_status?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:25:\"{weight}.Participant Role\";a:6:{s:5:\"title\";s:16:\"Participant Role\";s:4:\"desc\";s:138:\"Define participant roles for events here (e.g. Attendee, Host, Speaker...). You can then assign roles and search for participants by role.\";s:2:\"id\";s:15:\"ParticipantRole\";s:3:\"url\";s:47:\"/civicrm/admin/options/participant_role?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:38:\"{weight}.Participant Listing Templates\";a:6:{s:5:\"title\";s:29:\"Participant Listing Templates\";s:4:\"desc\";s:48:\"Template to control participant listing display.\";s:2:\"id\";s:27:\"ParticipantListingTemplates\";s:3:\"url\";s:50:\"/civicrm/admin/options/participant_listing?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:31:\"{weight}.Conference Slot Labels\";a:6:{s:5:\"title\";s:22:\"Conference Slot Labels\";s:4:\"desc\";s:35:\"Define conference slots and labels.\";s:2:\"id\";s:20:\"ConferenceSlotLabels\";s:3:\"url\";s:46:\"/civicrm/admin/options/conference_slot?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:8:\"CiviMail\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:5:{s:36:\"{weight}.CiviMail Component Settings\";a:6:{s:5:\"title\";s:27:\"CiviMail Component Settings\";s:4:\"desc\";s:36:\"Configure global CiviMail behaviors.\";s:2:\"id\";s:25:\"CiviMailComponentSettings\";s:3:\"url\";s:50:\"/civicrm/admin/setting/preferences/mailing?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Mailer Settings\";a:6:{s:5:\"title\";s:15:\"Mailer Settings\";s:4:\"desc\";s:61:\"Configure spool period, throttling and other mailer settings.\";s:2:\"id\";s:14:\"MailerSettings\";s:3:\"url\";s:27:\"/civicrm/admin/mail?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:49:\"{weight}.Headers, Footers, and Automated Messages\";a:6:{s:5:\"title\";s:40:\"Headers, Footers, and Automated Messages\";s:4:\"desc\";s:143:\"Configure the header and footer used for mailings. Customize the content of automated Subscribe, Unsubscribe, Resubscribe and Opt-out messages.\";s:2:\"id\";s:36:\"Headers_Footers_andAutomatedMessages\";s:3:\"url\";s:32:\"/civicrm/admin/component?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:29:\"{weight}.From Email Addresses\";a:6:{s:5:\"title\";s:20:\"From Email Addresses\";s:4:\"desc\";s:74:\"List of Email Addresses which can be used when sending emails to contacts.\";s:2:\"id\";s:18:\"FromEmailAddresses\";s:3:\"url\";s:58:\"/civicrm/admin/options/from_email_address/civimail?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Mail Accounts\";a:6:{s:5:\"title\";s:13:\"Mail Accounts\";s:4:\"desc\";s:32:\"Configure email account setting.\";s:2:\"id\";s:12:\"MailAccounts\";s:3:\"url\";s:35:\"/civicrm/admin/mailSettings?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:10:\"CiviMember\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{s:38:\"{weight}.CiviMember Component Settings\";a:6:{s:5:\"title\";s:29:\"CiviMember Component Settings\";s:4:\"desc\";s:38:\"Configure global CiviMember behaviors.\";s:2:\"id\";s:27:\"CiviMemberComponentSettings\";s:3:\"url\";s:49:\"/civicrm/admin/setting/preferences/member?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:25:\"{weight}.Membership Types\";a:6:{s:5:\"title\";s:16:\"Membership Types\";s:4:\"desc\";s:174:\"Define the types of memberships you want to offer. For each type, you can specify a \'name\' (Gold Member, Honor Society Member...), a description, duration, and a minimum fee.\";s:2:\"id\";s:15:\"MembershipTypes\";s:3:\"url\";s:44:\"/civicrm/admin/member/membershipType?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:32:\"{weight}.Membership Status Rules\";a:6:{s:5:\"title\";s:23:\"Membership Status Rules\";s:4:\"desc\";s:187:\"Status \'rules\' define the current status for a membership based on that membership\'s start and end dates. You can adjust the default status options and rules as needed to meet your needs.\";s:2:\"id\";s:21:\"MembershipStatusRules\";s:3:\"url\";s:46:\"/civicrm/admin/member/membershipStatus?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:12:\"Option Lists\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:1:{s:20:\"{weight}.Grant Types\";a:6:{s:5:\"title\";s:11:\"Grant Types\";s:4:\"desc\";s:148:\"List of types which can be assigned to Grants. (Enable CiviGrant from Administer > System Settings > Enable Components if you want to track grants.)\";s:2:\"id\";s:10:\"GrantTypes\";s:3:\"url\";s:41:\"/civicrm/admin/options/grant_type?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:9:\"Customize\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:1:{s:19:\"{weight}.Price Sets\";a:6:{s:5:\"title\";s:10:\"Price Sets\";s:4:\"desc\";s:205:\"Price sets allow you to offer multiple options with associated fees (e.g. pre-conference workshops, additional meals, etc.). Configure Price Sets for events which need more than a single set of fee levels.\";s:2:\"id\";s:9:\"PriceSets\";s:3:\"url\";s:28:\"/civicrm/admin/price?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:8:\"CiviCase\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:5:{s:26:\"{weight}.CiviCase Settings\";a:6:{s:5:\"title\";s:17:\"CiviCase Settings\";s:4:\"desc\";N;s:2:\"id\";s:16:\"CiviCaseSettings\";s:3:\"url\";s:35:\"/civicrm/admin/setting/case?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:19:\"{weight}.Case Types\";a:6:{s:5:\"title\";s:10:\"Case Types\";s:4:\"desc\";s:137:\"List of types which can be assigned to Cases. (Enable the Cases tab from System Settings - Enable Components if you want to track cases.)\";s:2:\"id\";s:9:\"CaseTypes\";s:3:\"url\";s:40:\"/civicrm/admin/options/case_type?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Redaction Rules\";a:6:{s:5:\"title\";s:15:\"Redaction Rules\";s:4:\"desc\";s:223:\"List of rules which can be applied to user input strings so that the redacted output can be recognized as repeated instances of the same string or can be identified as a \"semantic type of the data element\" within case data.\";s:2:\"id\";s:14:\"RedactionRules\";s:3:\"url\";s:45:\"/civicrm/admin/options/redaction_rule?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:22:\"{weight}.Case Statuses\";a:6:{s:5:\"title\";s:13:\"Case Statuses\";s:4:\"desc\";s:48:\"List of statuses that can be assigned to a case.\";s:2:\"id\";s:12:\"CaseStatuses\";s:3:\"url\";s:42:\"/civicrm/admin/options/case_status?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:26:\"{weight}.Encounter Mediums\";a:6:{s:5:\"title\";s:17:\"Encounter Mediums\";s:4:\"desc\";s:26:\"List of encounter mediums.\";s:2:\"id\";s:16:\"EncounterMediums\";s:3:\"url\";s:47:\"/civicrm/admin/options/encounter_medium?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}s:10:\"CiviReport\";a:2:{s:12:\"component_id\";N;s:6:\"fields\";a:3:{s:40:\"{weight}.Create New Report from Template\";a:6:{s:5:\"title\";s:31:\"Create New Report from Template\";s:4:\"desc\";s:49:\"Component wise listing of all available templates\";s:2:\"id\";s:27:\"CreateNewReportfromTemplate\";s:3:\"url\";s:43:\"/civicrm/admin/report/template/list?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:25:\"{weight}.Manage Templates\";a:6:{s:5:\"title\";s:16:\"Manage Templates\";s:4:\"desc\";s:45:\"Browse, Edit and Delete the Report templates.\";s:2:\"id\";s:15:\"ManageTemplates\";s:3:\"url\";s:53:\"/civicrm/admin/report/options/report_template?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}s:24:\"{weight}.Reports Listing\";a:6:{s:5:\"title\";s:15:\"Reports Listing\";s:4:\"desc\";s:60:\"Browse existing report, change report criteria and settings.\";s:2:\"id\";s:14:\"ReportsListing\";s:3:\"url\";s:34:\"/civicrm/admin/report/list?reset=1\";s:4:\"icon\";N;s:5:\"extra\";N;}}}}',NULL,NULL,NULL,1,0,1,1,1,1,1,0,'a:0:{}'); /*!40000 ALTER TABLE `civicrm_menu` ENABLE KEYS */; UNLOCK TABLES; @@ -5395,10 +5387,10 @@ INSERT INTO `civicrm_msg_template` (`id`, `msg_title`, `msg_subject`, `msg_text` (2,'Cases - Send Copy of an Activity','{if !empty($idHash)}[case #{$idHash}]{/if} {$activitySubject}\n','===========================================================\n{ts}Activity Summary{/ts} - {$activityTypeName}\n===========================================================\n{if !empty($isCaseActivity)}\n{ts}Your Case Role(s){/ts} : {$contact.role|default:\'\'}\n{if !empty($manageCaseURL)}\n{ts}Manage Case{/ts} : {$manageCaseURL}\n{/if}\n{/if}\n\n{if !empty($editActURL)}\n{ts}Edit activity{/ts} : {$editActURL}\n{/if}\n{if !empty($viewActURL)}\n{ts}View activity{/ts} : {$viewActURL}\n{/if}\n\n{foreach from=$activity.fields item=field}\n{if $field.type eq \'Date\'}\n{$field.label} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label} : {$field.value}\n{/if}\n{/foreach}\n\n{if !empty($activity.customGroups)}\n{foreach from=$activity.customGroups key=customGroupName item=customGroup}\n==========================================================\n{$customGroupName}\n==========================================================\n{foreach from=$customGroup item=field}\n{if $field.type eq \'Date\'}\n{$field.label} : {$field.value|crmDate:$config->dateformatDatetime}\n{else}\n{$field.label} : {$field.value}\n{/if}\n{/foreach}\n\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n {capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n {capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n {capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Activity Summary{/ts} - {$activityTypeName}\n </th>\n </tr>\n {if !empty($isCaseActivity)}\n <tr>\n <td {$labelStyle}>\n {ts}Your Case Role(s){/ts}\n </td>\n <td {$valueStyle}>\n {$contact.role|default:\'\'}\n </td>\n </tr>\n {if !empty($manageCaseURL)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <a href=\"{$manageCaseURL}\" title=\"{ts}Manage Case{/ts}\">{ts}Manage Case{/ts}</a>\n </td>\n </tr>\n {/if}\n {/if}\n {if !empty($editActURL)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <a href=\"{$editActURL}\" title=\"{ts}Edit activity{/ts}\">{ts}Edit activity{/ts}</a>\n </td>\n </tr>\n {/if}\n {if !empty($viewActURL)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <a href=\"{$viewActURL}\" title=\"{ts}View activity{/ts}\">{ts}View activity{/ts}</a>\n </td>\n </tr>\n {/if}\n {foreach from=$activity.fields item=field}\n <tr>\n <td {$labelStyle}>\n {$field.label}\n </td>\n <td {$valueStyle}>\n {if $field.type eq \'Date\'}\n {$field.value|crmDate:$config->dateformatDatetime}\n {else}\n {$field.value}\n {/if}\n </td>\n </tr>\n {/foreach}\n\n {if !empty($activity.customGroups)}\n {foreach from=$activity.customGroups key=customGroupName item=customGroup}\n <tr>\n <th {$headerStyle}>\n {$customGroupName}\n </th>\n </tr>\n {foreach from=$customGroup item=field}\n <tr>\n <td {$labelStyle}>\n {$field.label}\n </td>\n <td {$valueStyle}>\n {if $field.type eq \'Date\'}\n {$field.value|crmDate:$config->dateformatDatetime}\n {else}\n {$field.value}\n {/if}\n </td>\n </tr>\n {/foreach}\n {/foreach}\n {/if}\n </table>\n </td>\n </tr>\n </table>\n</body>\n</html>\n',1,813,'case_activity',0,1,0,NULL), (3,'Contributions - Duplicate Organization Alert','{ts}CiviContribute Alert: Possible Duplicate Contact Record{/ts} - {contact.display_name}\n','{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}\n{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}\n\n{ts}Organization Name{/ts}: {$onBehalfName}\n{ts}Organization Email{/ts}: {$onBehalfEmail}\n{ts}Organization Contact ID{/ts}: {$onBehalfID}\n\n{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}\n\n{if $receiptMessage}\n###########################################################\n{ts}Copy of Contribution Receipt{/ts}\n\n###########################################################\n{$receiptMessage}\n\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n <p>{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}</p>\n <p>{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}</p>\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <td {$labelStyle}>\n {ts}Organization Name{/ts}\n </td>\n <td {$valueStyle}>\n {$onBehalfName}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Organization Email{/ts}\n </td>\n <td {$valueStyle}>\n {$onBehalfEmail}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Organization Contact ID{/ts}\n </td>\n <td {$valueStyle}>\n {$onBehalfID}\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td>\n <p>{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}</p>\n </td>\n </tr>\n {if $receiptMessage}\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Copy of Contribution Receipt{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {* FIXME: the below is most probably not HTML-ised *}\n {$receiptMessage}\n </td>\n </tr>\n </table>\n </td>\n </tr>\n {/if}\n </table>\n</body>\n</html>\n',1,814,'contribution_dupalert',1,0,0,NULL), (4,'Contributions - Duplicate Organization Alert','{ts}CiviContribute Alert: Possible Duplicate Contact Record{/ts} - {contact.display_name}\n','{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}\n{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}\n\n{ts}Organization Name{/ts}: {$onBehalfName}\n{ts}Organization Email{/ts}: {$onBehalfEmail}\n{ts}Organization Contact ID{/ts}: {$onBehalfID}\n\n{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}\n\n{if $receiptMessage}\n###########################################################\n{ts}Copy of Contribution Receipt{/ts}\n\n###########################################################\n{$receiptMessage}\n\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n <p>{ts}A contribution / membership signup was made on behalf of the organization listed below.{/ts}</p>\n <p>{ts}The information provided matched multiple existing database records based on the configured Duplicate Matching Rules for your site.{/ts}</p>\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <td {$labelStyle}>\n {ts}Organization Name{/ts}\n </td>\n <td {$valueStyle}>\n {$onBehalfName}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Organization Email{/ts}\n </td>\n <td {$valueStyle}>\n {$onBehalfEmail}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Organization Contact ID{/ts}\n </td>\n <td {$valueStyle}>\n {$onBehalfID}\n </td>\n </tr>\n </table>\n </td>\n </tr>\n <tr>\n <td>\n <p>{ts}If you think this may be a duplicate contact which should be merged with an existing record - Go to \"Contacts >> Find and Merge Duplicate Contacts\". Use the strict rule for Organizations to find the potential duplicates and merge them if appropriate.{/ts}</p>\n </td>\n </tr>\n {if $receiptMessage}\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Copy of Contribution Receipt{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {* FIXME: the below is most probably not HTML-ised *}\n {$receiptMessage}\n </td>\n </tr>\n </table>\n </td>\n </tr>\n {/if}\n </table>\n</body>\n</html>\n',1,814,'contribution_dupalert',0,1,0,NULL), - (5,'Contributions - Receipt (off-line)','{ts}Contribution Receipt{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{if !empty($formValues.receipt_text)}\n{$formValues.receipt_text}\n{else}{ts}Below you will find a receipt for this contribution.{/ts}{/if}\n\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{ts}Contributor{/ts}: {contact.display_name}\n{if \'{contribution.financial_type_id}\'}\n{ts}Financial Type{/ts}: {contribution.financial_type_id:label}\n{/if}\n{if $isShowLineItems}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$lineItems item=line}\n{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}{$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"}\n{/foreach}\n{/if}\n\n\n{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n{ts}Amount before Tax{/ts} : {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n{foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if} : {$taxDetail.amount|crmMoney:\'{contribution.currency}\'}\n{/foreach}\n\n{if $isShowTax}\n{ts}Total Tax Amount{/ts} : {contribution.tax_amount}\n{/if}\n{ts}Total Amount{/ts} : {contribution.total_amount}\n{if \'{contribution.receive_date}\'}\n{ts}Date Received{/ts}: {contribution.receive_date|crmDate:\"shortdate\"}\n{/if}\n{if \'{contribution.receipt_date}\'}\n{ts}Receipt Date{/ts}: {contribution.receipt_date|crmDate:\"shortdate\"}\n{/if}\n{if \'{contribution.payment_instrument_id}\' and empty($formValues.hidden_CreditCard)}\n{ts}Paid By{/ts}: {contribution.payment_instrument_id:label}\n{if \'{contribution.check_number}\'}\n{ts}Check Number{/ts}: {contribution.check_number}\n{/if}\n{/if}\n{if \'{contribution.trxn_id}\'}\n{ts}Transaction ID{/ts}: {contribution.trxn_id}\n{/if}\n\n{if !empty($ccContribution)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{if !empty($customGroup)}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($softCreditTypes) and !empty($softCredits)}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($formValues.product_name)}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$formValues.product_name}\n{if $formValues.product_option}\n{ts}Option{/ts}: {$formValues.product_option}\n{/if}\n{if $formValues.product_sku}\n{ts}SKU{/ts}: {$formValues.product_sku}\n{/if}\n{if !empty($fulfilled_date)}\n{ts}Sent{/ts}: {$fulfilled_date|crmDate}\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if !empty($formValues.receipt_text)}\n <p>{$formValues.receipt_text|htmlize}</p>\n {else}\n <p>{ts}Below you will find a receipt for this contribution.{/ts}</p>\n {/if}\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Contribution Information{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Contributor Name{/ts}\n </td>\n <td {$valueStyle}>\n {contact.display_name}\n </td>\n </tr>\n <tr>\n {if \'{contribution.financial_type_id}\'}\n <td {$labelStyle}>\n {ts}Financial Type{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.financial_type_id:label}\n </td>\n {/if}\n </tr>\n\n {if $isShowLineItems}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <th>{ts}Subtotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n {/if}\n <th>{ts}Total{/ts}</th>\n </tr>\n {foreach from=$lineItems item=line}\n <tr>\n <td>\n {$line.title}\n </td>\n <td>\n {$line.qty}\n </td>\n <td>\n {$line.unit_price|crmMoney:\'{contribution.currency}\'}\n </td>\n {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <td>\n {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'}\n </td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td>\n {$line.tax_amount|crmMoney:\'{contribution.currency}\'}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney:\'{contribution.currency}\'}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n\n {/if}\n {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <tr>\n <td {$labelStyle}>\n {ts} Amount before Tax : {/ts}\n </td>\n <td {$valueStyle}>\n {$formValues.total_amount-$totalTaxAmount|crmMoney:\'{contribution.currency}\'}\n </td>\n </tr>\n\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n <tr>\n <td>{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if}</td>\n <td>{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}</td>\n </tr>\n {/foreach}\n {/if}\n\n {if $isShowTax}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_amount}\n </td>\n </tr>\n {/if}\n\n <tr>\n <td {$labelStyle}>\n {ts}Total Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.total_amount}\n </td>\n </tr>\n\n {if \'{contribution.receive_date}\'}\n <tr>\n <td {$labelStyle}>\n {ts}Date Received{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.receive_date|crmDate:\"shortdate\"}\n </td>\n </tr>\n {/if}\n\n {if \'{contribution.receipt_date}\'}\n <tr>\n <td {$labelStyle}>\n {ts}Receipt Date{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.receipt_date|crmDate:\"shortdate\"}\n </td>\n </tr>\n {/if}\n\n {if \'{contribution.payment_instrument_id}\' and empty($formValues.hidden_CreditCard)}\n <tr>\n <td {$labelStyle}>\n {ts}Paid By{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.payment_instrument_id:label}\n </td>\n </tr>\n {if \'{contribution.check_number}\'}\n <tr>\n <td {$labelStyle}>\n {ts}Check Number{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.check_number}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if \'{contribution.trxn_id}\'}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction ID{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($ccContribution)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}\n </td>\n </tr>\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($softCreditTypes) and !empty($softCredits)}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n <tr>\n <th {$headerStyle}>\n {$softCreditType}\n </th>\n </tr>\n {foreach from=$softCredits.$n item=value key=label}\n <tr>\n <td {$labelStyle}>\n {$label}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($customGroup)}\n {foreach from=$customGroup item=value key=customName}\n <tr>\n <th {$headerStyle}>\n {$customName}\n </th>\n </tr>\n {foreach from=$value item=v key=n}\n <tr>\n <td {$labelStyle}>\n {$n}\n </td>\n <td {$valueStyle}>\n {$v}\n </td>\n </tr>\n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($formValues.product_name)}\n <tr>\n <th {$headerStyle}>\n {ts}Premium Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {$formValues.product_name}\n </td>\n </tr>\n {if $formValues.product_option}\n <tr>\n <td {$labelStyle}>\n {ts}Option{/ts}\n </td>\n <td {$valueStyle}>\n {$formValues.product_option}\n </td>\n </tr>\n {/if}\n {if $formValues.product_sku}\n <tr>\n <td {$labelStyle}>\n {ts}SKU{/ts}\n </td>\n <td {$valueStyle}>\n {$formValues.product_sku}\n </td>\n </tr>\n {/if}\n {if !empty($fulfilled_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Sent{/ts}\n </td>\n <td {$valueStyle}>\n {$fulfilled_date|truncate:10:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n {/if}\n\n </table>\n </td>\n </tr>\n\n </table>\n\n</body>\n</html>\n',1,815,'contribution_offline_receipt',1,0,0,NULL), - (6,'Contributions - Receipt (off-line)','{ts}Contribution Receipt{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{if !empty($formValues.receipt_text)}\n{$formValues.receipt_text}\n{else}{ts}Below you will find a receipt for this contribution.{/ts}{/if}\n\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{ts}Contributor{/ts}: {contact.display_name}\n{if \'{contribution.financial_type_id}\'}\n{ts}Financial Type{/ts}: {contribution.financial_type_id:label}\n{/if}\n{if $isShowLineItems}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$lineItems item=line}\n{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}{$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"}\n{/foreach}\n{/if}\n\n\n{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n{ts}Amount before Tax{/ts} : {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n{foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if} : {$taxDetail.amount|crmMoney:\'{contribution.currency}\'}\n{/foreach}\n\n{if $isShowTax}\n{ts}Total Tax Amount{/ts} : {contribution.tax_amount}\n{/if}\n{ts}Total Amount{/ts} : {contribution.total_amount}\n{if \'{contribution.receive_date}\'}\n{ts}Date Received{/ts}: {contribution.receive_date|crmDate:\"shortdate\"}\n{/if}\n{if \'{contribution.receipt_date}\'}\n{ts}Receipt Date{/ts}: {contribution.receipt_date|crmDate:\"shortdate\"}\n{/if}\n{if \'{contribution.payment_instrument_id}\' and empty($formValues.hidden_CreditCard)}\n{ts}Paid By{/ts}: {contribution.payment_instrument_id:label}\n{if \'{contribution.check_number}\'}\n{ts}Check Number{/ts}: {contribution.check_number}\n{/if}\n{/if}\n{if \'{contribution.trxn_id}\'}\n{ts}Transaction ID{/ts}: {contribution.trxn_id}\n{/if}\n\n{if !empty($ccContribution)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{if !empty($customGroup)}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($softCreditTypes) and !empty($softCredits)}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($formValues.product_name)}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$formValues.product_name}\n{if $formValues.product_option}\n{ts}Option{/ts}: {$formValues.product_option}\n{/if}\n{if $formValues.product_sku}\n{ts}SKU{/ts}: {$formValues.product_sku}\n{/if}\n{if !empty($fulfilled_date)}\n{ts}Sent{/ts}: {$fulfilled_date|crmDate}\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if !empty($formValues.receipt_text)}\n <p>{$formValues.receipt_text|htmlize}</p>\n {else}\n <p>{ts}Below you will find a receipt for this contribution.{/ts}</p>\n {/if}\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Contribution Information{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Contributor Name{/ts}\n </td>\n <td {$valueStyle}>\n {contact.display_name}\n </td>\n </tr>\n <tr>\n {if \'{contribution.financial_type_id}\'}\n <td {$labelStyle}>\n {ts}Financial Type{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.financial_type_id:label}\n </td>\n {/if}\n </tr>\n\n {if $isShowLineItems}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <th>{ts}Subtotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n {/if}\n <th>{ts}Total{/ts}</th>\n </tr>\n {foreach from=$lineItems item=line}\n <tr>\n <td>\n {$line.title}\n </td>\n <td>\n {$line.qty}\n </td>\n <td>\n {$line.unit_price|crmMoney:\'{contribution.currency}\'}\n </td>\n {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <td>\n {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'}\n </td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td>\n {$line.tax_amount|crmMoney:\'{contribution.currency}\'}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney:\'{contribution.currency}\'}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n\n {/if}\n {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <tr>\n <td {$labelStyle}>\n {ts} Amount before Tax : {/ts}\n </td>\n <td {$valueStyle}>\n {$formValues.total_amount-$totalTaxAmount|crmMoney:\'{contribution.currency}\'}\n </td>\n </tr>\n\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n <tr>\n <td>{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if}</td>\n <td>{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}</td>\n </tr>\n {/foreach}\n {/if}\n\n {if $isShowTax}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_amount}\n </td>\n </tr>\n {/if}\n\n <tr>\n <td {$labelStyle}>\n {ts}Total Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.total_amount}\n </td>\n </tr>\n\n {if \'{contribution.receive_date}\'}\n <tr>\n <td {$labelStyle}>\n {ts}Date Received{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.receive_date|crmDate:\"shortdate\"}\n </td>\n </tr>\n {/if}\n\n {if \'{contribution.receipt_date}\'}\n <tr>\n <td {$labelStyle}>\n {ts}Receipt Date{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.receipt_date|crmDate:\"shortdate\"}\n </td>\n </tr>\n {/if}\n\n {if \'{contribution.payment_instrument_id}\' and empty($formValues.hidden_CreditCard)}\n <tr>\n <td {$labelStyle}>\n {ts}Paid By{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.payment_instrument_id:label}\n </td>\n </tr>\n {if \'{contribution.check_number}\'}\n <tr>\n <td {$labelStyle}>\n {ts}Check Number{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.check_number}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if \'{contribution.trxn_id}\'}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction ID{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($ccContribution)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}\n </td>\n </tr>\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($softCreditTypes) and !empty($softCredits)}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n <tr>\n <th {$headerStyle}>\n {$softCreditType}\n </th>\n </tr>\n {foreach from=$softCredits.$n item=value key=label}\n <tr>\n <td {$labelStyle}>\n {$label}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($customGroup)}\n {foreach from=$customGroup item=value key=customName}\n <tr>\n <th {$headerStyle}>\n {$customName}\n </th>\n </tr>\n {foreach from=$value item=v key=n}\n <tr>\n <td {$labelStyle}>\n {$n}\n </td>\n <td {$valueStyle}>\n {$v}\n </td>\n </tr>\n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($formValues.product_name)}\n <tr>\n <th {$headerStyle}>\n {ts}Premium Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {$formValues.product_name}\n </td>\n </tr>\n {if $formValues.product_option}\n <tr>\n <td {$labelStyle}>\n {ts}Option{/ts}\n </td>\n <td {$valueStyle}>\n {$formValues.product_option}\n </td>\n </tr>\n {/if}\n {if $formValues.product_sku}\n <tr>\n <td {$labelStyle}>\n {ts}SKU{/ts}\n </td>\n <td {$valueStyle}>\n {$formValues.product_sku}\n </td>\n </tr>\n {/if}\n {if !empty($fulfilled_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Sent{/ts}\n </td>\n <td {$valueStyle}>\n {$fulfilled_date|truncate:10:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n {/if}\n\n </table>\n </td>\n </tr>\n\n </table>\n\n</body>\n</html>\n',1,815,'contribution_offline_receipt',0,1,0,NULL), - (7,'Contributions - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($receipt_text)}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{/if}\n\n{if \'{contribution.total_amount|raw}\' !== \'0.00\'}\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{if $isShowLineItems}\n\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$lineItems item=line}\n{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n\n{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n{ts}Amount before Tax:{/ts} {$amount-$totalTaxAmount|crmMoney:$currency}\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n {if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if} : {$taxDetail.amount|crmMoney:\'{contribution.currency}\'}\n {/foreach}\n{/if}\n\n{if $isShowTax}\n{ts}Total Tax Amount{/ts}: {contribution.tax_amount|crmMoney}\n{/if}\n\n{ts}Total Amount{/ts}: {contribution.total_amount}\n{else}\n{ts}Amount{/ts}: {contribution.total_amount} {if \'{contribution.amount_level}\'} - {contribution.amount_level}{/if}\n{/if}\n{/if}\n{if !empty($receive_date)}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($is_monetary) and !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n\n{if !empty($is_recur)}\n{ts}This is a recurring contribution.{/ts}\n\n{if $cancelSubscriptionUrl}\n{ts}You can cancel future contributions at:{/ts}\n\n{$cancelSubscriptionUrl}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n{ts}You can update billing details for this recurring contribution at:{/ts}\n\n{$updateSubscriptionBillingUrl}\n\n{/if}\n\n{if $updateSubscriptionUrl}\n{ts}You can update recurring contribution amount or change the number of installments for this recurring contribution at:{/ts}\n\n{$updateSubscriptionUrl}\n\n{/if}\n{/if}\n\n{if $honor_block_is_active}\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n{elseif !empty($softCreditTypes) and !empty($softCredits)}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($pcpBlock)}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if !empty($onBehalfProfile)}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !empty($billingName)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{elseif !empty($email)}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{/if} {* End billingName or Email*}\n{if !empty($credit_card_type)}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if !empty($selectPremium )}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if !empty($contact_email) OR !empty($contact_phone)}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if !empty($contact_email)}\n {$contact_email}\n{/if}\n{if !empty($contact_phone)}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND !empty($price)}\n\n{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if !empty($customPre)}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if !empty($customPost)}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if !empty($receipt_text)}\n <p>{$receipt_text|htmlize}</p>\n {/if}\n\n {if $is_pay_later}\n <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *}\n {/if}\n\n </td>\n </tr>\n</table>\n<table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n {if \'{contribution.total_amount|raw}\' !== \'0.00\'}\n <tr>\n <th {$headerStyle}>\n {ts}Contribution Information{/ts}\n </th>\n </tr>\n\n {if $isShowLineItems}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <th>{ts}Subtotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n {/if}\n <th>{ts}Total{/ts}</th>\n </tr>\n {foreach from=$lineItems item=line}\n <tr>\n <td>{$line.title}</td>\n <td>{$line.qty}</td>\n <td>{$line.unit_price|crmMoney:$currency}</td>\n {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <td>{$line.unit_price*$line.qty|crmMoney:$currency}</td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td>{$line.tax_rate|string_format:\"%.2f\"}%</td>\n <td>{$line.tax_amount|crmMoney:$currency}</td>\n {else}\n <td></td>\n <td></td>\n {/if}\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n\n {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <tr>\n <td {$labelStyle}>\n {ts} Amount before Tax : {/ts}\n </td>\n <td {$valueStyle}>\n {$amount-$totalTaxAmount|crmMoney:$currency}\n </td>\n </tr>\n\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n <tr>\n <td>{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if}</td>\n <td>{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}</td>\n </tr>\n {/foreach}\n\n {/if}\n {if $isShowTax}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_amount}\n </td>\n </tr>\n {/if}\n <tr>\n <td {$labelStyle}>\n {ts}Total Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.total_amount}\n </td>\n </tr>\n {else}\n {if \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_amount}\n </td>\n </tr>\n {/if}\n <tr>\n <td {$labelStyle}>\n {ts}Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.total_amount} {if \'{contribution.amount_level}\'} - {contribution.amount_level}{/if}\n </td>\n </tr>\n\n {/if}\n\n {/if}\n\n\n {if !empty($receive_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Date{/ts}\n </td>\n <td {$valueStyle}>\n {$receive_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($is_monetary) and !empty($trxn_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($is_recur)}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}This is a recurring contribution.{/ts}\n {if $cancelSubscriptionUrl}\n {ts 1=$cancelSubscriptionUrl}You can cancel future contributions by <a href=\"%1\">visiting this web page</a>.{/ts}\n {/if}\n </td>\n </tr>\n {if $updateSubscriptionBillingUrl}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n </td>\n </tr>\n {/if}\n {if $updateSubscriptionUrl}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if $honor_block_is_active}\n <tr>\n <th {$headerStyle}>\n {$soft_credit_type}\n </th>\n </tr>\n {foreach from=$honoreeProfile item=value key=label}\n <tr>\n <td {$labelStyle}>\n {$label}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n {elseif !empty($softCreditTypes) and !empty($softCredits)}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n <tr>\n <th {$headerStyle}>\n {$softCreditType}\n </th>\n </tr>\n {foreach from=$softCredits.$n item=value key=label}\n <tr>\n <td {$labelStyle}>\n {$label}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($pcpBlock)}\n <tr>\n <th {$headerStyle}>\n {ts}Personal Campaign Page{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Display In Honor Roll{/ts}\n </td>\n <td {$valueStyle}>\n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n </td>\n </tr>\n {if $pcp_roll_nickname}\n <tr>\n <td {$labelStyle}>\n {ts}Nickname{/ts}\n </td>\n <td {$valueStyle}>\n {$pcp_roll_nickname}\n </td>\n </tr>\n {/if}\n {if $pcp_personal_note}\n <tr>\n <td {$labelStyle}>\n {ts}Personal Note{/ts}\n </td>\n <td {$valueStyle}>\n {$pcp_personal_note}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if !empty($onBehalfProfile)}\n <tr>\n <th {$headerStyle}>\n {$onBehalfProfile_grouptitle}\n </th>\n </tr>\n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n <tr>\n <td {$labelStyle}>\n {$onBehalfName}\n </td>\n <td {$valueStyle}>\n {$onBehalfValue}\n </td>\n </tr>\n {/foreach}\n {/if}\n\n {if !empty($isShare)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contributionPageId`\" a=true fe=1 h=1}{/capture}\n {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$contributionUrl title=$title pageURL=$contributionUrl}\n </td>\n </tr>\n {/if}\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}<br />\n {$email}\n </td>\n </tr>\n {elseif !empty($email)}\n <tr>\n <th {$headerStyle}>\n {ts}Registered Email{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$email}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n </td>\n </tr>\n {/if}\n\n {if !empty($selectPremium)}\n <tr>\n <th {$headerStyle}>\n {ts}Premium Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {$product_name}\n </td>\n </tr>\n {if $option}\n <tr>\n <td {$labelStyle}>\n {ts}Option{/ts}\n </td>\n <td {$valueStyle}>\n {$option}\n </td>\n </tr>\n {/if}\n {if $sku}\n <tr>\n <td {$labelStyle}>\n {ts}SKU{/ts}\n </td>\n <td {$valueStyle}>\n {$sku}\n </td>\n </tr>\n {/if}\n {if $start_date}\n <tr>\n <td {$labelStyle}>\n {ts}Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {$start_date|crmDate}\n </td>\n </tr>\n {/if}\n {if $end_date}\n <tr>\n <td {$labelStyle}>\n {ts}End Date{/ts}\n </td>\n <td {$valueStyle}>\n {$end_date|crmDate}\n </td>\n </tr>\n {/if}\n {if !empty($contact_email) OR !empty($contact_phone)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <p>{ts}For information about this premium, contact:{/ts}</p>\n {if !empty($contact_email)}\n <p>{$contact_email}</p>\n {/if}\n {if !empty($contact_phone)}\n <p>{$contact_phone}</p>\n {/if}\n </td>\n </tr>\n {/if}\n {if $is_deductible AND !empty($price)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <p>{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}</p>\n </td>\n </tr>\n {/if}\n {/if}\n\n {if !empty($customPre)}\n <tr>\n <th {$headerStyle}>\n {$customPre_grouptitle}\n </th>\n </tr>\n {foreach from=$customPre item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$customValue}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($customPost)}\n <tr>\n <th {$headerStyle}>\n {$customPost_grouptitle}\n </th>\n </tr>\n {foreach from=$customPost item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$customValue}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n </table>\n\n</body>\n</html>\n',1,816,'contribution_online_receipt',1,0,0,NULL), - (8,'Contributions - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($receipt_text)}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{/if}\n\n{if \'{contribution.total_amount|raw}\' !== \'0.00\'}\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{if $isShowLineItems}\n\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$lineItems item=line}\n{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n\n{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n{ts}Amount before Tax:{/ts} {$amount-$totalTaxAmount|crmMoney:$currency}\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n {if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if} : {$taxDetail.amount|crmMoney:\'{contribution.currency}\'}\n {/foreach}\n{/if}\n\n{if $isShowTax}\n{ts}Total Tax Amount{/ts}: {contribution.tax_amount|crmMoney}\n{/if}\n\n{ts}Total Amount{/ts}: {contribution.total_amount}\n{else}\n{ts}Amount{/ts}: {contribution.total_amount} {if \'{contribution.amount_level}\'} - {contribution.amount_level}{/if}\n{/if}\n{/if}\n{if !empty($receive_date)}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($is_monetary) and !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n\n{if !empty($is_recur)}\n{ts}This is a recurring contribution.{/ts}\n\n{if $cancelSubscriptionUrl}\n{ts}You can cancel future contributions at:{/ts}\n\n{$cancelSubscriptionUrl}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n{ts}You can update billing details for this recurring contribution at:{/ts}\n\n{$updateSubscriptionBillingUrl}\n\n{/if}\n\n{if $updateSubscriptionUrl}\n{ts}You can update recurring contribution amount or change the number of installments for this recurring contribution at:{/ts}\n\n{$updateSubscriptionUrl}\n\n{/if}\n{/if}\n\n{if $honor_block_is_active}\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n{elseif !empty($softCreditTypes) and !empty($softCredits)}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($pcpBlock)}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if !empty($onBehalfProfile)}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !empty($billingName)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{elseif !empty($email)}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{/if} {* End billingName or Email*}\n{if !empty($credit_card_type)}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if !empty($selectPremium )}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if !empty($contact_email) OR !empty($contact_phone)}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if !empty($contact_email)}\n {$contact_email}\n{/if}\n{if !empty($contact_phone)}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND !empty($price)}\n\n{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if !empty($customPre)}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if !empty($customPost)}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if !empty($receipt_text)}\n <p>{$receipt_text|htmlize}</p>\n {/if}\n\n {if $is_pay_later}\n <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *}\n {/if}\n\n </td>\n </tr>\n</table>\n<table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n {if \'{contribution.total_amount|raw}\' !== \'0.00\'}\n <tr>\n <th {$headerStyle}>\n {ts}Contribution Information{/ts}\n </th>\n </tr>\n\n {if $isShowLineItems}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <th>{ts}Subtotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n {/if}\n <th>{ts}Total{/ts}</th>\n </tr>\n {foreach from=$lineItems item=line}\n <tr>\n <td>{$line.title}</td>\n <td>{$line.qty}</td>\n <td>{$line.unit_price|crmMoney:$currency}</td>\n {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <td>{$line.unit_price*$line.qty|crmMoney:$currency}</td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td>{$line.tax_rate|string_format:\"%.2f\"}%</td>\n <td>{$line.tax_amount|crmMoney:$currency}</td>\n {else}\n <td></td>\n <td></td>\n {/if}\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n\n {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <tr>\n <td {$labelStyle}>\n {ts} Amount before Tax : {/ts}\n </td>\n <td {$valueStyle}>\n {$amount-$totalTaxAmount|crmMoney:$currency}\n </td>\n </tr>\n\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n <tr>\n <td>{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if}</td>\n <td>{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}</td>\n </tr>\n {/foreach}\n\n {/if}\n {if $isShowTax}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_amount}\n </td>\n </tr>\n {/if}\n <tr>\n <td {$labelStyle}>\n {ts}Total Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.total_amount}\n </td>\n </tr>\n {else}\n {if \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_amount}\n </td>\n </tr>\n {/if}\n <tr>\n <td {$labelStyle}>\n {ts}Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.total_amount} {if \'{contribution.amount_level}\'} - {contribution.amount_level}{/if}\n </td>\n </tr>\n\n {/if}\n\n {/if}\n\n\n {if !empty($receive_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Date{/ts}\n </td>\n <td {$valueStyle}>\n {$receive_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($is_monetary) and !empty($trxn_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($is_recur)}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}This is a recurring contribution.{/ts}\n {if $cancelSubscriptionUrl}\n {ts 1=$cancelSubscriptionUrl}You can cancel future contributions by <a href=\"%1\">visiting this web page</a>.{/ts}\n {/if}\n </td>\n </tr>\n {if $updateSubscriptionBillingUrl}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n </td>\n </tr>\n {/if}\n {if $updateSubscriptionUrl}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if $honor_block_is_active}\n <tr>\n <th {$headerStyle}>\n {$soft_credit_type}\n </th>\n </tr>\n {foreach from=$honoreeProfile item=value key=label}\n <tr>\n <td {$labelStyle}>\n {$label}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n {elseif !empty($softCreditTypes) and !empty($softCredits)}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n <tr>\n <th {$headerStyle}>\n {$softCreditType}\n </th>\n </tr>\n {foreach from=$softCredits.$n item=value key=label}\n <tr>\n <td {$labelStyle}>\n {$label}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($pcpBlock)}\n <tr>\n <th {$headerStyle}>\n {ts}Personal Campaign Page{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Display In Honor Roll{/ts}\n </td>\n <td {$valueStyle}>\n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n </td>\n </tr>\n {if $pcp_roll_nickname}\n <tr>\n <td {$labelStyle}>\n {ts}Nickname{/ts}\n </td>\n <td {$valueStyle}>\n {$pcp_roll_nickname}\n </td>\n </tr>\n {/if}\n {if $pcp_personal_note}\n <tr>\n <td {$labelStyle}>\n {ts}Personal Note{/ts}\n </td>\n <td {$valueStyle}>\n {$pcp_personal_note}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if !empty($onBehalfProfile)}\n <tr>\n <th {$headerStyle}>\n {$onBehalfProfile_grouptitle}\n </th>\n </tr>\n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n <tr>\n <td {$labelStyle}>\n {$onBehalfName}\n </td>\n <td {$valueStyle}>\n {$onBehalfValue}\n </td>\n </tr>\n {/foreach}\n {/if}\n\n {if !empty($isShare)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contributionPageId`\" a=true fe=1 h=1}{/capture}\n {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$contributionUrl title=$title pageURL=$contributionUrl}\n </td>\n </tr>\n {/if}\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}<br />\n {$email}\n </td>\n </tr>\n {elseif !empty($email)}\n <tr>\n <th {$headerStyle}>\n {ts}Registered Email{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$email}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n </td>\n </tr>\n {/if}\n\n {if !empty($selectPremium)}\n <tr>\n <th {$headerStyle}>\n {ts}Premium Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {$product_name}\n </td>\n </tr>\n {if $option}\n <tr>\n <td {$labelStyle}>\n {ts}Option{/ts}\n </td>\n <td {$valueStyle}>\n {$option}\n </td>\n </tr>\n {/if}\n {if $sku}\n <tr>\n <td {$labelStyle}>\n {ts}SKU{/ts}\n </td>\n <td {$valueStyle}>\n {$sku}\n </td>\n </tr>\n {/if}\n {if $start_date}\n <tr>\n <td {$labelStyle}>\n {ts}Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {$start_date|crmDate}\n </td>\n </tr>\n {/if}\n {if $end_date}\n <tr>\n <td {$labelStyle}>\n {ts}End Date{/ts}\n </td>\n <td {$valueStyle}>\n {$end_date|crmDate}\n </td>\n </tr>\n {/if}\n {if !empty($contact_email) OR !empty($contact_phone)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <p>{ts}For information about this premium, contact:{/ts}</p>\n {if !empty($contact_email)}\n <p>{$contact_email}</p>\n {/if}\n {if !empty($contact_phone)}\n <p>{$contact_phone}</p>\n {/if}\n </td>\n </tr>\n {/if}\n {if $is_deductible AND !empty($price)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <p>{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}</p>\n </td>\n </tr>\n {/if}\n {/if}\n\n {if !empty($customPre)}\n <tr>\n <th {$headerStyle}>\n {$customPre_grouptitle}\n </th>\n </tr>\n {foreach from=$customPre item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$customValue}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($customPost)}\n <tr>\n <th {$headerStyle}>\n {$customPost_grouptitle}\n </th>\n </tr>\n {foreach from=$customPost item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$customValue}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n </table>\n\n</body>\n</html>\n',1,816,'contribution_online_receipt',0,1,0,NULL), + (5,'Contributions - Receipt (off-line)','{ts}Contribution Receipt{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{if !empty($formValues.receipt_text)}\n{$formValues.receipt_text}\n{else}{ts}Below you will find a receipt for this contribution.{/ts}{/if}\n\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{ts}Contributor{/ts}: {contact.display_name}\n{if \'{contribution.financial_type_id}\'}\n{ts}Financial Type{/ts}: {contribution.financial_type_id:label}\n{/if}\n{if $isShowLineItems}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$lineItems item=line}\n{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {if $isShowTax && {contribution.tax_amount|boolean}}{$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"}\n{/foreach}\n{/if}\n\n\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{ts}Amount before Tax{/ts} : {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n{foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if} : {$taxDetail.amount|crmMoney:\'{contribution.currency}\'}\n{/foreach}\n\n{if $isShowTax}\n{ts}Total Tax Amount{/ts} : {contribution.tax_amount}\n{/if}\n{ts}Total Amount{/ts} : {contribution.total_amount}\n{if \'{contribution.receive_date}\'}\n{ts}Contribution Date{/ts}: {contribution.receive_date|crmDate:\"shortdate\"}\n{/if}\n{if \'{contribution.receipt_date}\'}\n{ts}Receipt Date{/ts}: {contribution.receipt_date|crmDate:\"shortdate\"}\n{/if}\n{if \'{contribution.payment_instrument_id}\' and empty($formValues.hidden_CreditCard)}\n{ts}Paid By{/ts}: {contribution.payment_instrument_id:label}\n{if \'{contribution.check_number}\'}\n{ts}Check Number{/ts}: {contribution.check_number}\n{/if}\n{/if}\n{if \'{contribution.trxn_id}\'}\n{ts}Transaction ID{/ts}: {contribution.trxn_id}\n{/if}\n\n{if !empty($ccContribution)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{if !empty($customGroup)}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($softCreditTypes) and !empty($softCredits)}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($formValues.product_name)}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$formValues.product_name}\n{if $formValues.product_option}\n{ts}Option{/ts}: {$formValues.product_option}\n{/if}\n{if $formValues.product_sku}\n{ts}SKU{/ts}: {$formValues.product_sku}\n{/if}\n{if !empty($fulfilled_date)}\n{ts}Sent{/ts}: {$fulfilled_date|crmDate}\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if !empty($formValues.receipt_text)}\n <p>{$formValues.receipt_text|htmlize}</p>\n {else}\n <p>{ts}Below you will find a receipt for this contribution.{/ts}</p>\n {/if}\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Contribution Information{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Contributor Name{/ts}\n </td>\n <td {$valueStyle}>\n {contact.display_name}\n </td>\n </tr>\n <tr>\n {if \'{contribution.financial_type_id}\'}\n <td {$labelStyle}>\n {ts}Financial Type{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.financial_type_id:label}\n </td>\n {/if}\n </tr>\n\n {if $isShowLineItems}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n {if $isShowTax && {contribution.tax_amount|boolean}}\n <th>{ts}Subtotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n {/if}\n <th>{ts}Total{/ts}</th>\n </tr>\n {foreach from=$lineItems item=line}\n <tr>\n <td>\n {$line.title}\n </td>\n <td>\n {$line.qty}\n </td>\n <td>\n {$line.unit_price|crmMoney:\'{contribution.currency}\'}\n </td>\n {if $isShowTax && {contribution.tax_amount|boolean}}\n <td>\n {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'}\n </td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td>\n {$line.tax_amount|crmMoney:\'{contribution.currency}\'}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney:\'{contribution.currency}\'}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n\n {/if}\n {if $isShowTax && {contribution.tax_amount|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts} Amount before Tax : {/ts}\n </td>\n <td {$valueStyle}>\n {$formValues.total_amount-$totalTaxAmount|crmMoney:\'{contribution.currency}\'}\n </td>\n </tr>\n\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n <tr>\n <td>{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if}</td>\n <td>{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}</td>\n </tr>\n {/foreach}\n {/if}\n\n {if $isShowTax}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_amount}\n </td>\n </tr>\n {/if}\n\n <tr>\n <td {$labelStyle}>\n {ts}Total Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.total_amount}\n </td>\n </tr>\n\n {if \'{contribution.receive_date}\'}\n <tr>\n <td {$labelStyle}>\n {ts}Contribution Date{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.receive_date|crmDate:\"shortdate\"}\n </td>\n </tr>\n {/if}\n\n {if \'{contribution.receipt_date}\'}\n <tr>\n <td {$labelStyle}>\n {ts}Receipt Date{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.receipt_date|crmDate:\"shortdate\"}\n </td>\n </tr>\n {/if}\n\n {if \'{contribution.payment_instrument_id}\' and empty($formValues.hidden_CreditCard)}\n <tr>\n <td {$labelStyle}>\n {ts}Paid By{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.payment_instrument_id:label}\n </td>\n </tr>\n {if \'{contribution.check_number}\'}\n <tr>\n <td {$labelStyle}>\n {ts}Check Number{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.check_number}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if \'{contribution.trxn_id}\'}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction ID{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($ccContribution)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}\n </td>\n </tr>\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($softCreditTypes) and !empty($softCredits)}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n <tr>\n <th {$headerStyle}>\n {$softCreditType}\n </th>\n </tr>\n {foreach from=$softCredits.$n item=value key=label}\n <tr>\n <td {$labelStyle}>\n {$label}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($customGroup)}\n {foreach from=$customGroup item=value key=customName}\n <tr>\n <th {$headerStyle}>\n {$customName}\n </th>\n </tr>\n {foreach from=$value item=v key=n}\n <tr>\n <td {$labelStyle}>\n {$n}\n </td>\n <td {$valueStyle}>\n {$v}\n </td>\n </tr>\n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($formValues.product_name)}\n <tr>\n <th {$headerStyle}>\n {ts}Premium Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {$formValues.product_name}\n </td>\n </tr>\n {if $formValues.product_option}\n <tr>\n <td {$labelStyle}>\n {ts}Option{/ts}\n </td>\n <td {$valueStyle}>\n {$formValues.product_option}\n </td>\n </tr>\n {/if}\n {if $formValues.product_sku}\n <tr>\n <td {$labelStyle}>\n {ts}SKU{/ts}\n </td>\n <td {$valueStyle}>\n {$formValues.product_sku}\n </td>\n </tr>\n {/if}\n {if !empty($fulfilled_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Sent{/ts}\n </td>\n <td {$valueStyle}>\n {$fulfilled_date|truncate:10:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n {/if}\n\n </table>\n </td>\n </tr>\n\n </table>\n\n</body>\n</html>\n',1,815,'contribution_offline_receipt',1,0,0,NULL), + (6,'Contributions - Receipt (off-line)','{ts}Contribution Receipt{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{if !empty($formValues.receipt_text)}\n{$formValues.receipt_text}\n{else}{ts}Below you will find a receipt for this contribution.{/ts}{/if}\n\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{ts}Contributor{/ts}: {contact.display_name}\n{if \'{contribution.financial_type_id}\'}\n{ts}Financial Type{/ts}: {contribution.financial_type_id:label}\n{/if}\n{if $isShowLineItems}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$lineItems item=line}\n{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {if $isShowTax && {contribution.tax_amount|boolean}}{$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"}\n{/foreach}\n{/if}\n\n\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{ts}Amount before Tax{/ts} : {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n{foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if} : {$taxDetail.amount|crmMoney:\'{contribution.currency}\'}\n{/foreach}\n\n{if $isShowTax}\n{ts}Total Tax Amount{/ts} : {contribution.tax_amount}\n{/if}\n{ts}Total Amount{/ts} : {contribution.total_amount}\n{if \'{contribution.receive_date}\'}\n{ts}Contribution Date{/ts}: {contribution.receive_date|crmDate:\"shortdate\"}\n{/if}\n{if \'{contribution.receipt_date}\'}\n{ts}Receipt Date{/ts}: {contribution.receipt_date|crmDate:\"shortdate\"}\n{/if}\n{if \'{contribution.payment_instrument_id}\' and empty($formValues.hidden_CreditCard)}\n{ts}Paid By{/ts}: {contribution.payment_instrument_id:label}\n{if \'{contribution.check_number}\'}\n{ts}Check Number{/ts}: {contribution.check_number}\n{/if}\n{/if}\n{if \'{contribution.trxn_id}\'}\n{ts}Transaction ID{/ts}: {contribution.trxn_id}\n{/if}\n\n{if !empty($ccContribution)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{if !empty($customGroup)}\n{foreach from=$customGroup item=value key=customName}\n===========================================================\n{$customName}\n===========================================================\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($softCreditTypes) and !empty($softCredits)}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($formValues.product_name)}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$formValues.product_name}\n{if $formValues.product_option}\n{ts}Option{/ts}: {$formValues.product_option}\n{/if}\n{if $formValues.product_sku}\n{ts}SKU{/ts}: {$formValues.product_sku}\n{/if}\n{if !empty($fulfilled_date)}\n{ts}Sent{/ts}: {$fulfilled_date|crmDate}\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if !empty($formValues.receipt_text)}\n <p>{$formValues.receipt_text|htmlize}</p>\n {else}\n <p>{ts}Below you will find a receipt for this contribution.{/ts}</p>\n {/if}\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Contribution Information{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Contributor Name{/ts}\n </td>\n <td {$valueStyle}>\n {contact.display_name}\n </td>\n </tr>\n <tr>\n {if \'{contribution.financial_type_id}\'}\n <td {$labelStyle}>\n {ts}Financial Type{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.financial_type_id:label}\n </td>\n {/if}\n </tr>\n\n {if $isShowLineItems}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n {if $isShowTax && {contribution.tax_amount|boolean}}\n <th>{ts}Subtotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n {/if}\n <th>{ts}Total{/ts}</th>\n </tr>\n {foreach from=$lineItems item=line}\n <tr>\n <td>\n {$line.title}\n </td>\n <td>\n {$line.qty}\n </td>\n <td>\n {$line.unit_price|crmMoney:\'{contribution.currency}\'}\n </td>\n {if $isShowTax && {contribution.tax_amount|boolean}}\n <td>\n {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'}\n </td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td>\n {$line.tax_amount|crmMoney:\'{contribution.currency}\'}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney:\'{contribution.currency}\'}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n\n {/if}\n {if $isShowTax && {contribution.tax_amount|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts} Amount before Tax : {/ts}\n </td>\n <td {$valueStyle}>\n {$formValues.total_amount-$totalTaxAmount|crmMoney:\'{contribution.currency}\'}\n </td>\n </tr>\n\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n <tr>\n <td>{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if}</td>\n <td>{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}</td>\n </tr>\n {/foreach}\n {/if}\n\n {if $isShowTax}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_amount}\n </td>\n </tr>\n {/if}\n\n <tr>\n <td {$labelStyle}>\n {ts}Total Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.total_amount}\n </td>\n </tr>\n\n {if \'{contribution.receive_date}\'}\n <tr>\n <td {$labelStyle}>\n {ts}Contribution Date{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.receive_date|crmDate:\"shortdate\"}\n </td>\n </tr>\n {/if}\n\n {if \'{contribution.receipt_date}\'}\n <tr>\n <td {$labelStyle}>\n {ts}Receipt Date{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.receipt_date|crmDate:\"shortdate\"}\n </td>\n </tr>\n {/if}\n\n {if \'{contribution.payment_instrument_id}\' and empty($formValues.hidden_CreditCard)}\n <tr>\n <td {$labelStyle}>\n {ts}Paid By{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.payment_instrument_id:label}\n </td>\n </tr>\n {if \'{contribution.check_number}\'}\n <tr>\n <td {$labelStyle}>\n {ts}Check Number{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.check_number}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if \'{contribution.trxn_id}\'}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction ID{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($ccContribution)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}\n </td>\n </tr>\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($softCreditTypes) and !empty($softCredits)}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n <tr>\n <th {$headerStyle}>\n {$softCreditType}\n </th>\n </tr>\n {foreach from=$softCredits.$n item=value key=label}\n <tr>\n <td {$labelStyle}>\n {$label}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($customGroup)}\n {foreach from=$customGroup item=value key=customName}\n <tr>\n <th {$headerStyle}>\n {$customName}\n </th>\n </tr>\n {foreach from=$value item=v key=n}\n <tr>\n <td {$labelStyle}>\n {$n}\n </td>\n <td {$valueStyle}>\n {$v}\n </td>\n </tr>\n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($formValues.product_name)}\n <tr>\n <th {$headerStyle}>\n {ts}Premium Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {$formValues.product_name}\n </td>\n </tr>\n {if $formValues.product_option}\n <tr>\n <td {$labelStyle}>\n {ts}Option{/ts}\n </td>\n <td {$valueStyle}>\n {$formValues.product_option}\n </td>\n </tr>\n {/if}\n {if $formValues.product_sku}\n <tr>\n <td {$labelStyle}>\n {ts}SKU{/ts}\n </td>\n <td {$valueStyle}>\n {$formValues.product_sku}\n </td>\n </tr>\n {/if}\n {if !empty($fulfilled_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Sent{/ts}\n </td>\n <td {$valueStyle}>\n {$fulfilled_date|truncate:10:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n {/if}\n\n </table>\n </td>\n </tr>\n\n </table>\n\n</body>\n</html>\n',1,815,'contribution_offline_receipt',0,1,0,NULL), + (7,'Contributions - Receipt (on-line)','{if \'{contribution.contribution_status_id:name}\' === \'Pending\'}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($receipt_text)}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{/if}\n\n{if {contribution.total_amount|boolean}}\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{if $isShowLineItems}\n\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$lineItems item=line}\n{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if $isShowTax && {contribution.tax_amount|boolean}}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{ts}Amount before Tax:{/ts} {$amount-$totalTaxAmount|crmMoney:$currency}\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n {if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if} : {$taxDetail.amount|crmMoney:\'{contribution.currency}\'}\n {/foreach}\n{/if}\n\n{if $isShowTax}\n{ts}Total Tax Amount{/ts}: {contribution.tax_amount|crmMoney}\n{/if}\n\n{ts}Total Amount{/ts}: {contribution.total_amount}\n{else}\n{ts}Amount{/ts}: {contribution.total_amount} {if \'{contribution.amount_level}\'} - {contribution.amount_level}{/if}\n{/if}\n{/if}\n{if !empty($receive_date)}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($is_monetary) and !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n\n{if !empty($is_recur)}\n{ts}This is a recurring contribution.{/ts}\n\n{if $cancelSubscriptionUrl}\n{ts}You can cancel future contributions at:{/ts}\n\n{$cancelSubscriptionUrl}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n{ts}You can update billing details for this recurring contribution at:{/ts}\n\n{$updateSubscriptionBillingUrl}\n\n{/if}\n\n{if $updateSubscriptionUrl}\n{ts}You can update recurring contribution amount or change the number of installments for this recurring contribution at:{/ts}\n\n{$updateSubscriptionUrl}\n\n{/if}\n{/if}\n\n{if $honor_block_is_active}\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n{elseif !empty($softCreditTypes) and !empty($softCredits)}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($pcpBlock)}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if !empty($onBehalfProfile)}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !empty($billingName)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{elseif !empty($email)}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{/if} {* End billingName or Email*}\n{if !empty($credit_card_type)}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if !empty($selectPremium )}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if !empty($contact_email) OR !empty($contact_phone)}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if !empty($contact_email)}\n {$contact_email}\n{/if}\n{if !empty($contact_phone)}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND !empty($price)}\n\n{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if !empty($customPre)}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if !empty($customPost)}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if !empty($receipt_text)}\n <p>{$receipt_text|htmlize}</p>\n {/if}\n\n {if $is_pay_later}\n <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *}\n {/if}\n\n </td>\n </tr>\n</table>\n<table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n {if {contribution.total_amount|boolean}}\n <tr>\n <th {$headerStyle}>\n {ts}Contribution Information{/ts}\n </th>\n </tr>\n\n {if $isShowLineItems}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n {if $isShowTax && {contribution.tax_amount|boolean}}\n <th>{ts}Subtotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n {/if}\n <th>{ts}Total{/ts}</th>\n </tr>\n {foreach from=$lineItems item=line}\n <tr>\n <td>{$line.title}</td>\n <td>{$line.qty}</td>\n <td>{$line.unit_price|crmMoney:$currency}</td>\n {if $isShowTax && {contribution.tax_amount|boolean}}\n <td>{$line.unit_price*$line.qty|crmMoney:$currency}</td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td>{$line.tax_rate|string_format:\"%.2f\"}%</td>\n <td>{$line.tax_amount|crmMoney:$currency}</td>\n {else}\n <td></td>\n <td></td>\n {/if}\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n\n {if $isShowTax && {contribution.tax_amount|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts} Amount before Tax : {/ts}\n </td>\n <td {$valueStyle}>\n {$amount-$totalTaxAmount|crmMoney:$currency}\n </td>\n </tr>\n\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n <tr>\n <td>{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if}</td>\n <td>{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}</td>\n </tr>\n {/foreach}\n\n {/if}\n {if $isShowTax}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_amount}\n </td>\n </tr>\n {/if}\n <tr>\n <td {$labelStyle}>\n {ts}Total Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.total_amount}\n </td>\n </tr>\n {else}\n {if {contribution.tax_amount|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_amount}\n </td>\n </tr>\n {/if}\n <tr>\n <td {$labelStyle}>\n {ts}Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.total_amount} {if \'{contribution.amount_level}\'} - {contribution.amount_level}{/if}\n </td>\n </tr>\n\n {/if}\n\n {/if}\n\n\n {if !empty($receive_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Date{/ts}\n </td>\n <td {$valueStyle}>\n {$receive_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($is_monetary) and !empty($trxn_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($is_recur)}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}This is a recurring contribution.{/ts}\n {if $cancelSubscriptionUrl}\n {ts 1=$cancelSubscriptionUrl}You can cancel future contributions by <a href=\"%1\">visiting this web page</a>.{/ts}\n {/if}\n </td>\n </tr>\n {if $updateSubscriptionBillingUrl}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n </td>\n </tr>\n {/if}\n {if $updateSubscriptionUrl}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if $honor_block_is_active}\n <tr>\n <th {$headerStyle}>\n {$soft_credit_type}\n </th>\n </tr>\n {foreach from=$honoreeProfile item=value key=label}\n <tr>\n <td {$labelStyle}>\n {$label}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n {elseif !empty($softCreditTypes) and !empty($softCredits)}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n <tr>\n <th {$headerStyle}>\n {$softCreditType}\n </th>\n </tr>\n {foreach from=$softCredits.$n item=value key=label}\n <tr>\n <td {$labelStyle}>\n {$label}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($pcpBlock)}\n <tr>\n <th {$headerStyle}>\n {ts}Personal Campaign Page{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Display In Honor Roll{/ts}\n </td>\n <td {$valueStyle}>\n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n </td>\n </tr>\n {if $pcp_roll_nickname}\n <tr>\n <td {$labelStyle}>\n {ts}Nickname{/ts}\n </td>\n <td {$valueStyle}>\n {$pcp_roll_nickname}\n </td>\n </tr>\n {/if}\n {if $pcp_personal_note}\n <tr>\n <td {$labelStyle}>\n {ts}Personal Note{/ts}\n </td>\n <td {$valueStyle}>\n {$pcp_personal_note}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if !empty($onBehalfProfile)}\n <tr>\n <th {$headerStyle}>\n {$onBehalfProfile_grouptitle}\n </th>\n </tr>\n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n <tr>\n <td {$labelStyle}>\n {$onBehalfName}\n </td>\n <td {$valueStyle}>\n {$onBehalfValue}\n </td>\n </tr>\n {/foreach}\n {/if}\n\n {if !empty($isShare)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contributionPageId`\" a=true fe=1 h=1}{/capture}\n {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$contributionUrl title=$title pageURL=$contributionUrl}\n </td>\n </tr>\n {/if}\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}<br />\n {$email}\n </td>\n </tr>\n {elseif !empty($email)}\n <tr>\n <th {$headerStyle}>\n {ts}Registered Email{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$email}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n </td>\n </tr>\n {/if}\n\n {if !empty($selectPremium)}\n <tr>\n <th {$headerStyle}>\n {ts}Premium Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {$product_name}\n </td>\n </tr>\n {if $option}\n <tr>\n <td {$labelStyle}>\n {ts}Option{/ts}\n </td>\n <td {$valueStyle}>\n {$option}\n </td>\n </tr>\n {/if}\n {if $sku}\n <tr>\n <td {$labelStyle}>\n {ts}SKU{/ts}\n </td>\n <td {$valueStyle}>\n {$sku}\n </td>\n </tr>\n {/if}\n {if $start_date}\n <tr>\n <td {$labelStyle}>\n {ts}Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {$start_date|crmDate}\n </td>\n </tr>\n {/if}\n {if $end_date}\n <tr>\n <td {$labelStyle}>\n {ts}End Date{/ts}\n </td>\n <td {$valueStyle}>\n {$end_date|crmDate}\n </td>\n </tr>\n {/if}\n {if !empty($contact_email) OR !empty($contact_phone)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <p>{ts}For information about this premium, contact:{/ts}</p>\n {if !empty($contact_email)}\n <p>{$contact_email}</p>\n {/if}\n {if !empty($contact_phone)}\n <p>{$contact_phone}</p>\n {/if}\n </td>\n </tr>\n {/if}\n {if $is_deductible AND !empty($price)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <p>{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}</p>\n </td>\n </tr>\n {/if}\n {/if}\n\n {if !empty($customPre)}\n <tr>\n <th {$headerStyle}>\n {$customPre_grouptitle}\n </th>\n </tr>\n {foreach from=$customPre item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$customValue}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($customPost)}\n <tr>\n <th {$headerStyle}>\n {$customPost_grouptitle}\n </th>\n </tr>\n {foreach from=$customPost item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$customValue}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n </table>\n\n</body>\n</html>\n',1,816,'contribution_online_receipt',1,0,0,NULL), + (8,'Contributions - Receipt (on-line)','{if \'{contribution.contribution_status_id:name}\' === \'Pending\'}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($receipt_text)}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{/if}\n\n{if {contribution.total_amount|boolean}}\n===========================================================\n{ts}Contribution Information{/ts}\n\n===========================================================\n{if $isShowLineItems}\n\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$lineItems item=line}\n{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if $isShowTax && {contribution.tax_amount|boolean}}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{ts}Amount before Tax:{/ts} {$amount-$totalTaxAmount|crmMoney:$currency}\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n {if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if} : {$taxDetail.amount|crmMoney:\'{contribution.currency}\'}\n {/foreach}\n{/if}\n\n{if $isShowTax}\n{ts}Total Tax Amount{/ts}: {contribution.tax_amount|crmMoney}\n{/if}\n\n{ts}Total Amount{/ts}: {contribution.total_amount}\n{else}\n{ts}Amount{/ts}: {contribution.total_amount} {if \'{contribution.amount_level}\'} - {contribution.amount_level}{/if}\n{/if}\n{/if}\n{if !empty($receive_date)}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($is_monetary) and !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n\n{if !empty($is_recur)}\n{ts}This is a recurring contribution.{/ts}\n\n{if $cancelSubscriptionUrl}\n{ts}You can cancel future contributions at:{/ts}\n\n{$cancelSubscriptionUrl}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n{ts}You can update billing details for this recurring contribution at:{/ts}\n\n{$updateSubscriptionBillingUrl}\n\n{/if}\n\n{if $updateSubscriptionUrl}\n{ts}You can update recurring contribution amount or change the number of installments for this recurring contribution at:{/ts}\n\n{$updateSubscriptionUrl}\n\n{/if}\n{/if}\n\n{if $honor_block_is_active}\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n{elseif !empty($softCreditTypes) and !empty($softCredits)}\n{foreach from=$softCreditTypes item=softCreditType key=n}\n===========================================================\n{$softCreditType}\n===========================================================\n{foreach from=$softCredits.$n item=value key=label}\n{$label}: {$value}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($pcpBlock)}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if !empty($onBehalfProfile)}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !empty($billingName)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{elseif !empty($email)}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{/if} {* End billingName or Email*}\n{if !empty($credit_card_type)}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if !empty($selectPremium )}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if !empty($contact_email) OR !empty($contact_phone)}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if !empty($contact_email)}\n {$contact_email}\n{/if}\n{if !empty($contact_phone)}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND !empty($price)}\n\n{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if !empty($customPre)}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if !empty($customPost)}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n<table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if !empty($receipt_text)}\n <p>{$receipt_text|htmlize}</p>\n {/if}\n\n {if $is_pay_later}\n <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *}\n {/if}\n\n </td>\n </tr>\n</table>\n<table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n {if {contribution.total_amount|boolean}}\n <tr>\n <th {$headerStyle}>\n {ts}Contribution Information{/ts}\n </th>\n </tr>\n\n {if $isShowLineItems}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n {if $isShowTax && {contribution.tax_amount|boolean}}\n <th>{ts}Subtotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n {/if}\n <th>{ts}Total{/ts}</th>\n </tr>\n {foreach from=$lineItems item=line}\n <tr>\n <td>{$line.title}</td>\n <td>{$line.qty}</td>\n <td>{$line.unit_price|crmMoney:$currency}</td>\n {if $isShowTax && {contribution.tax_amount|boolean}}\n <td>{$line.unit_price*$line.qty|crmMoney:$currency}</td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td>{$line.tax_rate|string_format:\"%.2f\"}%</td>\n <td>{$line.tax_amount|crmMoney:$currency}</td>\n {else}\n <td></td>\n <td></td>\n {/if}\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n\n {if $isShowTax && {contribution.tax_amount|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts} Amount before Tax : {/ts}\n </td>\n <td {$valueStyle}>\n {$amount-$totalTaxAmount|crmMoney:$currency}\n </td>\n </tr>\n\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n <tr>\n <td>{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if}</td>\n <td>{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}</td>\n </tr>\n {/foreach}\n\n {/if}\n {if $isShowTax}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_amount}\n </td>\n </tr>\n {/if}\n <tr>\n <td {$labelStyle}>\n {ts}Total Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.total_amount}\n </td>\n </tr>\n {else}\n {if {contribution.tax_amount|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_amount}\n </td>\n </tr>\n {/if}\n <tr>\n <td {$labelStyle}>\n {ts}Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.total_amount} {if \'{contribution.amount_level}\'} - {contribution.amount_level}{/if}\n </td>\n </tr>\n\n {/if}\n\n {/if}\n\n\n {if !empty($receive_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Date{/ts}\n </td>\n <td {$valueStyle}>\n {$receive_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($is_monetary) and !empty($trxn_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($is_recur)}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}This is a recurring contribution.{/ts}\n {if $cancelSubscriptionUrl}\n {ts 1=$cancelSubscriptionUrl}You can cancel future contributions by <a href=\"%1\">visiting this web page</a>.{/ts}\n {/if}\n </td>\n </tr>\n {if $updateSubscriptionBillingUrl}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n </td>\n </tr>\n {/if}\n {if $updateSubscriptionUrl}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if $honor_block_is_active}\n <tr>\n <th {$headerStyle}>\n {$soft_credit_type}\n </th>\n </tr>\n {foreach from=$honoreeProfile item=value key=label}\n <tr>\n <td {$labelStyle}>\n {$label}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n {elseif !empty($softCreditTypes) and !empty($softCredits)}\n {foreach from=$softCreditTypes item=softCreditType key=n}\n <tr>\n <th {$headerStyle}>\n {$softCreditType}\n </th>\n </tr>\n {foreach from=$softCredits.$n item=value key=label}\n <tr>\n <td {$labelStyle}>\n {$label}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($pcpBlock)}\n <tr>\n <th {$headerStyle}>\n {ts}Personal Campaign Page{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Display In Honor Roll{/ts}\n </td>\n <td {$valueStyle}>\n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n </td>\n </tr>\n {if $pcp_roll_nickname}\n <tr>\n <td {$labelStyle}>\n {ts}Nickname{/ts}\n </td>\n <td {$valueStyle}>\n {$pcp_roll_nickname}\n </td>\n </tr>\n {/if}\n {if $pcp_personal_note}\n <tr>\n <td {$labelStyle}>\n {ts}Personal Note{/ts}\n </td>\n <td {$valueStyle}>\n {$pcp_personal_note}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if !empty($onBehalfProfile)}\n <tr>\n <th {$headerStyle}>\n {$onBehalfProfile_grouptitle}\n </th>\n </tr>\n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n <tr>\n <td {$labelStyle}>\n {$onBehalfName}\n </td>\n <td {$valueStyle}>\n {$onBehalfValue}\n </td>\n </tr>\n {/foreach}\n {/if}\n\n {if !empty($isShare)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=contributionUrl}{crmURL p=\'civicrm/contribute/transact\' q=\"reset=1&id=`$contributionPageId`\" a=true fe=1 h=1}{/capture}\n {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$contributionUrl title=$title pageURL=$contributionUrl}\n </td>\n </tr>\n {/if}\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}<br />\n {$email}\n </td>\n </tr>\n {elseif !empty($email)}\n <tr>\n <th {$headerStyle}>\n {ts}Registered Email{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$email}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n </td>\n </tr>\n {/if}\n\n {if !empty($selectPremium)}\n <tr>\n <th {$headerStyle}>\n {ts}Premium Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {$product_name}\n </td>\n </tr>\n {if $option}\n <tr>\n <td {$labelStyle}>\n {ts}Option{/ts}\n </td>\n <td {$valueStyle}>\n {$option}\n </td>\n </tr>\n {/if}\n {if $sku}\n <tr>\n <td {$labelStyle}>\n {ts}SKU{/ts}\n </td>\n <td {$valueStyle}>\n {$sku}\n </td>\n </tr>\n {/if}\n {if $start_date}\n <tr>\n <td {$labelStyle}>\n {ts}Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {$start_date|crmDate}\n </td>\n </tr>\n {/if}\n {if $end_date}\n <tr>\n <td {$labelStyle}>\n {ts}End Date{/ts}\n </td>\n <td {$valueStyle}>\n {$end_date|crmDate}\n </td>\n </tr>\n {/if}\n {if !empty($contact_email) OR !empty($contact_phone)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <p>{ts}For information about this premium, contact:{/ts}</p>\n {if !empty($contact_email)}\n <p>{$contact_email}</p>\n {/if}\n {if !empty($contact_phone)}\n <p>{$contact_phone}</p>\n {/if}\n </td>\n </tr>\n {/if}\n {if $is_deductible AND !empty($price)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <p>{ts 1=$price|crmMoney:$currency}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}</p>\n </td>\n </tr>\n {/if}\n {/if}\n\n {if !empty($customPre)}\n <tr>\n <th {$headerStyle}>\n {$customPre_grouptitle}\n </th>\n </tr>\n {foreach from=$customPre item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$customValue}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($customPost)}\n <tr>\n <th {$headerStyle}>\n {$customPost_grouptitle}\n </th>\n </tr>\n {foreach from=$customPost item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$customValue}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n </table>\n\n</body>\n</html>\n',1,816,'contribution_online_receipt',0,1,0,NULL), (9,'Contributions - Invoice','{if $title}\n {if $component}\n {if $component == \'event\'}\n {ts 1=$title}Event Registration Invoice: %1{/ts}\n {else}\n {ts 1=$title}Contribution Invoice: %1{/ts}\n {/if}\n {/if}\n{else}\n {ts}Invoice{/ts}\n{/if}\n - {contact.display_name}\n','{ts}Contribution Invoice{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n </head>\n <body>\n <div style=\"padding-top:100px;margin-right:50px;border-style: none;\">\n {if $config->empoweredBy}\n <table style=\"margin-top:5px;padding-bottom:50px;\" cellpadding=\"5\" cellspacing=\"0\">\n <tr>\n <td><img src=\"{domain.empowered_by_civicrm_image_url}\" height=\"34px\" width=\"99px\"></td>\n </tr>\n </table>\n {/if}\n <table style=\"font-family: Arial, Verdana, sans-serif;\" width=\"100%\" height=\"100\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n <tr>\n <td width=\"30%\"><b><font size=\"4\" align=\"center\">{ts}INVOICE{/ts}</font></b></td>\n <td width=\"50%\" valign=\"bottom\"><b><font size=\"1\" align=\"center\">{ts}Invoice Date:{/ts}</font></b></td>\n <td valign=\"bottom\" style=\"white-space: nowrap\"><b><font size=\"1\" align=\"right\">{domain.name}</font></b></td>\n </tr>\n <tr>\n <td><font size=\"1\" align=\"center\">{contact.display_name}{if \'{contact.current_employer}\'} ({contact.current_employer}){/if}</font></td>\n <td><font size=\"1\" align=\"right\">{$invoice_date}</font></td>\n <td style=\"white-space: nowrap\"><font size=\"1\" align=\"right\">\n {domain.street_address}\n {domain.supplemental_address_1}\n </font></td>\n </tr>\n <tr>\n <td><font size=\"1\" align=\"center\">{$street_address} {$supplemental_address_1}</font></td>\n <td><b><font size=\"1\" align=\"right\">{ts}Invoice Number:{/ts}</font></b></td>\n <td><font size=\"1\" align=\"right\">\n {domain.supplemental_address_2}\n {domain.state_province_id:label}\n </font></td>\n </tr>\n <tr>\n <td><font size=\"1\" align=\"center\">{$supplemental_address_2} {$stateProvinceAbbreviation}</font></td>\n <td><font size=\"1\" align=\"right\">{contribution.invoice_number}</font></td>\n <td style=\"white-space: nowrap\"><font size=\"1\" align=\"right\">\n {domain.city}\n {domain.postal_code}\n </font></td>\n </tr>\n <tr>\n <td><font size=\"1\" align=\"right\">{$city} {$postal_code}</font></td>\n <td height=\"10\"><b><font size=\"1\" align=\"right\">{ts}Reference:{/ts}</font></b></td>\n <td><font size=\"1\" align=\"right\">{domain.country_id:label}</font></td>\n </tr>\n <tr>\n <td><font size=\"1\" align=\"right\"> {$country}</font></td>\n <td><font size=\"1\" align=\"right\">{contribution.source}</font></td>\n <td valign=\"top\" style=\"white-space: nowrap\"><font size=\"1\" align=\"right\">{domain.email}</font> </td>\n </tr>\n <tr>\n <td></td>\n <td></td>\n <td valign=\"top\"><font size=\"1\" align=\"right\">{domain.phone}</font> </td>\n </tr>\n </table>\n\n <table style=\"padding-top:75px;font-family: Arial, Verdana, sans-serif;\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n <tr>\n <th style=\"text-align:left;font-weight:bold;width:100%\"><font size=\"1\">{ts}Description{/ts}</font></th>\n <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{ts}Quantity{/ts}</font></th>\n <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{ts}Unit Price{/ts}</font></th>\n <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{domain.tax_term}</font></th>\n <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{ts 1=$currency}Amount %1{/ts}</font></th>\n </tr>\n {foreach from=$lineItems item=line}\n <tr>\n <td style=\"text-align:left;nowrap\"><font size=\"1\">\n {$line.title}\n </font></td>\n <td style=\"text-align:right;\"><font size=\"1\">{$line.qty}</font></td>\n <td style=\"text-align:right;\"><font size=\"1\">{$line.unit_price|crmMoney:$currency}</font></td>\n {if $line.tax_amount != \'\'}\n <td style=\"text-align:right;\"><font size=\"1\">{if $line.tax_rate}{$line.tax_rate|crmNumberFormat}%{/if}</font></td>\n {else}\n <td style=\"text-align:right;\"><font size=\"1\">{if \'{domain.tax_term}\'}{ts 1=\'{domain.tax_term}\'}-{/ts}{/if}</font></td>\n {/if}\n <td style=\"text-align:right;\"><font size=\"1\">{$line.line_total|crmMoney:\'{contribution.currency}\'}</font></td>\n </tr>\n {/foreach}\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"text-align:right;\"><font size=\"1\">{ts}Sub Total{/ts}</font></td>\n <td style=\"text-align:right;\"><font size=\"1\">{$subTotal|crmMoney:$currency}</font></td>\n </tr>\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n {if $taxRate != 0}\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"text-align:right;white-space: nowrap\"><font size=\"1\">{if \'{domain.tax_term}\'}{ts 1=\'{domain.tax_term}\' 2=$taxRate|crmNumberFormat}TOTAL %1 %2%{/ts}{/if}</font></td>\n <td style=\"text-align:right\"><font size=\"1\" align=\"right\">{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}</font> </td>\n </tr>\n {/if}\n {/foreach}\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"text-align:right;white-space: nowrap\"><b><font size=\"1\">{ts 1=$currency}TOTAL %1{/ts}</font></b></td>\n <td style=\"text-align:right;\"><font size=\"1\">{$amount|crmMoney:$currency}</font></td>\n </tr>\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"text-align:right;white-space: nowrap\"><font size=\"1\">\n {if \'{contribution.contribution_status_id:name}\' == \'Refunded\'}\n {ts}Amount Credited{/ts}\n {else}\n {ts}Amount Paid{/ts}\n {/if}\n </font></td>\n <td style=\"text-align:right;\"><font size=\"1\">{$amountPaid|crmMoney:$currency}</font></td>\n </tr>\n <tr>\n <td colspan=\"3\"></td>\n <td colspan=\"2\"><hr></hr></td>\n </tr>\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"text-align:right;white-space: nowrap\" ><b><font size=\"1\">{ts}AMOUNT DUE:{/ts}</font></b></td>\n <td style=\"text-align:right;\"><b><font size=\"1\">{$amountDue|crmMoney:$currency}</font></b></td>\n </tr>\n <tr>\n <td colspan=\"5\"></td>\n </tr>\n {if \'{contribution.contribution_status_id:name}\' == \'Pending\' && \'{contribution.is_pay_later}\' == 1}\n <tr>\n <td colspan=\"3\"><b><font size=\"1\" align=\"center\">{ts 1=$dueDate}DUE DATE: %1{/ts}</font></b></td>\n <td colspan=\"2\"></td>\n </tr>\n {/if}\n </table>\n\n {if \'{contribution.contribution_status_id:name}\' == \'Pending\' && \'{contribution.is_pay_later}\' == 1}\n <table style=\"margin-top:5px;\" width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td><img src=\"{$resourceBase}/i/contribute/cut_line.png\" height=\"15\"></td>\n </tr>\n </table>\n\n <table style=\"margin-top:5px;font-family: Arial, Verdana, sans-serif\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\" id=\"desc\">\n <tr>\n <td width=\"60%\"><b><font size=\"4\" align=\"right\">{ts}PAYMENT ADVICE{/ts}</font></b><br/><br/>\n <font size=\"1\" align=\"left\"><b>{ts}To:{/ts}</b><div style=\"width:24em;word-wrap:break-word;\">\n {domain.name}<br />\n {domain.street_address} {domain.supplemental_address_1}<br />\n {domain.supplemental_address_2} {domain.state_province_id:label}<br />\n {domain.city} {domain.postal_code}<br />\n {domain.country_id:label}<br />\n {domain.email}</div>\n {domain.phone}<br />\n </font>\n <br/><br/><font size=\"1\" align=\"left\">{$notes}</font>\n </td>\n <td width=\"40%\">\n <table cellpadding=\"5\" cellspacing=\"0\" width=\"100%\" border=\"0\">\n <tr>\n <td width=\"100%\"><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Customer:{/ts}</font></td>\n <td style=\"white-space: nowrap\"><font size=\"1\" align=\"right\">{contact.display_name}</font></td>\n </tr>\n <tr>\n <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Invoice Number:{/ts}</font></td>\n <td><font size=\"1\" align=\"right\">{contribution.invoice_number}</font></td>\n </tr>\n <tr><td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></td></tr>\n {if $is_pay_later == 1}\n <tr>\n <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Amount Due:{/ts}</font></td>\n <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{$amount|crmMoney:$currency}</font></td>\n </tr>\n {else}\n <tr>\n <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Amount Due:{/ts}</font></td>\n <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{$amountDue|crmMoney:$currency}</font></td>\n </tr>\n {/if}\n <tr>\n <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Due Date:{/ts}</font></td>\n <td><font size=\"1\" align=\"right\">{$dueDate}</font></td>\n </tr>\n <tr>\n <td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n {/if}\n\n {if \'{contribution.contribution_status_id:name}\' === \'Refunded\' || \'{contribution.contribution_status_id:name}\' === \'Cancelled\'}\n {if $config->empoweredBy}\n <table style=\"margin-top:2px;padding-left:7px;page-break-before: always;\">\n <tr>\n <td><img src=\"{$resourceBase}/i/civi99.png\" height=\"34px\" width=\"99px\"></td>\n </tr>\n </table>\n {/if}\n\n <table style=\"font-family: Arial, Verdana, sans-serif\" width=\"100%\" height=\"100\" border=\"0\" cellpadding=\"5\" cellspacing=\"5\">\n <tr>\n <td style=\"padding-left:15px;\"><b><font size=\"4\" align=\"center\">{ts}CREDIT NOTE{/ts}</font></b></td>\n <td style=\"padding-left:30px;\"><b><font size=\"1\" align=\"right\">{ts}Date:{/ts}</font></b></td>\n <td><font size=\"1\" align=\"right\">{domain.name}</font></td>\n </tr>\n <tr>\n <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{contact.display_name}{if \'{contact.current_employer}\'} ({contact.current_employer}){/if}</font></td>\n <td style=\"padding-left:30px;\"><font size=\"1\" align=\"right\">{$invoice_date}</font></td>\n <td><font size=\"1\" align=\"right\">\n {domain.street_address}\n {domain.supplemental_address_1}\n </font></td>\n </tr>\n <tr>\n <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$street_address} {$supplemental_address_1}</font></td>\n <td style=\"padding-left:30px;\"><b><font size=\"1\" align=\"right\">{ts}Credit Note Number:{/ts}</font></b></td>\n <td><font size=\"1\" align=\"right\">\n {domain.supplemental_address_2}\n {domain.state_province_id:label}\n </font></td>\n </tr>\n <tr>\n <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$supplemental_address_2} {$stateProvinceAbbreviation}</font></td>\n <td style=\"padding-left:30px;\"><font size=\"1\" align=\"right\">{contribution.creditnote_id}</font></td>\n <td><font size=\"1\" align=\"right\">\n {domain.city}\n {domain.postal_code}\n </font></td>\n </tr>\n <tr>\n <td style=\"padding-left:17px;\"><font size=\"1\" align=\"right\">{$city} {$postal_code}</font></td>\n <td height=\"10\" style=\"padding-left:30px;\"><b><font size=\"1\" align=\"right\">{ts}Reference:{/ts}</font></b></td>\n <td><font size=\"1\" align=\"right\">\n {domain.country_id:label}\n </font></td>\n </tr>\n <tr>\n <td></td>\n <td style=\"padding-left:30px;\"><font size=\"1\" align=\"right\">{contribution.source}</font></td>\n <td><font size=\"1\" align=\"right\">\n {domain.email}\n </font></td>\n </tr>\n <tr>\n <td></td>\n <td></td>\n <td><font size=\"1\" align=\"right\">\n {domain.phone}\n </font></td>\n </tr>\n </table>\n\n <table style=\"margin-top:75px;font-family: Arial, Verdana, sans-serif\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"5\" id=\"desc\">\n <tr>\n <td colspan=\"2\">\n <table>\n <tr>\n <th style=\"padding-right:28px;text-align:left;font-weight:bold;width:200px;\"><font size=\"1\">{ts}Description{/ts}</font></th>\n <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{ts}Quantity{/ts}</font></th>\n <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{ts}Unit Price{/ts}</font></th>\n <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{domain.tax_term}</font></th>\n <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{ts 1=$currency}Amount %1{/ts}</font></th>\n </tr>\n {foreach from=$lineItems item=line key=index}\n <tr><td colspan=\"5\"><hr {if $index == 0}size=\"3\" style=\"color:#000;\"{else}style=\"color:#F5F5F5;\"{/if}></hr></td></tr>\n <tr>\n <td style =\"text-align:left;\" ><font size=\"1\">\n {$line.title}\n </font></td>\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$line.qty}</font></td>\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$line.unit_price|crmMoney:$currency}</font></td>\n {if $line.tax_amount != \'\'}\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{if $line.tax_rate}{$line.tax_rate|crmNumberFormat}%{/if}</font></td>\n {else}\n <td style=\"padding-left:28px;text-align:right\"><font size=\"1\">{if \'{domain.tax_term}\'}{ts 1=\'{domain.tax_term}\'}No %1{/ts}{/if}</font></td>\n {/if}\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$line.line_total|crmMoney:\'{contribution.currency}\'}</font></td>\n </tr>\n {/foreach}\n <tr><td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></hr></td></tr>\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{ts}Sub Total{/ts}</font></td>\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$subTotal|crmMoney:$currency}</font></td>\n </tr>\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n {if $taxRate != 0}\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{if \'{domain.tax_term}\'}{ts 1=\'{domain.tax_term}\' 2=$taxRate|crmNumberFormat}TOTAL %1 %2%{/ts}{/if}</font></td>\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\" align=\"right\">{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}</font> </td>\n </tr>\n {/if}\n {/foreach}\n <tr>\n <td colspan=\"3\"></td>\n <td colspan=\"2\"><hr></hr></td>\n </tr>\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"padding-left:28px;text-align:right;\"><b><font size=\"1\">{ts 1=$currency}TOTAL %1{/ts}</font></b></td>\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$amount|crmMoney:$currency}</font></td>\n </tr>\n {if \'{contribution.is_pay_later}\' == 0}\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{ts}LESS Credit to invoice(s){/ts}</font></td>\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$amount|crmMoney:$currency}</font></td>\n </tr>\n <tr>\n <td colspan=\"3\"></td>\n <td colspan=\"2\"><hr></hr></td>\n </tr>\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"padding-left:28px;text-align:right;\"><b><font size=\"1\">{ts}REMAINING CREDIT{/ts}</font></b></td>\n <td style=\"padding-left:28px;text-align:right;\"><b><font size=\"1\">{$amountDue|crmMoney:$currency}</font></b></td>\n <td style=\"padding-left:28px;\"><font size=\"1\" align=\"right\"></font></td>\n </tr>\n {/if}\n <br/><br/><br/>\n <tr>\n <td colspan=\"3\"></td>\n </tr>\n <tr>\n <td></td>\n <td colspan=\"3\"></td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n\n <table width=\"100%\" style=\"margin-top:5px;padding-right:45px;\">\n <tr>\n <td><img src=\"{$resourceBase}/i/contribute/cut_line.png\" height=\"15\" width=\"100%\"></td>\n </tr>\n </table>\n\n <table style=\"margin-top:6px;font-family: Arial, Verdana, sans-serif\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"5\" id=\"desc\">\n <tr>\n <td width=\"60%\"><font size=\"4\" align=\"right\"><b>{ts}CREDIT ADVICE{/ts}</b><br/><br /><div style=\"font-size:10px;max-width:300px;\">{ts}Please do not pay on this advice. Deduct the amount of this Credit Note from your next payment to us{/ts}</div><br/></font></td>\n <td width=\"40%\">\n <table align=\"right\">\n <tr>\n <td colspan=\"2\"></td>\n <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Customer:{/ts}</font></td>\n <td><font size=\"1\" align=\"right\">{contact.display_name}</font></td>\n </tr>\n <tr>\n <td colspan=\"2\"></td>\n <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Credit Note#:{/ts}</font></td>\n <td><font size=\"1\" align=\"right\">{contribution.creditnote_id}</font></td>\n </tr>\n <tr><td colspan=\"5\"style=\"color:#F5F5F5;\"><hr></hr></td></tr>\n <tr>\n <td colspan=\"2\"></td>\n <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Credit Amount:{/ts}</font></td>\n <td width=\'50px\'><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{$amount|crmMoney:$currency}</font></td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n {/if}\n\n </div>\n </body>\n</html>\n',1,817,'contribution_invoice_receipt',1,0,0,NULL), (10,'Contributions - Invoice','{if $title}\n {if $component}\n {if $component == \'event\'}\n {ts 1=$title}Event Registration Invoice: %1{/ts}\n {else}\n {ts 1=$title}Contribution Invoice: %1{/ts}\n {/if}\n {/if}\n{else}\n {ts}Invoice{/ts}\n{/if}\n - {contact.display_name}\n','{ts}Contribution Invoice{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n </head>\n <body>\n <div style=\"padding-top:100px;margin-right:50px;border-style: none;\">\n {if $config->empoweredBy}\n <table style=\"margin-top:5px;padding-bottom:50px;\" cellpadding=\"5\" cellspacing=\"0\">\n <tr>\n <td><img src=\"{domain.empowered_by_civicrm_image_url}\" height=\"34px\" width=\"99px\"></td>\n </tr>\n </table>\n {/if}\n <table style=\"font-family: Arial, Verdana, sans-serif;\" width=\"100%\" height=\"100\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n <tr>\n <td width=\"30%\"><b><font size=\"4\" align=\"center\">{ts}INVOICE{/ts}</font></b></td>\n <td width=\"50%\" valign=\"bottom\"><b><font size=\"1\" align=\"center\">{ts}Invoice Date:{/ts}</font></b></td>\n <td valign=\"bottom\" style=\"white-space: nowrap\"><b><font size=\"1\" align=\"right\">{domain.name}</font></b></td>\n </tr>\n <tr>\n <td><font size=\"1\" align=\"center\">{contact.display_name}{if \'{contact.current_employer}\'} ({contact.current_employer}){/if}</font></td>\n <td><font size=\"1\" align=\"right\">{$invoice_date}</font></td>\n <td style=\"white-space: nowrap\"><font size=\"1\" align=\"right\">\n {domain.street_address}\n {domain.supplemental_address_1}\n </font></td>\n </tr>\n <tr>\n <td><font size=\"1\" align=\"center\">{$street_address} {$supplemental_address_1}</font></td>\n <td><b><font size=\"1\" align=\"right\">{ts}Invoice Number:{/ts}</font></b></td>\n <td><font size=\"1\" align=\"right\">\n {domain.supplemental_address_2}\n {domain.state_province_id:label}\n </font></td>\n </tr>\n <tr>\n <td><font size=\"1\" align=\"center\">{$supplemental_address_2} {$stateProvinceAbbreviation}</font></td>\n <td><font size=\"1\" align=\"right\">{contribution.invoice_number}</font></td>\n <td style=\"white-space: nowrap\"><font size=\"1\" align=\"right\">\n {domain.city}\n {domain.postal_code}\n </font></td>\n </tr>\n <tr>\n <td><font size=\"1\" align=\"right\">{$city} {$postal_code}</font></td>\n <td height=\"10\"><b><font size=\"1\" align=\"right\">{ts}Reference:{/ts}</font></b></td>\n <td><font size=\"1\" align=\"right\">{domain.country_id:label}</font></td>\n </tr>\n <tr>\n <td><font size=\"1\" align=\"right\"> {$country}</font></td>\n <td><font size=\"1\" align=\"right\">{contribution.source}</font></td>\n <td valign=\"top\" style=\"white-space: nowrap\"><font size=\"1\" align=\"right\">{domain.email}</font> </td>\n </tr>\n <tr>\n <td></td>\n <td></td>\n <td valign=\"top\"><font size=\"1\" align=\"right\">{domain.phone}</font> </td>\n </tr>\n </table>\n\n <table style=\"padding-top:75px;font-family: Arial, Verdana, sans-serif;\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\">\n <tr>\n <th style=\"text-align:left;font-weight:bold;width:100%\"><font size=\"1\">{ts}Description{/ts}</font></th>\n <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{ts}Quantity{/ts}</font></th>\n <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{ts}Unit Price{/ts}</font></th>\n <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{domain.tax_term}</font></th>\n <th style=\"text-align:right;font-weight:bold;white-space: nowrap\"><font size=\"1\">{ts 1=$currency}Amount %1{/ts}</font></th>\n </tr>\n {foreach from=$lineItems item=line}\n <tr>\n <td style=\"text-align:left;nowrap\"><font size=\"1\">\n {$line.title}\n </font></td>\n <td style=\"text-align:right;\"><font size=\"1\">{$line.qty}</font></td>\n <td style=\"text-align:right;\"><font size=\"1\">{$line.unit_price|crmMoney:$currency}</font></td>\n {if $line.tax_amount != \'\'}\n <td style=\"text-align:right;\"><font size=\"1\">{if $line.tax_rate}{$line.tax_rate|crmNumberFormat}%{/if}</font></td>\n {else}\n <td style=\"text-align:right;\"><font size=\"1\">{if \'{domain.tax_term}\'}{ts 1=\'{domain.tax_term}\'}-{/ts}{/if}</font></td>\n {/if}\n <td style=\"text-align:right;\"><font size=\"1\">{$line.line_total|crmMoney:\'{contribution.currency}\'}</font></td>\n </tr>\n {/foreach}\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"text-align:right;\"><font size=\"1\">{ts}Sub Total{/ts}</font></td>\n <td style=\"text-align:right;\"><font size=\"1\">{$subTotal|crmMoney:$currency}</font></td>\n </tr>\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n {if $taxRate != 0}\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"text-align:right;white-space: nowrap\"><font size=\"1\">{if \'{domain.tax_term}\'}{ts 1=\'{domain.tax_term}\' 2=$taxRate|crmNumberFormat}TOTAL %1 %2%{/ts}{/if}</font></td>\n <td style=\"text-align:right\"><font size=\"1\" align=\"right\">{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}</font> </td>\n </tr>\n {/if}\n {/foreach}\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"text-align:right;white-space: nowrap\"><b><font size=\"1\">{ts 1=$currency}TOTAL %1{/ts}</font></b></td>\n <td style=\"text-align:right;\"><font size=\"1\">{$amount|crmMoney:$currency}</font></td>\n </tr>\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"text-align:right;white-space: nowrap\"><font size=\"1\">\n {if \'{contribution.contribution_status_id:name}\' == \'Refunded\'}\n {ts}Amount Credited{/ts}\n {else}\n {ts}Amount Paid{/ts}\n {/if}\n </font></td>\n <td style=\"text-align:right;\"><font size=\"1\">{$amountPaid|crmMoney:$currency}</font></td>\n </tr>\n <tr>\n <td colspan=\"3\"></td>\n <td colspan=\"2\"><hr></hr></td>\n </tr>\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"text-align:right;white-space: nowrap\" ><b><font size=\"1\">{ts}AMOUNT DUE:{/ts}</font></b></td>\n <td style=\"text-align:right;\"><b><font size=\"1\">{$amountDue|crmMoney:$currency}</font></b></td>\n </tr>\n <tr>\n <td colspan=\"5\"></td>\n </tr>\n {if \'{contribution.contribution_status_id:name}\' == \'Pending\' && \'{contribution.is_pay_later}\' == 1}\n <tr>\n <td colspan=\"3\"><b><font size=\"1\" align=\"center\">{ts 1=$dueDate}DUE DATE: %1{/ts}</font></b></td>\n <td colspan=\"2\"></td>\n </tr>\n {/if}\n </table>\n\n {if \'{contribution.contribution_status_id:name}\' == \'Pending\' && \'{contribution.is_pay_later}\' == 1}\n <table style=\"margin-top:5px;\" width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n <tr>\n <td><img src=\"{$resourceBase}/i/contribute/cut_line.png\" height=\"15\"></td>\n </tr>\n </table>\n\n <table style=\"margin-top:5px;font-family: Arial, Verdana, sans-serif\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"0\" id=\"desc\">\n <tr>\n <td width=\"60%\"><b><font size=\"4\" align=\"right\">{ts}PAYMENT ADVICE{/ts}</font></b><br/><br/>\n <font size=\"1\" align=\"left\"><b>{ts}To:{/ts}</b><div style=\"width:24em;word-wrap:break-word;\">\n {domain.name}<br />\n {domain.street_address} {domain.supplemental_address_1}<br />\n {domain.supplemental_address_2} {domain.state_province_id:label}<br />\n {domain.city} {domain.postal_code}<br />\n {domain.country_id:label}<br />\n {domain.email}</div>\n {domain.phone}<br />\n </font>\n <br/><br/><font size=\"1\" align=\"left\">{$notes}</font>\n </td>\n <td width=\"40%\">\n <table cellpadding=\"5\" cellspacing=\"0\" width=\"100%\" border=\"0\">\n <tr>\n <td width=\"100%\"><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Customer:{/ts}</font></td>\n <td style=\"white-space: nowrap\"><font size=\"1\" align=\"right\">{contact.display_name}</font></td>\n </tr>\n <tr>\n <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Invoice Number:{/ts}</font></td>\n <td><font size=\"1\" align=\"right\">{contribution.invoice_number}</font></td>\n </tr>\n <tr><td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></td></tr>\n {if $is_pay_later == 1}\n <tr>\n <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Amount Due:{/ts}</font></td>\n <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{$amount|crmMoney:$currency}</font></td>\n </tr>\n {else}\n <tr>\n <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Amount Due:{/ts}</font></td>\n <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{$amountDue|crmMoney:$currency}</font></td>\n </tr>\n {/if}\n <tr>\n <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Due Date:{/ts}</font></td>\n <td><font size=\"1\" align=\"right\">{$dueDate}</font></td>\n </tr>\n <tr>\n <td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n {/if}\n\n {if \'{contribution.contribution_status_id:name}\' === \'Refunded\' || \'{contribution.contribution_status_id:name}\' === \'Cancelled\'}\n {if $config->empoweredBy}\n <table style=\"margin-top:2px;padding-left:7px;page-break-before: always;\">\n <tr>\n <td><img src=\"{$resourceBase}/i/civi99.png\" height=\"34px\" width=\"99px\"></td>\n </tr>\n </table>\n {/if}\n\n <table style=\"font-family: Arial, Verdana, sans-serif\" width=\"100%\" height=\"100\" border=\"0\" cellpadding=\"5\" cellspacing=\"5\">\n <tr>\n <td style=\"padding-left:15px;\"><b><font size=\"4\" align=\"center\">{ts}CREDIT NOTE{/ts}</font></b></td>\n <td style=\"padding-left:30px;\"><b><font size=\"1\" align=\"right\">{ts}Date:{/ts}</font></b></td>\n <td><font size=\"1\" align=\"right\">{domain.name}</font></td>\n </tr>\n <tr>\n <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{contact.display_name}{if \'{contact.current_employer}\'} ({contact.current_employer}){/if}</font></td>\n <td style=\"padding-left:30px;\"><font size=\"1\" align=\"right\">{$invoice_date}</font></td>\n <td><font size=\"1\" align=\"right\">\n {domain.street_address}\n {domain.supplemental_address_1}\n </font></td>\n </tr>\n <tr>\n <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$street_address} {$supplemental_address_1}</font></td>\n <td style=\"padding-left:30px;\"><b><font size=\"1\" align=\"right\">{ts}Credit Note Number:{/ts}</font></b></td>\n <td><font size=\"1\" align=\"right\">\n {domain.supplemental_address_2}\n {domain.state_province_id:label}\n </font></td>\n </tr>\n <tr>\n <td style=\"padding-left:17px;\"><font size=\"1\" align=\"center\">{$supplemental_address_2} {$stateProvinceAbbreviation}</font></td>\n <td style=\"padding-left:30px;\"><font size=\"1\" align=\"right\">{contribution.creditnote_id}</font></td>\n <td><font size=\"1\" align=\"right\">\n {domain.city}\n {domain.postal_code}\n </font></td>\n </tr>\n <tr>\n <td style=\"padding-left:17px;\"><font size=\"1\" align=\"right\">{$city} {$postal_code}</font></td>\n <td height=\"10\" style=\"padding-left:30px;\"><b><font size=\"1\" align=\"right\">{ts}Reference:{/ts}</font></b></td>\n <td><font size=\"1\" align=\"right\">\n {domain.country_id:label}\n </font></td>\n </tr>\n <tr>\n <td></td>\n <td style=\"padding-left:30px;\"><font size=\"1\" align=\"right\">{contribution.source}</font></td>\n <td><font size=\"1\" align=\"right\">\n {domain.email}\n </font></td>\n </tr>\n <tr>\n <td></td>\n <td></td>\n <td><font size=\"1\" align=\"right\">\n {domain.phone}\n </font></td>\n </tr>\n </table>\n\n <table style=\"margin-top:75px;font-family: Arial, Verdana, sans-serif\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"5\" id=\"desc\">\n <tr>\n <td colspan=\"2\">\n <table>\n <tr>\n <th style=\"padding-right:28px;text-align:left;font-weight:bold;width:200px;\"><font size=\"1\">{ts}Description{/ts}</font></th>\n <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{ts}Quantity{/ts}</font></th>\n <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{ts}Unit Price{/ts}</font></th>\n <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{domain.tax_term}</font></th>\n <th style=\"padding-left:28px;text-align:right;font-weight:bold;\"><font size=\"1\">{ts 1=$currency}Amount %1{/ts}</font></th>\n </tr>\n {foreach from=$lineItems item=line key=index}\n <tr><td colspan=\"5\"><hr {if $index == 0}size=\"3\" style=\"color:#000;\"{else}style=\"color:#F5F5F5;\"{/if}></hr></td></tr>\n <tr>\n <td style =\"text-align:left;\" ><font size=\"1\">\n {$line.title}\n </font></td>\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$line.qty}</font></td>\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$line.unit_price|crmMoney:$currency}</font></td>\n {if $line.tax_amount != \'\'}\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{if $line.tax_rate}{$line.tax_rate|crmNumberFormat}%{/if}</font></td>\n {else}\n <td style=\"padding-left:28px;text-align:right\"><font size=\"1\">{if \'{domain.tax_term}\'}{ts 1=\'{domain.tax_term}\'}No %1{/ts}{/if}</font></td>\n {/if}\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$line.line_total|crmMoney:\'{contribution.currency}\'}</font></td>\n </tr>\n {/foreach}\n <tr><td colspan=\"5\" style=\"color:#F5F5F5;\"><hr></hr></td></tr>\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{ts}Sub Total{/ts}</font></td>\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$subTotal|crmMoney:$currency}</font></td>\n </tr>\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n {if $taxRate != 0}\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{if \'{domain.tax_term}\'}{ts 1=\'{domain.tax_term}\' 2=$taxRate|crmNumberFormat}TOTAL %1 %2%{/ts}{/if}</font></td>\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\" align=\"right\">{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}</font> </td>\n </tr>\n {/if}\n {/foreach}\n <tr>\n <td colspan=\"3\"></td>\n <td colspan=\"2\"><hr></hr></td>\n </tr>\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"padding-left:28px;text-align:right;\"><b><font size=\"1\">{ts 1=$currency}TOTAL %1{/ts}</font></b></td>\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$amount|crmMoney:$currency}</font></td>\n </tr>\n {if \'{contribution.is_pay_later}\' == 0}\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{ts}LESS Credit to invoice(s){/ts}</font></td>\n <td style=\"padding-left:28px;text-align:right;\"><font size=\"1\">{$amount|crmMoney:$currency}</font></td>\n </tr>\n <tr>\n <td colspan=\"3\"></td>\n <td colspan=\"2\"><hr></hr></td>\n </tr>\n <tr>\n <td colspan=\"3\"></td>\n <td style=\"padding-left:28px;text-align:right;\"><b><font size=\"1\">{ts}REMAINING CREDIT{/ts}</font></b></td>\n <td style=\"padding-left:28px;text-align:right;\"><b><font size=\"1\">{$amountDue|crmMoney:$currency}</font></b></td>\n <td style=\"padding-left:28px;\"><font size=\"1\" align=\"right\"></font></td>\n </tr>\n {/if}\n <br/><br/><br/>\n <tr>\n <td colspan=\"3\"></td>\n </tr>\n <tr>\n <td></td>\n <td colspan=\"3\"></td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n\n <table width=\"100%\" style=\"margin-top:5px;padding-right:45px;\">\n <tr>\n <td><img src=\"{$resourceBase}/i/contribute/cut_line.png\" height=\"15\" width=\"100%\"></td>\n </tr>\n </table>\n\n <table style=\"margin-top:6px;font-family: Arial, Verdana, sans-serif\" width=\"100%\" border=\"0\" cellpadding=\"5\" cellspacing=\"5\" id=\"desc\">\n <tr>\n <td width=\"60%\"><font size=\"4\" align=\"right\"><b>{ts}CREDIT ADVICE{/ts}</b><br/><br /><div style=\"font-size:10px;max-width:300px;\">{ts}Please do not pay on this advice. Deduct the amount of this Credit Note from your next payment to us{/ts}</div><br/></font></td>\n <td width=\"40%\">\n <table align=\"right\">\n <tr>\n <td colspan=\"2\"></td>\n <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Customer:{/ts}</font></td>\n <td><font size=\"1\" align=\"right\">{contact.display_name}</font></td>\n </tr>\n <tr>\n <td colspan=\"2\"></td>\n <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Credit Note#:{/ts}</font></td>\n <td><font size=\"1\" align=\"right\">{contribution.creditnote_id}</font></td>\n </tr>\n <tr><td colspan=\"5\"style=\"color:#F5F5F5;\"><hr></hr></td></tr>\n <tr>\n <td colspan=\"2\"></td>\n <td><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{ts}Credit Amount:{/ts}</font></td>\n <td width=\'50px\'><font size=\"1\" align=\"right\" style=\"font-weight:bold;\">{$amount|crmMoney:$currency}</font></td>\n </tr>\n </table>\n </td>\n </tr>\n </table>\n {/if}\n\n </div>\n </body>\n</html>\n',1,817,'contribution_invoice_receipt',0,1,0,NULL), (11,'Contributions - Recurring Start and End Notification','{ts}Recurring Contribution Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{if $recur_txnType eq \'START\'}\n{if $auto_renew_membership}\n{ts}Thanks for your auto renew membership sign-up.{/ts}\n\n\n{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s).{/ts}\n\n{if $cancelSubscriptionUrl}\n{ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n{else}\n{ts}Thanks for your recurring contribution sign-up.{/ts}\n\n\n{ts 1=$recur_frequency_interval 2=$recur_frequency_unit 3=$recur_installments}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments } {ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.\n\n{ts}Start Date{/ts}: {$recur_start_date|crmDate}\n\n{if $cancelSubscriptionUrl}\n{ts 1=$cancelSubscriptionUrl}You can cancel the recurring contribution option by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n\n{if $updateSubscriptionUrl}\n{ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n\n{/if}\n{/if}\n\n{elseif $recur_txnType eq \'END\'}\n{if $auto_renew_membership}\n{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}\n\n\n{else}\n{ts}Your recurring contribution term has ended.{/ts}\n\n\n{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you.{/ts}\n\n\n==================================================\n{ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n\n==================================================\n{ts}Start Date{/ts}: {$recur_start_date|crmDate}\n\n{ts}End Date{/ts}: {$recur_end_date|crmDate}\n\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n </td>\n </tr>\n\n <tr>\n <td> </td>\n </tr>\n\n {if $recur_txnType eq \'START\'}\n {if $auto_renew_membership}\n <tr>\n <td>\n <p>{ts}Thanks for your auto renew membership sign-up.{/ts}</p>\n <p>{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This membership will be automatically renewed every %1 %2(s). {/ts}</p>\n </td>\n </tr>\n {if $cancelSubscriptionUrl}\n <tr>\n <td {$labelStyle}>\n {ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href=\"%1\">visiting this web page</a>.{/ts}\n </td>\n </tr>\n {/if}\n {if $updateSubscriptionBillingUrl}\n <tr>\n <td {$labelStyle}>\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n </td>\n </tr>\n {/if}\n {else}\n <tr>\n <td>\n <p>{ts}Thanks for your recurring contribution sign-up.{/ts}</p>\n <p>{ts 1=$recur_frequency_interval 2=$recur_frequency_unit}This recurring contribution will be automatically processed every %1 %2(s){/ts}{if $recur_installments }{ts 1=$recur_installments} for a total of %1 installment(s){/ts}{/if}.</p>\n <p>{ts}Start Date{/ts}: {$recur_start_date|crmDate}</p>\n </td>\n </tr>\n {if $cancelSubscriptionUrl}\n <tr>\n <td {$labelStyle}>\n {ts 1=$cancelSubscriptionUrl} You can cancel the recurring contribution option by <a href=\"%1\">visiting this web page</a>.{/ts}\n </td>\n </tr>\n {/if}\n {if $updateSubscriptionBillingUrl}\n <tr>\n <td {$labelStyle}>\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n </td>\n </tr>\n {/if}\n {if $updateSubscriptionUrl}\n <tr>\n <td {$labelStyle}>\n {ts 1=$updateSubscriptionUrl}You can update recurring contribution amount or change the number of installments details for this recurring contribution by <a href=\"%1\">visiting this web page</a>.{/ts}\n </td>\n </tr>\n {/if}\n {/if}\n\n {elseif $recur_txnType eq \'END\'}\n\n {if $auto_renew_membership}\n <tr>\n <td>\n <p>{ts}Your auto renew membership sign-up has ended and your membership will not be automatically renewed.{/ts}</p>\n </td>\n </tr>\n {else}\n <tr>\n <td>\n <p>{ts}Your recurring contribution term has ended.{/ts}</p>\n <p>{ts 1=$recur_installments}You have successfully completed %1 recurring contributions. Thank you.{/ts}</p>\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts 1=$recur_installments}Interval of Subscription for %1 installment(s){/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {$recur_start_date|crmDate}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}End Date{/ts}\n </td>\n <td {$valueStyle}>\n {$recur_end_date|crmDate}\n </td>\n </tr>\n </table>\n </td>\n </tr>\n\n {/if}\n {/if}\n\n </table>\n\n</body>\n</html>\n',1,818,'contribution_recurring_notify',1,0,0,NULL), @@ -5415,14 +5407,14 @@ INSERT INTO `civicrm_msg_template` (`id`, `msg_title`, `msg_subject`, `msg_text` (22,'Personal Campaign Pages - Supporter Status Change Notification','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts} - {contact.display_name}\n','{if $pcpStatus eq \'Approved\'}\n============================\n{ts}Your Personal Campaign Page{/ts}\n\n============================\n\n{ts}Your personal campaign page has been approved and is now live.{/ts}\n\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n{if $isTellFriendEnabled}\n\n{ts}After logging in, you can use this form to promote your fundraising page{/ts}:\n{$pcpTellFriendURL}\n\n{/if}\n\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n\n{* Rejected message *}\n{elseif $pcpStatus eq \'Not Approved\'}\n============================\n{ts}Your Personal Campaign Page{/ts}\n\n============================\n\n{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts}\n\n{if $pcpNotifyEmailAddress}\n\n{ts}Please contact our site administrator for more information{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n\n <h1>{ts}Your Personal Campaign Page{/ts}</h1>\n\n {if $pcpStatus eq \'Approved\'}\n\n <p>{ts}Your personal campaign page has been approved and is now live.{/ts}</p>\n <p>{ts}Whenever you want to preview, update or promote your page{/ts}:</p>\n <ol>\n <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n <li><a href=\"{$pcpInfoURL}\">{ts}Go to your page{/ts}</a></li>\n </ol>\n <p>{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}</p>\n\n {if $isTellFriendEnabled}\n <p><a href=\"{$pcpTellFriendURL}\">{ts}After logging in, you can use this form to promote your fundraising page{/ts}</a></p>\n {/if}\n\n {if $pcpNotifyEmailAddress}\n <p>{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}</p>\n {/if}\n\n {elseif $pcpStatus eq \'Not Approved\'}\n\n <p>{ts}Your personal campaign page has been reviewed. There were some issues with the content which prevented us from approving the page. We are sorry for any inconvenience.{/ts}</p>\n {if $pcpNotifyEmailAddress}\n <p>{ts}Please contact our site administrator for more information{/ts}: {$pcpNotifyEmailAddress}</p>\n {/if}\n\n {/if}\n\n </td>\n </tr>\n\n </table>\n\n</body>\n</html>\n',1,823,'pcp_status_change',0,1,0,NULL), (23,'Personal Campaign Pages - Supporter Welcome','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}\n\n{if $pcpStatus eq \'Approved\'}\n====================\n{ts}Promoting Your Page{/ts}\n\n====================\n{if $isTellFriendEnabled}\n\n{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:\n\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser and follow the prompts{/ts}:\n{$pcpTellFriendURL}\n{else}\n\n{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts}\n{ts}Include this link to your fundraising page in your emails{/ts}:\n{$pcpInfoURL}\n{/if}\n\n===================\n{ts}Managing Your Page{/ts}\n\n===================\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n\n{elseif $pcpStatus EQ \'Waiting Review\'}\n{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}\n\n\n{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}\n\n\n{ts}You can still preview your page prior to approval{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser{/ts}:\n{$pcpInfoURL}\n\n{/if}\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n <p>{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}</p>\n </td>\n </tr>\n\n {if $pcpStatus eq \'Approved\'}\n\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Promoting Your Page{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {if $isTellFriendEnabled}\n <p>{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:</p>\n <ol>\n <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n <li><a href=\"{$pcpTellFriendURL}\">{ts}Click this link and follow the prompts{/ts}</a></li>\n </ol>\n {else}\n <p>{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts} {ts}Include this link to your fundraising page in your emails{/ts}: {$pcpInfoURL}</p>\n {/if}\n </td>\n </tr>\n <tr>\n <th {$headerStyle}>\n {ts}Managing Your Page{/ts}\n </th>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <p>{ts}Whenever you want to preview, update or promote your page{/ts}:</p>\n <ol>\n <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n <li><a href=\"{$pcpInfoURL}\">{ts}Go to your page{/ts}</a></li>\n </ol>\n <p>{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}</p>\n </td>\n </tr>\n </tr>\n </table>\n </td>\n </tr>\n\n {elseif $pcpStatus EQ \'Waiting Review\'}\n\n <tr>\n <td>\n <p>{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}</p>\n <p>{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}</p>\n <p>{ts}You can still preview your page prior to approval{/ts}:</p>\n <ol>\n <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n <li><a href=\"{$pcpInfoURL}\">{ts}Click this link{/ts}</a></li>\n </ol>\n </td>\n </tr>\n\n {/if}\n\n {if $pcpNotifyEmailAddress}\n <tr>\n <td>\n <p>{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}</p>\n </td>\n </tr>\n {/if}\n\n </table>\n\n</body>\n</html>\n',1,824,'pcp_supporter_notify',1,0,0,NULL), (24,'Personal Campaign Pages - Supporter Welcome','{ts 1=$contribPageTitle}Your Personal Campaign Page for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}\n\n{if $pcpStatus eq \'Approved\'}\n====================\n{ts}Promoting Your Page{/ts}\n\n====================\n{if $isTellFriendEnabled}\n\n{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:\n\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser and follow the prompts{/ts}:\n{$pcpTellFriendURL}\n{else}\n\n{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts}\n{ts}Include this link to your fundraising page in your emails{/ts}:\n{$pcpInfoURL}\n{/if}\n\n===================\n{ts}Managing Your Page{/ts}\n\n===================\n{ts}Whenever you want to preview, update or promote your page{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser to go to your page{/ts}:\n{$pcpInfoURL}\n\n{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}\n\n\n{elseif $pcpStatus EQ \'Waiting Review\'}\n{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}\n\n\n{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}\n\n\n{ts}You can still preview your page prior to approval{/ts}:\n1. {ts}Login to your account at{/ts}:\n{$loginUrl}\n\n2. {ts}Click or paste this link into your browser{/ts}:\n{$pcpInfoURL}\n\n{/if}\n{if $pcpNotifyEmailAddress}\n{ts}Questions? Send email to{/ts}:\n{$pcpNotifyEmailAddress}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n <p>{ts 1=\"$contribPageTitle\"}Thanks for creating a personal campaign page in support of %1.{/ts}</p>\n </td>\n </tr>\n\n {if $pcpStatus eq \'Approved\'}\n\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Promoting Your Page{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {if $isTellFriendEnabled}\n <p>{ts}You can begin your fundraising efforts using our \"Tell a Friend\" form{/ts}:</p>\n <ol>\n <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n <li><a href=\"{$pcpTellFriendURL}\">{ts}Click this link and follow the prompts{/ts}</a></li>\n </ol>\n {else}\n <p>{ts}Send email to family, friends and colleagues with a personal message about this campaign.{/ts} {ts}Include this link to your fundraising page in your emails{/ts}: {$pcpInfoURL}</p>\n {/if}\n </td>\n </tr>\n <tr>\n <th {$headerStyle}>\n {ts}Managing Your Page{/ts}\n </th>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <p>{ts}Whenever you want to preview, update or promote your page{/ts}:</p>\n <ol>\n <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n <li><a href=\"{$pcpInfoURL}\">{ts}Go to your page{/ts}</a></li>\n </ol>\n <p>{ts}When you view your campaign page WHILE LOGGED IN, the page includes links to edit your page, tell friends, and update your contact info.{/ts}</p>\n </td>\n </tr>\n </tr>\n </table>\n </td>\n </tr>\n\n {elseif $pcpStatus EQ \'Waiting Review\'}\n\n <tr>\n <td>\n <p>{ts}Your page requires administrator review before you can begin your fundraising efforts.{/ts}</p>\n <p>{ts}A notification email has been sent to the site administrator, and you will receive another notification from them as soon as the review process is complete.{/ts}</p>\n <p>{ts}You can still preview your page prior to approval{/ts}:</p>\n <ol>\n <li><a href=\"{$loginUrl}\">{ts}Login to your account{/ts}</a></li>\n <li><a href=\"{$pcpInfoURL}\">{ts}Click this link{/ts}</a></li>\n </ol>\n </td>\n </tr>\n\n {/if}\n\n {if $pcpNotifyEmailAddress}\n <tr>\n <td>\n <p>{ts}Questions? Send email to{/ts}: {$pcpNotifyEmailAddress}</p>\n </td>\n </tr>\n {/if}\n\n </table>\n\n</body>\n</html>\n',1,824,'pcp_supporter_notify',0,1,0,NULL), - (25,'Personal Campaign Pages - Owner Notification','{ts}Someone has just donated to your personal campaign page{/ts} - {contact.display_name}\n','===========================================================\n{ts}Personal Campaign Page Owner Notification{/ts}\n\n===========================================================\n{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{ts}You have received a donation at your personal page{/ts}: {$page_title}\n>> {$pcpInfoURL}\n\n{ts}Your fundraising total has been updated.{/ts}\n{ts}The donor\'s information is listed below. You can choose to contact them and convey your thanks if you wish.{/ts}\n{if $is_honor_roll_enabled}\n {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}\n{/if}\n\n{ts}Received{/ts}: {$receive_date|crmDate}\n\n{ts}Amount{/ts}: {$total_amount|crmMoney:$currency}\n\n{ts}Name{/ts}: {$donors_display_name}\n\n{ts}Email{/ts}: {$donors_email}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n <p>{ts}You have received a donation at your personal page{/ts}: <a href=\"{$pcpInfoURL}\">{$page_title}</a></p>\n <p>{ts}Your fundraising total has been updated.{/ts}<br/>\n {ts}The donor\'s information is listed below. You can choose to contact them and convey your thanks if you wish.{/ts} <br/>\n {if $is_honor_roll_enabled}\n {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}<br/>\n {/if}\n </p>\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n <tr><td>{ts}Received{/ts}:</td><td> {$receive_date|crmDate}</td></tr>\n <tr><td>{ts}Amount{/ts}:</td><td> {$total_amount|crmMoney:$currency}</td></tr>\n <tr><td>{ts}Name{/ts}:</td><td> {$donors_display_name}</td></tr>\n <tr><td>{ts}Email{/ts}:</td><td> {$donors_email}</td></tr>\n </table>\n</body>\n</html>\n',1,825,'pcp_owner_notify',1,0,0,NULL), - (26,'Personal Campaign Pages - Owner Notification','{ts}Someone has just donated to your personal campaign page{/ts} - {contact.display_name}\n','===========================================================\n{ts}Personal Campaign Page Owner Notification{/ts}\n\n===========================================================\n{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{ts}You have received a donation at your personal page{/ts}: {$page_title}\n>> {$pcpInfoURL}\n\n{ts}Your fundraising total has been updated.{/ts}\n{ts}The donor\'s information is listed below. You can choose to contact them and convey your thanks if you wish.{/ts}\n{if $is_honor_roll_enabled}\n {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}\n{/if}\n\n{ts}Received{/ts}: {$receive_date|crmDate}\n\n{ts}Amount{/ts}: {$total_amount|crmMoney:$currency}\n\n{ts}Name{/ts}: {$donors_display_name}\n\n{ts}Email{/ts}: {$donors_email}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n <p>{ts}You have received a donation at your personal page{/ts}: <a href=\"{$pcpInfoURL}\">{$page_title}</a></p>\n <p>{ts}Your fundraising total has been updated.{/ts}<br/>\n {ts}The donor\'s information is listed below. You can choose to contact them and convey your thanks if you wish.{/ts} <br/>\n {if $is_honor_roll_enabled}\n {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}<br/>\n {/if}\n </p>\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n <tr><td>{ts}Received{/ts}:</td><td> {$receive_date|crmDate}</td></tr>\n <tr><td>{ts}Amount{/ts}:</td><td> {$total_amount|crmMoney:$currency}</td></tr>\n <tr><td>{ts}Name{/ts}:</td><td> {$donors_display_name}</td></tr>\n <tr><td>{ts}Email{/ts}:</td><td> {$donors_email}</td></tr>\n </table>\n</body>\n</html>\n',1,825,'pcp_owner_notify',0,1,0,NULL), + (25,'Personal Campaign Pages - Owner Notification','{ts}Someone has just donated to your personal campaign page{/ts} - {contact.display_name}\n','===========================================================\n{ts}Personal Campaign Page Owner Notification{/ts}\n\n===========================================================\n{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{ts}You have received a donation at your personal page{/ts}: {$page_title}\n>> {$pcpInfoURL}\n\n{ts}Your fundraising total has been updated.{/ts}\n{ts}The donor\'s information is listed below. You can choose to contact them and convey your thanks if you wish.{/ts}\n{if $is_honor_roll_enabled}\n {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}\n{/if}\n\n{ts}Contribution Date{/ts}: {$receive_date|crmDate}\n\n{ts}Amount{/ts}: {$total_amount|crmMoney:$currency}\n\n{ts}Name{/ts}: {$donors_display_name}\n\n{ts}Email{/ts}: {$donors_email}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n <p>{ts}You have received a donation at your personal page{/ts}: <a href=\"{$pcpInfoURL}\">{$page_title}</a></p>\n <p>{ts}Your fundraising total has been updated.{/ts}<br/>\n {ts}The donor\'s information is listed below. You can choose to contact them and convey your thanks if you wish.{/ts} <br/>\n {if $is_honor_roll_enabled}\n {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}<br/>\n {/if}\n </p>\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n <tr><td>{ts}Contribution Date{/ts}:</td><td> {$receive_date|crmDate}</td></tr>\n <tr><td>{ts}Amount{/ts}:</td><td> {$total_amount|crmMoney:$currency}</td></tr>\n <tr><td>{ts}Name{/ts}:</td><td> {$donors_display_name}</td></tr>\n <tr><td>{ts}Email{/ts}:</td><td> {$donors_email}</td></tr>\n </table>\n</body>\n</html>\n',1,825,'pcp_owner_notify',1,0,0,NULL), + (26,'Personal Campaign Pages - Owner Notification','{ts}Someone has just donated to your personal campaign page{/ts} - {contact.display_name}\n','===========================================================\n{ts}Personal Campaign Page Owner Notification{/ts}\n\n===========================================================\n{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{ts}You have received a donation at your personal page{/ts}: {$page_title}\n>> {$pcpInfoURL}\n\n{ts}Your fundraising total has been updated.{/ts}\n{ts}The donor\'s information is listed below. You can choose to contact them and convey your thanks if you wish.{/ts}\n{if $is_honor_roll_enabled}\n {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}\n{/if}\n\n{ts}Contribution Date{/ts}: {$receive_date|crmDate}\n\n{ts}Amount{/ts}: {$total_amount|crmMoney:$currency}\n\n{ts}Name{/ts}: {$donors_display_name}\n\n{ts}Email{/ts}: {$donors_email}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n <p>{ts}You have received a donation at your personal page{/ts}: <a href=\"{$pcpInfoURL}\">{$page_title}</a></p>\n <p>{ts}Your fundraising total has been updated.{/ts}<br/>\n {ts}The donor\'s information is listed below. You can choose to contact them and convey your thanks if you wish.{/ts} <br/>\n {if $is_honor_roll_enabled}\n {ts}The donor\'s name has been added to your honor roll unless they asked not to be included.{/ts}<br/>\n {/if}\n </p>\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n <tr><td>{ts}Contribution Date{/ts}:</td><td> {$receive_date|crmDate}</td></tr>\n <tr><td>{ts}Amount{/ts}:</td><td> {$total_amount|crmMoney:$currency}</td></tr>\n <tr><td>{ts}Name{/ts}:</td><td> {$donors_display_name}</td></tr>\n <tr><td>{ts}Email{/ts}:</td><td> {$donors_email}</td></tr>\n </table>\n</body>\n</html>\n',1,825,'pcp_owner_notify',0,1,0,NULL), (27,'Additional Payment Receipt or Refund Notification','{if $isRefund}{ts}Refund Notification{/ts}{else}{ts}Payment Receipt{/ts}{/if}{if $component eq \'event\'} - {$event.title}{/if} - {contact.display_name}\n','{if $emailGreeting}{$emailGreeting},\n{/if}\n\n{if $isRefund}\n{ts}A refund has been issued based on changes in your registration selections.{/ts}\n{else}\n{ts}Below you will find a receipt for this payment.{/ts}\n{/if}\n{if $paymentsComplete}\n{ts}Thank you for completing this payment.{/ts}\n{/if}\n\n{if $isRefund}\n===============================================================================\n\n{ts}Refund Details{/ts}\n\n===============================================================================\n{ts}This Refund Amount{/ts}: {$refundAmount|crmMoney:$currency}\n------------------------------------------------------------------------------------\n\n{else}\n===============================================================================\n\n{ts}Payment Details{/ts}\n\n===============================================================================\n{ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney:$currency}\n------------------------------------------------------------------------------------\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n\n===============================================================================\n\n{ts}Contribution Details{/ts}\n\n===============================================================================\n{if $totalAmount}\n{ts}Total Fee{/ts}: {$totalAmount|crmMoney:$currency}\n{/if}\n{if $totalPaid}\n{ts}Total Paid{/ts}: {$totalPaid|crmMoney:$currency}\n{/if}\n{if $amountOwed}\n{ts}Balance Owed{/ts}: {$amountOwed|crmMoney:$currency} {* This will be zero after final payment. *}\n{/if}\n\n\n{if !empty($billingName) || !empty($address)}\n\n===============================================================================\n\n{ts}Billing Name and Address{/ts}\n\n===============================================================================\n{if !empty($billingName)}\n{$billingName}\n{/if}\n{if !empty($address)}\n{$address}\n{/if}\n{/if}\n\n{if !empty($credit_card_number)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===============================================================================\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{if $component eq \'event\'}\n===============================================================================\n\n{ts}Event Information and Location{/ts}\n\n===============================================================================\n\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if !empty($event.participant_role)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=emptyBlockStyle }style=\"padding: 10px; border-bottom: 1px solid #999;background-color: #f7f7f7;\"{/capture}\n{capture assign=emptyBlockValueStyle }style=\"padding: 10px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if $isRefund}\n <p>{ts}A refund has been issued based on changes in your registration selections.{/ts}</p>\n {else}\n <p>{ts}Below you will find a receipt for this payment.{/ts}</p>\n {if $paymentsComplete}\n <p>{ts}Thank you for completing this contribution.{/ts}</p>\n {/if}\n {/if}\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n {if $isRefund}\n <tr>\n <th {$headerStyle}>{ts}Refund Details{/ts}</th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}This Refund Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$refundAmount|crmMoney:$currency}\n </td>\n </tr>\n {else}\n <tr>\n <th {$headerStyle}>{ts}Payment Details{/ts}</th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}This Payment Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$paymentAmount|crmMoney:$currency}\n </td>\n </tr>\n {/if}\n {if $receive_date}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction Date{/ts}\n </td>\n <td {$valueStyle}>\n {$receive_date|crmDate}\n </td>\n </tr>\n {/if}\n {if !empty($trxn_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$trxn_id}\n </td>\n </tr>\n {/if}\n {if !empty($paidBy)}\n <tr>\n <td {$labelStyle}>\n {ts}Paid By{/ts}\n </td>\n <td {$valueStyle}>\n {$paidBy}\n </td>\n </tr>\n {/if}\n {if !empty($checkNumber)}\n <tr>\n <td {$labelStyle}>\n {ts}Check Number{/ts}\n </td>\n <td {$valueStyle}>\n {$checkNumber}\n </td>\n </tr>\n {/if}\n\n <tr>\n <th {$headerStyle}>{ts}Contribution Details{/ts}</th>\n </tr>\n {if $totalAmount}\n <tr>\n <td {$labelStyle}>\n {ts}Total Fee{/ts}\n </td>\n <td {$valueStyle}>\n {$totalAmount|crmMoney:$currency}\n </td>\n </tr>\n {/if}\n {if $totalPaid}\n <tr>\n <td {$labelStyle}>\n {ts}Total Paid{/ts}\n </td>\n <td {$valueStyle}>\n {$totalPaid|crmMoney:$currency}\n </td>\n </tr>\n {/if}\n {if $amountOwed}\n <tr>\n <td {$labelStyle}>\n {ts}Balance Owed{/ts}\n </td>\n <td {$valueStyle}>\n {$amountOwed|crmMoney:$currency}\n </td> {* This will be zero after final payment. *}\n </tr>\n {/if}\n </table>\n\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n {if !empty($billingName) || !empty($address)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {if !empty($billingName)}{$billingName}{/if}<br />\n {if !empty($address)}{$address|nl2br}{/if}\n </td>\n </tr>\n {/if}\n {if !empty($credit_card_number)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires:{/ts} {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n {if $component eq \'event\'}\n <tr>\n <th {$headerStyle}>\n {ts}Event Information and Location{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$event.event_title}<br />\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n </td>\n </tr>\n\n {if !empty($event.participant_role)}\n <tr>\n <td {$labelStyle}>\n {ts}Participant Role{/ts}\n </td>\n <td {$valueStyle}>\n {$event.participant_role}\n </td>\n </tr>\n {/if}\n\n {if !empty($isShowLocation)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$location.address.1.display|nl2br}\n </td>\n </tr>\n {/if}\n\n {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}Event Contacts:{/ts}\n </td>\n </tr>\n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n <tr>\n <td {$labelStyle}>\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n </td>\n <td {$valueStyle}>\n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n </td>\n </tr>\n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n <tr>\n <td {$labelStyle}>\n {ts}Email{/ts}\n </td>\n <td {$valueStyle}>\n {$eventEmail.email}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if} {*phone block close*}\n {/if}\n </table>\n </td>\n </tr>\n\n </table>\n\n </body>\n</html>\n',1,826,'payment_or_refund_notification',1,0,0,NULL), (28,'Additional Payment Receipt or Refund Notification','{if $isRefund}{ts}Refund Notification{/ts}{else}{ts}Payment Receipt{/ts}{/if}{if $component eq \'event\'} - {$event.title}{/if} - {contact.display_name}\n','{if $emailGreeting}{$emailGreeting},\n{/if}\n\n{if $isRefund}\n{ts}A refund has been issued based on changes in your registration selections.{/ts}\n{else}\n{ts}Below you will find a receipt for this payment.{/ts}\n{/if}\n{if $paymentsComplete}\n{ts}Thank you for completing this payment.{/ts}\n{/if}\n\n{if $isRefund}\n===============================================================================\n\n{ts}Refund Details{/ts}\n\n===============================================================================\n{ts}This Refund Amount{/ts}: {$refundAmount|crmMoney:$currency}\n------------------------------------------------------------------------------------\n\n{else}\n===============================================================================\n\n{ts}Payment Details{/ts}\n\n===============================================================================\n{ts}This Payment Amount{/ts}: {$paymentAmount|crmMoney:$currency}\n------------------------------------------------------------------------------------\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n\n===============================================================================\n\n{ts}Contribution Details{/ts}\n\n===============================================================================\n{if $totalAmount}\n{ts}Total Fee{/ts}: {$totalAmount|crmMoney:$currency}\n{/if}\n{if $totalPaid}\n{ts}Total Paid{/ts}: {$totalPaid|crmMoney:$currency}\n{/if}\n{if $amountOwed}\n{ts}Balance Owed{/ts}: {$amountOwed|crmMoney:$currency} {* This will be zero after final payment. *}\n{/if}\n\n\n{if !empty($billingName) || !empty($address)}\n\n===============================================================================\n\n{ts}Billing Name and Address{/ts}\n\n===============================================================================\n{if !empty($billingName)}\n{$billingName}\n{/if}\n{if !empty($address)}\n{$address}\n{/if}\n{/if}\n\n{if !empty($credit_card_number)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===============================================================================\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{if $component eq \'event\'}\n===============================================================================\n\n{ts}Event Information and Location{/ts}\n\n===============================================================================\n\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if !empty($event.participant_role)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=emptyBlockStyle }style=\"padding: 10px; border-bottom: 1px solid #999;background-color: #f7f7f7;\"{/capture}\n{capture assign=emptyBlockValueStyle }style=\"padding: 10px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if $isRefund}\n <p>{ts}A refund has been issued based on changes in your registration selections.{/ts}</p>\n {else}\n <p>{ts}Below you will find a receipt for this payment.{/ts}</p>\n {if $paymentsComplete}\n <p>{ts}Thank you for completing this contribution.{/ts}</p>\n {/if}\n {/if}\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n {if $isRefund}\n <tr>\n <th {$headerStyle}>{ts}Refund Details{/ts}</th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}This Refund Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$refundAmount|crmMoney:$currency}\n </td>\n </tr>\n {else}\n <tr>\n <th {$headerStyle}>{ts}Payment Details{/ts}</th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}This Payment Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$paymentAmount|crmMoney:$currency}\n </td>\n </tr>\n {/if}\n {if $receive_date}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction Date{/ts}\n </td>\n <td {$valueStyle}>\n {$receive_date|crmDate}\n </td>\n </tr>\n {/if}\n {if !empty($trxn_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$trxn_id}\n </td>\n </tr>\n {/if}\n {if !empty($paidBy)}\n <tr>\n <td {$labelStyle}>\n {ts}Paid By{/ts}\n </td>\n <td {$valueStyle}>\n {$paidBy}\n </td>\n </tr>\n {/if}\n {if !empty($checkNumber)}\n <tr>\n <td {$labelStyle}>\n {ts}Check Number{/ts}\n </td>\n <td {$valueStyle}>\n {$checkNumber}\n </td>\n </tr>\n {/if}\n\n <tr>\n <th {$headerStyle}>{ts}Contribution Details{/ts}</th>\n </tr>\n {if $totalAmount}\n <tr>\n <td {$labelStyle}>\n {ts}Total Fee{/ts}\n </td>\n <td {$valueStyle}>\n {$totalAmount|crmMoney:$currency}\n </td>\n </tr>\n {/if}\n {if $totalPaid}\n <tr>\n <td {$labelStyle}>\n {ts}Total Paid{/ts}\n </td>\n <td {$valueStyle}>\n {$totalPaid|crmMoney:$currency}\n </td>\n </tr>\n {/if}\n {if $amountOwed}\n <tr>\n <td {$labelStyle}>\n {ts}Balance Owed{/ts}\n </td>\n <td {$valueStyle}>\n {$amountOwed|crmMoney:$currency}\n </td> {* This will be zero after final payment. *}\n </tr>\n {/if}\n </table>\n\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n {if !empty($billingName) || !empty($address)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {if !empty($billingName)}{$billingName}{/if}<br />\n {if !empty($address)}{$address|nl2br}{/if}\n </td>\n </tr>\n {/if}\n {if !empty($credit_card_number)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires:{/ts} {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n {if $component eq \'event\'}\n <tr>\n <th {$headerStyle}>\n {ts}Event Information and Location{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$event.event_title}<br />\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n </td>\n </tr>\n\n {if !empty($event.participant_role)}\n <tr>\n <td {$labelStyle}>\n {ts}Participant Role{/ts}\n </td>\n <td {$valueStyle}>\n {$event.participant_role}\n </td>\n </tr>\n {/if}\n\n {if !empty($isShowLocation)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$location.address.1.display|nl2br}\n </td>\n </tr>\n {/if}\n\n {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}Event Contacts:{/ts}\n </td>\n </tr>\n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n <tr>\n <td {$labelStyle}>\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n </td>\n <td {$valueStyle}>\n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n </td>\n </tr>\n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n <tr>\n <td {$labelStyle}>\n {ts}Email{/ts}\n </td>\n <td {$valueStyle}>\n {$eventEmail.email}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if} {*phone block close*}\n {/if}\n </table>\n </td>\n </tr>\n\n </table>\n\n </body>\n</html>\n',1,826,'payment_or_refund_notification',0,1,0,NULL), - (29,'Events - Registration Confirmation and Receipt (off-line)','{ts}Event Confirmation{/ts} - {event.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n{/if}\n\n{if !empty($isOnWaitlist)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if !empty($isPrimary)}\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{elseif !empty($isRequireApproval)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if !empty($isPrimary)}\n{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{elseif $is_pay_later}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{/if}\n\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{event.title}\n{event.start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and empty($defaultRole)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if !empty($event.is_public)}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar entry for this event.{/ts} {$icalFeed}\n{capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Add event to Google Calendar{/ts} {$gCalendar}\n{/if}\n\n{if !empty($email)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Registered Email{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$email}\n{/if}\n{if !empty($event.is_monetary)} {* This section for Paid events only.*}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if !empty($event.fee_label)}{$event.fee_label}{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if !empty($isPrimary)}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts}\n{/if}\n{/if}\n---------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{capture assign=ts_participant_total}{if !empty($pricesetFieldsCount) }{ts}Total Participants{/ts}{/if}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n{/if}\n{/foreach}\n\n{if !empty($dataArray)}\n{if $totalAmount and $totalTaxAmount}\n{ts}Amount before Tax:{/ts} {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if !empty($amount) && !$lineItem}\n{foreach from=$amount item=amnt key=level}{$amnt.amount|crmMoney} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if !empty($isPrimary)}\n\n{if !empty($balanceAmount)}{ts}Total Paid{/ts}{else}{ts}Total Amount{/ts}{/if}: {if !empty($totalAmount)}{$totalAmount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n\n{if !empty($balanceAmount)}\n{ts}Balance{/ts}: {$balanceAmount|crmMoney}\n{/if}\n\n{if !empty($pricesetFieldsCount) }\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1 }\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if $is_pay_later}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if !empty($billingName)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customPre_grouptitle}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$customPre item=value key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customPost_grouptitle}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$customPost item=value key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile item=value key=customName}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts 1=$customName+1}Participant Information - Participant %1{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$value item=val key=field}\n{if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\' }\n{if $field eq \'additionalCustomPre\' }\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{$additionalCustomPre_grouptitle}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{else}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{$additionalCustomPost_grouptitle}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{/if}\n{foreach from=$val item=v key=f}\n{$f}: {$v}\n{/foreach}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customGroup)}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customName}\n=========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n <p>{$event.confirm_email_text|htmlize}</p>\n {/if}\n\n {if !empty($isOnWaitlist)}\n <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p>\n {if !empty($isPrimary)}\n <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p>\n {/if}\n {elseif !empty($isRequireApproval)}\n <p>{ts}Your registration has been submitted.{/ts}</p>\n {if !empty($isPrimary)}\n <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p>\n {/if}\n {elseif $is_pay_later}\n <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *}\n {/if}\n\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Event Information and Location{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {event.title}<br />\n {event.start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n </td>\n </tr>\n\n {if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n <tr>\n <td {$labelStyle}>\n {ts}Participant Role{/ts}\n </td>\n <td {$valueStyle}>\n {$event.participant_role}\n </td>\n </tr>\n {/if}\n\n {if !empty($isShowLocation)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$location.address.1.display|nl2br}\n </td>\n </tr>\n {/if}\n\n {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}Event Contacts:{/ts}\n </td>\n </tr>\n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n <tr>\n <td {$labelStyle}>\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n </td>\n <td {$valueStyle}>\n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n </td>\n </tr>\n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n <tr>\n <td {$labelStyle}>\n {ts}Email{/ts}\n </td>\n <td {$valueStyle}>\n {$eventEmail.email}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($event.is_public)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$icalFeed}\">{ts}Download iCalendar entry for this event.{/ts}</a>\n </td>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$gCalendar}\">{ts}Add event to Google Calendar{/ts}</a>\n </td>\n </tr>\n {/if}\n\n {if $email}\n <tr>\n <th {$headerStyle}>\n {ts}Registered Email{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$email}\n </td>\n </tr>\n {/if}\n\n\n {if !empty($event.is_monetary)}\n\n <tr>\n <th {$headerStyle}>\n {if !empty($event.fee_label)}{$event.fee_label}{/if}\n </th>\n </tr>\n\n {if !empty($lineItem)}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if !empty($isPrimary)}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$priceset+1}Participant %1{/ts}\n </td>\n </tr>\n {/if}\n {/if}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n {if !empty($dataArray)}\n <th>{ts}SubTotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n {/if}\n <th>{ts}Total{/ts}</th>\n {if !empty($pricesetFieldsCount) }<th>{ts}Total Participants{/ts}</th>{/if}\n </tr>\n {foreach from=$value item=line}\n <tr>\n <td>\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n </td>\n <td>\n {$line.qty}\n </td>\n <td>\n {$line.unit_price|crmMoney}\n </td>\n {if !empty($dataArray)}\n <td>\n {$line.unit_price*$line.qty|crmMoney}\n </td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td>\n {$line.tax_amount|crmMoney}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney}\n </td>\n {if !empty($pricesetFieldsCount) }\n <td>\n {$line.participant_count}\n </td>\n {/if}\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n {/if}\n {/foreach}\n {if !empty($dataArray)}\n {if $totalAmount and $totalTaxAmount}\n <tr>\n <td {$labelStyle}>\n {ts}Amount Before Tax:{/ts}\n </td>\n <td {$valueStyle}>\n {$totalAmount-$totalTaxAmount|crmMoney}\n </td>\n </tr>\n {/if}\n {foreach from=$dataArray item=value key=priceset}\n <tr>\n {if $priceset || $priceset == 0}\n <td> {$taxTerm} {$priceset|string_format:\"%.2f\"}%</td>\n <td> {$value|crmMoney:$currency}</td>\n {else}\n <td> {ts}No{/ts} {$taxTerm}</td>\n <td> {$value|crmMoney:$currency}</td>\n {/if}\n </tr>\n {/foreach}\n {/if}\n {/if}\n\n {if !empty($amount) && !$lineItem}\n {foreach from=$amount item=amnt key=level}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$amnt.amount|crmMoney} {$amnt.label}\n </td>\n </tr>\n {/foreach}\n {/if}\n {if $totalTaxAmount}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$totalTaxAmount|crmMoney:$currency}\n </td>\n </tr>\n {/if}\n {if !empty($isPrimary)}\n <tr>\n <td {$labelStyle}>\n {if isset($balanceAmount)}\n {ts}Total Paid{/ts}\n {else}\n {ts}Total Amount{/ts}\n {/if}\n </td>\n <td {$valueStyle}>\n {if !empty($totalAmount)}{$totalAmount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n </td>\n </tr>\n {if isset($balanceAmount)}\n <tr>\n <td {$labelStyle}>\n {ts}Balance{/ts}\n </td>\n <td {$valueStyle}>\n {$balanceAmount|crmMoney}\n </td>\n </tr>\n {/if}\n {if !empty($pricesetFieldsCount) }\n <tr>\n <td {$labelStyle}>\n {ts}Total Participants{/ts}</td>\n <td {$valueStyle}>\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1 }\n assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n {$count}\n </td>\n </tr>\n {/if}\n {if $is_pay_later}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {$pay_later_receipt}\n </td>\n </tr>\n {/if}\n\n {if $register_date}\n <tr>\n <td {$labelStyle}>\n {ts}Registration Date{/ts}\n </td>\n <td {$valueStyle}>\n {$register_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($receive_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction Date{/ts}\n </td>\n <td {$valueStyle}>\n {$receive_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($financialTypeName)}\n <tr>\n <td {$labelStyle}>\n {ts}Financial Type{/ts}\n </td>\n <td {$valueStyle}>\n {$financialTypeName}\n </td>\n </tr>\n {/if}\n\n {if !empty($trxn_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($paidBy)}\n <tr>\n <td {$labelStyle}>\n {ts}Paid By{/ts}\n </td>\n <td {$valueStyle}>\n {$paidBy}\n </td>\n </tr>\n {/if}\n\n {if !empty($checkNumber)}\n <tr>\n <td {$labelStyle}>\n {ts}Check Number{/ts}\n </td>\n <td {$valueStyle}>\n {$checkNumber}\n </td>\n </tr>\n {/if}\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n {if !empty($customPre)}\n <tr>\n <th {$headerStyle}>\n {$customPre_grouptitle}\n </th>\n </tr>\n {foreach from=$customPre item=value key=customName}\n {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($customPost)}\n <tr>\n <th {$headerStyle}>\n {$customPost_grouptitle}\n </th>\n </tr>\n {foreach from=$customPost item=value key=customName}\n {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($customProfile)}\n {foreach from=$customProfile item=value key=customName}\n <tr>\n <th {$headerStyle}>\n {ts 1=$customName+1}Participant Information - Participant %1{/ts}\n </th>\n </tr>\n {foreach from=$value item=val key=field}\n {if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\'}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {if $field eq \'additionalCustomPre\'}\n {$additionalCustomPre_grouptitle}\n {else}\n {$additionalCustomPost_grouptitle}\n {/if}\n </td>\n </tr>\n {foreach from=$val item=v key=f}\n <tr>\n <td {$labelStyle}>\n {$f}\n </td>\n <td {$valueStyle}>\n {$v}\n </td>\n </tr>\n {/foreach}\n {/if}\n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($customGroup)}\n {foreach from=$customGroup item=value key=customName}\n <tr>\n <th {$headerStyle}>\n {$customName}\n </th>\n </tr>\n {foreach from=$value item=v key=n}\n <tr>\n <td {$labelStyle}>\n {$n}\n </td>\n <td {$valueStyle}>\n {$v}\n </td>\n </tr>\n {/foreach}\n {/foreach}\n {/if}\n\n </table>\n </td>\n </tr>\n\n </table>\n\n</body>\n</html>\n',1,827,'event_offline_receipt',1,0,0,NULL), - (30,'Events - Registration Confirmation and Receipt (off-line)','{ts}Event Confirmation{/ts} - {event.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n{/if}\n\n{if !empty($isOnWaitlist)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if !empty($isPrimary)}\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{elseif !empty($isRequireApproval)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if !empty($isPrimary)}\n{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{elseif $is_pay_later}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{/if}\n\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{event.title}\n{event.start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and empty($defaultRole)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if !empty($event.is_public)}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar entry for this event.{/ts} {$icalFeed}\n{capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Add event to Google Calendar{/ts} {$gCalendar}\n{/if}\n\n{if !empty($email)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Registered Email{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$email}\n{/if}\n{if !empty($event.is_monetary)} {* This section for Paid events only.*}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if !empty($event.fee_label)}{$event.fee_label}{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if !empty($isPrimary)}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts}\n{/if}\n{/if}\n---------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{capture assign=ts_participant_total}{if !empty($pricesetFieldsCount) }{ts}Total Participants{/ts}{/if}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n{/if}\n{/foreach}\n\n{if !empty($dataArray)}\n{if $totalAmount and $totalTaxAmount}\n{ts}Amount before Tax:{/ts} {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if !empty($amount) && !$lineItem}\n{foreach from=$amount item=amnt key=level}{$amnt.amount|crmMoney} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if !empty($isPrimary)}\n\n{if !empty($balanceAmount)}{ts}Total Paid{/ts}{else}{ts}Total Amount{/ts}{/if}: {if !empty($totalAmount)}{$totalAmount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n\n{if !empty($balanceAmount)}\n{ts}Balance{/ts}: {$balanceAmount|crmMoney}\n{/if}\n\n{if !empty($pricesetFieldsCount) }\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1 }\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if $is_pay_later}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if !empty($billingName)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customPre_grouptitle}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$customPre item=value key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customPost_grouptitle}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$customPost item=value key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile item=value key=customName}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts 1=$customName+1}Participant Information - Participant %1{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$value item=val key=field}\n{if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\' }\n{if $field eq \'additionalCustomPre\' }\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{$additionalCustomPre_grouptitle}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{else}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{$additionalCustomPost_grouptitle}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{/if}\n{foreach from=$val item=v key=f}\n{$f}: {$v}\n{/foreach}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customGroup)}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customName}\n=========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n <p>{$event.confirm_email_text|htmlize}</p>\n {/if}\n\n {if !empty($isOnWaitlist)}\n <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p>\n {if !empty($isPrimary)}\n <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p>\n {/if}\n {elseif !empty($isRequireApproval)}\n <p>{ts}Your registration has been submitted.{/ts}</p>\n {if !empty($isPrimary)}\n <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p>\n {/if}\n {elseif $is_pay_later}\n <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *}\n {/if}\n\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Event Information and Location{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {event.title}<br />\n {event.start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n </td>\n </tr>\n\n {if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n <tr>\n <td {$labelStyle}>\n {ts}Participant Role{/ts}\n </td>\n <td {$valueStyle}>\n {$event.participant_role}\n </td>\n </tr>\n {/if}\n\n {if !empty($isShowLocation)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$location.address.1.display|nl2br}\n </td>\n </tr>\n {/if}\n\n {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}Event Contacts:{/ts}\n </td>\n </tr>\n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n <tr>\n <td {$labelStyle}>\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n </td>\n <td {$valueStyle}>\n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n </td>\n </tr>\n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n <tr>\n <td {$labelStyle}>\n {ts}Email{/ts}\n </td>\n <td {$valueStyle}>\n {$eventEmail.email}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($event.is_public)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$icalFeed}\">{ts}Download iCalendar entry for this event.{/ts}</a>\n </td>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$gCalendar}\">{ts}Add event to Google Calendar{/ts}</a>\n </td>\n </tr>\n {/if}\n\n {if $email}\n <tr>\n <th {$headerStyle}>\n {ts}Registered Email{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$email}\n </td>\n </tr>\n {/if}\n\n\n {if !empty($event.is_monetary)}\n\n <tr>\n <th {$headerStyle}>\n {if !empty($event.fee_label)}{$event.fee_label}{/if}\n </th>\n </tr>\n\n {if !empty($lineItem)}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if !empty($isPrimary)}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$priceset+1}Participant %1{/ts}\n </td>\n </tr>\n {/if}\n {/if}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n {if !empty($dataArray)}\n <th>{ts}SubTotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n {/if}\n <th>{ts}Total{/ts}</th>\n {if !empty($pricesetFieldsCount) }<th>{ts}Total Participants{/ts}</th>{/if}\n </tr>\n {foreach from=$value item=line}\n <tr>\n <td>\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n </td>\n <td>\n {$line.qty}\n </td>\n <td>\n {$line.unit_price|crmMoney}\n </td>\n {if !empty($dataArray)}\n <td>\n {$line.unit_price*$line.qty|crmMoney}\n </td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td>\n {$line.tax_amount|crmMoney}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney}\n </td>\n {if !empty($pricesetFieldsCount) }\n <td>\n {$line.participant_count}\n </td>\n {/if}\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n {/if}\n {/foreach}\n {if !empty($dataArray)}\n {if $totalAmount and $totalTaxAmount}\n <tr>\n <td {$labelStyle}>\n {ts}Amount Before Tax:{/ts}\n </td>\n <td {$valueStyle}>\n {$totalAmount-$totalTaxAmount|crmMoney}\n </td>\n </tr>\n {/if}\n {foreach from=$dataArray item=value key=priceset}\n <tr>\n {if $priceset || $priceset == 0}\n <td> {$taxTerm} {$priceset|string_format:\"%.2f\"}%</td>\n <td> {$value|crmMoney:$currency}</td>\n {else}\n <td> {ts}No{/ts} {$taxTerm}</td>\n <td> {$value|crmMoney:$currency}</td>\n {/if}\n </tr>\n {/foreach}\n {/if}\n {/if}\n\n {if !empty($amount) && !$lineItem}\n {foreach from=$amount item=amnt key=level}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$amnt.amount|crmMoney} {$amnt.label}\n </td>\n </tr>\n {/foreach}\n {/if}\n {if $totalTaxAmount}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$totalTaxAmount|crmMoney:$currency}\n </td>\n </tr>\n {/if}\n {if !empty($isPrimary)}\n <tr>\n <td {$labelStyle}>\n {if isset($balanceAmount)}\n {ts}Total Paid{/ts}\n {else}\n {ts}Total Amount{/ts}\n {/if}\n </td>\n <td {$valueStyle}>\n {if !empty($totalAmount)}{$totalAmount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n </td>\n </tr>\n {if isset($balanceAmount)}\n <tr>\n <td {$labelStyle}>\n {ts}Balance{/ts}\n </td>\n <td {$valueStyle}>\n {$balanceAmount|crmMoney}\n </td>\n </tr>\n {/if}\n {if !empty($pricesetFieldsCount) }\n <tr>\n <td {$labelStyle}>\n {ts}Total Participants{/ts}</td>\n <td {$valueStyle}>\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1 }\n assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n {$count}\n </td>\n </tr>\n {/if}\n {if $is_pay_later}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {$pay_later_receipt}\n </td>\n </tr>\n {/if}\n\n {if $register_date}\n <tr>\n <td {$labelStyle}>\n {ts}Registration Date{/ts}\n </td>\n <td {$valueStyle}>\n {$register_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($receive_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction Date{/ts}\n </td>\n <td {$valueStyle}>\n {$receive_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($financialTypeName)}\n <tr>\n <td {$labelStyle}>\n {ts}Financial Type{/ts}\n </td>\n <td {$valueStyle}>\n {$financialTypeName}\n </td>\n </tr>\n {/if}\n\n {if !empty($trxn_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($paidBy)}\n <tr>\n <td {$labelStyle}>\n {ts}Paid By{/ts}\n </td>\n <td {$valueStyle}>\n {$paidBy}\n </td>\n </tr>\n {/if}\n\n {if !empty($checkNumber)}\n <tr>\n <td {$labelStyle}>\n {ts}Check Number{/ts}\n </td>\n <td {$valueStyle}>\n {$checkNumber}\n </td>\n </tr>\n {/if}\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n {if !empty($customPre)}\n <tr>\n <th {$headerStyle}>\n {$customPre_grouptitle}\n </th>\n </tr>\n {foreach from=$customPre item=value key=customName}\n {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($customPost)}\n <tr>\n <th {$headerStyle}>\n {$customPost_grouptitle}\n </th>\n </tr>\n {foreach from=$customPost item=value key=customName}\n {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($customProfile)}\n {foreach from=$customProfile item=value key=customName}\n <tr>\n <th {$headerStyle}>\n {ts 1=$customName+1}Participant Information - Participant %1{/ts}\n </th>\n </tr>\n {foreach from=$value item=val key=field}\n {if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\'}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {if $field eq \'additionalCustomPre\'}\n {$additionalCustomPre_grouptitle}\n {else}\n {$additionalCustomPost_grouptitle}\n {/if}\n </td>\n </tr>\n {foreach from=$val item=v key=f}\n <tr>\n <td {$labelStyle}>\n {$f}\n </td>\n <td {$valueStyle}>\n {$v}\n </td>\n </tr>\n {/foreach}\n {/if}\n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($customGroup)}\n {foreach from=$customGroup item=value key=customName}\n <tr>\n <th {$headerStyle}>\n {$customName}\n </th>\n </tr>\n {foreach from=$value item=v key=n}\n <tr>\n <td {$labelStyle}>\n {$n}\n </td>\n <td {$valueStyle}>\n {$v}\n </td>\n </tr>\n {/foreach}\n {/foreach}\n {/if}\n\n </table>\n </td>\n </tr>\n\n </table>\n\n</body>\n</html>\n',1,827,'event_offline_receipt',0,1,0,NULL), - (31,'Events - Registration Confirmation and Receipt (on-line)','{if !empty($isOnWaitlist)}{ts}Wait List Confirmation{/ts}{elseif !empty($isRequireApproval)}{ts}Registration Request Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {event.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n\n{else}\n {ts}Thank you for your registration.{/ts}\n {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n {else}{if !empty($isOnWaitlist)}{ts}This is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}\n {/if}\n{/if}\n\n{if !empty($isOnWaitlist)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if !empty($isPrimary)}\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{elseif !empty($isRequireApproval)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if !empty($isPrimary)}\n{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{/if}\n\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{event.title}\n{event.start_date|crmDate:\"%A\"} {event.start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n{if !empty($conference_sessions)}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|crmDate:\"%Y/%m/%d\" != $group_by_day|crmDate:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|crmDate:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location} {$session.location}{/if}\n{/foreach}\n{/if}\n\n{if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if !empty($event.is_public)}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar entry for this event.{/ts} {$icalFeed}\n{capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Add event to Google Calendar{/ts} {$gCalendar}\n{/if}\n\n{if !empty($payer.name)}\nYou were registered by: {$payer.name}\n{/if}\n{if !empty($event.is_monetary) and empty($isRequireApproval)} {* This section for Paid events only.*}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if !empty ($event.fee_label)}{$event.fee_label}{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if !empty($isPrimary)}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}\n\n{/if}\n{/if}\n-----------------------------------------------------------{if !empty($pricesetFieldsCount)}-----------------------------------------------------{/if}\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_total}{ts}Total Participants{/ts}{/capture}{/if}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n-----------------------------------------------------------{if !empty($pricesetFieldsCount)}-----------------------------------------------------{/if}\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}{if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if !empty($individual)}{ts}Participant Total{/ts} {$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%29s\"} {$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%33s\"} {$individual.$priceset.totalAmtWithTax|crmMoney:$currency|string_format:\"%12s\"}{/if}\n{/if}\n{\"\"|string_format:\"%120s\"}\n{/foreach}\n{\"\"|string_format:\"%120s\"}\n\n{if !empty($dataArray)}\n{if isset($totalAmount) and isset($totalTaxAmount)}\n{ts}Amount before Tax:{/ts} {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if !empty($amounts) && empty($lineItem)}\n{foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if !empty($isPrimary) }\n\n{ts}Total Amount{/ts}: {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n\n{if !empty($pricesetFieldsCount) }\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1 }\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if !empty($receive_date)}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if !empty($billingName)}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Credit Card Information{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$customPre_grouptitle.$i}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$customPr item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$customPost_grouptitle.$j}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$customPos item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n----------------------------------------------------------{if !empty($pricesetFieldsCount)}--------------------{/if}\n\n{$customProfile.title.$pid}\n----------------------------------------------------------{if !empty($pricesetFieldsCount)}--------------------{/if}\n\n{foreach from=$eachProfile item=val key=field}\n{foreach from=$val item=v key=f}\n{$field}: {$v}\n{/foreach}\n{/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($event.allow_selfcancelxfer) }\n{ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n{ts}Transfer or cancel your registration:{/ts} {$selfService}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=tdfirstStyle}style=\"width: 180px; padding-bottom: 15px;\"{/capture}\n{capture assign=tdStyle}style=\"width: 100px;\"{/capture}\n{capture assign=participantTotal}style=\"margin: 0.5em 0 0.5em;padding: 0.5em;background-color: #999999;font-weight: bold;color: #FAFAFA;border-radius: 2px;\"{/capture}\n\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n <p>{$event.confirm_email_text|htmlize}</p>\n\n {else}\n <p>{ts}Thank you for your registration.{/ts}\n {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to <strong> %1</strong>.{/ts}\n {else}{if $isOnWaitlist}{ts}This is a confirmation that your registration has been received and your status has been updated to <strong>waitlisted</strong>.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to <strong>registered<strong>.{/ts}{/if}{/if}</p>\n\n {/if}\n\n <p>\n {if !empty($isOnWaitlist)}\n <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p>\n {if !empty($isPrimary)}\n <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p>\n {/if}\n {elseif !empty($isRequireApproval)}\n <p>{ts}Your registration has been submitted.{/ts}</p>\n {if !empty($isPrimary)}\n <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p>\n {/if}\n {elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)}\n <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *}\n {/if}\n\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"width:100%; max-width:700px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n <tr>\n <th {$headerStyle}>\n {ts}Event Information and Location{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {event.title}<br />\n {event.start_date|crmDate:\"%A\"} {event.start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n </td>\n </tr>\n\n\n {if $conference_sessions}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}Your schedule:{/ts}\n </td>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {assign var=\'group_by_day\' value=\'NA\'}\n {foreach from=$conference_sessions item=session}\n {if $session.start_date|crmDate:\"%Y/%m/%d\" != $group_by_day|crmDate:\"%Y/%m/%d\"}\n {assign var=\'group_by_day\' value=$session.start_date}\n <em>{$group_by_day|crmDate:\"%m/%d/%Y\"}</em><br />\n {/if}\n {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}<br />\n {if $session.location} {$session.location}<br />{/if}\n {/foreach}\n </td>\n </tr>\n {/if}\n\n {if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n <tr>\n <td {$labelStyle}>\n {ts}Participant Role{/ts}\n </td>\n <td {$valueStyle}>\n {$event.participant_role}\n </td>\n </tr>\n {/if}\n\n {if !empty($isShowLocation)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$location.address.1.display|nl2br}\n </td>\n </tr>\n {/if}\n\n {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}Event Contacts:{/ts}\n </td>\n </tr>\n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n <tr>\n <td {$labelStyle}>\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n </td>\n <td {$valueStyle}>\n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n </td>\n </tr>\n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n <tr>\n <td {$labelStyle}>\n {ts}Email{/ts}\n </td>\n <td {$valueStyle}>\n {$eventEmail.email}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($event.is_public)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$icalFeed}\">{ts}Download iCalendar entry for this event.{/ts}</a>\n </td>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$gCalendar}\">{ts}Add event to Google Calendar{/ts}</a>\n </td>\n </tr>\n {/if}\n\n {if !empty($event.is_share)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=eventUrl}{crmURL p=\'civicrm/event/info\' q=\"id=`$event.id`&reset=1\" a=true fe=1 h=1}{/capture}\n {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$eventUrl title=$event.title pageURL=$eventUrl}\n </td>\n </tr>\n {/if}\n {if !empty($payer.name)}\n <tr>\n <th {$headerStyle}>\n {ts}You were registered by:{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$payer.name}\n </td>\n </tr>\n {/if}\n {if !empty($event.is_monetary) and empty($isRequireApproval)}\n\n <tr>\n <th {$headerStyle}>\n {if !empty($event.fee_label)}{$event.fee_label}{/if}\n </th>\n </tr>\n\n {if !empty($lineItem)}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if !empty($isPrimary)}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}\n </td>\n </tr>\n {/if}\n {/if}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n {if !empty($dataArray)}\n <th>{ts}SubTotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n {/if}\n <th>{ts}Total{/ts}</th>\n {if !empty($pricesetFieldsCount) }<th>{ts}Total Participants{/ts}</th>{/if}\n </tr>\n {foreach from=$value item=line}\n <tr>\n <td {$tdfirstStyle}>\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n </td>\n <td {$tdStyle} align=\"middle\">\n {$line.qty}\n </td>\n <td {$tdStyle}>\n {$line.unit_price|crmMoney:$currency}\n </td>\n {if !empty($dataArray)}\n <td {$tdStyle}>\n {$line.unit_price*$line.qty|crmMoney}\n </td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td {$tdStyle}>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td {$tdStyle}>\n {$line.tax_amount|crmMoney}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n {/if}\n <td {$tdStyle}>\n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n </td>\n {if !empty($pricesetFieldsCount) }<td {$tdStyle}>{$line.participant_count}</td> {/if}\n </tr>\n {/foreach}\n {if !empty($individual)}\n <tr {$participantTotal}>\n <td colspan=3>{ts}Participant Total{/ts}</td>\n <td colspan=2>{$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney}</td>\n <td colspan=1>{$individual.$priceset.totalTaxAmt|crmMoney}</td>\n <td colspan=2>{$individual.$priceset.totalAmtWithTax|crmMoney}</td>\n </tr>\n {/if}\n </table>\n </td>\n </tr>\n {/if}\n {/foreach}\n {if !empty($dataArray)}\n {if isset($totalAmount) and isset($totalTaxAmount)}\n <tr>\n <td {$labelStyle}>\n {ts} Amount Before Tax: {/ts}\n </td>\n <td {$valueStyle}>\n {$totalAmount-$totalTaxAmount|crmMoney}\n </td>\n </tr>\n {/if}\n {foreach from=$dataArray item=value key=priceset}\n <tr>\n {if $priceset || $priceset == 0}\n <td> {$taxTerm} {$priceset|string_format:\"%.2f\"}%</td>\n <td> {$value|crmMoney:$currency}</td>\n {else}\n <td> {ts}No{/ts} {$taxTerm}</td>\n <td> {$value|crmMoney:$currency}</td>\n {/if}\n </tr>\n {/foreach}\n {/if}\n {/if}\n\n {if !empty($amounts) && empty($lineItem)}\n {foreach from=$amounts item=amnt key=level}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$amnt.amount|crmMoney:$currency} {$amnt.label}\n </td>\n </tr>\n {/foreach}\n {/if}\n\n {if isset($totalTaxAmount)}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$totalTaxAmount|crmMoney:$currency}\n </td>\n </tr>\n {/if}\n {if !empty($isPrimary)}\n <tr>\n <td {$labelStyle}>\n {ts}Total Amount{/ts}\n </td>\n <td {$valueStyle}>\n {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n </td>\n </tr>\n {if !empty($pricesetFieldsCount) }\n <tr>\n <td {$labelStyle}>\n {ts}Total Participants{/ts}</td>\n <td {$valueStyle}>\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1 }\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n {$count}\n </td> </tr>\n {/if}\n\n {if $register_date}\n <tr>\n <td {$labelStyle}>\n {ts}Registration Date{/ts}\n </td>\n <td {$valueStyle}>\n {$register_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($receive_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction Date{/ts}\n </td>\n <td {$valueStyle}>\n {$receive_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($financialTypeName)}\n <tr>\n <td {$labelStyle}>\n {ts}Financial Type{/ts}\n </td>\n <td {$valueStyle}>\n {$financialTypeName}\n </td>\n </tr>\n {/if}\n\n {if !empty($trxn_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($paidBy)}\n <tr>\n <td {$labelStyle}>\n {ts}Paid By{/ts}\n </td>\n <td {$valueStyle}>\n {$paidBy}\n </td>\n </tr>\n {/if}\n\n {if !empty($checkNumber)}\n <tr>\n <td {$labelStyle}>\n {ts}Check Number{/ts}\n </td>\n <td {$valueStyle}>\n {$checkNumber}\n </td>\n </tr>\n {/if}\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n <tr> <th {$headerStyle}>{$customPre_grouptitle.$i}</th></tr>\n {foreach from=$customPr item=customValue key=customName}\n {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>{$customName}</td>\n <td {$valueStyle}>{$customValue}</td>\n </tr>\n {/if}\n {/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n <tr> <th {$headerStyle}>{$customPost_grouptitle.$j}</th></tr>\n {foreach from=$customPos item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>{$customName}</td>\n <td {$valueStyle}>{$customValue}</td>\n </tr>\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customProfile)}\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n <tr><th {$headerStyle}>{ts 1=$participantID+2}Participant %1{/ts} </th></tr>\n {foreach from=$eachParticipant item=eachProfile key=pid}\n <tr><th {$headerStyle}>{$customProfile.title.$pid}</th></tr>\n {foreach from=$eachProfile item=val key=field}\n <tr>{foreach from=$val item=v key=f}\n <td {$labelStyle}>{$field}</td>\n <td {$valueStyle}>{$v}</td>\n {/foreach}\n </tr>\n {/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n </table>\n {if !empty($event.allow_selfcancelxfer) }\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}<br />\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$selfService}\">{ts}Click here to transfer or cancel your registration.{/ts}</a>\n </td>\n </tr>\n {/if}\n </table>\n\n</body>\n</html>\n',1,828,'event_online_receipt',1,0,0,NULL), - (32,'Events - Registration Confirmation and Receipt (on-line)','{if !empty($isOnWaitlist)}{ts}Wait List Confirmation{/ts}{elseif !empty($isRequireApproval)}{ts}Registration Request Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {event.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n\n{else}\n {ts}Thank you for your registration.{/ts}\n {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n {else}{if !empty($isOnWaitlist)}{ts}This is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}\n {/if}\n{/if}\n\n{if !empty($isOnWaitlist)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if !empty($isPrimary)}\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{elseif !empty($isRequireApproval)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if !empty($isPrimary)}\n{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{/if}\n\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{event.title}\n{event.start_date|crmDate:\"%A\"} {event.start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n{if !empty($conference_sessions)}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|crmDate:\"%Y/%m/%d\" != $group_by_day|crmDate:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|crmDate:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location} {$session.location}{/if}\n{/foreach}\n{/if}\n\n{if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if !empty($event.is_public)}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar entry for this event.{/ts} {$icalFeed}\n{capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Add event to Google Calendar{/ts} {$gCalendar}\n{/if}\n\n{if !empty($payer.name)}\nYou were registered by: {$payer.name}\n{/if}\n{if !empty($event.is_monetary) and empty($isRequireApproval)} {* This section for Paid events only.*}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if !empty ($event.fee_label)}{$event.fee_label}{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if !empty($isPrimary)}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}\n\n{/if}\n{/if}\n-----------------------------------------------------------{if !empty($pricesetFieldsCount)}-----------------------------------------------------{/if}\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_total}{ts}Total Participants{/ts}{/capture}{/if}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n-----------------------------------------------------------{if !empty($pricesetFieldsCount)}-----------------------------------------------------{/if}\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}{if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if !empty($individual)}{ts}Participant Total{/ts} {$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%29s\"} {$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%33s\"} {$individual.$priceset.totalAmtWithTax|crmMoney:$currency|string_format:\"%12s\"}{/if}\n{/if}\n{\"\"|string_format:\"%120s\"}\n{/foreach}\n{\"\"|string_format:\"%120s\"}\n\n{if !empty($dataArray)}\n{if isset($totalAmount) and isset($totalTaxAmount)}\n{ts}Amount before Tax:{/ts} {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if !empty($amounts) && empty($lineItem)}\n{foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if !empty($isPrimary) }\n\n{ts}Total Amount{/ts}: {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n\n{if !empty($pricesetFieldsCount) }\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1 }\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if !empty($receive_date)}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if !empty($billingName)}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Credit Card Information{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$customPre_grouptitle.$i}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$customPr item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$customPost_grouptitle.$j}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$customPos item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n----------------------------------------------------------{if !empty($pricesetFieldsCount)}--------------------{/if}\n\n{$customProfile.title.$pid}\n----------------------------------------------------------{if !empty($pricesetFieldsCount)}--------------------{/if}\n\n{foreach from=$eachProfile item=val key=field}\n{foreach from=$val item=v key=f}\n{$field}: {$v}\n{/foreach}\n{/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($event.allow_selfcancelxfer) }\n{ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n{ts}Transfer or cancel your registration:{/ts} {$selfService}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=tdfirstStyle}style=\"width: 180px; padding-bottom: 15px;\"{/capture}\n{capture assign=tdStyle}style=\"width: 100px;\"{/capture}\n{capture assign=participantTotal}style=\"margin: 0.5em 0 0.5em;padding: 0.5em;background-color: #999999;font-weight: bold;color: #FAFAFA;border-radius: 2px;\"{/capture}\n\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n <p>{$event.confirm_email_text|htmlize}</p>\n\n {else}\n <p>{ts}Thank you for your registration.{/ts}\n {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to <strong> %1</strong>.{/ts}\n {else}{if $isOnWaitlist}{ts}This is a confirmation that your registration has been received and your status has been updated to <strong>waitlisted</strong>.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to <strong>registered<strong>.{/ts}{/if}{/if}</p>\n\n {/if}\n\n <p>\n {if !empty($isOnWaitlist)}\n <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p>\n {if !empty($isPrimary)}\n <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p>\n {/if}\n {elseif !empty($isRequireApproval)}\n <p>{ts}Your registration has been submitted.{/ts}</p>\n {if !empty($isPrimary)}\n <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p>\n {/if}\n {elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)}\n <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *}\n {/if}\n\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"width:100%; max-width:700px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n <tr>\n <th {$headerStyle}>\n {ts}Event Information and Location{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {event.title}<br />\n {event.start_date|crmDate:\"%A\"} {event.start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n </td>\n </tr>\n\n\n {if $conference_sessions}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}Your schedule:{/ts}\n </td>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {assign var=\'group_by_day\' value=\'NA\'}\n {foreach from=$conference_sessions item=session}\n {if $session.start_date|crmDate:\"%Y/%m/%d\" != $group_by_day|crmDate:\"%Y/%m/%d\"}\n {assign var=\'group_by_day\' value=$session.start_date}\n <em>{$group_by_day|crmDate:\"%m/%d/%Y\"}</em><br />\n {/if}\n {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}<br />\n {if $session.location} {$session.location}<br />{/if}\n {/foreach}\n </td>\n </tr>\n {/if}\n\n {if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n <tr>\n <td {$labelStyle}>\n {ts}Participant Role{/ts}\n </td>\n <td {$valueStyle}>\n {$event.participant_role}\n </td>\n </tr>\n {/if}\n\n {if !empty($isShowLocation)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$location.address.1.display|nl2br}\n </td>\n </tr>\n {/if}\n\n {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}Event Contacts:{/ts}\n </td>\n </tr>\n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n <tr>\n <td {$labelStyle}>\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n </td>\n <td {$valueStyle}>\n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n </td>\n </tr>\n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n <tr>\n <td {$labelStyle}>\n {ts}Email{/ts}\n </td>\n <td {$valueStyle}>\n {$eventEmail.email}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($event.is_public)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$icalFeed}\">{ts}Download iCalendar entry for this event.{/ts}</a>\n </td>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$gCalendar}\">{ts}Add event to Google Calendar{/ts}</a>\n </td>\n </tr>\n {/if}\n\n {if !empty($event.is_share)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=eventUrl}{crmURL p=\'civicrm/event/info\' q=\"id=`$event.id`&reset=1\" a=true fe=1 h=1}{/capture}\n {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$eventUrl title=$event.title pageURL=$eventUrl}\n </td>\n </tr>\n {/if}\n {if !empty($payer.name)}\n <tr>\n <th {$headerStyle}>\n {ts}You were registered by:{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$payer.name}\n </td>\n </tr>\n {/if}\n {if !empty($event.is_monetary) and empty($isRequireApproval)}\n\n <tr>\n <th {$headerStyle}>\n {if !empty($event.fee_label)}{$event.fee_label}{/if}\n </th>\n </tr>\n\n {if !empty($lineItem)}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if !empty($isPrimary)}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}\n </td>\n </tr>\n {/if}\n {/if}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n {if !empty($dataArray)}\n <th>{ts}SubTotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n {/if}\n <th>{ts}Total{/ts}</th>\n {if !empty($pricesetFieldsCount) }<th>{ts}Total Participants{/ts}</th>{/if}\n </tr>\n {foreach from=$value item=line}\n <tr>\n <td {$tdfirstStyle}>\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n </td>\n <td {$tdStyle} align=\"middle\">\n {$line.qty}\n </td>\n <td {$tdStyle}>\n {$line.unit_price|crmMoney:$currency}\n </td>\n {if !empty($dataArray)}\n <td {$tdStyle}>\n {$line.unit_price*$line.qty|crmMoney}\n </td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td {$tdStyle}>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td {$tdStyle}>\n {$line.tax_amount|crmMoney}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n {/if}\n <td {$tdStyle}>\n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n </td>\n {if !empty($pricesetFieldsCount) }<td {$tdStyle}>{$line.participant_count}</td> {/if}\n </tr>\n {/foreach}\n {if !empty($individual)}\n <tr {$participantTotal}>\n <td colspan=3>{ts}Participant Total{/ts}</td>\n <td colspan=2>{$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney}</td>\n <td colspan=1>{$individual.$priceset.totalTaxAmt|crmMoney}</td>\n <td colspan=2>{$individual.$priceset.totalAmtWithTax|crmMoney}</td>\n </tr>\n {/if}\n </table>\n </td>\n </tr>\n {/if}\n {/foreach}\n {if !empty($dataArray)}\n {if isset($totalAmount) and isset($totalTaxAmount)}\n <tr>\n <td {$labelStyle}>\n {ts} Amount Before Tax: {/ts}\n </td>\n <td {$valueStyle}>\n {$totalAmount-$totalTaxAmount|crmMoney}\n </td>\n </tr>\n {/if}\n {foreach from=$dataArray item=value key=priceset}\n <tr>\n {if $priceset || $priceset == 0}\n <td> {$taxTerm} {$priceset|string_format:\"%.2f\"}%</td>\n <td> {$value|crmMoney:$currency}</td>\n {else}\n <td> {ts}No{/ts} {$taxTerm}</td>\n <td> {$value|crmMoney:$currency}</td>\n {/if}\n </tr>\n {/foreach}\n {/if}\n {/if}\n\n {if !empty($amounts) && empty($lineItem)}\n {foreach from=$amounts item=amnt key=level}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$amnt.amount|crmMoney:$currency} {$amnt.label}\n </td>\n </tr>\n {/foreach}\n {/if}\n\n {if isset($totalTaxAmount)}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$totalTaxAmount|crmMoney:$currency}\n </td>\n </tr>\n {/if}\n {if !empty($isPrimary)}\n <tr>\n <td {$labelStyle}>\n {ts}Total Amount{/ts}\n </td>\n <td {$valueStyle}>\n {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n </td>\n </tr>\n {if !empty($pricesetFieldsCount) }\n <tr>\n <td {$labelStyle}>\n {ts}Total Participants{/ts}</td>\n <td {$valueStyle}>\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1 }\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n {$count}\n </td> </tr>\n {/if}\n\n {if $register_date}\n <tr>\n <td {$labelStyle}>\n {ts}Registration Date{/ts}\n </td>\n <td {$valueStyle}>\n {$register_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($receive_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction Date{/ts}\n </td>\n <td {$valueStyle}>\n {$receive_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($financialTypeName)}\n <tr>\n <td {$labelStyle}>\n {ts}Financial Type{/ts}\n </td>\n <td {$valueStyle}>\n {$financialTypeName}\n </td>\n </tr>\n {/if}\n\n {if !empty($trxn_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($paidBy)}\n <tr>\n <td {$labelStyle}>\n {ts}Paid By{/ts}\n </td>\n <td {$valueStyle}>\n {$paidBy}\n </td>\n </tr>\n {/if}\n\n {if !empty($checkNumber)}\n <tr>\n <td {$labelStyle}>\n {ts}Check Number{/ts}\n </td>\n <td {$valueStyle}>\n {$checkNumber}\n </td>\n </tr>\n {/if}\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n <tr> <th {$headerStyle}>{$customPre_grouptitle.$i}</th></tr>\n {foreach from=$customPr item=customValue key=customName}\n {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>{$customName}</td>\n <td {$valueStyle}>{$customValue}</td>\n </tr>\n {/if}\n {/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n <tr> <th {$headerStyle}>{$customPost_grouptitle.$j}</th></tr>\n {foreach from=$customPos item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>{$customName}</td>\n <td {$valueStyle}>{$customValue}</td>\n </tr>\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customProfile)}\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n <tr><th {$headerStyle}>{ts 1=$participantID+2}Participant %1{/ts} </th></tr>\n {foreach from=$eachParticipant item=eachProfile key=pid}\n <tr><th {$headerStyle}>{$customProfile.title.$pid}</th></tr>\n {foreach from=$eachProfile item=val key=field}\n <tr>{foreach from=$val item=v key=f}\n <td {$labelStyle}>{$field}</td>\n <td {$valueStyle}>{$v}</td>\n {/foreach}\n </tr>\n {/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n </table>\n {if !empty($event.allow_selfcancelxfer) }\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}<br />\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$selfService}\">{ts}Click here to transfer or cancel your registration.{/ts}</a>\n </td>\n </tr>\n {/if}\n </table>\n\n</body>\n</html>\n',1,828,'event_online_receipt',0,1,0,NULL), + (29,'Events - Registration Confirmation and Receipt (off-line)','{ts}Event Confirmation{/ts} - {event.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n{/if}\n\n{if !empty($isOnWaitlist)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{elseif !empty($isRequireApproval)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{elseif $is_pay_later}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{/if}\n\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{event.title}\n{event.start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and empty($defaultRole)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}}\n{ts}Event Contacts:{/ts}\n\n{if {event.loc_block_id.phone_id.phone|boolean}}\n{if {event.loc_block_id.phone_id.phone_type_id|boolean}}{event.loc_block_id.phone_id.phone_type_id:label}{else}{ts}Phone{/ts}{/if} {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if}\n{/if}\n\n{if {event.loc_block_id.phone_2_id.phone|boolean}}\n{if {event.loc_block_id.phone_2_id.phone_type_id|boolean}}{event.loc_block_id.phone_2_id.phone_type_id:label}{else}{ts}Phone{/ts}{/if} {event.loc_block_id.phone_2_id.phone} {if {event.loc_block_id.phone_2_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_2_id.phone_ext}{/if}\n{/if}\n\n{if {event.loc_block_id.email_id.email|boolean}}\n{ts}Email {/ts}{event.loc_block_id.email_id.email}\n{/if}\n{if {event.loc_block_id.email_2_id.email|boolean}}\n{ts}Email {/ts}{event.loc_block_id.email_2_id.email}{/if}\n{/if}\n\n\n{if !empty($event.is_public)}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar entry for this event.{/ts} {$icalFeed}\n{capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Add event to Google Calendar{/ts} {$gCalendar}\n{/if}\n\n{if !empty($email)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Registered Email{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$email}\n{/if}\n{if !empty($event.is_monetary)} {* This section for Paid events only.*}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if !empty($event.fee_label)}{$event.fee_label}{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if {event.is_monetary|boolean}}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts}\n{/if}\n{/if}\n---------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{capture assign=ts_participant_total}{if !empty($pricesetFieldsCount) }{ts}Total Participants{/ts}{/if}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n{/if}\n{/foreach}\n\n{if !empty($dataArray)}\n{if $totalAmount and $totalTaxAmount}\n{ts}Amount before Tax:{/ts} {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if !empty($amount) && !$lineItem}\n{foreach from=$amount item=amnt key=level}{$amnt.amount|crmMoney} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if {event.is_monetary|boolean}}\n\n{if {contribution.balance_amount|boolean}}{ts}Total Paid{/ts}: {if {contribution.paid_amount|boolean}}{contribution.paid_amount}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n{ts}Balance{/ts}: {contribution.balance_amount}\n{else}{ts}Total Amount{/ts}: {if {contribution.total_amount|boolean}}{contribution.total_amount}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n{/if}\n\n{if !empty($pricesetFieldsCount) }\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1 }\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if $is_pay_later}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if !empty($billingName)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customPre_grouptitle}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$customPre item=value key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customPost_grouptitle}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$customPost item=value key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile item=value key=customName}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts 1=$customName+1}Participant Information - Participant %1{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$value item=val key=field}\n{if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\' }\n{if $field eq \'additionalCustomPre\' }\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{$additionalCustomPre_grouptitle}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{else}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{$additionalCustomPost_grouptitle}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{/if}\n{foreach from=$val item=v key=f}\n{$f}: {$v}\n{/foreach}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customGroup)}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customName}\n=========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n <p>{$event.confirm_email_text|htmlize}</p>\n {/if}\n\n {if !empty($isOnWaitlist)}\n <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p>\n <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p>\n {elseif !empty($isRequireApproval)}\n <p>{ts}Your registration has been submitted.{/ts}</p>\n <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p>\n {elseif $is_pay_later}\n <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *}\n {/if}\n\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Event Information and Location{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {event.title}<br />\n {event.start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n </td>\n </tr>\n\n {if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n <tr>\n <td {$labelStyle}>\n {ts}Participant Role{/ts}\n </td>\n <td {$valueStyle}>\n {$event.participant_role}\n </td>\n </tr>\n {/if}\n\n {if !empty($isShowLocation)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$location.address.1.display|nl2br}\n </td>\n </tr>\n {/if}\n\n {if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}Event Contacts:{/ts}\n </td>\n </tr>\n\n {if {event.loc_block_id.phone_id.phone|boolean}}\n <tr>\n <td {$labelStyle}>\n {if {event.loc_block_id.phone_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n </td>\n <td {$valueStyle}>\n {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if}\n </td>\n </tr>\n {/if}\n {if {event.loc_block_id.phone_2_id.phone|boolean}}\n <tr>\n <td {$labelStyle}>\n {if {event.loc_block_id.phone_2_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_2_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n </td>\n <td {$valueStyle}>\n {event.loc_block_id.phone_2_id.phone} {if {event.loc_block_id.phone_2_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_2_id.phone_ext}{/if}\n </td>\n </tr>\n {/if}\n\n\n {if {event.loc_block_id.email_id.email|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Email{/ts}\n </td>\n <td {$valueStyle}>\n {event.loc_block_id.email_id.email}\n </td>\n </tr>\n {/if}\n\n {if {event.loc_block_id.email_2_id.email|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Email{/ts}\n </td>\n <td {$valueStyle}>\n {event.loc_block_id.email_2_id.email}\n </td>\n </tr>\n {/if}\n\n {/if}\n\n {if !empty($event.is_public)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$icalFeed}\">{ts}Download iCalendar entry for this event.{/ts}</a>\n </td>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$gCalendar}\">{ts}Add event to Google Calendar{/ts}</a>\n </td>\n </tr>\n {/if}\n\n {if $email}\n <tr>\n <th {$headerStyle}>\n {ts}Registered Email{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$email}\n </td>\n </tr>\n {/if}\n\n\n {if {event.is_monetary|boolean}}\n\n <tr>\n <th {$headerStyle}>\n {if !empty($event.fee_label)}{$event.fee_label}{/if}\n </th>\n </tr>\n\n {if !empty($lineItem)}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$priceset+1}Participant %1{/ts}\n </td>\n </tr>\n {/if}\n\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n {if !empty($dataArray)}\n <th>{ts}SubTotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n {/if}\n <th>{ts}Total{/ts}</th>\n {if !empty($pricesetFieldsCount) }<th>{ts}Total Participants{/ts}</th>{/if}\n </tr>\n {foreach from=$value item=line}\n <tr>\n <td>\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n </td>\n <td>\n {$line.qty}\n </td>\n <td>\n {$line.unit_price|crmMoney}\n </td>\n {if !empty($dataArray)}\n <td>\n {$line.unit_price*$line.qty|crmMoney}\n </td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td>\n {$line.tax_amount|crmMoney}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney}\n </td>\n {if !empty($pricesetFieldsCount) }\n <td>\n {$line.participant_count}\n </td>\n {/if}\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n {/if}\n {/foreach}\n {if !empty($dataArray)}\n {if $totalAmount and $totalTaxAmount}\n <tr>\n <td {$labelStyle}>\n {ts}Amount Before Tax:{/ts}\n </td>\n <td {$valueStyle}>\n {$totalAmount-$totalTaxAmount|crmMoney}\n </td>\n </tr>\n {/if}\n {foreach from=$dataArray item=value key=priceset}\n <tr>\n {if $priceset || $priceset == 0}\n <td> {$taxTerm} {$priceset|string_format:\"%.2f\"}%</td>\n <td> {$value|crmMoney:$currency}</td>\n {else}\n <td> {ts}No{/ts} {$taxTerm}</td>\n <td> {$value|crmMoney:$currency}</td>\n {/if}\n </tr>\n {/foreach}\n {/if}\n {/if}\n\n {if !empty($amount) && !$lineItem}\n {foreach from=$amount item=amnt key=level}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$amnt.amount|crmMoney} {$amnt.label}\n </td>\n </tr>\n {/foreach}\n {/if}\n {if $totalTaxAmount}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$totalTaxAmount|crmMoney:$currency}\n </td>\n </tr>\n {/if}\n {if {event.is_monetary|boolean}}\n {if {contribution.balance_amount|boolean}}\n <tr>\n <td {$labelStyle}>{ts}Total Paid{/ts}</td>\n <td {$valueStyle}>\n {if {contribution.paid_amount|boolean}}{contribution.paid_amount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>{ts}Balance{/ts}</td>\n <td {$valueStyle}>{contribution.balance_amount}</td>\n </tr>\n {else}\n <tr>\n <td {$labelStyle}>{ts}Total Amount{/ts}</td>\n <td {$valueStyle}>\n {if {contribution.total_amount|boolean}}{contribution.total_amount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n </td>\n </tr>\n {/if}\n {if !empty($pricesetFieldsCount) }\n <tr>\n <td {$labelStyle}>\n {ts}Total Participants{/ts}</td>\n <td {$valueStyle}>\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1 }\n assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n {$count}\n </td>\n </tr>\n {/if}\n {if $is_pay_later}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {$pay_later_receipt}\n </td>\n </tr>\n {/if}\n\n {if $register_date}\n <tr>\n <td {$labelStyle}>\n {ts}Registration Date{/ts}\n </td>\n <td {$valueStyle}>\n {$register_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($receive_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction Date{/ts}\n </td>\n <td {$valueStyle}>\n {$receive_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($financialTypeName)}\n <tr>\n <td {$labelStyle}>\n {ts}Financial Type{/ts}\n </td>\n <td {$valueStyle}>\n {$financialTypeName}\n </td>\n </tr>\n {/if}\n\n {if !empty($trxn_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($paidBy)}\n <tr>\n <td {$labelStyle}>\n {ts}Paid By{/ts}\n </td>\n <td {$valueStyle}>\n {$paidBy}\n </td>\n </tr>\n {/if}\n\n {if !empty($checkNumber)}\n <tr>\n <td {$labelStyle}>\n {ts}Check Number{/ts}\n </td>\n <td {$valueStyle}>\n {$checkNumber}\n </td>\n </tr>\n {/if}\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n {if !empty($customPre)}\n <tr>\n <th {$headerStyle}>\n {$customPre_grouptitle}\n </th>\n </tr>\n {foreach from=$customPre item=value key=customName}\n {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($customPost)}\n <tr>\n <th {$headerStyle}>\n {$customPost_grouptitle}\n </th>\n </tr>\n {foreach from=$customPost item=value key=customName}\n {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($customProfile)}\n {foreach from=$customProfile item=value key=customName}\n <tr>\n <th {$headerStyle}>\n {ts 1=$customName+1}Participant Information - Participant %1{/ts}\n </th>\n </tr>\n {foreach from=$value item=val key=field}\n {if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\'}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {if $field eq \'additionalCustomPre\'}\n {$additionalCustomPre_grouptitle}\n {else}\n {$additionalCustomPost_grouptitle}\n {/if}\n </td>\n </tr>\n {foreach from=$val item=v key=f}\n <tr>\n <td {$labelStyle}>\n {$f}\n </td>\n <td {$valueStyle}>\n {$v}\n </td>\n </tr>\n {/foreach}\n {/if}\n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($customGroup)}\n {foreach from=$customGroup item=value key=customName}\n <tr>\n <th {$headerStyle}>\n {$customName}\n </th>\n </tr>\n {foreach from=$value item=v key=n}\n <tr>\n <td {$labelStyle}>\n {$n}\n </td>\n <td {$valueStyle}>\n {$v}\n </td>\n </tr>\n {/foreach}\n {/foreach}\n {/if}\n\n </table>\n </td>\n </tr>\n\n </table>\n\n</body>\n</html>\n',1,827,'event_offline_receipt',1,0,0,NULL), + (30,'Events - Registration Confirmation and Receipt (off-line)','{ts}Event Confirmation{/ts} - {event.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n{/if}\n\n{if !empty($isOnWaitlist)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{elseif !empty($isRequireApproval)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{elseif $is_pay_later}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{/if}\n\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{event.title}\n{event.start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and empty($defaultRole)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}}\n{ts}Event Contacts:{/ts}\n\n{if {event.loc_block_id.phone_id.phone|boolean}}\n{if {event.loc_block_id.phone_id.phone_type_id|boolean}}{event.loc_block_id.phone_id.phone_type_id:label}{else}{ts}Phone{/ts}{/if} {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if}\n{/if}\n\n{if {event.loc_block_id.phone_2_id.phone|boolean}}\n{if {event.loc_block_id.phone_2_id.phone_type_id|boolean}}{event.loc_block_id.phone_2_id.phone_type_id:label}{else}{ts}Phone{/ts}{/if} {event.loc_block_id.phone_2_id.phone} {if {event.loc_block_id.phone_2_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_2_id.phone_ext}{/if}\n{/if}\n\n{if {event.loc_block_id.email_id.email|boolean}}\n{ts}Email {/ts}{event.loc_block_id.email_id.email}\n{/if}\n{if {event.loc_block_id.email_2_id.email|boolean}}\n{ts}Email {/ts}{event.loc_block_id.email_2_id.email}{/if}\n{/if}\n\n\n{if !empty($event.is_public)}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar entry for this event.{/ts} {$icalFeed}\n{capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Add event to Google Calendar{/ts} {$gCalendar}\n{/if}\n\n{if !empty($email)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Registered Email{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$email}\n{/if}\n{if !empty($event.is_monetary)} {* This section for Paid events only.*}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if !empty($event.fee_label)}{$event.fee_label}{/if}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if {event.is_monetary|boolean}}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts}\n{/if}\n{/if}\n---------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{capture assign=ts_participant_total}{if !empty($pricesetFieldsCount) }{ts}Total Participants{/ts}{/if}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n{/if}\n{/foreach}\n\n{if !empty($dataArray)}\n{if $totalAmount and $totalTaxAmount}\n{ts}Amount before Tax:{/ts} {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if !empty($amount) && !$lineItem}\n{foreach from=$amount item=amnt key=level}{$amnt.amount|crmMoney} {$amnt.label}\n{/foreach}\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if {event.is_monetary|boolean}}\n\n{if {contribution.balance_amount|boolean}}{ts}Total Paid{/ts}: {if {contribution.paid_amount|boolean}}{contribution.paid_amount}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n{ts}Balance{/ts}: {contribution.balance_amount}\n{else}{ts}Total Amount{/ts}: {if {contribution.total_amount|boolean}}{contribution.total_amount}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n{/if}\n\n{if !empty($pricesetFieldsCount) }\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1 }\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if $is_pay_later}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$pay_later_receipt}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if $receive_date}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if !empty($billingName)}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customPre_grouptitle}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$customPre item=value key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customPost_grouptitle}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$customPost item=value key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n{$customName}: {$value}\n{/if}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile item=value key=customName}\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{ts 1=$customName+1}Participant Information - Participant %1{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$value item=val key=field}\n{if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\' }\n{if $field eq \'additionalCustomPre\' }\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{$additionalCustomPre_grouptitle}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{else}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{$additionalCustomPost_grouptitle}\n----------------------------------------------------------{if !empty($pricesetFieldsCount) }--------------------{/if}\n\n{/if}\n{foreach from=$val item=v key=f}\n{$f}: {$v}\n{/foreach}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customGroup)}\n{foreach from=$customGroup item=value key=customName}\n=========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{$customName}\n=========================================================={if !empty($pricesetFieldsCount) }===================={/if}\n\n{foreach from=$value item=v key=n}\n{$n}: {$v}\n{/foreach}\n{/foreach}\n{/if}\n\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n <p>{$event.confirm_email_text|htmlize}</p>\n {/if}\n\n {if !empty($isOnWaitlist)}\n <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p>\n <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p>\n {elseif !empty($isRequireApproval)}\n <p>{ts}Your registration has been submitted.{/ts}</p>\n <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p>\n {elseif $is_pay_later}\n <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *}\n {/if}\n\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Event Information and Location{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {event.title}<br />\n {event.start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n </td>\n </tr>\n\n {if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n <tr>\n <td {$labelStyle}>\n {ts}Participant Role{/ts}\n </td>\n <td {$valueStyle}>\n {$event.participant_role}\n </td>\n </tr>\n {/if}\n\n {if !empty($isShowLocation)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$location.address.1.display|nl2br}\n </td>\n </tr>\n {/if}\n\n {if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}Event Contacts:{/ts}\n </td>\n </tr>\n\n {if {event.loc_block_id.phone_id.phone|boolean}}\n <tr>\n <td {$labelStyle}>\n {if {event.loc_block_id.phone_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n </td>\n <td {$valueStyle}>\n {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if}\n </td>\n </tr>\n {/if}\n {if {event.loc_block_id.phone_2_id.phone|boolean}}\n <tr>\n <td {$labelStyle}>\n {if {event.loc_block_id.phone_2_id.phone_type_id|boolean}}\n {event.loc_block_id.phone_2_id.phone_type_id:label}\n {else}\n {ts}Phone{/ts}\n {/if}\n </td>\n <td {$valueStyle}>\n {event.loc_block_id.phone_2_id.phone} {if {event.loc_block_id.phone_2_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_2_id.phone_ext}{/if}\n </td>\n </tr>\n {/if}\n\n\n {if {event.loc_block_id.email_id.email|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Email{/ts}\n </td>\n <td {$valueStyle}>\n {event.loc_block_id.email_id.email}\n </td>\n </tr>\n {/if}\n\n {if {event.loc_block_id.email_2_id.email|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Email{/ts}\n </td>\n <td {$valueStyle}>\n {event.loc_block_id.email_2_id.email}\n </td>\n </tr>\n {/if}\n\n {/if}\n\n {if !empty($event.is_public)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$icalFeed}\">{ts}Download iCalendar entry for this event.{/ts}</a>\n </td>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$gCalendar}\">{ts}Add event to Google Calendar{/ts}</a>\n </td>\n </tr>\n {/if}\n\n {if $email}\n <tr>\n <th {$headerStyle}>\n {ts}Registered Email{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$email}\n </td>\n </tr>\n {/if}\n\n\n {if {event.is_monetary|boolean}}\n\n <tr>\n <th {$headerStyle}>\n {if !empty($event.fee_label)}{$event.fee_label}{/if}\n </th>\n </tr>\n\n {if !empty($lineItem)}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$priceset+1}Participant %1{/ts}\n </td>\n </tr>\n {/if}\n\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n {if !empty($dataArray)}\n <th>{ts}SubTotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n {/if}\n <th>{ts}Total{/ts}</th>\n {if !empty($pricesetFieldsCount) }<th>{ts}Total Participants{/ts}</th>{/if}\n </tr>\n {foreach from=$value item=line}\n <tr>\n <td>\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n </td>\n <td>\n {$line.qty}\n </td>\n <td>\n {$line.unit_price|crmMoney}\n </td>\n {if !empty($dataArray)}\n <td>\n {$line.unit_price*$line.qty|crmMoney}\n </td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td>\n {$line.tax_amount|crmMoney}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney}\n </td>\n {if !empty($pricesetFieldsCount) }\n <td>\n {$line.participant_count}\n </td>\n {/if}\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n {/if}\n {/foreach}\n {if !empty($dataArray)}\n {if $totalAmount and $totalTaxAmount}\n <tr>\n <td {$labelStyle}>\n {ts}Amount Before Tax:{/ts}\n </td>\n <td {$valueStyle}>\n {$totalAmount-$totalTaxAmount|crmMoney}\n </td>\n </tr>\n {/if}\n {foreach from=$dataArray item=value key=priceset}\n <tr>\n {if $priceset || $priceset == 0}\n <td> {$taxTerm} {$priceset|string_format:\"%.2f\"}%</td>\n <td> {$value|crmMoney:$currency}</td>\n {else}\n <td> {ts}No{/ts} {$taxTerm}</td>\n <td> {$value|crmMoney:$currency}</td>\n {/if}\n </tr>\n {/foreach}\n {/if}\n {/if}\n\n {if !empty($amount) && !$lineItem}\n {foreach from=$amount item=amnt key=level}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$amnt.amount|crmMoney} {$amnt.label}\n </td>\n </tr>\n {/foreach}\n {/if}\n {if $totalTaxAmount}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$totalTaxAmount|crmMoney:$currency}\n </td>\n </tr>\n {/if}\n {if {event.is_monetary|boolean}}\n {if {contribution.balance_amount|boolean}}\n <tr>\n <td {$labelStyle}>{ts}Total Paid{/ts}</td>\n <td {$valueStyle}>\n {if {contribution.paid_amount|boolean}}{contribution.paid_amount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>{ts}Balance{/ts}</td>\n <td {$valueStyle}>{contribution.balance_amount}</td>\n </tr>\n {else}\n <tr>\n <td {$labelStyle}>{ts}Total Amount{/ts}</td>\n <td {$valueStyle}>\n {if {contribution.total_amount|boolean}}{contribution.total_amount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n </td>\n </tr>\n {/if}\n {if !empty($pricesetFieldsCount) }\n <tr>\n <td {$labelStyle}>\n {ts}Total Participants{/ts}</td>\n <td {$valueStyle}>\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1 }\n assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n {$count}\n </td>\n </tr>\n {/if}\n {if $is_pay_later}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {$pay_later_receipt}\n </td>\n </tr>\n {/if}\n\n {if $register_date}\n <tr>\n <td {$labelStyle}>\n {ts}Registration Date{/ts}\n </td>\n <td {$valueStyle}>\n {$register_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($receive_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction Date{/ts}\n </td>\n <td {$valueStyle}>\n {$receive_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($financialTypeName)}\n <tr>\n <td {$labelStyle}>\n {ts}Financial Type{/ts}\n </td>\n <td {$valueStyle}>\n {$financialTypeName}\n </td>\n </tr>\n {/if}\n\n {if !empty($trxn_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($paidBy)}\n <tr>\n <td {$labelStyle}>\n {ts}Paid By{/ts}\n </td>\n <td {$valueStyle}>\n {$paidBy}\n </td>\n </tr>\n {/if}\n\n {if !empty($checkNumber)}\n <tr>\n <td {$labelStyle}>\n {ts}Check Number{/ts}\n </td>\n <td {$valueStyle}>\n {$checkNumber}\n </td>\n </tr>\n {/if}\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n {if !empty($customPre)}\n <tr>\n <th {$headerStyle}>\n {$customPre_grouptitle}\n </th>\n </tr>\n {foreach from=$customPre item=value key=customName}\n {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($customPost)}\n <tr>\n <th {$headerStyle}>\n {$customPost_grouptitle}\n </th>\n </tr>\n {foreach from=$customPost item=value key=customName}\n {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($customProfile)}\n {foreach from=$customProfile item=value key=customName}\n <tr>\n <th {$headerStyle}>\n {ts 1=$customName+1}Participant Information - Participant %1{/ts}\n </th>\n </tr>\n {foreach from=$value item=val key=field}\n {if $field eq \'additionalCustomPre\' or $field eq \'additionalCustomPost\'}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {if $field eq \'additionalCustomPre\'}\n {$additionalCustomPre_grouptitle}\n {else}\n {$additionalCustomPost_grouptitle}\n {/if}\n </td>\n </tr>\n {foreach from=$val item=v key=f}\n <tr>\n <td {$labelStyle}>\n {$f}\n </td>\n <td {$valueStyle}>\n {$v}\n </td>\n </tr>\n {/foreach}\n {/if}\n {/foreach}\n {/foreach}\n {/if}\n\n {if !empty($customGroup)}\n {foreach from=$customGroup item=value key=customName}\n <tr>\n <th {$headerStyle}>\n {$customName}\n </th>\n </tr>\n {foreach from=$value item=v key=n}\n <tr>\n <td {$labelStyle}>\n {$n}\n </td>\n <td {$valueStyle}>\n {$v}\n </td>\n </tr>\n {/foreach}\n {/foreach}\n {/if}\n\n </table>\n </td>\n </tr>\n\n </table>\n\n</body>\n</html>\n',1,827,'event_offline_receipt',0,1,0,NULL), + (31,'Events - Registration Confirmation and Receipt (on-line)','{if !empty($isOnWaitlist)}{ts}Wait List Confirmation{/ts}{elseif !empty($isRequireApproval)}{ts}Registration Request Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {event.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n\n{else}\n {ts}Thank you for your registration.{/ts}\n {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n {else}{if !empty($isOnWaitlist)}{ts}This is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}\n {/if}\n{/if}\n\n{if !empty($isOnWaitlist)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if !empty($isPrimary)}\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{elseif !empty($isRequireApproval)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if !empty($isPrimary)}\n{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt|boolean}{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{/if}\n\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{event.title}\n{event.start_date|crmDate:\"%A\"} {event.start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n{if !empty($conference_sessions)}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|crmDate:\"%Y/%m/%d\" != $group_by_day|crmDate:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|crmDate:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location} {$session.location}{/if}\n{/foreach}\n{/if}\n\n{if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if !empty($event.is_public)}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar entry for this event.{/ts} {$icalFeed}\n{capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Add event to Google Calendar{/ts} {$gCalendar}\n{/if}\n\n{if !empty($payer.name)}\nYou were registered by: {$payer.name}\n{/if}\n{if !empty($event.is_monetary) and empty($isRequireApproval)} {* This section for Paid events only.*}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if !empty ($event.fee_label)}{$event.fee_label}{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if !empty($isPrimary)}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}\n\n{/if}\n{/if}\n-----------------------------------------------------------{if !empty($pricesetFieldsCount)}-----------------------------------------------------{/if}\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_total}{ts}Total Participants{/ts}{/capture}{/if}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n-----------------------------------------------------------{if !empty($pricesetFieldsCount)}-----------------------------------------------------{/if}\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}{if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if !empty($individual)}{ts}Participant Total{/ts} {$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%29s\"} {$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%33s\"} {$individual.$priceset.totalAmtWithTax|crmMoney:$currency|string_format:\"%12s\"}{/if}\n{/if}\n{\"\"|string_format:\"%120s\"}\n{/foreach}\n{\"\"|string_format:\"%120s\"}\n\n{if !empty($dataArray)}\n{if isset($totalAmount) and isset($totalTaxAmount)}\n{ts}Amount before Tax:{/ts} {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if !empty($amounts) && empty($lineItem)}\n{foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if !empty($isPrimary) }\n\n{ts}Total Amount{/ts}: {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n\n{if !empty($pricesetFieldsCount) }\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1 }\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if !empty($receive_date)}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if !empty($billingName)}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Credit Card Information{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$customPre_grouptitle.$i}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$customPr item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$customPost_grouptitle.$j}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$customPos item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n----------------------------------------------------------{if !empty($pricesetFieldsCount)}--------------------{/if}\n\n{$customProfile.title.$pid}\n----------------------------------------------------------{if !empty($pricesetFieldsCount)}--------------------{/if}\n\n{foreach from=$eachProfile item=val key=field}\n{foreach from=$val item=v key=f}\n{$field}: {$v}\n{/foreach}\n{/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($event.allow_selfcancelxfer) }\n{ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n{ts}Transfer or cancel your registration:{/ts} {$selfService}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=tdfirstStyle}style=\"width: 180px; padding-bottom: 15px;\"{/capture}\n{capture assign=tdStyle}style=\"width: 100px;\"{/capture}\n{capture assign=participantTotal}style=\"margin: 0.5em 0 0.5em;padding: 0.5em;background-color: #999999;font-weight: bold;color: #FAFAFA;border-radius: 2px;\"{/capture}\n\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n <p>{$event.confirm_email_text|htmlize}</p>\n\n {else}\n <p>{ts}Thank you for your registration.{/ts}\n {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to <strong> %1</strong>.{/ts}\n {else}{if $isOnWaitlist}{ts}This is a confirmation that your registration has been received and your status has been updated to <strong>waitlisted</strong>.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to <strong>registered<strong>.{/ts}{/if}{/if}</p>\n\n {/if}\n\n <p>\n {if !empty($isOnWaitlist)}\n <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p>\n {if !empty($isPrimary)}\n <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p>\n {/if}\n {elseif !empty($isRequireApproval)}\n <p>{ts}Your registration has been submitted.{/ts}</p>\n {if !empty($isPrimary)}\n <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p>\n {/if}\n {elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)}\n <p>{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt|boolean}{/if}</p> {* FIXME: this might be text rather than HTML *}\n {/if}\n\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"width:100%; max-width:700px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n <tr>\n <th {$headerStyle}>\n {ts}Event Information and Location{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {event.title}<br />\n {event.start_date|crmDate:\"%A\"} {event.start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n </td>\n </tr>\n\n\n {if $conference_sessions}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}Your schedule:{/ts}\n </td>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {assign var=\'group_by_day\' value=\'NA\'}\n {foreach from=$conference_sessions item=session}\n {if $session.start_date|crmDate:\"%Y/%m/%d\" != $group_by_day|crmDate:\"%Y/%m/%d\"}\n {assign var=\'group_by_day\' value=$session.start_date}\n <em>{$group_by_day|crmDate:\"%m/%d/%Y\"}</em><br />\n {/if}\n {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}<br />\n {if $session.location} {$session.location}<br />{/if}\n {/foreach}\n </td>\n </tr>\n {/if}\n\n {if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n <tr>\n <td {$labelStyle}>\n {ts}Participant Role{/ts}\n </td>\n <td {$valueStyle}>\n {$event.participant_role}\n </td>\n </tr>\n {/if}\n\n {if !empty($isShowLocation)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$location.address.1.display|nl2br}\n </td>\n </tr>\n {/if}\n\n {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}Event Contacts:{/ts}\n </td>\n </tr>\n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n <tr>\n <td {$labelStyle}>\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n </td>\n <td {$valueStyle}>\n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n </td>\n </tr>\n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n <tr>\n <td {$labelStyle}>\n {ts}Email{/ts}\n </td>\n <td {$valueStyle}>\n {$eventEmail.email}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($event.is_public)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$icalFeed}\">{ts}Download iCalendar entry for this event.{/ts}</a>\n </td>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$gCalendar}\">{ts}Add event to Google Calendar{/ts}</a>\n </td>\n </tr>\n {/if}\n\n {if !empty($event.is_share)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=eventUrl}{crmURL p=\'civicrm/event/info\' q=\"id=`$event.id`&reset=1\" a=true fe=1 h=1}{/capture}\n {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$eventUrl title=$event.title pageURL=$eventUrl}\n </td>\n </tr>\n {/if}\n {if !empty($payer.name)}\n <tr>\n <th {$headerStyle}>\n {ts}You were registered by:{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$payer.name}\n </td>\n </tr>\n {/if}\n {if !empty($event.is_monetary) and empty($isRequireApproval)}\n\n <tr>\n <th {$headerStyle}>\n {if !empty($event.fee_label)}{$event.fee_label}{/if}\n </th>\n </tr>\n\n {if !empty($lineItem)}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if !empty($isPrimary)}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}\n </td>\n </tr>\n {/if}\n {/if}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n {if !empty($dataArray)}\n <th>{ts}SubTotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n {/if}\n <th>{ts}Total{/ts}</th>\n {if !empty($pricesetFieldsCount) }<th>{ts}Total Participants{/ts}</th>{/if}\n </tr>\n {foreach from=$value item=line}\n <tr>\n <td {$tdfirstStyle}>\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n </td>\n <td {$tdStyle} align=\"middle\">\n {$line.qty}\n </td>\n <td {$tdStyle}>\n {$line.unit_price|crmMoney:$currency}\n </td>\n {if !empty($dataArray)}\n <td {$tdStyle}>\n {$line.unit_price*$line.qty|crmMoney}\n </td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td {$tdStyle}>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td {$tdStyle}>\n {$line.tax_amount|crmMoney}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n {/if}\n <td {$tdStyle}>\n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n </td>\n {if !empty($pricesetFieldsCount) }<td {$tdStyle}>{$line.participant_count}</td> {/if}\n </tr>\n {/foreach}\n {if !empty($individual)}\n <tr {$participantTotal}>\n <td colspan=3>{ts}Participant Total{/ts}</td>\n <td colspan=2>{$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney}</td>\n <td colspan=1>{$individual.$priceset.totalTaxAmt|crmMoney}</td>\n <td colspan=2>{$individual.$priceset.totalAmtWithTax|crmMoney}</td>\n </tr>\n {/if}\n </table>\n </td>\n </tr>\n {/if}\n {/foreach}\n {if !empty($dataArray)}\n {if isset($totalAmount) and isset($totalTaxAmount)}\n <tr>\n <td {$labelStyle}>\n {ts} Amount Before Tax: {/ts}\n </td>\n <td {$valueStyle}>\n {$totalAmount-$totalTaxAmount|crmMoney}\n </td>\n </tr>\n {/if}\n {foreach from=$dataArray item=value key=priceset}\n <tr>\n {if $priceset || $priceset == 0}\n <td> {$taxTerm} {$priceset|string_format:\"%.2f\"}%</td>\n <td> {$value|crmMoney:$currency}</td>\n {else}\n <td> {ts}No{/ts} {$taxTerm}</td>\n <td> {$value|crmMoney:$currency}</td>\n {/if}\n </tr>\n {/foreach}\n {/if}\n {/if}\n\n {if !empty($amounts) && empty($lineItem)}\n {foreach from=$amounts item=amnt key=level}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$amnt.amount|crmMoney:$currency} {$amnt.label}\n </td>\n </tr>\n {/foreach}\n {/if}\n\n {if isset($totalTaxAmount)}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$totalTaxAmount|crmMoney:$currency}\n </td>\n </tr>\n {/if}\n {if !empty($isPrimary)}\n <tr>\n <td {$labelStyle}>\n {ts}Total Amount{/ts}\n </td>\n <td {$valueStyle}>\n {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n </td>\n </tr>\n {if !empty($pricesetFieldsCount) }\n <tr>\n <td {$labelStyle}>\n {ts}Total Participants{/ts}</td>\n <td {$valueStyle}>\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1 }\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n {$count}\n </td> </tr>\n {/if}\n\n {if $register_date}\n <tr>\n <td {$labelStyle}>\n {ts}Registration Date{/ts}\n </td>\n <td {$valueStyle}>\n {$register_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($receive_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction Date{/ts}\n </td>\n <td {$valueStyle}>\n {$receive_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($financialTypeName)}\n <tr>\n <td {$labelStyle}>\n {ts}Financial Type{/ts}\n </td>\n <td {$valueStyle}>\n {$financialTypeName}\n </td>\n </tr>\n {/if}\n\n {if !empty($trxn_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($paidBy)}\n <tr>\n <td {$labelStyle}>\n {ts}Paid By{/ts}\n </td>\n <td {$valueStyle}>\n {$paidBy}\n </td>\n </tr>\n {/if}\n\n {if !empty($checkNumber)}\n <tr>\n <td {$labelStyle}>\n {ts}Check Number{/ts}\n </td>\n <td {$valueStyle}>\n {$checkNumber}\n </td>\n </tr>\n {/if}\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n <tr> <th {$headerStyle}>{$customPre_grouptitle.$i}</th></tr>\n {foreach from=$customPr item=customValue key=customName}\n {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>{$customName}</td>\n <td {$valueStyle}>{$customValue}</td>\n </tr>\n {/if}\n {/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n <tr> <th {$headerStyle}>{$customPost_grouptitle.$j}</th></tr>\n {foreach from=$customPos item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>{$customName}</td>\n <td {$valueStyle}>{$customValue}</td>\n </tr>\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customProfile)}\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n <tr><th {$headerStyle}>{ts 1=$participantID+2}Participant %1{/ts} </th></tr>\n {foreach from=$eachParticipant item=eachProfile key=pid}\n <tr><th {$headerStyle}>{$customProfile.title.$pid}</th></tr>\n {foreach from=$eachProfile item=val key=field}\n <tr>{foreach from=$val item=v key=f}\n <td {$labelStyle}>{$field}</td>\n <td {$valueStyle}>{$v}</td>\n {/foreach}\n </tr>\n {/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n </table>\n {if !empty($event.allow_selfcancelxfer) }\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}<br />\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$selfService}\">{ts}Click here to transfer or cancel your registration.{/ts}</a>\n </td>\n </tr>\n {/if}\n </table>\n\n</body>\n</html>\n',1,828,'event_online_receipt',1,0,0,NULL), + (32,'Events - Registration Confirmation and Receipt (on-line)','{if !empty($isOnWaitlist)}{ts}Wait List Confirmation{/ts}{elseif !empty($isRequireApproval)}{ts}Registration Request Confirmation{/ts}{else}{ts}Registration Confirmation{/ts}{/if} - {event.title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n{$event.confirm_email_text}\n\n{else}\n {ts}Thank you for your registration.{/ts}\n {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to %1.{/ts}\n {else}{if !empty($isOnWaitlist)}{ts}This is a confirmation that your registration has been received and your status has been updated to waitlisted.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to registered.{/ts}{/if}\n {/if}\n{/if}\n\n{if !empty($isOnWaitlist)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}You have been added to the WAIT LIST for this event.{/ts}\n\n{if !empty($isPrimary)}\n{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}\n{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{elseif !empty($isRequireApproval)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Your registration has been submitted.{/ts}\n\n{if !empty($isPrimary)}\n{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}\n\n{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt|boolean}{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{/if}\n\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Event Information and Location{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{event.title}\n{event.start_date|crmDate:\"%A\"} {event.start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n{if !empty($conference_sessions)}\n\n\n{ts}Your schedule:{/ts}\n{assign var=\'group_by_day\' value=\'NA\'}\n{foreach from=$conference_sessions item=session}\n{if $session.start_date|crmDate:\"%Y/%m/%d\" != $group_by_day|crmDate:\"%Y/%m/%d\"}\n{assign var=\'group_by_day\' value=$session.start_date}\n\n{$group_by_day|crmDate:\"%m/%d/%Y\"}\n\n\n{/if}\n{$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}\n{if $session.location} {$session.location}{/if}\n{/foreach}\n{/if}\n\n{if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n{ts}Participant Role{/ts}: {$event.participant_role}\n{/if}\n\n{if !empty($isShowLocation)}\n{$location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n{/foreach}\n{foreach from=$location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if !empty($event.is_public)}\n{capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Download iCalendar entry for this event.{/ts} {$icalFeed}\n{capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n{ts}Add event to Google Calendar{/ts} {$gCalendar}\n{/if}\n\n{if !empty($payer.name)}\nYou were registered by: {$payer.name}\n{/if}\n{if !empty($event.is_monetary) and empty($isRequireApproval)} {* This section for Paid events only.*}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if !empty ($event.fee_label)}{$event.fee_label}{/if}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset}\n\n{if $value neq \'skip\'}\n{if !empty($isPrimary)}\n{if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n{ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}\n\n{/if}\n{/if}\n-----------------------------------------------------------{if !empty($pricesetFieldsCount)}-----------------------------------------------------{/if}\n\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{/if}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_total}{ts}Total Participants{/ts}{/capture}{/if}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {/if} {$ts_total|string_format:\"%10s\"} {if !empty($ts_participant_total)}{$ts_participant_total|string_format:\"%10s\"}{/if}\n-----------------------------------------------------------{if !empty($pricesetFieldsCount)}-----------------------------------------------------{/if}\n\n{foreach from=$value item=line}\n{if !empty($pricesetFieldsCount) }{capture assign=ts_participant_count}{$line.participant_count}{/capture}{/if}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney:$currency|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"}{if !empty($ts_participant_count)}{$ts_participant_count|string_format:\"%10s\"}{/if}\n{/foreach}\n----------------------------------------------------------------------------------------------------------------\n{if !empty($individual)}{ts}Participant Total{/ts} {$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%29s\"} {$individual.$priceset.totalTaxAmt|crmMoney:$currency|string_format:\"%33s\"} {$individual.$priceset.totalAmtWithTax|crmMoney:$currency|string_format:\"%12s\"}{/if}\n{/if}\n{\"\"|string_format:\"%120s\"}\n{/foreach}\n{\"\"|string_format:\"%120s\"}\n\n{if !empty($dataArray)}\n{if isset($totalAmount) and isset($totalTaxAmount)}\n{ts}Amount before Tax:{/ts} {$totalAmount-$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n{/if}\n\n{if !empty($amounts) && empty($lineItem)}\n{foreach from=$amounts item=amnt key=level}{$amnt.amount|crmMoney:$currency} {$amnt.label}\n{/foreach}\n{/if}\n\n{if isset($totalTaxAmount)}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n{if !empty($isPrimary) }\n\n{ts}Total Amount{/ts}: {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n\n{if !empty($pricesetFieldsCount) }\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1 }\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n\n{ts}Total Participants{/ts}: {$count}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$register_date|crmDate}\n{/if}\n{if !empty($receive_date)}\n{ts}Transaction Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($financialTypeName)}\n{ts}Financial Type{/ts}: {$financialTypeName}\n{/if}\n{if !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n{/if}\n{if !empty($paidBy)}\n{ts}Paid By{/ts}: {$paidBy}\n{/if}\n{if !empty($checkNumber)}\n{ts}Check Number{/ts}: {$checkNumber}\n{/if}\n{if !empty($billingName)}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Billing Name and Address{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts}Credit Card Information{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n{/if} {* End of conditional section for Paid events *}\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$customPre_grouptitle.$i}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$customPr item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{$customPost_grouptitle.$j}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$customPos item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n{if !empty($customProfile)}\n\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{ts 1=$participantID+2}Participant Information - Participant %1{/ts}\n\n==========================================================={if !empty($pricesetFieldsCount)}===================={/if}\n\n{foreach from=$eachParticipant item=eachProfile key=pid}\n----------------------------------------------------------{if !empty($pricesetFieldsCount)}--------------------{/if}\n\n{$customProfile.title.$pid}\n----------------------------------------------------------{if !empty($pricesetFieldsCount)}--------------------{/if}\n\n{foreach from=$eachProfile item=val key=field}\n{foreach from=$val item=v key=f}\n{$field}: {$v}\n{/foreach}\n{/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($event.allow_selfcancelxfer) }\n{ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n{ts}Transfer or cancel your registration:{/ts} {$selfService}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n{capture assign=tdfirstStyle}style=\"width: 180px; padding-bottom: 15px;\"{/capture}\n{capture assign=tdStyle}style=\"width: 100px;\"{/capture}\n{capture assign=participantTotal}style=\"margin: 0.5em 0 0.5em;padding: 0.5em;background-color: #999999;font-weight: bold;color: #FAFAFA;border-radius: 2px;\"{/capture}\n\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n\n {if !empty($event.confirm_email_text) AND (empty($isOnWaitlist) AND empty($isRequireApproval))}\n <p>{$event.confirm_email_text|htmlize}</p>\n\n {else}\n <p>{ts}Thank you for your registration.{/ts}\n {if $participant_status}{ts 1=$participant_status}This is a confirmation that your registration has been received and your status has been updated to <strong> %1</strong>.{/ts}\n {else}{if $isOnWaitlist}{ts}This is a confirmation that your registration has been received and your status has been updated to <strong>waitlisted</strong>.{/ts}{else}{ts}This is a confirmation that your registration has been received and your status has been updated to <strong>registered<strong>.{/ts}{/if}{/if}</p>\n\n {/if}\n\n <p>\n {if !empty($isOnWaitlist)}\n <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p>\n {if !empty($isPrimary)}\n <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p>\n {/if}\n {elseif !empty($isRequireApproval)}\n <p>{ts}Your registration has been submitted.{/ts}</p>\n {if !empty($isPrimary)}\n <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p>\n {/if}\n {elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)}\n <p>{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt|boolean}{/if}</p> {* FIXME: this might be text rather than HTML *}\n {/if}\n\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"width:100%; max-width:700px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n <tr>\n <th {$headerStyle}>\n {ts}Event Information and Location{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {event.title}<br />\n {event.start_date|crmDate:\"%A\"} {event.start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate:\"%A\"} {$event.event_end_date|crmDate}{/if}{/if}\n </td>\n </tr>\n\n\n {if $conference_sessions}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}Your schedule:{/ts}\n </td>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {assign var=\'group_by_day\' value=\'NA\'}\n {foreach from=$conference_sessions item=session}\n {if $session.start_date|crmDate:\"%Y/%m/%d\" != $group_by_day|crmDate:\"%Y/%m/%d\"}\n {assign var=\'group_by_day\' value=$session.start_date}\n <em>{$group_by_day|crmDate:\"%m/%d/%Y\"}</em><br />\n {/if}\n {$session.start_date|crmDate:0:1}{if $session.end_date}-{$session.end_date|crmDate:0:1}{/if} {$session.title}<br />\n {if $session.location} {$session.location}<br />{/if}\n {/foreach}\n </td>\n </tr>\n {/if}\n\n {if !empty($event.participant_role) and $event.participant_role neq \'Attendee\' and !empty($defaultRole)}\n <tr>\n <td {$labelStyle}>\n {ts}Participant Role{/ts}\n </td>\n <td {$valueStyle}>\n {$event.participant_role}\n </td>\n </tr>\n {/if}\n\n {if !empty($isShowLocation)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$location.address.1.display|nl2br}\n </td>\n </tr>\n {/if}\n\n {if !empty($location.phone.1.phone) || !empty($location.email.1.email)}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}Event Contacts:{/ts}\n </td>\n </tr>\n {foreach from=$location.phone item=phone}\n {if $phone.phone}\n <tr>\n <td {$labelStyle}>\n {if $phone.phone_type}\n {$phone.phone_type_display}\n {else}\n {ts}Phone{/ts}\n {/if}\n </td>\n <td {$valueStyle}>\n {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if}\n </td>\n </tr>\n {/if}\n {/foreach}\n {foreach from=$location.email item=eventEmail}\n {if $eventEmail.email}\n <tr>\n <td {$labelStyle}>\n {ts}Email{/ts}\n </td>\n <td {$valueStyle}>\n {$eventEmail.email}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($event.is_public)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=icalFeed}{crmURL p=\'civicrm/event/ical\' q=\"reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$icalFeed}\">{ts}Download iCalendar entry for this event.{/ts}</a>\n </td>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=gCalendar}{crmURL p=\'civicrm/event/ical\' q=\"gCalendar=1&reset=1&id=`$event.id`\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$gCalendar}\">{ts}Add event to Google Calendar{/ts}</a>\n </td>\n </tr>\n {/if}\n\n {if !empty($event.is_share)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {capture assign=eventUrl}{crmURL p=\'civicrm/event/info\' q=\"id=`$event.id`&reset=1\" a=true fe=1 h=1}{/capture}\n {include file=\"CRM/common/SocialNetwork.tpl\" emailMode=true url=$eventUrl title=$event.title pageURL=$eventUrl}\n </td>\n </tr>\n {/if}\n {if !empty($payer.name)}\n <tr>\n <th {$headerStyle}>\n {ts}You were registered by:{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$payer.name}\n </td>\n </tr>\n {/if}\n {if !empty($event.is_monetary) and empty($isRequireApproval)}\n\n <tr>\n <th {$headerStyle}>\n {if !empty($event.fee_label)}{$event.fee_label}{/if}\n </th>\n </tr>\n\n {if !empty($lineItem)}\n {foreach from=$lineItem item=value key=priceset}\n {if $value neq \'skip\'}\n {if !empty($isPrimary)}\n {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$priceset+1}Participant %1{/ts} {if !empty($part.$priceset)}{$part.$priceset.info}{/if}\n </td>\n </tr>\n {/if}\n {/if}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n {if !empty($dataArray)}\n <th>{ts}SubTotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n {/if}\n <th>{ts}Total{/ts}</th>\n {if !empty($pricesetFieldsCount) }<th>{ts}Total Participants{/ts}</th>{/if}\n </tr>\n {foreach from=$value item=line}\n <tr>\n <td {$tdfirstStyle}>\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n </td>\n <td {$tdStyle} align=\"middle\">\n {$line.qty}\n </td>\n <td {$tdStyle}>\n {$line.unit_price|crmMoney:$currency}\n </td>\n {if !empty($dataArray)}\n <td {$tdStyle}>\n {$line.unit_price*$line.qty|crmMoney}\n </td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td {$tdStyle}>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td {$tdStyle}>\n {$line.tax_amount|crmMoney}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n {/if}\n <td {$tdStyle}>\n {$line.line_total+$line.tax_amount|crmMoney:$currency}\n </td>\n {if !empty($pricesetFieldsCount) }<td {$tdStyle}>{$line.participant_count}</td> {/if}\n </tr>\n {/foreach}\n {if !empty($individual)}\n <tr {$participantTotal}>\n <td colspan=3>{ts}Participant Total{/ts}</td>\n <td colspan=2>{$individual.$priceset.totalAmtWithTax-$individual.$priceset.totalTaxAmt|crmMoney}</td>\n <td colspan=1>{$individual.$priceset.totalTaxAmt|crmMoney}</td>\n <td colspan=2>{$individual.$priceset.totalAmtWithTax|crmMoney}</td>\n </tr>\n {/if}\n </table>\n </td>\n </tr>\n {/if}\n {/foreach}\n {if !empty($dataArray)}\n {if isset($totalAmount) and isset($totalTaxAmount)}\n <tr>\n <td {$labelStyle}>\n {ts} Amount Before Tax: {/ts}\n </td>\n <td {$valueStyle}>\n {$totalAmount-$totalTaxAmount|crmMoney}\n </td>\n </tr>\n {/if}\n {foreach from=$dataArray item=value key=priceset}\n <tr>\n {if $priceset || $priceset == 0}\n <td> {$taxTerm} {$priceset|string_format:\"%.2f\"}%</td>\n <td> {$value|crmMoney:$currency}</td>\n {else}\n <td> {ts}No{/ts} {$taxTerm}</td>\n <td> {$value|crmMoney:$currency}</td>\n {/if}\n </tr>\n {/foreach}\n {/if}\n {/if}\n\n {if !empty($amounts) && empty($lineItem)}\n {foreach from=$amounts item=amnt key=level}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$amnt.amount|crmMoney:$currency} {$amnt.label}\n </td>\n </tr>\n {/foreach}\n {/if}\n\n {if isset($totalTaxAmount)}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$totalTaxAmount|crmMoney:$currency}\n </td>\n </tr>\n {/if}\n {if !empty($isPrimary)}\n <tr>\n <td {$labelStyle}>\n {ts}Total Amount{/ts}\n </td>\n <td {$valueStyle}>\n {if !empty($totalAmount)}{$totalAmount|crmMoney:$currency}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if}\n </td>\n </tr>\n {if !empty($pricesetFieldsCount) }\n <tr>\n <td {$labelStyle}>\n {ts}Total Participants{/ts}</td>\n <td {$valueStyle}>\n {assign var=\"count\" value= 0}\n {foreach from=$lineItem item=pcount}\n {assign var=\"lineItemCount\" value=0}\n {if $pcount neq \'skip\'}\n {foreach from=$pcount item=p_count}\n {assign var=\"lineItemCount\" value=$lineItemCount+$p_count.participant_count}\n {/foreach}\n {if $lineItemCount < 1 }\n {assign var=\"lineItemCount\" value=1}\n {/if}\n {assign var=\"count\" value=$count+$lineItemCount}\n {/if}\n {/foreach}\n {$count}\n </td> </tr>\n {/if}\n\n {if $register_date}\n <tr>\n <td {$labelStyle}>\n {ts}Registration Date{/ts}\n </td>\n <td {$valueStyle}>\n {$register_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($receive_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction Date{/ts}\n </td>\n <td {$valueStyle}>\n {$receive_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($financialTypeName)}\n <tr>\n <td {$labelStyle}>\n {ts}Financial Type{/ts}\n </td>\n <td {$valueStyle}>\n {$financialTypeName}\n </td>\n </tr>\n {/if}\n\n {if !empty($trxn_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($paidBy)}\n <tr>\n <td {$labelStyle}>\n {ts}Paid By{/ts}\n </td>\n <td {$valueStyle}>\n {$paidBy}\n </td>\n </tr>\n {/if}\n\n {if !empty($checkNumber)}\n <tr>\n <td {$labelStyle}>\n {ts}Check Number{/ts}\n </td>\n <td {$valueStyle}>\n {$checkNumber}\n </td>\n </tr>\n {/if}\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n\n {/if}\n\n {/if} {* End of conditional section for Paid events *}\n\n\n{if !empty($customPre)}\n{foreach from=$customPre item=customPr key=i}\n <tr> <th {$headerStyle}>{$customPre_grouptitle.$i}</th></tr>\n {foreach from=$customPr item=customValue key=customName}\n {if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>{$customName}</td>\n <td {$valueStyle}>{$customValue}</td>\n </tr>\n {/if}\n {/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customPost)}\n{foreach from=$customPost item=customPos key=j}\n <tr> <th {$headerStyle}>{$customPost_grouptitle.$j}</th></tr>\n {foreach from=$customPos item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>{$customName}</td>\n <td {$valueStyle}>{$customValue}</td>\n </tr>\n{/if}\n{/foreach}\n{/foreach}\n{/if}\n\n{if !empty($customProfile)}\n{foreach from=$customProfile.profile item=eachParticipant key=participantID}\n <tr><th {$headerStyle}>{ts 1=$participantID+2}Participant %1{/ts} </th></tr>\n {foreach from=$eachParticipant item=eachProfile key=pid}\n <tr><th {$headerStyle}>{$customProfile.title.$pid}</th></tr>\n {foreach from=$eachProfile item=val key=field}\n <tr>{foreach from=$val item=v key=f}\n <td {$labelStyle}>{$field}</td>\n <td {$valueStyle}>{$v}</td>\n {/foreach}\n </tr>\n {/foreach}\n{/foreach}\n{/foreach}\n{/if}\n\n </table>\n {if !empty($event.allow_selfcancelxfer) }\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {ts 1=$selfcancelxfer_time 2=$selfservice_preposition}You may transfer your registration to another participant or cancel your registration up to %1 hours %2 the event.{/ts} {if !empty($totalAmount)}{ts}Cancellations are not refundable.{/ts}{/if}<br />\n {capture assign=selfService}{crmURL p=\'civicrm/event/selfsvcupdate\' q=\"reset=1&pid=`$participant.id`&{contact.checksum}\" h=0 a=1 fe=1}{/capture}\n <a href=\"{$selfService}\">{ts}Click here to transfer or cancel your registration.{/ts}</a>\n </td>\n </tr>\n {/if}\n </table>\n\n</body>\n</html>\n',1,828,'event_online_receipt',0,1,0,NULL), (33,'Events - Receipt only','Receipt for {if $events_in_cart} Event Registration{/if} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{if $is_pay_later}\n This is being sent to you as an acknowledgement that you have registered one or more members for the following workshop, event or purchase. Please note, however, that the status of your payment is pending, and the registration for this event will not be completed until your payment is received.\n{else}\n This is being sent to you as a {if !empty($is_refund)}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n{/if}\n\n{if $is_pay_later}\n {$pay_later_receipt}\n{/if}\n\n Your order number is #{$transaction_id}. {if !empty($line_items) && empty($is_refund)} Information about the workshops will be sent separately to each participant.{/if}\n Here\'s a summary of your transaction placed on {$transaction_date|crmDate:\"%D %I:%M %p %Z\"}:\n\n{if $billing_name}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billing_name}\n\n{$billing_street_address}\n\n{$billing_city}, {$billing_state} {$billing_postal_code}\n\n{$email}\n{/if}\n\n{if !empty($source)}\n{$source}\n{/if}\n\n\n{foreach from=$line_items item=line_item}\n{$line_item.event->title} ({$line_item.event->start_date|crmDate:\"%D\"})\n{if $line_item.event->is_show_location}\n {$line_item.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n{$line_item.event->start_date|crmDate:\"%D %I:%M %p\"} - {$line_item.event->end_date|crmDate:\"%I:%M %p\"}\n\n Quantity: {$line_item.num_participants}\n\n{if $line_item.num_participants > 0}\n {foreach from=$line_item.participants item=participant}\n {$participant.display_name}\n {/foreach}\n{/if}\n{if $line_item.num_waiting_participants > 0}\n Waitlisted:\n {foreach from=$line_item.waiting_participants item=participant}\n {$participant.display_name}\n {/foreach}\n{/if}\nCost: {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\nTotal For This Event: {$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n\n{/foreach}\n\n{if $discounts}\nSubtotal: {$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n--------------------------------------\nDiscounts\n{foreach from=$discounts key=myId item=i}\n {$i.title}: -{$i.amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/if}\n======================================\nTotal: {$total|crmMoney:$currency|string_format:\"%10s\"}\n\n{if $credit_card_type}\n===========================================================\n{ts}Payment Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n{/if}\n\n If you have questions about the status of your registration or purchase please feel free to contact us.\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n </head>\n <body>\n {capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n {capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n {capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if $is_pay_later}\n <p>\n This is being sent to you as an acknowledgement that you have registered one or more members for the following workshop, event or purchase. Please note, however, that the status of your payment is pending, and the registration for this event will not be completed until your payment is received.\n </p>\n {else}\n <p>\n This is being sent to you as a {if !empty($is_refund)}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n </p>\n {/if}\n\n {if $is_pay_later}\n <p>{$pay_later_receipt}</p>\n {/if}\n\n <p>Your order number is #{$transaction_id}. {if !empty($line_items) && empty($is_refund)} Information about the workshops will be sent separately to each participant.{/if}\n Here\'s a summary of your transaction placed on {$transaction_date|crmDate:\"%D %I:%M %p %Z\"}:</p>\n\n{if $billing_name}\n <table class=\"billing-info\">\n <tr>\n <th style=\"text-align: left;\">\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td>\n {$billing_name}<br />\n {$billing_street_address}<br />\n {$billing_city}, {$billing_state} {$billing_postal_code}<br/>\n <br/>\n {$email}\n </td>\n </tr>\n </table>\n{/if}\n{if $credit_card_type}\n <p> </p>\n <table class=\"billing-info\">\n <tr>\n <th style=\"text-align: left;\">\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n </td>\n </tr>\n </table>\n{/if}\n{if !empty($source)}\n <p> </p>\n {$source}\n{/if}\n <p> </p>\n <table width=\"700\">\n <thead>\n <tr>\n{if $line_items}\n <th style=\"text-align: left;\">\n Event\n </th>\n <th style=\"text-align: left;\">\n Participants\n </th>\n{/if}\n <th style=\"text-align: left;\">\n Price\n </th>\n <th style=\"text-align: left;\">\n Total\n </th>\n </tr>\n </thead>\n <tbody>\n {foreach from=$line_items item=line_item}\n <tr>\n <td style=\"width: 220px\">\n {$line_item.event->title} ({$line_item.event->start_date|crmDate:\"%D\"})<br />\n {if $line_item.event->is_show_location}\n {$line_item.location.address.1.display|nl2br}\n {/if}{*End of isShowLocation condition*}<br /><br />\n {$line_item.event->start_date|crmDate:\"%D %I:%M %p\"} - {$line_item.event->end_date|crmDate:\"%I:%M %p\"}\n </td>\n <td style=\"width: 180px\">\n {$line_item.num_participants}\n {if $line_item.num_participants > 0}\n <div class=\"participants\" style=\"padding-left: 10px;\">\n {foreach from=$line_item.participants item=participant}\n {$participant.display_name}<br />\n {/foreach}\n </div>\n {/if}\n {if $line_item.num_waiting_participants > 0}\n Waitlisted:<br/>\n <div class=\"participants\" style=\"padding-left: 10px;\">\n {foreach from=$line_item.waiting_participants item=participant}\n {$participant.display_name}<br />\n {/foreach}\n </div>\n {/if}\n </td>\n <td style=\"width: 100px\">\n {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\n </td>\n <td style=\"width: 100px\">\n {$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n </td>\n </tr>\n {/foreach}\n </tbody>\n <tfoot>\n {if $discounts}\n <tr>\n <td>\n </td>\n <td>\n </td>\n <td>\n Subtotal:\n </td>\n <td>\n {$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n </td>\n </tr>\n {foreach from=$discounts key=myId item=i}\n <tr>\n <td>\n {$i.title}\n </td>\n <td>\n </td>\n <td>\n </td>\n <td>\n -{$i.amount}\n </td>\n </tr>\n {/foreach}\n {/if}\n <tr>\n{if $line_items}\n <td>\n </td>\n <td>\n </td>\n{/if}\n <td>\n <strong>Total:</strong>\n </td>\n <td>\n <strong> {$total|crmMoney:$currency|string_format:\"%10s\"}</strong>\n </td>\n </tr>\n </tfoot>\n </table>\n\n If you have questions about the status of your registration or purchase please feel free to contact us.\n </body>\n</html>\n',1,829,'event_registration_receipt',1,0,0,NULL), (34,'Events - Receipt only','Receipt for {if $events_in_cart} Event Registration{/if} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{if $is_pay_later}\n This is being sent to you as an acknowledgement that you have registered one or more members for the following workshop, event or purchase. Please note, however, that the status of your payment is pending, and the registration for this event will not be completed until your payment is received.\n{else}\n This is being sent to you as a {if !empty($is_refund)}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n{/if}\n\n{if $is_pay_later}\n {$pay_later_receipt}\n{/if}\n\n Your order number is #{$transaction_id}. {if !empty($line_items) && empty($is_refund)} Information about the workshops will be sent separately to each participant.{/if}\n Here\'s a summary of your transaction placed on {$transaction_date|crmDate:\"%D %I:%M %p %Z\"}:\n\n{if $billing_name}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billing_name}\n\n{$billing_street_address}\n\n{$billing_city}, {$billing_state} {$billing_postal_code}\n\n{$email}\n{/if}\n\n{if !empty($source)}\n{$source}\n{/if}\n\n\n{foreach from=$line_items item=line_item}\n{$line_item.event->title} ({$line_item.event->start_date|crmDate:\"%D\"})\n{if $line_item.event->is_show_location}\n {$line_item.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n{$line_item.event->start_date|crmDate:\"%D %I:%M %p\"} - {$line_item.event->end_date|crmDate:\"%I:%M %p\"}\n\n Quantity: {$line_item.num_participants}\n\n{if $line_item.num_participants > 0}\n {foreach from=$line_item.participants item=participant}\n {$participant.display_name}\n {/foreach}\n{/if}\n{if $line_item.num_waiting_participants > 0}\n Waitlisted:\n {foreach from=$line_item.waiting_participants item=participant}\n {$participant.display_name}\n {/foreach}\n{/if}\nCost: {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\nTotal For This Event: {$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n\n{/foreach}\n\n{if $discounts}\nSubtotal: {$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n--------------------------------------\nDiscounts\n{foreach from=$discounts key=myId item=i}\n {$i.title}: -{$i.amount|crmMoney:$currency|string_format:\"%10s\"}\n{/foreach}\n{/if}\n======================================\nTotal: {$total|crmMoney:$currency|string_format:\"%10s\"}\n\n{if $credit_card_type}\n===========================================================\n{ts}Payment Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n{/if}\n\n If you have questions about the status of your registration or purchase please feel free to contact us.\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n <head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n </head>\n <body>\n {capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n {capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n {capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if $is_pay_later}\n <p>\n This is being sent to you as an acknowledgement that you have registered one or more members for the following workshop, event or purchase. Please note, however, that the status of your payment is pending, and the registration for this event will not be completed until your payment is received.\n </p>\n {else}\n <p>\n This is being sent to you as a {if !empty($is_refund)}confirmation of refund{else}receipt of payment made{/if} for the following workshop, event registration or purchase.\n </p>\n {/if}\n\n {if $is_pay_later}\n <p>{$pay_later_receipt}</p>\n {/if}\n\n <p>Your order number is #{$transaction_id}. {if !empty($line_items) && empty($is_refund)} Information about the workshops will be sent separately to each participant.{/if}\n Here\'s a summary of your transaction placed on {$transaction_date|crmDate:\"%D %I:%M %p %Z\"}:</p>\n\n{if $billing_name}\n <table class=\"billing-info\">\n <tr>\n <th style=\"text-align: left;\">\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td>\n {$billing_name}<br />\n {$billing_street_address}<br />\n {$billing_city}, {$billing_state} {$billing_postal_code}<br/>\n <br/>\n {$email}\n </td>\n </tr>\n </table>\n{/if}\n{if $credit_card_type}\n <p> </p>\n <table class=\"billing-info\">\n <tr>\n <th style=\"text-align: left;\">\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date.M}/{$credit_card_exp_date.Y}\n </td>\n </tr>\n </table>\n{/if}\n{if !empty($source)}\n <p> </p>\n {$source}\n{/if}\n <p> </p>\n <table width=\"700\">\n <thead>\n <tr>\n{if $line_items}\n <th style=\"text-align: left;\">\n Event\n </th>\n <th style=\"text-align: left;\">\n Participants\n </th>\n{/if}\n <th style=\"text-align: left;\">\n Price\n </th>\n <th style=\"text-align: left;\">\n Total\n </th>\n </tr>\n </thead>\n <tbody>\n {foreach from=$line_items item=line_item}\n <tr>\n <td style=\"width: 220px\">\n {$line_item.event->title} ({$line_item.event->start_date|crmDate:\"%D\"})<br />\n {if $line_item.event->is_show_location}\n {$line_item.location.address.1.display|nl2br}\n {/if}{*End of isShowLocation condition*}<br /><br />\n {$line_item.event->start_date|crmDate:\"%D %I:%M %p\"} - {$line_item.event->end_date|crmDate:\"%I:%M %p\"}\n </td>\n <td style=\"width: 180px\">\n {$line_item.num_participants}\n {if $line_item.num_participants > 0}\n <div class=\"participants\" style=\"padding-left: 10px;\">\n {foreach from=$line_item.participants item=participant}\n {$participant.display_name}<br />\n {/foreach}\n </div>\n {/if}\n {if $line_item.num_waiting_participants > 0}\n Waitlisted:<br/>\n <div class=\"participants\" style=\"padding-left: 10px;\">\n {foreach from=$line_item.waiting_participants item=participant}\n {$participant.display_name}<br />\n {/foreach}\n </div>\n {/if}\n </td>\n <td style=\"width: 100px\">\n {$line_item.cost|crmMoney:$currency|string_format:\"%10s\"}\n </td>\n <td style=\"width: 100px\">\n {$line_item.amount|crmMoney:$currency|string_format:\"%10s\"}\n </td>\n </tr>\n {/foreach}\n </tbody>\n <tfoot>\n {if $discounts}\n <tr>\n <td>\n </td>\n <td>\n </td>\n <td>\n Subtotal:\n </td>\n <td>\n {$sub_total|crmMoney:$currency|string_format:\"%10s\"}\n </td>\n </tr>\n {foreach from=$discounts key=myId item=i}\n <tr>\n <td>\n {$i.title}\n </td>\n <td>\n </td>\n <td>\n </td>\n <td>\n -{$i.amount}\n </td>\n </tr>\n {/foreach}\n {/if}\n <tr>\n{if $line_items}\n <td>\n </td>\n <td>\n </td>\n{/if}\n <td>\n <strong>Total:</strong>\n </td>\n <td>\n <strong> {$total|crmMoney:$currency|string_format:\"%10s\"}</strong>\n </td>\n </tr>\n </tfoot>\n </table>\n\n If you have questions about the status of your registration or purchase please feel free to contact us.\n </body>\n</html>\n',1,829,'event_registration_receipt',0,1,0,NULL), (35,'Events - Registration Cancellation Notice','{ts 1=$event.event_title}Event Registration Cancelled for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{ts}Your Event Registration has been cancelled.{/ts}\n\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"shortdate\" == $event.event_start_date|crmDate:\"shortdate\"}{$event.event_end_date|crmDate:\"Time\"}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {participant.role_id:label}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if \'{contact.email}\'}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{contact.email}\n{/if}\n\n{if !empty(\'{participant.register_date}\')}\n{ts}Registration Date{/ts}: {participant.register_date}\n{/if}\n\n{ts 1=\'{domain.phone}\' 2=\'{domain.email}\'}Please contact us at %1 or send email to %2 if you have questions.{/ts}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n <p>{ts}Your Event Registration has been cancelled.{/ts}</p>\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Event Information and Location{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$event.event_title}<br />\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"shortdate\" == $event.event_start_date|crmDate:\"shortdate\"}{$event.event_end_date|crmDate:\"Time\"}{else}{$event.event_end_date|crmDate}{/if}{/if}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Participant Role{/ts}:\n </td>\n <td {$valueStyle}>\n {participant.role_id:label}\n </td>\n </tr>\n\n {if $isShowLocation}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$event.location.address.1.display|nl2br}\n </td>\n </tr>\n {/if}\n\n {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}Event Contacts:{/ts}\n </td>\n </tr>\n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n <tr>\n <td {$labelStyle}>\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n </td>\n <td {$valueStyle}>\n {$phone.phone}\n </td>\n </tr>\n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n <tr>\n <td {$labelStyle}>\n {ts}Email{/ts}\n </td>\n <td {$valueStyle}>\n {$eventEmail.email}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if \'{contact.email}\'}\n <tr>\n <th {$headerStyle}>\n {ts}Registered Email{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {contact.email}\n </td>\n </tr>\n {/if}\n\n {if !empty(\'{participant.register_date}\')}\n <tr>\n <td {$labelStyle}>\n {ts}Registration Date{/ts}\n </td>\n <td {$valueStyle}>\n {participant.register_date}\n </td>\n </tr>\n {/if}\n\n </table>\n </td>\n </tr>\n\n <tr>\n <td>\n <p>{ts 1=\'{domain.phone}\' 2=\'{domain.email}\'}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>\n </td>\n </tr>\n\n </table>\n\n</body>\n</html>\n',1,830,'participant_cancelled',1,0,0,NULL), @@ -5435,10 +5427,10 @@ INSERT INTO `civicrm_msg_template` (`id`, `msg_title`, `msg_subject`, `msg_text` (42,'Events - Registration Transferred Notice','{ts 1=$event.event_title}Event Registration Transferred for %1{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$to_participant}Your Event Registration has been transferred to %1.{/ts}\n\n===========================================================\n{ts}Event Information and Location{/ts}\n\n===========================================================\n{$event.event_title}\n{$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n\n{ts}Participant Role{/ts}: {$participant.role}\n\n{if $isShowLocation}\n{$event.location.address.1.display|strip_tags:false}\n{/if}{*End of isShowLocation condition*}\n\n{if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}\n\n{ts}Event Contacts:{/ts}\n{foreach from=$event.location.phone item=phone}\n{if $phone.phone}\n\n{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if}\n{/foreach}\n{foreach from=$event.location.email item=eventEmail}\n{if $eventEmail.email}\n\n{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach}\n{/if}\n\n{if \'{contact.email}\'}\n\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{contact.email}\n{/if}\n\n{if $register_date}\n{ts}Registration Date{/ts}: {$participant.register_date|crmDate}\n{/if}\n\n{ts 1=\'{domain.phone}\' 2=\'{domain.email}\'}Please contact us at %1 or send email to %2 if you have questions.{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n <p>{ts 1=$to_participant}Your Event Registration has been Transferred to %1.{/ts}</p>\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Event Information and Location{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$event.event_title}<br />\n {$event.event_start_date|crmDate}{if $event.event_end_date}-{if $event.event_end_date|crmDate:\"%Y%m%d\" == $event.event_start_date|crmDate:\"%Y%m%d\"}{$event.event_end_date|crmDate:0:1}{else}{$event.event_end_date|crmDate}{/if}{/if}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Participant Role{/ts}:\n </td>\n <td {$valueStyle}>\n {$participant.role}\n </td>\n </tr>\n\n {if $isShowLocation}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$event.location.address.1.display|nl2br}\n </td>\n </tr>\n {/if}\n\n {if !empty($event.location.phone.1.phone) || !empty($event.location.email.1.email)}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}Event Contacts:{/ts}\n </td>\n </tr>\n {foreach from=$event.location.phone item=phone}\n {if $phone.phone}\n <tr>\n <td {$labelStyle}>\n {if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}\n </td>\n <td {$valueStyle}>\n {$phone.phone}\n </td>\n </tr>\n {/if}\n {/foreach}\n {foreach from=$event.location.email item=eventEmail}\n {if $eventEmail.email}\n <tr>\n <td {$labelStyle}>\n {ts}Email{/ts}\n </td>\n <td {$valueStyle}>\n {$eventEmail.email}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if \'{contact.email}\'}\n <tr>\n <th {$headerStyle}>\n {ts}Registered Email{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {contact.email}\n </td>\n </tr>\n {/if}\n\n {if $register_date}\n <tr>\n <td {$labelStyle}>\n {ts}Registration Date{/ts}\n </td>\n <td {$valueStyle}>\n {$participant.register_date|crmDate}\n </td>\n </tr>\n {/if}\n\n </table>\n </td>\n </tr>\n\n <tr>\n <td>\n <p>{ts 1=\'{domain.phone}\' 2=\'{domain.email}\'}Please contact us at %1 or send email to %2 if you have questions.{/ts}</p>\n </td>\n </tr>\n\n </table>\n\n</body>\n</html>\n',1,833,'participant_transferred',0,1,0,NULL), (43,'Tell-a-Friend Email','{ts 1=$senderContactName 2=$title}%1 wants you to know about %2{/ts}\n','{$senderMessage}\n\n{if $generalLink}{ts}For more information, visit:{/ts}\n>> {$generalLink}\n\n{/if}\n{if $contribute}{ts}To make a contribution, go to:{/ts}\n>> {$pageURL}\n\n{/if}\n{if $event}{ts}To find out more about this event, go to:{/ts}\n>> {$pageURL}\n{/if}\n\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n <p>{$senderMessage}</p>\n {if $generalLink}\n <p><a href=\"{$generalLink}\">{ts}More information{/ts}</a></p>\n {/if}\n {if $contribute}\n <p><a href=\"{$pageURL}\">{ts}Make a contribution{/ts}</a></p>\n {/if}\n {if $event}\n <p><a href=\"{$pageURL}\">{ts}Find out more about this event{/ts}</a></p>\n {/if}\n </td>\n </tr>\n </table>\n\n</body>\n</html>\n',1,834,'friend',1,0,0,NULL), (44,'Tell-a-Friend Email','{ts 1=$senderContactName 2=$title}%1 wants you to know about %2{/ts}\n','{$senderMessage}\n\n{if $generalLink}{ts}For more information, visit:{/ts}\n>> {$generalLink}\n\n{/if}\n{if $contribute}{ts}To make a contribution, go to:{/ts}\n>> {$pageURL}\n\n{/if}\n{if $event}{ts}To find out more about this event, go to:{/ts}\n>> {$pageURL}\n{/if}\n\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n <p>{$senderMessage}</p>\n {if $generalLink}\n <p><a href=\"{$generalLink}\">{ts}More information{/ts}</a></p>\n {/if}\n {if $contribute}\n <p><a href=\"{$pageURL}\">{ts}Make a contribution{/ts}</a></p>\n {/if}\n {if $event}\n <p><a href=\"{$pageURL}\">{ts}Find out more about this event{/ts}</a></p>\n {/if}\n </td>\n </tr>\n </table>\n\n</body>\n</html>\n',1,834,'friend',0,1,0,NULL), - (45,'Memberships - Signup and Renewal Receipts (off-line)','{if $receiptType EQ \'membership signup\'}\n{ts}Membership Confirmation and Receipt{/ts}\n{elseif $receiptType EQ \'membership renewal\'}\n{ts}Membership Renewal Confirmation and Receipt{/ts}\n{/if} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{if $receipt_text}\n{$receipt_text}\n{else}{ts}Thank you for this contribution.{/ts}{/if}\n\n{if !$isShowLineItems}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {membership.membership_type_id:name}\n{/if}\n{if \'{membership.status_id:name}\' !== \'Cancelled\'}\n{if !$isShowLineItems}\n{ts}Membership Start Date{/ts}: {membership.start_date|crmDate:\"Full\"}\n{ts}Membership Expiration Date{/ts}: {membership.end_date|crmDate:\"Full\"}\n{/if}\n\n{if \'{contribution.total_amount|raw}\' !== \'0.00\'}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if {contribution.financial_type_id|boolean}}\n{ts}Financial Type{/ts}: {contribution.financial_type_id:label}\n{/if}\n{if $isShowLineItems}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership Expiration Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$lineItems item=line}\n{line.title} {$line.line_total|crmMoney|string_format:\"%10s\"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.membership.start_date|string_format:\"%20s\"} {$line.membership.end_date|string_format:\"%20s\"}\n{/foreach}\n\n{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n{ts}Amount before Tax:{/ts} {contribution.tax_exclusive_amount}\n\n{foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else} {$taxTerm} {$taxDetail.percentage}%{/if}: {$taxDetail.amount|crmMoney:\'{contribution.currency}\'}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n{ts}Total Tax Amount{/ts}: {contribution.tax_amount}\n{/if}\n\n{ts}Amount{/ts}: {contribution.total_amount}\n{if {contribution.receive_date|boolean}}\n{ts}Date Received{/ts}: {contribution.receive_date}\n{/if}\n{if {contribution.payment_instrument_id|boolean}}\n{ts}Paid By{/ts}: {contribution.payment_instrument_id:label}\n{if {contribution.check_number|boolean}}\n{ts}Check Number{/ts}: {contribution.check_number|boolean}\n{/if}\n{/if}\n{/if}\n{/if}\n\n{if !empty($isPrimary) }\n{if !empty($billingName)}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n\n{if !empty($customValues)}\n===========================================================\n{ts}Membership Options{/ts}\n\n===========================================================\n{foreach from=$customValues item=value key=customName}\n {$customName} : {$value}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-membership_receipt\"\n style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if $receipt_text}\n <p>{$receipt_text|htmlize}</p>\n {else}\n <p>{ts}Thank you for this contribution.{/ts}</p>\n {/if}\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n {if !$isShowLineItems}\n <tr>\n <th {$headerStyle}>\n {ts}Membership Information{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Membership Type{/ts}\n </td>\n <td {$valueStyle}>\n {membership.membership_type_id:name}\n </td>\n </tr>\n {/if}\n {if \'{membership.status_id:name}\' !== \'Cancelled\'}\n {if !$isShowLineItems}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {membership.start_date|crmDate:\"Full\"}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Membership Expiration Date{/ts}\n </td>\n <td {$valueStyle}>\n {membership.end_date|crmDate:\"Full\"}\n </td>\n </tr>\n {/if}\n {if \'{contribution.total_amount|raw}\' !== \'0.00\'}\n <tr>\n <th {$headerStyle}>\n {ts}Membership Fee{/ts}\n </th>\n </tr>\n {if {contribution.financial_type_id|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Financial Type{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.financial_type_id:label}\n </td>\n </tr>\n {/if}\n\n {if $isShowLineItems}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Fee{/ts}</th>\n {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <th>{ts}SubTotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n <th>{ts}Total{/ts}</th>\n {/if}\n <th>{ts}Membership Start Date{/ts}</th>\n <th>{ts}Membership Expiration Date{/ts}</th>\n </tr>\n {foreach from=$lineItems item=line}\n <tr>\n <td>{$line.title}</td>\n <td>\n {$line.line_total|crmMoney}\n </td>\n {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <td>\n {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'}\n </td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td>\n {$line.tax_amount|crmMoney:\'{contribution.currency}\'}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney:\'{contribution.currency}\'}\n </td>\n {/if}\n <td>\n {$line.membership.start_date|crmDate:\"Full\"}\n </td>\n <td>\n {$line.membership.end_date|crmDate:\"Full\"}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n\n {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <tr>\n <td {$labelStyle}>\n {ts}Amount Before Tax:{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_exclusive_amount}\n </td>\n </tr>\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n <tr>\n <td {$labelStyle}>{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else} {$taxTerm} {$taxDetail.percentage}%{/if}</td>\n <td {$valueStyle}>{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}</td>\n </tr>\n {/foreach}\n {/if}\n {/if}\n {if \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_amount}\n </td>\n </tr>\n {/if}\n <tr>\n <td {$labelStyle}>\n {ts}Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.total_amount}\n </td>\n </tr>\n {if {contribution.receive_date|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Date Received{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.receive_date}\n </td>\n </tr>\n {/if}\n {if {contribution.payment_instrument_id|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Paid By{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.payment_instrument_id:label}\n </td>\n </tr>\n {if {contribution.check_number|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Check Number{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.check_number}\n </td>\n </tr>\n {/if}\n {/if}\n {/if}\n {/if}\n </table>\n </td>\n </tr>\n\n {if !empty($isPrimary)}\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {$billingName}<br/>\n {$address}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td {$valueStyle}>\n {$credit_card_type}<br/>\n {$credit_card_number}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Expires{/ts}\n </td>\n <td {$valueStyle}>\n {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n\n </table>\n </td>\n </tr>\n {/if}\n\n {if !empty($customValues)}\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Membership Options{/ts}\n </th>\n </tr>\n {foreach from=$customValues item=value key=customName}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n {/if}\n\n </table>\n\n</body>\n</html>\n',1,835,'membership_offline_receipt',1,0,0,NULL), - (46,'Memberships - Signup and Renewal Receipts (off-line)','{if $receiptType EQ \'membership signup\'}\n{ts}Membership Confirmation and Receipt{/ts}\n{elseif $receiptType EQ \'membership renewal\'}\n{ts}Membership Renewal Confirmation and Receipt{/ts}\n{/if} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{if $receipt_text}\n{$receipt_text}\n{else}{ts}Thank you for this contribution.{/ts}{/if}\n\n{if !$isShowLineItems}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {membership.membership_type_id:name}\n{/if}\n{if \'{membership.status_id:name}\' !== \'Cancelled\'}\n{if !$isShowLineItems}\n{ts}Membership Start Date{/ts}: {membership.start_date|crmDate:\"Full\"}\n{ts}Membership Expiration Date{/ts}: {membership.end_date|crmDate:\"Full\"}\n{/if}\n\n{if \'{contribution.total_amount|raw}\' !== \'0.00\'}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if {contribution.financial_type_id|boolean}}\n{ts}Financial Type{/ts}: {contribution.financial_type_id:label}\n{/if}\n{if $isShowLineItems}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership Expiration Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$lineItems item=line}\n{line.title} {$line.line_total|crmMoney|string_format:\"%10s\"} {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'} {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.membership.start_date|string_format:\"%20s\"} {$line.membership.end_date|string_format:\"%20s\"}\n{/foreach}\n\n{if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n{ts}Amount before Tax:{/ts} {contribution.tax_exclusive_amount}\n\n{foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else} {$taxTerm} {$taxDetail.percentage}%{/if}: {$taxDetail.amount|crmMoney:\'{contribution.currency}\'}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n{ts}Total Tax Amount{/ts}: {contribution.tax_amount}\n{/if}\n\n{ts}Amount{/ts}: {contribution.total_amount}\n{if {contribution.receive_date|boolean}}\n{ts}Date Received{/ts}: {contribution.receive_date}\n{/if}\n{if {contribution.payment_instrument_id|boolean}}\n{ts}Paid By{/ts}: {contribution.payment_instrument_id:label}\n{if {contribution.check_number|boolean}}\n{ts}Check Number{/ts}: {contribution.check_number|boolean}\n{/if}\n{/if}\n{/if}\n{/if}\n\n{if !empty($isPrimary) }\n{if !empty($billingName)}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n\n{if !empty($customValues)}\n===========================================================\n{ts}Membership Options{/ts}\n\n===========================================================\n{foreach from=$customValues item=value key=customName}\n {$customName} : {$value}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-membership_receipt\"\n style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if $receipt_text}\n <p>{$receipt_text|htmlize}</p>\n {else}\n <p>{ts}Thank you for this contribution.{/ts}</p>\n {/if}\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n {if !$isShowLineItems}\n <tr>\n <th {$headerStyle}>\n {ts}Membership Information{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Membership Type{/ts}\n </td>\n <td {$valueStyle}>\n {membership.membership_type_id:name}\n </td>\n </tr>\n {/if}\n {if \'{membership.status_id:name}\' !== \'Cancelled\'}\n {if !$isShowLineItems}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {membership.start_date|crmDate:\"Full\"}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Membership Expiration Date{/ts}\n </td>\n <td {$valueStyle}>\n {membership.end_date|crmDate:\"Full\"}\n </td>\n </tr>\n {/if}\n {if \'{contribution.total_amount|raw}\' !== \'0.00\'}\n <tr>\n <th {$headerStyle}>\n {ts}Membership Fee{/ts}\n </th>\n </tr>\n {if {contribution.financial_type_id|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Financial Type{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.financial_type_id:label}\n </td>\n </tr>\n {/if}\n\n {if $isShowLineItems}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Fee{/ts}</th>\n {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <th>{ts}SubTotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n <th>{ts}Total{/ts}</th>\n {/if}\n <th>{ts}Membership Start Date{/ts}</th>\n <th>{ts}Membership Expiration Date{/ts}</th>\n </tr>\n {foreach from=$lineItems item=line}\n <tr>\n <td>{$line.title}</td>\n <td>\n {$line.line_total|crmMoney}\n </td>\n {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <td>\n {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'}\n </td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td>\n {$line.tax_amount|crmMoney:\'{contribution.currency}\'}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney:\'{contribution.currency}\'}\n </td>\n {/if}\n <td>\n {$line.membership.start_date|crmDate:\"Full\"}\n </td>\n <td>\n {$line.membership.end_date|crmDate:\"Full\"}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n\n {if $isShowTax && \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <tr>\n <td {$labelStyle}>\n {ts}Amount Before Tax:{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_exclusive_amount}\n </td>\n </tr>\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n <tr>\n <td {$labelStyle}>{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else} {$taxTerm} {$taxDetail.percentage}%{/if}</td>\n <td {$valueStyle}>{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}</td>\n </tr>\n {/foreach}\n {/if}\n {/if}\n {if \'{contribution.tax_amount|raw}\' !== \'0.00\'}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_amount}\n </td>\n </tr>\n {/if}\n <tr>\n <td {$labelStyle}>\n {ts}Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.total_amount}\n </td>\n </tr>\n {if {contribution.receive_date|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Date Received{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.receive_date}\n </td>\n </tr>\n {/if}\n {if {contribution.payment_instrument_id|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Paid By{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.payment_instrument_id:label}\n </td>\n </tr>\n {if {contribution.check_number|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Check Number{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.check_number}\n </td>\n </tr>\n {/if}\n {/if}\n {/if}\n {/if}\n </table>\n </td>\n </tr>\n\n {if !empty($isPrimary)}\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {$billingName}<br/>\n {$address}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td {$valueStyle}>\n {$credit_card_type}<br/>\n {$credit_card_number}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Expires{/ts}\n </td>\n <td {$valueStyle}>\n {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n\n </table>\n </td>\n </tr>\n {/if}\n\n {if !empty($customValues)}\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Membership Options{/ts}\n </th>\n </tr>\n {foreach from=$customValues item=value key=customName}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n {/if}\n\n </table>\n\n</body>\n</html>\n',1,835,'membership_offline_receipt',0,1,0,NULL), - (47,'Memberships - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($receipt_text)}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{/if}\n\n{if $membership_assign && !$useForMember}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership Expiration Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\n{/if}\n{if $amount}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if !$useForMember && isset($membership_amount) && !empty($is_quick_config)}\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{if $amount && !$is_separate_payment }\n{ts}Contribution Amount{/ts}: {$amount|crmMoney}\n-------------------------------------------\n{ts}Total{/ts}: {$amount+$membership_amount|crmMoney}\n{/if}\n{elseif !$useForMember && !empty($lineItem) and !empty($priceSetID) & empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{$line.description|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney}\n{else}\n{if $useForMember && $lineItem && empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership Expiration Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.line_total|crmMoney|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if !empty($dataArray)}\n{ts}Amount before Tax:{/ts} {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$amount|crmMoney} {if isset($amount_level) } - {$amount_level} {/if}\n{/if}\n{elseif isset($membership_amount)}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{/if}\n\n{if !empty($receive_date)}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($is_monetary) and !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n\n{/if}\n{if !empty($membership_trx_id)}\n{ts}Membership Transaction #{/ts}: {$membership_trx_id}\n\n{/if}\n{if !empty($is_recur)}\n{ts}This membership will be renewed automatically.{/ts}\n{if $cancelSubscriptionUrl}\n\n{ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by visiting this web page: %1.{/ts}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n{/if}\n{/if}\n\n{if $honor_block_is_active }\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n\n{/if}\n{if !empty($pcpBlock)}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if !empty($onBehalfProfile)}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !empty($billingName)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{elseif !empty($email)}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{/if} {* End billingName or email *}\n{if !empty($credit_card_type)}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if !empty($selectPremium)}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if !empty($contact_email) OR !empty($contact_phone)}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if !empty($contact_email)}\n {$contact_email}\n{/if}\n{if !empty($contact_phone)}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND !empty($price)}\n\n{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if !empty($customPre)}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if !empty($customPost)}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if !empty($receipt_text)}\n <p>{$receipt_text|htmlize}</p>\n {/if}\n\n {if $is_pay_later}\n <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *}\n {/if}\n\n </td>\n </tr>\n </table>\n <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n\n {if $membership_assign && !$useForMember}\n <tr>\n <th {$headerStyle}>\n {ts}Membership Information{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Membership Type{/ts}\n </td>\n <td {$valueStyle}>\n {$membership_name}\n </td>\n </tr>\n {if $mem_start_date}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {$mem_start_date|crmDate}\n </td>\n </tr>\n {/if}\n {if $mem_end_date}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Expiration Date{/ts}\n </td>\n <td {$valueStyle}>\n {$mem_end_date|crmDate}\n </td>\n </tr>\n {/if}\n {/if}\n\n\n {if $amount}\n <tr>\n <th {$headerStyle}>\n {ts}Membership Fee{/ts}\n </th>\n </tr>\n\n {if !$useForMember and isset($membership_amount) and !empty($is_quick_config)}\n\n <tr>\n <td {$labelStyle}>\n {ts 1=$membership_name}%1 Membership{/ts}\n </td>\n <td {$valueStyle}>\n {$membership_amount|crmMoney}\n </td>\n </tr>\n {if $amount && !$is_separate_payment }\n <tr>\n <td {$labelStyle}>\n {ts}Contribution Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$amount|crmMoney}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Total{/ts}\n </td>\n <td {$valueStyle}>\n {$amount+$membership_amount|crmMoney}\n </td>\n </tr>\n {/if}\n\n {elseif empty($useForMember) && !empty($lineItem) and $priceSetID and empty($is_quick_config)}\n\n {foreach from=$lineItem item=value key=priceset}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n <th>{ts}Total{/ts}</th>\n </tr>\n {foreach from=$value item=line}\n <tr>\n <td>\n {$line.description|truncate:30:\"...\"}\n </td>\n <td>\n {$line.qty}\n </td>\n <td>\n {$line.unit_price|crmMoney}\n </td>\n <td>\n {$line.line_total|crmMoney}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n {/foreach}\n <tr>\n <td {$labelStyle}>\n {ts}Total Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$amount|crmMoney}\n </td>\n </tr>\n\n {else}\n {if $useForMember && $lineItem and empty($is_quick_config)}\n {foreach from=$lineItem item=value key=priceset}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Fee{/ts}</th>\n {if !empty($dataArray)}\n <th>{ts}SubTotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n <th>{ts}Total{/ts}</th>\n {/if}\n <th>{ts}Membership Start Date{/ts}</th>\n <th>{ts}Membership Expiration Date{/ts}</th>\n </tr>\n {foreach from=$value item=line}\n <tr>\n <td>\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n </td>\n <td>\n {$line.line_total|crmMoney}\n </td>\n {if !empty($dataArray)}\n <td>\n {$line.unit_price*$line.qty|crmMoney}\n </td>\n {if ($line.tax_rate || $line.tax_amount != \"\")}\n <td>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td>\n {$line.tax_amount|crmMoney}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney}\n </td>\n {/if}\n <td>\n {$line.start_date}\n </td>\n <td>\n {$line.end_date}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n {/foreach}\n {if !empty($dataArray)}\n <tr>\n <td {$labelStyle}>\n {ts}Amount Before Tax:{/ts}\n </td>\n <td {$valueStyle}>\n {$amount-$totalTaxAmount|crmMoney}\n </td>\n </tr>\n {foreach from=$dataArray item=value key=priceset}\n <tr>\n {if $priceset || $priceset == 0}\n <td> {$taxTerm} {$priceset|string_format:\"%.2f\"}%</td>\n <td> {$value|crmMoney:$currency}</td>\n {else}\n <td> {ts}NO{/ts} {$taxTerm}</td>\n <td> {$value|crmMoney:$currency}</td>\n {/if}\n </tr>\n {/foreach}\n {/if}\n {/if}\n {if $totalTaxAmount}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$totalTaxAmount|crmMoney:$currency}\n </td>\n </tr>\n {/if}\n <tr>\n <td {$labelStyle}>\n {ts}Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$amount|crmMoney} {if isset($amount_level)} - {$amount_level}{/if}\n </td>\n </tr>\n\n {/if}\n\n\n {elseif isset($membership_amount)}\n\n\n <tr>\n <th {$headerStyle}>\n {ts}Membership Fee{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts 1=$membership_name}%1 Membership{/ts}\n </td>\n <td {$valueStyle}>\n {$membership_amount|crmMoney}\n </td>\n </tr>\n\n\n {/if}\n\n {if !empty($receive_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Date{/ts}\n </td>\n <td {$valueStyle}>\n {$receive_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($is_monetary) and !empty($trxn_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($membership_trx_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$membership_trx_id}\n </td>\n </tr>\n {/if}\n {if !empty($is_recur)}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}This membership will be renewed automatically.{/ts}\n {if $cancelSubscriptionUrl}\n {ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href=\"%1\">visiting this web page</a>.{/ts}\n {/if}\n </td>\n </tr>\n {if $updateSubscriptionBillingUrl}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if $honor_block_is_active}\n <tr>\n <th {$headerStyle}>\n {$soft_credit_type}\n </th>\n </tr>\n {foreach from=$honoreeProfile item=value key=label}\n <tr>\n <td {$labelStyle}>\n {$label}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n {/if}\n\n {if !empty($pcpBlock)}\n <tr>\n <th {$headerStyle}>\n {ts}Personal Campaign Page{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Display In Honor Roll{/ts}\n </td>\n <td {$valueStyle}>\n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n </td>\n </tr>\n {if $pcp_roll_nickname}\n <tr>\n <td {$labelStyle}>\n {ts}Nickname{/ts}\n </td>\n <td {$valueStyle}>\n {$pcp_roll_nickname}\n </td>\n </tr>\n {/if}\n {if $pcp_personal_note}\n <tr>\n <td {$labelStyle}>\n {ts}Personal Note{/ts}\n </td>\n <td {$valueStyle}>\n {$pcp_personal_note}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if !empty($onBehalfProfile)}\n <tr>\n <th {$headerStyle}>\n {$onBehalfProfile_grouptitle}\n </th>\n </tr>\n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n <tr>\n <td {$labelStyle}>\n {$onBehalfName}\n </td>\n <td {$valueStyle}>\n {$onBehalfValue}\n </td>\n </tr>\n {/foreach}\n {/if}\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}<br />\n {$email}\n </td>\n </tr>\n {elseif !empty($email)}\n <tr>\n <th {$headerStyle}>\n {ts}Registered Email{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$email}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n </td>\n </tr>\n {/if}\n\n {if !empty($selectPremium)}\n <tr>\n <th {$headerStyle}>\n {ts}Premium Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {$product_name}\n </td>\n </tr>\n {if $option}\n <tr>\n <td {$labelStyle}>\n {ts}Option{/ts}\n </td>\n <td {$valueStyle}>\n {$option}\n </td>\n </tr>\n {/if}\n {if $sku}\n <tr>\n <td {$labelStyle}>\n {ts}SKU{/ts}\n </td>\n <td {$valueStyle}>\n {$sku}\n </td>\n </tr>\n {/if}\n {if $start_date}\n <tr>\n <td {$labelStyle}>\n {ts}Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {$start_date|crmDate}\n </td>\n </tr>\n {/if}\n {if $end_date}\n <tr>\n <td {$labelStyle}>\n {ts}End Date{/ts}\n </td>\n <td {$valueStyle}>\n {$end_date|crmDate}\n </td>\n </tr>\n {/if}\n {if !empty($contact_email) OR !empty($contact_phone)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <p>{ts}For information about this premium, contact:{/ts}</p>\n {if !empty($contact_email)}\n <p>{$contact_email}</p>\n {/if}\n {if !empty($contact_phone)}\n <p>{$contact_phone}</p>\n {/if}\n </td>\n </tr>\n {/if}\n {if $is_deductible AND !empty($price)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <p>{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}</p>\n </td>\n </tr>\n {/if}\n {/if}\n\n {if !empty($customPre)}\n <tr>\n <th {$headerStyle}>\n {$customPre_grouptitle}\n </th>\n </tr>\n {foreach from=$customPre item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$customValue}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($customPost)}\n <tr>\n <th {$headerStyle}>\n {$customPost_grouptitle}\n </th>\n </tr>\n {foreach from=$customPost item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$customValue}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n </table>\n\n</body>\n</html>\n',1,836,'membership_online_receipt',1,0,0,NULL), - (48,'Memberships - Receipt (on-line)','{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($receipt_text)}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{/if}\n\n{if $membership_assign && !$useForMember}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership Expiration Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\n{/if}\n{if $amount}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if !$useForMember && isset($membership_amount) && !empty($is_quick_config)}\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{if $amount && !$is_separate_payment }\n{ts}Contribution Amount{/ts}: {$amount|crmMoney}\n-------------------------------------------\n{ts}Total{/ts}: {$amount+$membership_amount|crmMoney}\n{/if}\n{elseif !$useForMember && !empty($lineItem) and !empty($priceSetID) & empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{$line.description|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney}\n{else}\n{if $useForMember && $lineItem && empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership Expiration Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.line_total|crmMoney|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if !empty($dataArray)}\n{ts}Amount before Tax:{/ts} {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$amount|crmMoney} {if isset($amount_level) } - {$amount_level} {/if}\n{/if}\n{elseif isset($membership_amount)}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{/if}\n\n{if !empty($receive_date)}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($is_monetary) and !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n\n{/if}\n{if !empty($membership_trx_id)}\n{ts}Membership Transaction #{/ts}: {$membership_trx_id}\n\n{/if}\n{if !empty($is_recur)}\n{ts}This membership will be renewed automatically.{/ts}\n{if $cancelSubscriptionUrl}\n\n{ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by visiting this web page: %1.{/ts}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n{/if}\n{/if}\n\n{if $honor_block_is_active }\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n\n{/if}\n{if !empty($pcpBlock)}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if !empty($onBehalfProfile)}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !empty($billingName)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{elseif !empty($email)}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{/if} {* End billingName or email *}\n{if !empty($credit_card_type)}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if !empty($selectPremium)}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if !empty($contact_email) OR !empty($contact_phone)}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if !empty($contact_email)}\n {$contact_email}\n{/if}\n{if !empty($contact_phone)}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND !empty($price)}\n\n{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if !empty($customPre)}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if !empty($customPost)}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if !empty($receipt_text)}\n <p>{$receipt_text|htmlize}</p>\n {/if}\n\n {if $is_pay_later}\n <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *}\n {/if}\n\n </td>\n </tr>\n </table>\n <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n\n {if $membership_assign && !$useForMember}\n <tr>\n <th {$headerStyle}>\n {ts}Membership Information{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Membership Type{/ts}\n </td>\n <td {$valueStyle}>\n {$membership_name}\n </td>\n </tr>\n {if $mem_start_date}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {$mem_start_date|crmDate}\n </td>\n </tr>\n {/if}\n {if $mem_end_date}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Expiration Date{/ts}\n </td>\n <td {$valueStyle}>\n {$mem_end_date|crmDate}\n </td>\n </tr>\n {/if}\n {/if}\n\n\n {if $amount}\n <tr>\n <th {$headerStyle}>\n {ts}Membership Fee{/ts}\n </th>\n </tr>\n\n {if !$useForMember and isset($membership_amount) and !empty($is_quick_config)}\n\n <tr>\n <td {$labelStyle}>\n {ts 1=$membership_name}%1 Membership{/ts}\n </td>\n <td {$valueStyle}>\n {$membership_amount|crmMoney}\n </td>\n </tr>\n {if $amount && !$is_separate_payment }\n <tr>\n <td {$labelStyle}>\n {ts}Contribution Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$amount|crmMoney}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Total{/ts}\n </td>\n <td {$valueStyle}>\n {$amount+$membership_amount|crmMoney}\n </td>\n </tr>\n {/if}\n\n {elseif empty($useForMember) && !empty($lineItem) and $priceSetID and empty($is_quick_config)}\n\n {foreach from=$lineItem item=value key=priceset}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n <th>{ts}Total{/ts}</th>\n </tr>\n {foreach from=$value item=line}\n <tr>\n <td>\n {$line.description|truncate:30:\"...\"}\n </td>\n <td>\n {$line.qty}\n </td>\n <td>\n {$line.unit_price|crmMoney}\n </td>\n <td>\n {$line.line_total|crmMoney}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n {/foreach}\n <tr>\n <td {$labelStyle}>\n {ts}Total Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$amount|crmMoney}\n </td>\n </tr>\n\n {else}\n {if $useForMember && $lineItem and empty($is_quick_config)}\n {foreach from=$lineItem item=value key=priceset}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Fee{/ts}</th>\n {if !empty($dataArray)}\n <th>{ts}SubTotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n <th>{ts}Total{/ts}</th>\n {/if}\n <th>{ts}Membership Start Date{/ts}</th>\n <th>{ts}Membership Expiration Date{/ts}</th>\n </tr>\n {foreach from=$value item=line}\n <tr>\n <td>\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n </td>\n <td>\n {$line.line_total|crmMoney}\n </td>\n {if !empty($dataArray)}\n <td>\n {$line.unit_price*$line.qty|crmMoney}\n </td>\n {if ($line.tax_rate || $line.tax_amount != \"\")}\n <td>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td>\n {$line.tax_amount|crmMoney}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney}\n </td>\n {/if}\n <td>\n {$line.start_date}\n </td>\n <td>\n {$line.end_date}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n {/foreach}\n {if !empty($dataArray)}\n <tr>\n <td {$labelStyle}>\n {ts}Amount Before Tax:{/ts}\n </td>\n <td {$valueStyle}>\n {$amount-$totalTaxAmount|crmMoney}\n </td>\n </tr>\n {foreach from=$dataArray item=value key=priceset}\n <tr>\n {if $priceset || $priceset == 0}\n <td> {$taxTerm} {$priceset|string_format:\"%.2f\"}%</td>\n <td> {$value|crmMoney:$currency}</td>\n {else}\n <td> {ts}NO{/ts} {$taxTerm}</td>\n <td> {$value|crmMoney:$currency}</td>\n {/if}\n </tr>\n {/foreach}\n {/if}\n {/if}\n {if $totalTaxAmount}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$totalTaxAmount|crmMoney:$currency}\n </td>\n </tr>\n {/if}\n <tr>\n <td {$labelStyle}>\n {ts}Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$amount|crmMoney} {if isset($amount_level)} - {$amount_level}{/if}\n </td>\n </tr>\n\n {/if}\n\n\n {elseif isset($membership_amount)}\n\n\n <tr>\n <th {$headerStyle}>\n {ts}Membership Fee{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts 1=$membership_name}%1 Membership{/ts}\n </td>\n <td {$valueStyle}>\n {$membership_amount|crmMoney}\n </td>\n </tr>\n\n\n {/if}\n\n {if !empty($receive_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Date{/ts}\n </td>\n <td {$valueStyle}>\n {$receive_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($is_monetary) and !empty($trxn_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($membership_trx_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$membership_trx_id}\n </td>\n </tr>\n {/if}\n {if !empty($is_recur)}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}This membership will be renewed automatically.{/ts}\n {if $cancelSubscriptionUrl}\n {ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href=\"%1\">visiting this web page</a>.{/ts}\n {/if}\n </td>\n </tr>\n {if $updateSubscriptionBillingUrl}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if $honor_block_is_active}\n <tr>\n <th {$headerStyle}>\n {$soft_credit_type}\n </th>\n </tr>\n {foreach from=$honoreeProfile item=value key=label}\n <tr>\n <td {$labelStyle}>\n {$label}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n {/if}\n\n {if !empty($pcpBlock)}\n <tr>\n <th {$headerStyle}>\n {ts}Personal Campaign Page{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Display In Honor Roll{/ts}\n </td>\n <td {$valueStyle}>\n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n </td>\n </tr>\n {if $pcp_roll_nickname}\n <tr>\n <td {$labelStyle}>\n {ts}Nickname{/ts}\n </td>\n <td {$valueStyle}>\n {$pcp_roll_nickname}\n </td>\n </tr>\n {/if}\n {if $pcp_personal_note}\n <tr>\n <td {$labelStyle}>\n {ts}Personal Note{/ts}\n </td>\n <td {$valueStyle}>\n {$pcp_personal_note}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if !empty($onBehalfProfile)}\n <tr>\n <th {$headerStyle}>\n {$onBehalfProfile_grouptitle}\n </th>\n </tr>\n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n <tr>\n <td {$labelStyle}>\n {$onBehalfName}\n </td>\n <td {$valueStyle}>\n {$onBehalfValue}\n </td>\n </tr>\n {/foreach}\n {/if}\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}<br />\n {$email}\n </td>\n </tr>\n {elseif !empty($email)}\n <tr>\n <th {$headerStyle}>\n {ts}Registered Email{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$email}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n </td>\n </tr>\n {/if}\n\n {if !empty($selectPremium)}\n <tr>\n <th {$headerStyle}>\n {ts}Premium Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {$product_name}\n </td>\n </tr>\n {if $option}\n <tr>\n <td {$labelStyle}>\n {ts}Option{/ts}\n </td>\n <td {$valueStyle}>\n {$option}\n </td>\n </tr>\n {/if}\n {if $sku}\n <tr>\n <td {$labelStyle}>\n {ts}SKU{/ts}\n </td>\n <td {$valueStyle}>\n {$sku}\n </td>\n </tr>\n {/if}\n {if $start_date}\n <tr>\n <td {$labelStyle}>\n {ts}Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {$start_date|crmDate}\n </td>\n </tr>\n {/if}\n {if $end_date}\n <tr>\n <td {$labelStyle}>\n {ts}End Date{/ts}\n </td>\n <td {$valueStyle}>\n {$end_date|crmDate}\n </td>\n </tr>\n {/if}\n {if !empty($contact_email) OR !empty($contact_phone)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <p>{ts}For information about this premium, contact:{/ts}</p>\n {if !empty($contact_email)}\n <p>{$contact_email}</p>\n {/if}\n {if !empty($contact_phone)}\n <p>{$contact_phone}</p>\n {/if}\n </td>\n </tr>\n {/if}\n {if $is_deductible AND !empty($price)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <p>{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}</p>\n </td>\n </tr>\n {/if}\n {/if}\n\n {if !empty($customPre)}\n <tr>\n <th {$headerStyle}>\n {$customPre_grouptitle}\n </th>\n </tr>\n {foreach from=$customPre item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$customValue}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($customPost)}\n <tr>\n <th {$headerStyle}>\n {$customPost_grouptitle}\n </th>\n </tr>\n {foreach from=$customPost item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$customValue}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n </table>\n\n</body>\n</html>\n',1,836,'membership_online_receipt',0,1,0,NULL), + (45,'Memberships - Signup and Renewal Receipts (off-line)','{if $receiptType EQ \'membership signup\'}\n{ts}Membership Confirmation and Receipt{/ts}\n{elseif $receiptType EQ \'membership renewal\'}\n{ts}Membership Renewal Confirmation and Receipt{/ts}\n{/if} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{if $receipt_text}\n{$receipt_text}\n{else}{ts}Thank you for this contribution.{/ts}{/if}\n\n{if !$isShowLineItems}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {membership.membership_type_id:name}\n{/if}\n{if \'{membership.status_id:name}\' !== \'Cancelled\'}\n{if !$isShowLineItems}\n{ts}Membership Start Date{/ts}: {membership.start_date|crmDate:\"Full\"}\n{ts}Membership Expiration Date{/ts}: {membership.end_date|crmDate:\"Full\"}\n{/if}\n\n{if {contribution.total_amount|boolean}}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if {contribution.financial_type_id|boolean}}\n{ts}Financial Type{/ts}: {contribution.financial_type_id:label}\n{/if}\n{if $isShowLineItems}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if $isShowTax && \'{contribution.tax_amount|boolean}\'}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership Expiration Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$lineItems item=line}\n{line.title} {$line.line_total|crmMoney|string_format:\"%10s\"} {if $isShowTax && {contribution.tax_amount|boolean}} {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.membership.start_date|string_format:\"%20s\"} {$line.membership.end_date|string_format:\"%20s\"}\n{/foreach}\n\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{ts}Amount before Tax:{/ts} {contribution.tax_exclusive_amount}\n\n{foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else} {$taxTerm} {$taxDetail.percentage}%{/if}: {$taxDetail.amount|crmMoney:\'{contribution.currency}\'}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if {contribution.tax_amount|boolean}}\n{ts}Total Tax Amount{/ts}: {contribution.tax_amount}\n{/if}\n\n{ts}Amount{/ts}: {contribution.total_amount}\n{if {contribution.receive_date|boolean}}\n{ts}Contribution Date{/ts}: {contribution.receive_date}\n{/if}\n{if {contribution.payment_instrument_id|boolean}}\n{ts}Paid By{/ts}: {contribution.payment_instrument_id:label}\n{if {contribution.check_number|boolean}}\n{ts}Check Number{/ts}: {contribution.check_number|boolean}\n{/if}\n{/if}\n{/if}\n{/if}\n\n{if !empty($isPrimary) }\n{if !empty($billingName)}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n\n{if !empty($customValues)}\n===========================================================\n{ts}Membership Options{/ts}\n\n===========================================================\n{foreach from=$customValues item=value key=customName}\n {$customName} : {$value}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-membership_receipt\"\n style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if $receipt_text}\n <p>{$receipt_text|htmlize}</p>\n {else}\n <p>{ts}Thank you for this contribution.{/ts}</p>\n {/if}\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n {if !$isShowLineItems}\n <tr>\n <th {$headerStyle}>\n {ts}Membership Information{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Membership Type{/ts}\n </td>\n <td {$valueStyle}>\n {membership.membership_type_id:name}\n </td>\n </tr>\n {/if}\n {if \'{membership.status_id:name}\' !== \'Cancelled\'}\n {if !$isShowLineItems}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {membership.start_date|crmDate:\"Full\"}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Membership Expiration Date{/ts}\n </td>\n <td {$valueStyle}>\n {membership.end_date|crmDate:\"Full\"}\n </td>\n </tr>\n {/if}\n {if {contribution.total_amount|boolean}}\n <tr>\n <th {$headerStyle}>\n {ts}Membership Fee{/ts}\n </th>\n </tr>\n {if {contribution.financial_type_id|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Financial Type{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.financial_type_id:label}\n </td>\n </tr>\n {/if}\n\n {if $isShowLineItems}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Fee{/ts}</th>\n {if $isShowTax && {contribution.tax_amount|boolean}}\n <th>{ts}SubTotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n <th>{ts}Total{/ts}</th>\n {/if}\n <th>{ts}Membership Start Date{/ts}</th>\n <th>{ts}Membership Expiration Date{/ts}</th>\n </tr>\n {foreach from=$lineItems item=line}\n <tr>\n <td>{$line.title}</td>\n <td>\n {$line.line_total|crmMoney}\n </td>\n {if $isShowTax && {contribution.tax_amount|boolean}}\n <td>\n {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'}\n </td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td>\n {$line.tax_amount|crmMoney:\'{contribution.currency}\'}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney:\'{contribution.currency}\'}\n </td>\n {/if}\n <td>\n {$line.membership.start_date|crmDate:\"Full\"}\n </td>\n <td>\n {$line.membership.end_date|crmDate:\"Full\"}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n\n {if $isShowTax && {contribution.tax_amount|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Amount Before Tax:{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_exclusive_amount}\n </td>\n </tr>\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n <tr>\n <td {$labelStyle}>{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else} {$taxTerm} {$taxDetail.percentage}%{/if}</td>\n <td {$valueStyle}>{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}</td>\n </tr>\n {/foreach}\n {/if}\n {/if}\n {if {contribution.tax_amount|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_amount}\n </td>\n </tr>\n {/if}\n <tr>\n <td {$labelStyle}>\n {ts}Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.total_amount}\n </td>\n </tr>\n {if {contribution.receive_date|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Contribution Date{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.receive_date}\n </td>\n </tr>\n {/if}\n {if {contribution.payment_instrument_id|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Paid By{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.payment_instrument_id:label}\n </td>\n </tr>\n {if {contribution.check_number|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Check Number{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.check_number}\n </td>\n </tr>\n {/if}\n {/if}\n {/if}\n {/if}\n </table>\n </td>\n </tr>\n\n {if !empty($isPrimary)}\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {$billingName}<br/>\n {$address}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td {$valueStyle}>\n {$credit_card_type}<br/>\n {$credit_card_number}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Expires{/ts}\n </td>\n <td {$valueStyle}>\n {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n\n </table>\n </td>\n </tr>\n {/if}\n\n {if !empty($customValues)}\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Membership Options{/ts}\n </th>\n </tr>\n {foreach from=$customValues item=value key=customName}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n {/if}\n\n </table>\n\n</body>\n</html>\n',1,835,'membership_offline_receipt',1,0,0,NULL), + (46,'Memberships - Signup and Renewal Receipts (off-line)','{if $receiptType EQ \'membership signup\'}\n{ts}Membership Confirmation and Receipt{/ts}\n{elseif $receiptType EQ \'membership renewal\'}\n{ts}Membership Renewal Confirmation and Receipt{/ts}\n{/if} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{if $receipt_text}\n{$receipt_text}\n{else}{ts}Thank you for this contribution.{/ts}{/if}\n\n{if !$isShowLineItems}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {membership.membership_type_id:name}\n{/if}\n{if \'{membership.status_id:name}\' !== \'Cancelled\'}\n{if !$isShowLineItems}\n{ts}Membership Start Date{/ts}: {membership.start_date|crmDate:\"Full\"}\n{ts}Membership Expiration Date{/ts}: {membership.end_date|crmDate:\"Full\"}\n{/if}\n\n{if {contribution.total_amount|boolean}}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if {contribution.financial_type_id|boolean}}\n{ts}Financial Type{/ts}: {contribution.financial_type_id:label}\n{/if}\n{if $isShowLineItems}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if $isShowTax && \'{contribution.tax_amount|boolean}\'}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership Expiration Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$lineItems item=line}\n{line.title} {$line.line_total|crmMoney|string_format:\"%10s\"} {if $isShowTax && {contribution.tax_amount|boolean}} {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:\'{contribution.currency}\'|string_format:\"%10s\"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.membership.start_date|string_format:\"%20s\"} {$line.membership.end_date|string_format:\"%20s\"}\n{/foreach}\n\n{if $isShowTax && {contribution.tax_amount|boolean}}\n{ts}Amount before Tax:{/ts} {contribution.tax_exclusive_amount}\n\n{foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else} {$taxTerm} {$taxDetail.percentage}%{/if}: {$taxDetail.amount|crmMoney:\'{contribution.currency}\'}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if {contribution.tax_amount|boolean}}\n{ts}Total Tax Amount{/ts}: {contribution.tax_amount}\n{/if}\n\n{ts}Amount{/ts}: {contribution.total_amount}\n{if {contribution.receive_date|boolean}}\n{ts}Contribution Date{/ts}: {contribution.receive_date}\n{/if}\n{if {contribution.payment_instrument_id|boolean}}\n{ts}Paid By{/ts}: {contribution.payment_instrument_id:label}\n{if {contribution.check_number|boolean}}\n{ts}Check Number{/ts}: {contribution.check_number|boolean}\n{/if}\n{/if}\n{/if}\n{/if}\n\n{if !empty($isPrimary) }\n{if !empty($billingName)}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n{/if}\n\n{if !empty($credit_card_type)}\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n{/if}\n\n{if !empty($customValues)}\n===========================================================\n{ts}Membership Options{/ts}\n\n===========================================================\n{foreach from=$customValues item=value key=customName}\n {$customName} : {$value}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"\n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"/>\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-membership_receipt\"\n style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if $receipt_text}\n <p>{$receipt_text|htmlize}</p>\n {else}\n <p>{ts}Thank you for this contribution.{/ts}</p>\n {/if}\n </td>\n </tr>\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n {if !$isShowLineItems}\n <tr>\n <th {$headerStyle}>\n {ts}Membership Information{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Membership Type{/ts}\n </td>\n <td {$valueStyle}>\n {membership.membership_type_id:name}\n </td>\n </tr>\n {/if}\n {if \'{membership.status_id:name}\' !== \'Cancelled\'}\n {if !$isShowLineItems}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {membership.start_date|crmDate:\"Full\"}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Membership Expiration Date{/ts}\n </td>\n <td {$valueStyle}>\n {membership.end_date|crmDate:\"Full\"}\n </td>\n </tr>\n {/if}\n {if {contribution.total_amount|boolean}}\n <tr>\n <th {$headerStyle}>\n {ts}Membership Fee{/ts}\n </th>\n </tr>\n {if {contribution.financial_type_id|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Financial Type{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.financial_type_id:label}\n </td>\n </tr>\n {/if}\n\n {if $isShowLineItems}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Fee{/ts}</th>\n {if $isShowTax && {contribution.tax_amount|boolean}}\n <th>{ts}SubTotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n <th>{ts}Total{/ts}</th>\n {/if}\n <th>{ts}Membership Start Date{/ts}</th>\n <th>{ts}Membership Expiration Date{/ts}</th>\n </tr>\n {foreach from=$lineItems item=line}\n <tr>\n <td>{$line.title}</td>\n <td>\n {$line.line_total|crmMoney}\n </td>\n {if $isShowTax && {contribution.tax_amount|boolean}}\n <td>\n {$line.unit_price*$line.qty|crmMoney:\'{contribution.currency}\'}\n </td>\n {if $line.tax_rate || $line.tax_amount != \"\"}\n <td>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td>\n {$line.tax_amount|crmMoney:\'{contribution.currency}\'}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney:\'{contribution.currency}\'}\n </td>\n {/if}\n <td>\n {$line.membership.start_date|crmDate:\"Full\"}\n </td>\n <td>\n {$line.membership.end_date|crmDate:\"Full\"}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n\n {if $isShowTax && {contribution.tax_amount|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Amount Before Tax:{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_exclusive_amount}\n </td>\n </tr>\n {foreach from=$taxRateBreakdown item=taxDetail key=taxRate}\n <tr>\n <td {$labelStyle}>{if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else} {$taxTerm} {$taxDetail.percentage}%{/if}</td>\n <td {$valueStyle}>{$taxDetail.amount|crmMoney:\'{contribution.currency}\'}</td>\n </tr>\n {/foreach}\n {/if}\n {/if}\n {if {contribution.tax_amount|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.tax_amount}\n </td>\n </tr>\n {/if}\n <tr>\n <td {$labelStyle}>\n {ts}Amount{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.total_amount}\n </td>\n </tr>\n {if {contribution.receive_date|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Contribution Date{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.receive_date}\n </td>\n </tr>\n {/if}\n {if {contribution.payment_instrument_id|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Paid By{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.payment_instrument_id:label}\n </td>\n </tr>\n {if {contribution.check_number|boolean}}\n <tr>\n <td {$labelStyle}>\n {ts}Check Number{/ts}\n </td>\n <td {$valueStyle}>\n {contribution.check_number}\n </td>\n </tr>\n {/if}\n {/if}\n {/if}\n {/if}\n </table>\n </td>\n </tr>\n\n {if !empty($isPrimary)}\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {$billingName}<br/>\n {$address}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td {$valueStyle}>\n {$credit_card_type}<br/>\n {$credit_card_number}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Expires{/ts}\n </td>\n <td {$valueStyle}>\n {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n </td>\n </tr>\n {/if}\n\n </table>\n </td>\n </tr>\n {/if}\n\n {if !empty($customValues)}\n <tr>\n <td>\n <table style=\"border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse; width:100%;\">\n <tr>\n <th {$headerStyle}>\n {ts}Membership Options{/ts}\n </th>\n </tr>\n {foreach from=$customValues item=value key=customName}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n {/if}\n\n </table>\n\n</body>\n</html>\n',1,835,'membership_offline_receipt',0,1,0,NULL), + (47,'Memberships - Receipt (on-line)','{if \'{contribution.contribution_status_id:name}\' === \'Pending\'}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($receipt_text)}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{/if}\n\n{if $membership_assign && !$useForMember}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership Expiration Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\n{/if}\n{if $amount}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if !$useForMember && isset($membership_amount) && !empty($is_quick_config)}\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{if $amount && !$is_separate_payment }\n{ts}Contribution Amount{/ts}: {$amount|crmMoney}\n-------------------------------------------\n{ts}Total{/ts}: {$amount+$membership_amount|crmMoney}\n{/if}\n{elseif !$useForMember && !empty($lineItem) and !empty($priceSetID) & empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{$line.description|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney}\n{else}\n{if $useForMember && $lineItem && empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership Expiration Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.line_total|crmMoney|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if !empty($dataArray)}\n{ts}Amount before Tax:{/ts} {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$amount|crmMoney} {if isset($amount_level) } - {$amount_level} {/if}\n{/if}\n{elseif isset($membership_amount)}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{/if}\n\n{if !empty($receive_date)}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($is_monetary) and !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n\n{/if}\n{if !empty($membership_trx_id)}\n{ts}Membership Transaction #{/ts}: {$membership_trx_id}\n\n{/if}\n{if !empty($is_recur)}\n{ts}This membership will be renewed automatically.{/ts}\n{if $cancelSubscriptionUrl}\n\n{ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by visiting this web page: %1.{/ts}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n{/if}\n{/if}\n\n{if $honor_block_is_active }\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n\n{/if}\n{if !empty($pcpBlock)}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if !empty($onBehalfProfile)}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !empty($billingName)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{elseif !empty($email)}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{/if} {* End billingName or email *}\n{if !empty($credit_card_type)}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if !empty($selectPremium)}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if !empty($contact_email) OR !empty($contact_phone)}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if !empty($contact_email)}\n {$contact_email}\n{/if}\n{if !empty($contact_phone)}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND !empty($price)}\n\n{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if !empty($customPre)}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if !empty($customPost)}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if !empty($receipt_text)}\n <p>{$receipt_text|htmlize}</p>\n {/if}\n\n {if $is_pay_later}\n <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *}\n {/if}\n\n </td>\n </tr>\n </table>\n <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n\n {if $membership_assign && !$useForMember}\n <tr>\n <th {$headerStyle}>\n {ts}Membership Information{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Membership Type{/ts}\n </td>\n <td {$valueStyle}>\n {$membership_name}\n </td>\n </tr>\n {if $mem_start_date}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {$mem_start_date|crmDate}\n </td>\n </tr>\n {/if}\n {if $mem_end_date}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Expiration Date{/ts}\n </td>\n <td {$valueStyle}>\n {$mem_end_date|crmDate}\n </td>\n </tr>\n {/if}\n {/if}\n\n\n {if $amount}\n <tr>\n <th {$headerStyle}>\n {ts}Membership Fee{/ts}\n </th>\n </tr>\n\n {if !$useForMember and isset($membership_amount) and !empty($is_quick_config)}\n\n <tr>\n <td {$labelStyle}>\n {ts 1=$membership_name}%1 Membership{/ts}\n </td>\n <td {$valueStyle}>\n {$membership_amount|crmMoney}\n </td>\n </tr>\n {if $amount && !$is_separate_payment }\n <tr>\n <td {$labelStyle}>\n {ts}Contribution Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$amount|crmMoney}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Total{/ts}\n </td>\n <td {$valueStyle}>\n {$amount+$membership_amount|crmMoney}\n </td>\n </tr>\n {/if}\n\n {elseif empty($useForMember) && !empty($lineItem) and $priceSetID and empty($is_quick_config)}\n\n {foreach from=$lineItem item=value key=priceset}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n <th>{ts}Total{/ts}</th>\n </tr>\n {foreach from=$value item=line}\n <tr>\n <td>\n {$line.description|truncate:30:\"...\"}\n </td>\n <td>\n {$line.qty}\n </td>\n <td>\n {$line.unit_price|crmMoney}\n </td>\n <td>\n {$line.line_total|crmMoney}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n {/foreach}\n <tr>\n <td {$labelStyle}>\n {ts}Total Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$amount|crmMoney}\n </td>\n </tr>\n\n {else}\n {if $useForMember && $lineItem and empty($is_quick_config)}\n {foreach from=$lineItem item=value key=priceset}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Fee{/ts}</th>\n {if !empty($dataArray)}\n <th>{ts}SubTotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n <th>{ts}Total{/ts}</th>\n {/if}\n <th>{ts}Membership Start Date{/ts}</th>\n <th>{ts}Membership Expiration Date{/ts}</th>\n </tr>\n {foreach from=$value item=line}\n <tr>\n <td>\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n </td>\n <td>\n {$line.line_total|crmMoney}\n </td>\n {if !empty($dataArray)}\n <td>\n {$line.unit_price*$line.qty|crmMoney}\n </td>\n {if ($line.tax_rate || $line.tax_amount != \"\")}\n <td>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td>\n {$line.tax_amount|crmMoney}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney}\n </td>\n {/if}\n <td>\n {$line.start_date}\n </td>\n <td>\n {$line.end_date}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n {/foreach}\n {if !empty($dataArray)}\n <tr>\n <td {$labelStyle}>\n {ts}Amount Before Tax:{/ts}\n </td>\n <td {$valueStyle}>\n {$amount-$totalTaxAmount|crmMoney}\n </td>\n </tr>\n {foreach from=$dataArray item=value key=priceset}\n <tr>\n {if $priceset || $priceset == 0}\n <td> {$taxTerm} {$priceset|string_format:\"%.2f\"}%</td>\n <td> {$value|crmMoney:$currency}</td>\n {else}\n <td> {ts}NO{/ts} {$taxTerm}</td>\n <td> {$value|crmMoney:$currency}</td>\n {/if}\n </tr>\n {/foreach}\n {/if}\n {/if}\n {if $totalTaxAmount}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$totalTaxAmount|crmMoney:$currency}\n </td>\n </tr>\n {/if}\n <tr>\n <td {$labelStyle}>\n {ts}Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$amount|crmMoney} {if isset($amount_level)} - {$amount_level}{/if}\n </td>\n </tr>\n\n {/if}\n\n\n {elseif isset($membership_amount)}\n\n\n <tr>\n <th {$headerStyle}>\n {ts}Membership Fee{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts 1=$membership_name}%1 Membership{/ts}\n </td>\n <td {$valueStyle}>\n {$membership_amount|crmMoney}\n </td>\n </tr>\n\n\n {/if}\n\n {if !empty($receive_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Date{/ts}\n </td>\n <td {$valueStyle}>\n {$receive_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($is_monetary) and !empty($trxn_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($membership_trx_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$membership_trx_id}\n </td>\n </tr>\n {/if}\n {if !empty($is_recur)}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}This membership will be renewed automatically.{/ts}\n {if $cancelSubscriptionUrl}\n {ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href=\"%1\">visiting this web page</a>.{/ts}\n {/if}\n </td>\n </tr>\n {if $updateSubscriptionBillingUrl}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if $honor_block_is_active}\n <tr>\n <th {$headerStyle}>\n {$soft_credit_type}\n </th>\n </tr>\n {foreach from=$honoreeProfile item=value key=label}\n <tr>\n <td {$labelStyle}>\n {$label}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n {/if}\n\n {if !empty($pcpBlock)}\n <tr>\n <th {$headerStyle}>\n {ts}Personal Campaign Page{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Display In Honor Roll{/ts}\n </td>\n <td {$valueStyle}>\n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n </td>\n </tr>\n {if $pcp_roll_nickname}\n <tr>\n <td {$labelStyle}>\n {ts}Nickname{/ts}\n </td>\n <td {$valueStyle}>\n {$pcp_roll_nickname}\n </td>\n </tr>\n {/if}\n {if $pcp_personal_note}\n <tr>\n <td {$labelStyle}>\n {ts}Personal Note{/ts}\n </td>\n <td {$valueStyle}>\n {$pcp_personal_note}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if !empty($onBehalfProfile)}\n <tr>\n <th {$headerStyle}>\n {$onBehalfProfile_grouptitle}\n </th>\n </tr>\n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n <tr>\n <td {$labelStyle}>\n {$onBehalfName}\n </td>\n <td {$valueStyle}>\n {$onBehalfValue}\n </td>\n </tr>\n {/foreach}\n {/if}\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}<br />\n {$email}\n </td>\n </tr>\n {elseif !empty($email)}\n <tr>\n <th {$headerStyle}>\n {ts}Registered Email{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$email}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n </td>\n </tr>\n {/if}\n\n {if !empty($selectPremium)}\n <tr>\n <th {$headerStyle}>\n {ts}Premium Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {$product_name}\n </td>\n </tr>\n {if $option}\n <tr>\n <td {$labelStyle}>\n {ts}Option{/ts}\n </td>\n <td {$valueStyle}>\n {$option}\n </td>\n </tr>\n {/if}\n {if $sku}\n <tr>\n <td {$labelStyle}>\n {ts}SKU{/ts}\n </td>\n <td {$valueStyle}>\n {$sku}\n </td>\n </tr>\n {/if}\n {if $start_date}\n <tr>\n <td {$labelStyle}>\n {ts}Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {$start_date|crmDate}\n </td>\n </tr>\n {/if}\n {if $end_date}\n <tr>\n <td {$labelStyle}>\n {ts}End Date{/ts}\n </td>\n <td {$valueStyle}>\n {$end_date|crmDate}\n </td>\n </tr>\n {/if}\n {if !empty($contact_email) OR !empty($contact_phone)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <p>{ts}For information about this premium, contact:{/ts}</p>\n {if !empty($contact_email)}\n <p>{$contact_email}</p>\n {/if}\n {if !empty($contact_phone)}\n <p>{$contact_phone}</p>\n {/if}\n </td>\n </tr>\n {/if}\n {if $is_deductible AND !empty($price)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <p>{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}</p>\n </td>\n </tr>\n {/if}\n {/if}\n\n {if !empty($customPre)}\n <tr>\n <th {$headerStyle}>\n {$customPre_grouptitle}\n </th>\n </tr>\n {foreach from=$customPre item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$customValue}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($customPost)}\n <tr>\n <th {$headerStyle}>\n {$customPost_grouptitle}\n </th>\n </tr>\n {foreach from=$customPost item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$customValue}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n </table>\n\n</body>\n</html>\n',1,836,'membership_online_receipt',1,0,0,NULL), + (48,'Memberships - Receipt (on-line)','{if \'{contribution.contribution_status_id:name}\' === \'Pending\'}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n{if !empty($receipt_text)}\n{$receipt_text}\n{/if}\n{if $is_pay_later}\n\n===========================================================\n{$pay_later_receipt}\n===========================================================\n{/if}\n\n{if $membership_assign && !$useForMember}\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Type{/ts}: {$membership_name}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership Expiration Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\n{/if}\n{if $amount}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{if !$useForMember && isset($membership_amount) && !empty($is_quick_config)}\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{if $amount && !$is_separate_payment }\n{ts}Contribution Amount{/ts}: {$amount|crmMoney}\n-------------------------------------------\n{ts}Total{/ts}: {$amount+$membership_amount|crmMoney}\n{/if}\n{elseif !$useForMember && !empty($lineItem) and !empty($priceSetID) & empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n---------------------------------------------------------\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_qty}{ts}Qty{/ts}{/capture}\n{capture assign=ts_each}{ts}Each{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_qty|string_format:\"%5s\"} {$ts_each|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"}\n----------------------------------------------------------\n{foreach from=$value item=line}\n{$line.description|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.qty|string_format:\"%5s\"} {$line.unit_price|crmMoney|string_format:\"%10s\"} {$line.line_total|crmMoney|string_format:\"%10s\"}\n{/foreach}\n{/foreach}\n\n{ts}Total Amount{/ts}: {$amount|crmMoney}\n{else}\n{if $useForMember && $lineItem && empty($is_quick_config)}\n{foreach from=$lineItem item=value key=priceset}\n{capture assign=ts_item}{ts}Item{/ts}{/capture}\n{capture assign=ts_total}{ts}Fee{/ts}{/capture}\n{if !empty($dataArray)}\n{capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture}\n{capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture}\n{capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture}\n{capture assign=ts_total}{ts}Total{/ts}{/capture}\n{/if}\n{capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture}\n{capture assign=ts_end_date}{ts}Membership Expiration Date{/ts}{/capture}\n{$ts_item|string_format:\"%-30s\"} {$ts_total|string_format:\"%10s\"} {if !empty($dataArray)} {$ts_subtotal|string_format:\"%10s\"} {$ts_taxRate|string_format:\"%10s\"} {$ts_taxAmount|string_format:\"%10s\"} {$ts_total|string_format:\"%10s\"} {/if} {$ts_start_date|string_format:\"%20s\"} {$ts_end_date|string_format:\"%20s\"}\n--------------------------------------------------------------------------------------------------\n\n{foreach from=$value item=line}\n{capture assign=ts_item}{if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:\"...\"|string_format:\"%-30s\"} {$line.line_total|crmMoney|string_format:\"%10s\"} {if !empty($dataArray)} {$line.unit_price*$line.qty|crmMoney:$currency|string_format:\"%10s\"} {if $line.tax_rate || $line.tax_amount != \"\"} {$line.tax_rate|string_format:\"%.2f\"} % {$line.tax_amount|crmMoney:$currency|string_format:\"%10s\"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:\"%10s\"} {/if} {$line.start_date|string_format:\"%20s\"} {$line.end_date|string_format:\"%20s\"}\n{/foreach}\n{/foreach}\n\n{if !empty($dataArray)}\n{ts}Amount before Tax:{/ts} {$amount-$totalTaxAmount|crmMoney:$currency}\n\n{foreach from=$dataArray item=value key=priceset}\n{if $priceset || $priceset == 0}\n{$taxTerm} {$priceset|string_format:\"%.2f\"}%: {$value|crmMoney:$currency}\n{else}\n{ts}No{/ts} {$taxTerm}: {$value|crmMoney:$currency}\n{/if}\n{/foreach}\n{/if}\n--------------------------------------------------------------------------------------------------\n{/if}\n\n{if $totalTaxAmount}\n{ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency}\n{/if}\n\n{ts}Amount{/ts}: {$amount|crmMoney} {if isset($amount_level) } - {$amount_level} {/if}\n{/if}\n{elseif isset($membership_amount)}\n===========================================================\n{ts}Membership Fee{/ts}\n\n===========================================================\n{ts 1=$membership_name}%1 Membership{/ts}: {$membership_amount|crmMoney}\n{/if}\n\n{if !empty($receive_date)}\n\n{ts}Date{/ts}: {$receive_date|crmDate}\n{/if}\n{if !empty($is_monetary) and !empty($trxn_id)}\n{ts}Transaction #{/ts}: {$trxn_id}\n\n{/if}\n{if !empty($membership_trx_id)}\n{ts}Membership Transaction #{/ts}: {$membership_trx_id}\n\n{/if}\n{if !empty($is_recur)}\n{ts}This membership will be renewed automatically.{/ts}\n{if $cancelSubscriptionUrl}\n\n{ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by visiting this web page: %1.{/ts}\n\n{/if}\n\n{if $updateSubscriptionBillingUrl}\n\n{ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n{/if}\n{/if}\n\n{if $honor_block_is_active }\n===========================================================\n{$soft_credit_type}\n===========================================================\n{foreach from=$honoreeProfile item=value key=label}\n{$label}: {$value}\n{/foreach}\n\n{/if}\n{if !empty($pcpBlock)}\n===========================================================\n{ts}Personal Campaign Page{/ts}\n\n===========================================================\n{ts}Display In Honor Roll{/ts}: {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n\n{if $pcp_roll_nickname}{ts}Nickname{/ts}: {$pcp_roll_nickname}{/if}\n\n{if $pcp_personal_note}{ts}Personal Note{/ts}: {$pcp_personal_note}{/if}\n\n{/if}\n{if !empty($onBehalfProfile)}\n===========================================================\n{ts}On Behalf Of{/ts}\n\n===========================================================\n{foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n{$onBehalfName}: {$onBehalfValue}\n{/foreach}\n{/if}\n\n{if !empty($billingName)}\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n{elseif !empty($email)}\n===========================================================\n{ts}Registered Email{/ts}\n\n===========================================================\n{$email}\n{/if} {* End billingName or email *}\n{if !empty($credit_card_type)}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n{/if}\n\n{if !empty($selectPremium)}\n===========================================================\n{ts}Premium Information{/ts}\n\n===========================================================\n{$product_name}\n{if $option}\n{ts}Option{/ts}: {$option}\n{/if}\n{if $sku}\n{ts}SKU{/ts}: {$sku}\n{/if}\n{if $start_date}\n{ts}Start Date{/ts}: {$start_date|crmDate}\n{/if}\n{if $end_date}\n{ts}End Date{/ts}: {$end_date|crmDate}\n{/if}\n{if !empty($contact_email) OR !empty($contact_phone)}\n\n{ts}For information about this premium, contact:{/ts}\n\n{if !empty($contact_email)}\n {$contact_email}\n{/if}\n{if !empty($contact_phone)}\n {$contact_phone}\n{/if}\n{/if}\n{if $is_deductible AND !empty($price)}\n\n{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}{/if}\n{/if}\n\n{if !empty($customPre)}\n===========================================================\n{$customPre_grouptitle}\n\n===========================================================\n{foreach from=$customPre item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n\n\n{if !empty($customPost)}\n===========================================================\n{$customPost_grouptitle}\n\n===========================================================\n{foreach from=$customPost item=customValue key=customName}\n{if ( !empty($trackingFields) and ! in_array( $customName, $trackingFields ) ) or empty($trackingFields)}\n {$customName}: {$customValue}\n{/if}\n{/foreach}\n{/if}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n {if !empty($receipt_text)}\n <p>{$receipt_text|htmlize}</p>\n {/if}\n\n {if $is_pay_later}\n <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *}\n {/if}\n\n </td>\n </tr>\n </table>\n <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n\n {if $membership_assign && !$useForMember}\n <tr>\n <th {$headerStyle}>\n {ts}Membership Information{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Membership Type{/ts}\n </td>\n <td {$valueStyle}>\n {$membership_name}\n </td>\n </tr>\n {if $mem_start_date}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {$mem_start_date|crmDate}\n </td>\n </tr>\n {/if}\n {if $mem_end_date}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Expiration Date{/ts}\n </td>\n <td {$valueStyle}>\n {$mem_end_date|crmDate}\n </td>\n </tr>\n {/if}\n {/if}\n\n\n {if $amount}\n <tr>\n <th {$headerStyle}>\n {ts}Membership Fee{/ts}\n </th>\n </tr>\n\n {if !$useForMember and isset($membership_amount) and !empty($is_quick_config)}\n\n <tr>\n <td {$labelStyle}>\n {ts 1=$membership_name}%1 Membership{/ts}\n </td>\n <td {$valueStyle}>\n {$membership_amount|crmMoney}\n </td>\n </tr>\n {if $amount && !$is_separate_payment }\n <tr>\n <td {$labelStyle}>\n {ts}Contribution Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$amount|crmMoney}\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Total{/ts}\n </td>\n <td {$valueStyle}>\n {$amount+$membership_amount|crmMoney}\n </td>\n </tr>\n {/if}\n\n {elseif empty($useForMember) && !empty($lineItem) and $priceSetID and empty($is_quick_config)}\n\n {foreach from=$lineItem item=value key=priceset}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Qty{/ts}</th>\n <th>{ts}Each{/ts}</th>\n <th>{ts}Total{/ts}</th>\n </tr>\n {foreach from=$value item=line}\n <tr>\n <td>\n {$line.description|truncate:30:\"...\"}\n </td>\n <td>\n {$line.qty}\n </td>\n <td>\n {$line.unit_price|crmMoney}\n </td>\n <td>\n {$line.line_total|crmMoney}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n {/foreach}\n <tr>\n <td {$labelStyle}>\n {ts}Total Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$amount|crmMoney}\n </td>\n </tr>\n\n {else}\n {if $useForMember && $lineItem and empty($is_quick_config)}\n {foreach from=$lineItem item=value key=priceset}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <table>\n <tr>\n <th>{ts}Item{/ts}</th>\n <th>{ts}Fee{/ts}</th>\n {if !empty($dataArray)}\n <th>{ts}SubTotal{/ts}</th>\n <th>{ts}Tax Rate{/ts}</th>\n <th>{ts}Tax Amount{/ts}</th>\n <th>{ts}Total{/ts}</th>\n {/if}\n <th>{ts}Membership Start Date{/ts}</th>\n <th>{ts}Membership Expiration Date{/ts}</th>\n </tr>\n {foreach from=$value item=line}\n <tr>\n <td>\n {if $line.html_type eq \'Text\'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description}<div>{$line.description|truncate:30:\"...\"}</div>{/if}\n </td>\n <td>\n {$line.line_total|crmMoney}\n </td>\n {if !empty($dataArray)}\n <td>\n {$line.unit_price*$line.qty|crmMoney}\n </td>\n {if ($line.tax_rate || $line.tax_amount != \"\")}\n <td>\n {$line.tax_rate|string_format:\"%.2f\"}%\n </td>\n <td>\n {$line.tax_amount|crmMoney}\n </td>\n {else}\n <td></td>\n <td></td>\n {/if}\n <td>\n {$line.line_total+$line.tax_amount|crmMoney}\n </td>\n {/if}\n <td>\n {$line.start_date}\n </td>\n <td>\n {$line.end_date}\n </td>\n </tr>\n {/foreach}\n </table>\n </td>\n </tr>\n {/foreach}\n {if !empty($dataArray)}\n <tr>\n <td {$labelStyle}>\n {ts}Amount Before Tax:{/ts}\n </td>\n <td {$valueStyle}>\n {$amount-$totalTaxAmount|crmMoney}\n </td>\n </tr>\n {foreach from=$dataArray item=value key=priceset}\n <tr>\n {if $priceset || $priceset == 0}\n <td> {$taxTerm} {$priceset|string_format:\"%.2f\"}%</td>\n <td> {$value|crmMoney:$currency}</td>\n {else}\n <td> {ts}NO{/ts} {$taxTerm}</td>\n <td> {$value|crmMoney:$currency}</td>\n {/if}\n </tr>\n {/foreach}\n {/if}\n {/if}\n {if $totalTaxAmount}\n <tr>\n <td {$labelStyle}>\n {ts}Total Tax Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$totalTaxAmount|crmMoney:$currency}\n </td>\n </tr>\n {/if}\n <tr>\n <td {$labelStyle}>\n {ts}Amount{/ts}\n </td>\n <td {$valueStyle}>\n {$amount|crmMoney} {if isset($amount_level)} - {$amount_level}{/if}\n </td>\n </tr>\n\n {/if}\n\n\n {elseif isset($membership_amount)}\n\n\n <tr>\n <th {$headerStyle}>\n {ts}Membership Fee{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts 1=$membership_name}%1 Membership{/ts}\n </td>\n <td {$valueStyle}>\n {$membership_amount|crmMoney}\n </td>\n </tr>\n\n\n {/if}\n\n {if !empty($receive_date)}\n <tr>\n <td {$labelStyle}>\n {ts}Date{/ts}\n </td>\n <td {$valueStyle}>\n {$receive_date|crmDate}\n </td>\n </tr>\n {/if}\n\n {if !empty($is_monetary) and !empty($trxn_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$trxn_id}\n </td>\n </tr>\n {/if}\n\n {if !empty($membership_trx_id)}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Transaction #{/ts}\n </td>\n <td {$valueStyle}>\n {$membership_trx_id}\n </td>\n </tr>\n {/if}\n {if !empty($is_recur)}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts}This membership will be renewed automatically.{/ts}\n {if $cancelSubscriptionUrl}\n {ts 1=$cancelSubscriptionUrl}You can cancel the auto-renewal option by <a href=\"%1\">visiting this web page</a>.{/ts}\n {/if}\n </td>\n </tr>\n {if $updateSubscriptionBillingUrl}\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {ts 1=$updateSubscriptionBillingUrl}You can update billing details for this automatically renewed membership by <a href=\"%1\">visiting this web page</a>.{/ts}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if $honor_block_is_active}\n <tr>\n <th {$headerStyle}>\n {$soft_credit_type}\n </th>\n </tr>\n {foreach from=$honoreeProfile item=value key=label}\n <tr>\n <td {$labelStyle}>\n {$label}\n </td>\n <td {$valueStyle}>\n {$value}\n </td>\n </tr>\n {/foreach}\n {/if}\n\n {if !empty($pcpBlock)}\n <tr>\n <th {$headerStyle}>\n {ts}Personal Campaign Page{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Display In Honor Roll{/ts}\n </td>\n <td {$valueStyle}>\n {if $pcp_display_in_roll}{ts}Yes{/ts}{else}{ts}No{/ts}{/if}\n </td>\n </tr>\n {if $pcp_roll_nickname}\n <tr>\n <td {$labelStyle}>\n {ts}Nickname{/ts}\n </td>\n <td {$valueStyle}>\n {$pcp_roll_nickname}\n </td>\n </tr>\n {/if}\n {if $pcp_personal_note}\n <tr>\n <td {$labelStyle}>\n {ts}Personal Note{/ts}\n </td>\n <td {$valueStyle}>\n {$pcp_personal_note}\n </td>\n </tr>\n {/if}\n {/if}\n\n {if !empty($onBehalfProfile)}\n <tr>\n <th {$headerStyle}>\n {$onBehalfProfile_grouptitle}\n </th>\n </tr>\n {foreach from=$onBehalfProfile item=onBehalfValue key=onBehalfName}\n <tr>\n <td {$labelStyle}>\n {$onBehalfName}\n </td>\n <td {$valueStyle}>\n {$onBehalfValue}\n </td>\n </tr>\n {/foreach}\n {/if}\n\n {if !empty($billingName)}\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}<br />\n {$email}\n </td>\n </tr>\n {elseif !empty($email)}\n <tr>\n <th {$headerStyle}>\n {ts}Registered Email{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$email}\n </td>\n </tr>\n {/if}\n\n {if !empty($credit_card_type)}\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n </td>\n </tr>\n {/if}\n\n {if !empty($selectPremium)}\n <tr>\n <th {$headerStyle}>\n {ts}Premium Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$labelStyle}>\n {$product_name}\n </td>\n </tr>\n {if $option}\n <tr>\n <td {$labelStyle}>\n {ts}Option{/ts}\n </td>\n <td {$valueStyle}>\n {$option}\n </td>\n </tr>\n {/if}\n {if $sku}\n <tr>\n <td {$labelStyle}>\n {ts}SKU{/ts}\n </td>\n <td {$valueStyle}>\n {$sku}\n </td>\n </tr>\n {/if}\n {if $start_date}\n <tr>\n <td {$labelStyle}>\n {ts}Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {$start_date|crmDate}\n </td>\n </tr>\n {/if}\n {if $end_date}\n <tr>\n <td {$labelStyle}>\n {ts}End Date{/ts}\n </td>\n <td {$valueStyle}>\n {$end_date|crmDate}\n </td>\n </tr>\n {/if}\n {if !empty($contact_email) OR !empty($contact_phone)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <p>{ts}For information about this premium, contact:{/ts}</p>\n {if !empty($contact_email)}\n <p>{$contact_email}</p>\n {/if}\n {if !empty($contact_phone)}\n <p>{$contact_phone}</p>\n {/if}\n </td>\n </tr>\n {/if}\n {if $is_deductible AND !empty($price)}\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n <p>{ts 1=$price|crmMoney}The value of this premium is %1. This may affect the amount of the tax deduction you can claim. Consult your tax advisor for more information.{/ts}</p>\n </td>\n </tr>\n {/if}\n {/if}\n\n {if !empty($customPre)}\n <tr>\n <th {$headerStyle}>\n {$customPre_grouptitle}\n </th>\n </tr>\n {foreach from=$customPre item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$customValue}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n {if !empty($customPost)}\n <tr>\n <th {$headerStyle}>\n {$customPost_grouptitle}\n </th>\n </tr>\n {foreach from=$customPost item=customValue key=customName}\n {if (!empty($trackingFields) and ! in_array($customName, $trackingFields)) or empty($trackingFields)}\n <tr>\n <td {$labelStyle}>\n {$customName}\n </td>\n <td {$valueStyle}>\n {$customValue}\n </td>\n </tr>\n {/if}\n {/foreach}\n {/if}\n\n </table>\n\n</body>\n</html>\n',1,836,'membership_online_receipt',0,1,0,NULL), (49,'Memberships - Auto-renew Cancellation Notification','{ts}Autorenew Membership Cancellation Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}\n\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Status{/ts}: {$membership_status}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership Expiration Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n <p>{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}</p>\n\n </td>\n </tr>\n </table>\n <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n\n <tr>\n <th {$headerStyle}>\n {ts}Membership Information{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Membership Status{/ts}\n </td>\n <td {$valueStyle}>\n {$membership_status}\n </td>\n </tr>\n {if $mem_start_date}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {$mem_start_date|crmDate}\n </td>\n </tr>\n {/if}\n {if $mem_end_date}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Expiration Date{/ts}\n </td>\n <td {$valueStyle}>\n {$mem_end_date|crmDate}\n </td>\n </tr>\n {/if}\n\n </table>\n\n</body>\n</html>\n',1,837,'membership_autorenew_cancelled',1,0,0,NULL), (50,'Memberships - Auto-renew Cancellation Notification','{ts}Autorenew Membership Cancellation Notification{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}\n\n===========================================================\n{ts}Membership Information{/ts}\n\n===========================================================\n{ts}Membership Status{/ts}: {$membership_status}\n{if $mem_start_date}{ts}Membership Start Date{/ts}: {$mem_start_date|crmDate}\n{/if}\n{if $mem_end_date}{ts}Membership Expiration Date{/ts}: {$mem_end_date|crmDate}\n{/if}\n\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n <p>{ts 1=$membershipType}The automatic renewal of your %1 membership has been cancelled as requested. This does not affect the status of your membership - you will receive a separate notification when your membership is up for renewal.{/ts}</p>\n\n </td>\n </tr>\n </table>\n <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n\n <tr>\n <th {$headerStyle}>\n {ts}Membership Information{/ts}\n </th>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts}Membership Status{/ts}\n </td>\n <td {$valueStyle}>\n {$membership_status}\n </td>\n </tr>\n {if $mem_start_date}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Start Date{/ts}\n </td>\n <td {$valueStyle}>\n {$mem_start_date|crmDate}\n </td>\n </tr>\n {/if}\n {if $mem_end_date}\n <tr>\n <td {$labelStyle}>\n {ts}Membership Expiration Date{/ts}\n </td>\n <td {$valueStyle}>\n {$mem_end_date|crmDate}\n </td>\n </tr>\n {/if}\n\n </table>\n\n</body>\n</html>\n',1,837,'membership_autorenew_cancelled',0,1,0,NULL), (51,'Memberships - Auto-renew Billing Updates','{ts}Membership Autorenewal Billing Updates{/ts} - {contact.display_name}\n','{assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}{$greeting},{/if}\n\n{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}\n\n===========================================================\n{ts}Billing Name and Address{/ts}\n\n===========================================================\n{$billingName}\n{$address}\n\n{$email}\n\n===========================================================\n{ts}Credit Card Information{/ts}\n\n===========================================================\n{$credit_card_type}\n{$credit_card_number}\n{ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}\n\n\n{ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n','<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <title></title>\n</head>\n<body>\n\n{capture assign=headerStyle}colspan=\"2\" style=\"text-align: left; padding: 4px; border-bottom: 1px solid #999; background-color: #eee;\"{/capture}\n{capture assign=labelStyle }style=\"padding: 4px; border-bottom: 1px solid #999; background-color: #f7f7f7;\"{/capture}\n{capture assign=valueStyle }style=\"padding: 4px; border-bottom: 1px solid #999;\"{/capture}\n\n <table id=\"crm-event_receipt\" style=\"font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;\">\n\n <!-- BEGIN HEADER -->\n <!-- You can add table row(s) here with logo or other header elements -->\n <!-- END HEADER -->\n\n <!-- BEGIN CONTENT -->\n\n <tr>\n <td>\n {assign var=\"greeting\" value=\"{contact.email_greeting_display}\"}{if $greeting}<p>{$greeting},</p>{/if}\n <p>{ts 1=$membershipType}Billing details for your automatically renewed %1 membership have been updated.{/ts}</p>\n </td>\n </tr>\n <tr>\n </table>\n\n <table style=\"width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;\">\n <tr>\n <th {$headerStyle}>\n {ts}Billing Name and Address{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$billingName}<br />\n {$address|nl2br}<br />\n {$email}\n </td>\n </tr>\n <tr>\n <th {$headerStyle}>\n {ts}Credit Card Information{/ts}\n </th>\n </tr>\n <tr>\n <td colspan=\"2\" {$valueStyle}>\n {$credit_card_type}<br />\n {$credit_card_number}<br />\n {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:\'\'|crmDate}<br />\n </td>\n </tr>\n <tr>\n <td {$labelStyle}>\n {ts 1=$receipt_from_email}If you have questions please contact us at %1{/ts}\n </td>\n </tr>\n\n </table>\n\n</body>\n</html>\n',1,838,'membership_autorenew_billing',1,0,0,NULL), @@ -5692,35 +5684,33 @@ INSERT INTO `civicrm_navigation` (`id`, `domain_id`, `label`, `name`, `url`, `ic (222,1,'Manage Templates','Manage Templates','civicrm/admin/report/options/report_template?reset=1',NULL,'administer Reports','',219,1,NULL,3), (223,1,'Register Report','Register Report','civicrm/admin/report/register?reset=1',NULL,'administer Reports','',219,1,NULL,4), (224,1,'Support','Support',NULL,'crm-i fa-life-ring',NULL,'',NULL,1,NULL,110), - (225,1,'Get started','Get started','https://civicrm.org/get-started?src=iam',NULL,NULL,'AND',224,1,NULL,1), - (226,1,'Documentation','Documentation','https://civicrm.org/documentation?src=iam',NULL,NULL,'AND',224,1,NULL,2), - (227,1,'Ask a question','Ask a question','https://civicrm.org/ask-a-question?src=iam',NULL,NULL,'AND',224,1,NULL,3), - (228,1,'Get expert help','Get expert help','https://civicrm.org/experts?src=iam',NULL,NULL,'AND',224,1,NULL,4), - (229,1,'About CiviCRM','About CiviCRM','https://civicrm.org/about?src=iam',NULL,NULL,'AND',224,1,1,5), - (230,1,'Register your site','Register your site','https://civicrm.org/register-your-site?src=iam&sid={sid}',NULL,NULL,'AND',224,1,NULL,6), - (231,1,'Join CiviCRM','Join CiviCRM','https://civicrm.org/become-a-member?src=iam&sid={sid}',NULL,NULL,'AND',224,1,NULL,7), - (232,1,'Developer','Developer',NULL,NULL,'administer CiviCRM','',224,1,1,8), - (233,1,'Api Explorer v3','API Explorer','civicrm/api3',NULL,'administer CiviCRM','',232,1,NULL,1), - (234,1,'Api Explorer v4','Api Explorer v4','civicrm/api4#/explorer',NULL,'administer CiviCRM','',232,1,NULL,2), - (235,1,'Developer Docs','Developer Docs','https://civicrm.org/developer-documentation?src=iam',NULL,'administer CiviCRM','',232,1,NULL,3), - (236,1,'Reports','Reports',NULL,'crm-i fa-bar-chart','access CiviReport','',NULL,1,NULL,95), - (237,1,'Contact Reports','Contact Reports','civicrm/report/list?compid=99&reset=1',NULL,'administer CiviCRM','',236,1,0,1), - (238,1,'Contribution Reports','Contribution Reports','civicrm/report/list?compid=2&reset=1',NULL,'access CiviContribute','',236,1,0,2), - (239,1,'Pledge Reports','Pledge Reports','civicrm/report/list?compid=6&reset=1',NULL,'access CiviPledge','',236,1,0,3), - (240,1,'Event Reports','Event Reports','civicrm/report/list?compid=1&reset=1',NULL,'access CiviEvent','',236,1,0,4), - (241,1,'Mailing Reports','Mailing Reports','civicrm/report/list?compid=4&reset=1',NULL,'access CiviMail','',236,1,0,5), - (242,1,'Membership Reports','Membership Reports','civicrm/report/list?compid=3&reset=1',NULL,'access CiviMember','',236,1,0,6), - (243,1,'Campaign Reports','Campaign Reports','civicrm/report/list?compid=9&reset=1',NULL,'interview campaign contacts,release campaign contacts,reserve campaign contacts,manage campaign,administer CiviCampaign,gotv campaign contacts','OR',236,1,0,7), - (244,1,'Case Reports','Case Reports','civicrm/report/list?compid=7&reset=1',NULL,'access my cases and activities,access all cases and activities,administer CiviCase','OR',236,1,0,8), - (245,1,'All Reports','All Reports','civicrm/report/list?reset=1',NULL,'access CiviReport','',236,1,1,10), - (246,1,'My Reports','My Reports','civicrm/report/list?myreports=1&reset=1',NULL,'access CiviReport','',236,1,1,11), - (247,1,'New Student','New Student','civicrm/contact/add?ct=Individual&cst=Student&reset=1',NULL,'add contacts','',14,1,NULL,1), - (248,1,'New Parent','New Parent','civicrm/contact/add?ct=Individual&cst=Parent&reset=1',NULL,'add contacts','',14,1,NULL,2), - (249,1,'New Staff','New Staff','civicrm/contact/add?ct=Individual&cst=Staff&reset=1',NULL,'add contacts','',14,1,NULL,3), - (250,1,'New Team','New Team','civicrm/contact/add?ct=Organization&cst=Team&reset=1',NULL,'add contacts','',16,1,NULL,1), - (251,1,'New Sponsor','New Sponsor','civicrm/contact/add?ct=Organization&cst=Sponsor&reset=1',NULL,'add contacts','',16,1,NULL,2), - (252,1,'Custom Searches','Custom Searches','civicrm/contact/search/custom/list?reset=1',NULL,NULL,'OR',2,1,2,12), - (253,1,'Manage Custom Searches','Manage Custom Searches','civicrm/admin/options/custom_search?reset=1',NULL,'administer CiviCRM','OR',107,1,0,14); + (225,1,'User Guide','User Guide','https://docs.civicrm.org/user/?src=iam',NULL,NULL,'AND',224,1,NULL,1), + (226,1,'Get Help','Get Help','https://civicrm.org/help?src=iam',NULL,NULL,'AND',224,1,NULL,2), + (227,1,'About CiviCRM','About CiviCRM','https://civicrm.org/about?src=iam',NULL,NULL,'AND',224,1,1,3), + (228,1,'Register Your Site','Register Your Site','https://civicrm.org/register-your-site?src=iam&sid={sid}',NULL,NULL,'AND',224,1,NULL,4), + (229,1,'Join CiviCRM','Join CiviCRM','https://civicrm.org/become-a-member?src=iam&sid={sid}',NULL,NULL,'AND',224,1,NULL,5), + (230,1,'Developer','Developer',NULL,NULL,'administer CiviCRM','',224,1,1,6), + (231,1,'Api Explorer v3','API Explorer','civicrm/api3',NULL,'administer CiviCRM','',230,1,NULL,1), + (232,1,'Api Explorer v4','Api Explorer v4','civicrm/api4#/explorer',NULL,'administer CiviCRM','',230,1,NULL,2), + (233,1,'Developer Docs','Developer Docs','https://civicrm.org/developer-documentation?src=iam',NULL,'administer CiviCRM','',230,1,NULL,3), + (234,1,'Reports','Reports',NULL,'crm-i fa-bar-chart','access CiviReport','',NULL,1,NULL,95), + (235,1,'Contact Reports','Contact Reports','civicrm/report/list?compid=99&reset=1',NULL,'administer CiviCRM','',234,1,0,1), + (236,1,'Contribution Reports','Contribution Reports','civicrm/report/list?compid=2&reset=1',NULL,'access CiviContribute','',234,1,0,2), + (237,1,'Pledge Reports','Pledge Reports','civicrm/report/list?compid=6&reset=1',NULL,'access CiviPledge','',234,1,0,3), + (238,1,'Event Reports','Event Reports','civicrm/report/list?compid=1&reset=1',NULL,'access CiviEvent','',234,1,0,4), + (239,1,'Mailing Reports','Mailing Reports','civicrm/report/list?compid=4&reset=1',NULL,'access CiviMail','',234,1,0,5), + (240,1,'Membership Reports','Membership Reports','civicrm/report/list?compid=3&reset=1',NULL,'access CiviMember','',234,1,0,6), + (241,1,'Campaign Reports','Campaign Reports','civicrm/report/list?compid=9&reset=1',NULL,'interview campaign contacts,release campaign contacts,reserve campaign contacts,manage campaign,administer CiviCampaign,gotv campaign contacts','OR',234,1,0,7), + (242,1,'Case Reports','Case Reports','civicrm/report/list?compid=7&reset=1',NULL,'access my cases and activities,access all cases and activities,administer CiviCase','OR',234,1,0,8), + (243,1,'All Reports','All Reports','civicrm/report/list?reset=1',NULL,'access CiviReport','',234,1,1,10), + (244,1,'My Reports','My Reports','civicrm/report/list?myreports=1&reset=1',NULL,'access CiviReport','',234,1,1,11), + (245,1,'New Student','New Student','civicrm/contact/add?ct=Individual&cst=Student&reset=1',NULL,'add contacts','',14,1,NULL,1), + (246,1,'New Parent','New Parent','civicrm/contact/add?ct=Individual&cst=Parent&reset=1',NULL,'add contacts','',14,1,NULL,2), + (247,1,'New Staff','New Staff','civicrm/contact/add?ct=Individual&cst=Staff&reset=1',NULL,'add contacts','',14,1,NULL,3), + (248,1,'New Team','New Team','civicrm/contact/add?ct=Organization&cst=Team&reset=1',NULL,'add contacts','',16,1,NULL,1), + (249,1,'New Sponsor','New Sponsor','civicrm/contact/add?ct=Organization&cst=Sponsor&reset=1',NULL,'add contacts','',16,1,NULL,2), + (250,1,'Custom Searches','Custom Searches','civicrm/contact/search/custom/list?reset=1',NULL,NULL,'OR',2,1,2,12), + (251,1,'Manage Custom Searches','Manage Custom Searches','civicrm/admin/options/custom_search?reset=1',NULL,'administer CiviCRM','OR',107,1,0,14); /*!40000 ALTER TABLE `civicrm_navigation` ENABLE KEYS */; UNLOCK TABLES; @@ -5731,26 +5721,26 @@ UNLOCK TABLES; LOCK TABLES `civicrm_note` WRITE; /*!40000 ALTER TABLE `civicrm_note` DISABLE KEYS */; INSERT INTO `civicrm_note` (`id`, `entity_table`, `entity_id`, `note`, `contact_id`, `note_date`, `created_date`, `modified_date`, `subject`, `privacy`) VALUES - (1,'civicrm_contact',104,'Arrange for cricket match with Sunil Gavaskar',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2022-10-07 00:35:58',NULL,'0'), - (2,'civicrm_contact',11,'Get the registration done for NGO status',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2023-04-04 21:06:52',NULL,'0'), - (3,'civicrm_contact',114,'Organize the Terry Fox run',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2022-10-30 08:52:56',NULL,'0'), - (4,'civicrm_contact',94,'Arrange for cricket match with Sunil Gavaskar',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2022-11-14 18:15:11',NULL,'0'), - (5,'civicrm_contact',101,'Invite members for the Steve Prefontaine 10k dream run',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2023-01-13 04:18:16',NULL,'0'), - (6,'civicrm_contact',55,'Organize the Terry Fox run',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2022-08-27 20:29:20',NULL,'0'), - (7,'civicrm_contact',124,'Contact the Commissioner of Charities',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2022-12-04 20:33:19',NULL,'0'), - (8,'civicrm_contact',191,'Send reminder for annual dinner',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2022-06-02 21:17:33',NULL,'0'), - (9,'civicrm_contact',49,'Contact the Commissioner of Charities',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2022-07-24 22:26:20',NULL,'0'), - (10,'civicrm_contact',120,'Get the registration done for NGO status',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2022-07-05 11:57:30',NULL,'0'), - (11,'civicrm_contact',159,'Contact the Commissioner of Charities',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2022-10-02 01:20:51',NULL,'0'), - (12,'civicrm_contact',161,'Contact the Commissioner of Charities',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2022-10-16 19:25:37',NULL,'0'), - (13,'civicrm_contact',91,'Send newsletter for April 2005',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2023-04-28 09:32:09',NULL,'0'), - (14,'civicrm_contact',37,'Reminder screening of \"Black\" on next Friday',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2022-09-05 00:29:36',NULL,'0'), - (15,'civicrm_contact',109,'Arrange collection of funds from members',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2022-09-17 14:36:14',NULL,'0'), - (16,'civicrm_contact',60,'Reminder screening of \"Black\" on next Friday',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2022-10-06 08:44:06',NULL,'0'), - (17,'civicrm_contact',108,'Chart out route map for next 10k run',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2022-07-16 05:21:11',NULL,'0'), - (18,'civicrm_contact',139,'Contact the Commissioner of Charities',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2022-05-10 22:46:56',NULL,'0'), - (19,'civicrm_contact',134,'Send newsletter for April 2005',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2023-01-23 06:36:24',NULL,'0'), - (20,'civicrm_contact',17,'Arrange for cricket match with Sunil Gavaskar',1,'2023-04-30 16:20:55','2023-04-30 16:20:55','2022-05-08 02:12:40',NULL,'0'); + (1,'civicrm_contact',160,'Contact the Commissioner of Charities',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2023-02-25 06:34:24',NULL,'0'), + (2,'civicrm_contact',144,'Invite members for the Steve Prefontaine 10k dream run',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2023-05-31 07:25:24',NULL,'0'), + (3,'civicrm_contact',71,'Send reminder for annual dinner',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2022-09-17 00:07:29',NULL,'0'), + (4,'civicrm_contact',101,'Chart out route map for next 10k run',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2022-07-10 07:55:25',NULL,'0'), + (5,'civicrm_contact',201,'Arrange for cricket match with Sunil Gavaskar',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2022-10-24 00:54:58',NULL,'0'), + (6,'civicrm_contact',33,'Organize the Terry Fox run',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2022-11-02 02:09:13',NULL,'0'), + (7,'civicrm_contact',158,'Send reminder for annual dinner',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2022-12-28 07:34:09',NULL,'0'), + (8,'civicrm_contact',166,'Arrange for cricket match with Sunil Gavaskar',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2022-11-13 17:49:30',NULL,'0'), + (9,'civicrm_contact',109,'Organize the Terry Fox run',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2023-06-02 14:53:43',NULL,'0'), + (10,'civicrm_contact',125,'Chart out route map for next 10k run',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2023-04-14 03:38:15',NULL,'0'), + (11,'civicrm_contact',158,'Connect for presentation',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2022-11-05 14:43:12',NULL,'0'), + (12,'civicrm_contact',150,'Get the registration done for NGO status',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2023-01-15 05:00:20',NULL,'0'), + (13,'civicrm_contact',183,'Connect for presentation',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2023-04-02 09:30:01',NULL,'0'), + (14,'civicrm_contact',127,'Send reminder for annual dinner',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2023-01-27 11:38:47',NULL,'0'), + (15,'civicrm_contact',117,'Reminder screening of \"Black\" on next Friday',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2022-08-16 01:23:31',NULL,'0'), + (16,'civicrm_contact',39,'Reminder screening of \"Black\" on next Friday',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2023-04-05 00:10:34',NULL,'0'), + (17,'civicrm_contact',102,'Chart out route map for next 10k run',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2022-12-05 12:26:17',NULL,'0'), + (18,'civicrm_contact',57,'Arrange collection of funds from members',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2022-09-04 06:10:16',NULL,'0'), + (19,'civicrm_contact',123,'Get the registration done for NGO status',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2023-03-16 20:58:02',NULL,'0'), + (20,'civicrm_contact',126,'Arrange collection of funds from members',1,'2023-06-09 21:52:21','2023-06-09 21:52:21','2023-03-17 21:38:22',NULL,'0'); /*!40000 ALTER TABLE `civicrm_note` ENABLE KEYS */; UNLOCK TABLES; @@ -6053,443 +6043,443 @@ INSERT INTO `civicrm_option_value` (`id`, `option_group_id`, `label`, `value`, ` (174,20,'Personal Campaign Pages','8','PCP',NULL,0,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), (175,20,'Assigned Activities','9','Assigned Activities',NULL,0,0,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), (176,20,'Invoices / Credit Notes','10','Invoices / Credit Notes',NULL,0,0,10,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (177,43,'Email Address','2','email',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (178,43,'Phone','3','phone',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (179,43,'Street Address','4','street_address',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (180,43,'City','5','city',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (181,43,'State/Province','6','state_province',NULL,0,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (182,43,'Country','7','country',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (183,43,'Postal Code','8','postal_code',NULL,0,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (184,44,'Email Address','2','email',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (185,44,'Phone','3','phone',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (186,44,'Street Address','4','street_address',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (187,44,'City','5','city',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (188,44,'State/Province','6','state_province',NULL,0,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (189,44,'Country','7','country',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (190,44,'Postal Code','8','postal_code',NULL,0,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (191,21,'Street Address','1','street_address',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (192,21,'Supplemental Address 1','2','supplemental_address_1',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (193,21,'Supplemental Address 2','3','supplemental_address_2',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (194,21,'Supplemental Address 3','4','supplemental_address_3',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (195,21,'City','5','city',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (196,21,'Postal Code','6','postal_code',NULL,0,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (197,21,'Postal Code Suffix','7','postal_code_suffix',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (198,21,'County','8','county',NULL,0,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (199,21,'State/Province','9','state_province',NULL,0,0,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (200,21,'Country','10','country',NULL,0,0,10,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (201,21,'Latitude','11','geo_code_1',NULL,0,0,11,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (202,21,'Longitude','12','geo_code_2',NULL,0,0,12,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (203,21,'Address Name','13','address_name',NULL,0,0,13,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (204,21,'Street Address Parsing','14','street_address_parsing',NULL,0,0,14,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (205,22,'Access Control','1','Access Control',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (206,22,'Mailing List','2','Mailing List',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (207,23,'CRM_Contact_Form_Search_Custom_Sample','1','CRM_Contact_Form_Search_Custom_Sample',NULL,0,0,1,'Household Name and State',0,0,1,NULL,NULL,NULL,NULL,NULL), - (208,23,'CRM_Contact_Form_Search_Custom_ContributionAggregate','2','CRM_Contact_Form_Search_Custom_ContributionAggregate',NULL,0,0,2,'Contribution Aggregate',0,0,1,NULL,NULL,NULL,NULL,NULL), - (209,23,'CRM_Contact_Form_Search_Custom_Group','4','CRM_Contact_Form_Search_Custom_Group',NULL,0,0,4,'Include / Exclude Search',0,0,1,NULL,NULL,NULL,NULL,NULL), - (210,23,'CRM_Contact_Form_Search_Custom_PostalMailing','5','CRM_Contact_Form_Search_Custom_PostalMailing',NULL,0,0,5,'Postal Mailing',0,0,1,NULL,NULL,NULL,NULL,NULL), - (211,23,'CRM_Contact_Form_Search_Custom_Proximity','6','CRM_Contact_Form_Search_Custom_Proximity',NULL,0,0,6,'Proximity Search',0,0,1,NULL,NULL,NULL,NULL,NULL), - (212,23,'CRM_Contact_Form_Search_Custom_EventAggregate','7','CRM_Contact_Form_Search_Custom_EventAggregate',NULL,0,0,7,'Event Aggregate',0,0,1,NULL,NULL,NULL,NULL,NULL), - (213,23,'CRM_Contact_Form_Search_Custom_ActivitySearch','8','CRM_Contact_Form_Search_Custom_ActivitySearch',NULL,0,0,8,'Activity Search',0,0,0,NULL,NULL,NULL,NULL,NULL), - (214,23,'CRM_Contact_Form_Search_Custom_PriceSet','9','CRM_Contact_Form_Search_Custom_PriceSet',NULL,0,0,9,'Price Set Details for Event Participants',0,0,1,NULL,NULL,NULL,NULL,NULL), - (215,23,'CRM_Contact_Form_Search_Custom_ZipCodeRange','10','CRM_Contact_Form_Search_Custom_ZipCodeRange',NULL,0,0,10,'Zip Code Range',0,0,1,NULL,NULL,NULL,NULL,NULL), - (216,23,'CRM_Contact_Form_Search_Custom_DateAdded','11','CRM_Contact_Form_Search_Custom_DateAdded',NULL,0,0,11,'Date Added to CiviCRM',0,0,1,NULL,NULL,NULL,NULL,NULL), - (217,23,'CRM_Contact_Form_Search_Custom_MultipleValues','12','CRM_Contact_Form_Search_Custom_MultipleValues',NULL,0,0,12,'Custom Group Multiple Values Listing',0,0,1,NULL,NULL,NULL,NULL,NULL), - (218,23,'CRM_Contact_Form_Search_Custom_ContribSYBNT','13','CRM_Contact_Form_Search_Custom_ContribSYBNT',NULL,0,0,13,'Contributions made in Year X and not Year Y',0,0,1,NULL,NULL,NULL,NULL,NULL), - (219,23,'CRM_Contact_Form_Search_Custom_TagContributions','14','CRM_Contact_Form_Search_Custom_TagContributions',NULL,0,0,14,'Find Contribution Amounts by Tag',0,0,1,NULL,NULL,NULL,NULL,NULL), - (220,23,'CRM_Contact_Form_Search_Custom_FullText','15','CRM_Contact_Form_Search_Custom_FullText',NULL,0,0,15,'Full-text Search',0,0,1,NULL,NULL,NULL,NULL,NULL), - (221,39,'Constituent Report (Summary)','contact/summary','CRM_Report_Form_Contact_Summary',NULL,0,0,1,'Provides a list of address and telephone information for constituent records in your system.',0,0,1,NULL,NULL,NULL,NULL,NULL), - (222,39,'Constituent Report (Detail)','contact/detail','CRM_Report_Form_Contact_Detail',NULL,0,0,2,'Provides contact-related information on contributions, memberships, events and activities.',0,0,1,NULL,NULL,NULL,NULL,NULL), - (223,39,'Activity Details Report','activity','CRM_Report_Form_Activity',NULL,0,0,3,'Provides a list of constituent activity including activity statistics for one/all contacts during a given date range(required)',0,0,1,NULL,NULL,NULL,NULL,NULL), - (224,39,'Walk / Phone List Report','walklist','CRM_Report_Form_Walklist_Walklist',NULL,0,0,4,'Provides a detailed report for your walk/phonelist for targeted contacts',0,0,0,NULL,NULL,NULL,NULL,NULL), - (225,39,'Current Employer Report','contact/currentEmployer','CRM_Report_Form_Contact_CurrentEmployer',NULL,0,0,5,'Provides detail list of employer employee relationships along with employment details Ex Join Date',0,0,1,NULL,NULL,NULL,NULL,NULL), - (226,39,'Contribution Summary Report','contribute/summary','CRM_Report_Form_Contribute_Summary',NULL,0,0,6,'Groups and totals contributions by criteria including contact, time period, financial type, contributor location, etc.',0,0,1,2,NULL,NULL,NULL,NULL), - (227,39,'Contribution Detail Report','contribute/detail','CRM_Report_Form_Contribute_Detail',NULL,0,0,7,'Lists specific contributions by criteria including contact, time period, financial type, contributor location, etc. Contribution summary report points to this report for contribution details.',0,0,1,2,NULL,NULL,NULL,NULL), - (228,39,'Repeat Contributions Report','contribute/repeat','CRM_Report_Form_Contribute_Repeat',NULL,0,0,8,'Given two date ranges, shows contacts who contributed in both the date ranges with the amount contributed in each and the percentage increase / decrease.',0,0,1,2,NULL,NULL,NULL,NULL), - (229,39,'Contributions by Organization Report','contribute/organizationSummary','CRM_Report_Form_Contribute_OrganizationSummary',NULL,0,0,9,'Displays a detailed list of contributions grouped by organization, which includes contributions made by employees for the organisation.',0,0,1,2,NULL,NULL,NULL,NULL), - (230,39,'Contributions by Household Report','contribute/householdSummary','CRM_Report_Form_Contribute_HouseholdSummary',NULL,0,0,10,'Displays a detailed list of contributions grouped by household which includes contributions made by members of the household.',0,0,1,2,NULL,NULL,NULL,NULL), - (231,39,'Top Donors Report','contribute/topDonor','CRM_Report_Form_Contribute_TopDonor',NULL,0,0,11,'Provides a list of the top donors during a time period you define. You can include as many donors as you want (for example, top 100 of your donors).',0,0,1,2,NULL,NULL,NULL,NULL), - (232,39,'SYBUNT Report','contribute/sybunt','CRM_Report_Form_Contribute_Sybunt',NULL,0,0,12,'SYBUNT means some year(s) but not this year. Provides a list of constituents who donated at some time in the history of your organization but did not donate during the time period you specify.',0,0,1,2,NULL,NULL,NULL,NULL), - (233,39,'LYBUNT Report','contribute/lybunt','CRM_Report_Form_Contribute_Lybunt',NULL,0,0,13,'LYBUNT means last year but not this year. Provides a list of constituents who donated last year but did not donate during the time period you specify as the current year.',0,0,1,2,NULL,NULL,NULL,NULL), - (234,39,'Soft Credit Report','contribute/softcredit','CRM_Report_Form_Contribute_SoftCredit',NULL,0,0,14,'Shows contributions made by contacts that have been soft-credited to other contacts.',0,0,1,2,NULL,NULL,NULL,NULL), - (235,39,'Membership Report (Summary)','member/summary','CRM_Report_Form_Member_Summary',NULL,0,0,15,'Provides a summary of memberships by type and Member Since.',0,0,1,3,NULL,NULL,NULL,NULL), - (236,39,'Membership Report (Detail)','member/detail','CRM_Report_Form_Member_Detail',NULL,0,0,16,'Provides a list of members along with their membership status and membership details (Member Since, Membership Start Date, Membership Expiration Date). Can also display contributions (payments) associated with each membership.',0,0,1,3,NULL,NULL,NULL,NULL), - (237,39,'Membership Report (Lapsed)','member/lapse','CRM_Report_Form_Member_Lapse',NULL,0,0,17,'Provides a list of memberships that lapsed or will lapse before the date you specify.',0,0,1,3,NULL,NULL,NULL,NULL), - (238,39,'Event Participant Report (List)','event/participantListing','CRM_Report_Form_Event_ParticipantListing',NULL,0,0,18,'Provides lists of participants for an event.',0,0,1,1,NULL,NULL,NULL,NULL), - (239,39,'Event Income Report (Summary)','event/summary','CRM_Report_Form_Event_Summary',NULL,0,0,19,'Provides an overview of event income. You can include key information such as event ID, registration, attendance, and income generated to help you determine the success of an event.',0,0,1,1,NULL,NULL,NULL,NULL), - (240,39,'Event Income Report (Detail)','event/income','CRM_Report_Form_Event_Income',NULL,0,0,20,'Helps you to analyze the income generated by an event. The report can include details by participant type, status and payment method.',0,0,1,1,NULL,NULL,NULL,NULL), - (241,39,'Pledge Detail Report','pledge/detail','CRM_Report_Form_Pledge_Detail',NULL,0,0,21,'List of pledges including amount pledged, pledge status, next payment date, balance due, total amount paid etc.',0,0,1,6,NULL,NULL,NULL,NULL), - (242,39,'Pledged but not Paid Report','pledge/pbnp','CRM_Report_Form_Pledge_Pbnp',NULL,0,0,22,'Pledged but not Paid Report',0,0,1,6,NULL,NULL,NULL,NULL), - (243,39,'Relationship Report','contact/relationship','CRM_Report_Form_Contact_Relationship',NULL,0,0,23,'Relationship Report',0,0,1,NULL,NULL,NULL,NULL,NULL), - (244,39,'Case Summary Report','case/summary','CRM_Report_Form_Case_Summary',NULL,0,0,24,'Provides a summary of cases and their duration by date range, status, staff member and / or case role.',0,0,1,7,NULL,NULL,NULL,NULL), - (245,39,'Case Time Spent Report','case/timespent','CRM_Report_Form_Case_TimeSpent',NULL,0,0,25,'Aggregates time spent on case and / or non-case activities by activity type and contact.',0,0,1,7,NULL,NULL,NULL,NULL), - (246,39,'Contact Demographics Report','case/demographics','CRM_Report_Form_Case_Demographics',NULL,0,0,26,'Demographic breakdown for case clients (and or non-case contacts) in your database. Includes custom contact fields.',0,0,1,7,NULL,NULL,NULL,NULL), - (247,39,'Database Log Report','contact/log','CRM_Report_Form_Contact_Log',NULL,0,0,27,'Log of contact and activity records created or updated in a given date range.',0,0,1,NULL,NULL,NULL,NULL,NULL), - (248,39,'Activity Summary Report','activitySummary','CRM_Report_Form_ActivitySummary',NULL,0,0,28,'Shows activity statistics by type / date',0,0,1,NULL,NULL,NULL,NULL,NULL), - (249,39,'Bookkeeping Transactions Report','contribute/bookkeeping','CRM_Report_Form_Contribute_Bookkeeping',NULL,0,0,29,'Shows Bookkeeping Transactions Report',0,0,1,2,NULL,NULL,NULL,NULL), - (250,39,'Participant list Count Report','event/participantlist','CRM_Report_Form_Event_ParticipantListCount',NULL,0,0,31,'Shows the Participant list with Participant Count.',0,0,1,1,NULL,NULL,NULL,NULL), - (251,39,'Income Count Summary Report','event/incomesummary','CRM_Report_Form_Event_IncomeCountSummary',NULL,0,0,32,'Shows the Income Summary of events with Count.',0,0,1,1,NULL,NULL,NULL,NULL), - (252,39,'Case Detail Report','case/detail','CRM_Report_Form_Case_Detail',NULL,0,0,33,'Case Details',0,0,1,7,NULL,NULL,NULL,NULL), - (253,39,'Mail Bounce Report','Mailing/bounce','CRM_Report_Form_Mailing_Bounce',NULL,0,0,34,'Bounce Report for mailings',0,0,1,4,NULL,NULL,NULL,NULL), - (254,39,'Mail Summary Report','Mailing/summary','CRM_Report_Form_Mailing_Summary',NULL,0,0,35,'Summary statistics for mailings',0,0,1,4,NULL,NULL,NULL,NULL), - (255,39,'Mail Opened Report','Mailing/opened','CRM_Report_Form_Mailing_Opened',NULL,0,0,36,'Display contacts who opened emails from a mailing',0,0,1,4,NULL,NULL,NULL,NULL), - (256,39,'Mail Click-Through Report','Mailing/clicks','CRM_Report_Form_Mailing_Clicks',NULL,0,0,37,'Display clicks from each mailing',0,0,1,4,NULL,NULL,NULL,NULL), - (257,39,'Contact Logging Report (Summary)','logging/contact/summary','CRM_Report_Form_Contact_LoggingSummary',NULL,0,0,38,'Contact modification report for the logging infrastructure (summary).',0,0,0,NULL,NULL,NULL,NULL,NULL), - (258,39,'Contact Logging Report (Detail)','logging/contact/detail','CRM_Report_Form_Contact_LoggingDetail',NULL,0,0,39,'Contact modification report for the logging infrastructure (detail).',0,0,0,NULL,NULL,NULL,NULL,NULL), - (259,39,'Survey Report (Detail)','survey/detail','CRM_Report_Form_Campaign_SurveyDetails',NULL,0,0,43,'Detailed report for canvassing, phone-banking, walk lists or other surveys.',0,0,1,9,NULL,NULL,NULL,NULL), - (260,39,'Personal Campaign Page Report','contribute/pcp','CRM_Report_Form_Contribute_PCP',NULL,0,0,44,'Summarizes amount raised and number of contributors for each Personal Campaign Page.',0,0,1,2,NULL,NULL,NULL,NULL), - (261,39,'Pledge Summary Report','pledge/summary','CRM_Report_Form_Pledge_Summary',NULL,0,0,45,'Groups and totals pledges by criteria including contact, time period, pledge status, location, etc.',0,0,1,6,NULL,NULL,NULL,NULL), - (262,39,'Contribution Aggregate by Relationship','contribute/history','CRM_Report_Form_Contribute_History',NULL,0,0,46,'List contact\'s donation history, grouped by year, along with contributions attributed to any of the contact\'s related contacts.',0,0,1,2,NULL,NULL,NULL,NULL), - (263,39,'Mail Detail Report','mailing/detail','CRM_Report_Form_Mailing_Detail',NULL,0,0,47,'Provides reporting on Intended and Successful Deliveries, Unsubscribes and Opt-outs, Replies and Forwards.',0,0,1,4,NULL,NULL,NULL,NULL), - (264,39,'Contribution and Membership Details','member/contributionDetail','CRM_Report_Form_Member_ContributionDetail',NULL,0,0,48,'Contribution details for any type of contribution, plus associated membership information for contributions which are in payment for memberships.',0,0,1,3,NULL,NULL,NULL,NULL), - (265,39,'Recurring Contributions Report','contribute/recur','CRM_Report_Form_Contribute_Recur',NULL,0,0,49,'Provides information about the status of recurring contributions',0,0,1,2,NULL,NULL,NULL,NULL), - (266,39,'Recurring Contributions Summary','contribute/recursummary','CRM_Report_Form_Contribute_RecurSummary',NULL,0,0,49,'Provides simple summary for each payment instrument for which there are recurring contributions (e.g. Credit Card, Standing Order, Direct Debit, etc., NULL), showing within a given date range.',0,0,1,2,NULL,NULL,NULL,NULL), - (267,39,'Deferred Revenue Details','contribute/deferredrevenue','CRM_Report_Form_Contribute_DeferredRevenue',NULL,0,0,50,'Deferred Revenue Details Report',0,0,1,2,NULL,NULL,NULL,NULL), - (268,24,'Scheduled','1','Scheduled',NULL,0,1,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (269,24,'Completed','2','Completed',NULL,1,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (270,24,'Cancelled','3','Cancelled',NULL,2,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (271,24,'Left Message','4','Left Message',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (272,24,'Unreachable','5','Unreachable',NULL,2,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (273,24,'Not Required','6','Not Required',NULL,2,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (274,24,'Available','7','Available',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (275,24,'No-show','8','No_show',NULL,2,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (276,26,'Ongoing','1','Open','Opened',0,1,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (277,26,'Resolved','2','Closed','Closed',0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (278,26,'Urgent','3','Urgent','Opened',0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (279,27,'Name Only','1','Name Only',NULL,0,0,1,'CRM_Event_Page_ParticipantListing_Name',0,1,1,NULL,NULL,NULL,NULL,NULL), - (280,27,'Name and Email','2','Name and Email',NULL,0,0,2,'CRM_Event_Page_ParticipantListing_NameAndEmail',0,1,1,NULL,NULL,NULL,NULL,NULL), - (281,27,'Name, Status and Register Date','3','Name, Status and Register Date',NULL,0,0,3,'CRM_Event_Page_ParticipantListing_NameStatusAndDate',0,1,1,NULL,NULL,NULL,NULL,NULL), - (282,28,'jpg','1','jpg',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (283,28,'jpeg','2','jpeg',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (284,28,'png','3','png',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (285,28,'gif','4','gif',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (286,28,'txt','5','txt',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (287,28,'pdf','6','pdf',NULL,0,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (288,28,'doc','7','doc',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (289,28,'xls','8','xls',NULL,0,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (290,28,'rtf','9','rtf',NULL,0,0,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (291,28,'csv','10','csv',NULL,0,0,10,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (292,28,'ppt','11','ppt',NULL,0,0,11,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (293,28,'docx','12','docx',NULL,0,0,12,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (294,28,'xlsx','13','xlsx',NULL,0,0,13,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (295,28,'odt','14','odt',NULL,0,0,14,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (296,28,'ics','15','ics',NULL,0,0,15,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (297,28,'pptx','16','pptx',NULL,0,0,16,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (298,31,'Textarea','1','Textarea',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (299,31,'CKEditor 4','2','CKEditor',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (300,30,'Search Builder','1','Search Builder',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (301,30,'Import Contact','2','Import Contact',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (302,30,'Import Activity','3','Import Activity',NULL,0,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (303,30,'Import Contribution','4','Import Contribution',NULL,0,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (304,30,'Import Membership','5','Import Membership',NULL,0,0,5,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (305,30,'Import Participant','6','Import Participant',NULL,0,0,6,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (306,30,'Export Contact','7','Export Contact',NULL,0,0,7,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (307,30,'Export Contribution','8','Export Contribution',NULL,0,0,8,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (308,30,'Export Membership','9','Export Membership',NULL,0,0,9,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (309,30,'Export Participant','10','Export Participant',NULL,0,0,10,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (310,30,'Export Pledge','11','Export Pledge',NULL,0,0,11,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (311,30,'Export Case','12','Export Case',NULL,0,0,12,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (312,30,'Export Activity','14','Export Activity',NULL,0,0,14,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (313,32,'day','day','day',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (314,32,'week','week','week',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (315,32,'month','month','month',NULL,0,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (316,32,'year','year','year',NULL,0,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (317,33,'Phone','1','Phone',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (318,33,'Mobile','2','Mobile',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (319,33,'Fax','3','Fax',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (320,33,'Pager','4','Pager',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (321,33,'Voicemail','5','Voicemail',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (322,34,'Participants (Role)','1','ParticipantRole','role_id',0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (323,34,'Participants (Event Name)','2','ParticipantEventName','event_id',0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (324,34,'Participants (Event Type)','3','ParticipantEventType','event_id.event_type_id',0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (325,35,'Public','1','public',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (326,35,'Admin','2','admin',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (327,36,'IMAP','1','IMAP',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (328,36,'Maildir','2','Maildir',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (329,36,'POP3','3','POP3',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (330,36,'Localdir','4','Localdir',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (331,37,'Urgent','1','Urgent',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (332,37,'Normal','2','Normal',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (333,37,'Low','3','Low',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (334,38,'Vancouver','city_','city_',NULL,0,0,1,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL), - (335,38,'/(19|20)(\\d{2})-(\\d{1,2})-(\\d{1,2})/','date_','date_',NULL,1,0,2,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL), - (336,40,'Dear {contact.first_name}','1','Dear {contact.first_name}',NULL,1,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (337,40,'Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}','2','Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}',NULL,1,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (338,40,'Dear {contact.prefix_id:label} {contact.last_name}','3','Dear {contact.prefix_id:label} {contact.last_name}',NULL,1,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (339,40,'Customized','4','Customized',NULL,0,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (340,40,'Dear {contact.household_name}','5','Dear {contact.household_name}',NULL,2,1,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (341,41,'Dear {contact.first_name}','1','Dear {contact.first_name}',NULL,1,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (342,41,'Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}','2','Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}',NULL,1,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (343,41,'Dear {contact.prefix_id:label} {contact.last_name}','3','Dear {contact.prefix_id:label} {contact.last_name}',NULL,1,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (344,41,'Customized','4','Customized',NULL,0,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (345,41,'Dear {contact.household_name}','5','Dear {contact.household_name}',NULL,2,1,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (346,42,'{contact.prefix_id:label}{ }{contact.first_name}{ }{contact.middle_name}{ }{contact.last_name}{ }{contact.suffix_id:label}','1','{contact.prefix_id:label}{ }{contact.first_name}{ }{contact.middle_name}{ }{contact.last_name}{ }{contact.suffix_id:label}',NULL,1,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (347,42,'{contact.household_name}','2','{contact.household_name}',NULL,2,1,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (348,42,'{contact.organization_name}','3','{contact.organization_name}',NULL,3,1,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (349,42,'Customized','4','Customized',NULL,0,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (350,45,'Work','1','Work',NULL,0,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (351,45,'Main','2','Main',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (352,45,'Facebook','3','Facebook',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (353,45,'Instagram','5','Instagram',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (354,45,'LinkedIn','6','LinkedIn',NULL,0,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (355,45,'MySpace','7','MySpace',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (356,45,'Pinterest','8','Pinterest',NULL,0,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (357,45,'SnapChat','9','SnapChat',NULL,0,0,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (358,45,'Tumblr','10','Tumblr',NULL,0,0,10,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (359,45,'Twitter','11','Twitter',NULL,0,0,11,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (360,45,'Vine','12','Vine ',NULL,0,0,12,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (361,46,'Contacts','civicrm_contact','Contact',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (362,46,'Activities','civicrm_activity','Activity',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (363,46,'Cases','civicrm_case','Case',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (364,46,'Attachments','civicrm_file','File',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (365,47,'Contacts','civicrm_contact','Contact',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (366,47,'Relationships','civicrm_relationship','Relationship',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (367,47,'Participants','civicrm_participant','Participant',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (368,47,'Contributions','civicrm_contribution','Contribution',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (369,48,'USD ($)','USD','USD',NULL,0,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (370,48,'CAD ($)','CAD','CAD',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (371,48,'EUR (€)','EUR','EUR',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (372,48,'GBP (£)','GBP','GBP',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (373,48,'JPY (Â¥)','JPY','JPY',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (374,49,'Name Only','1','CRM_Event_Badge_Simple',NULL,0,0,1,'Simple Event Name Badge',0,1,1,NULL,NULL,NULL,NULL,NULL), - (375,49,'Name Tent','2','CRM_Event_Badge_NameTent',NULL,0,0,2,'Name Tent',0,1,1,NULL,NULL,NULL,NULL,NULL), - (376,49,'With Logo','3','CRM_Event_Badge_Logo',NULL,0,0,3,'You can set your own background image',0,1,1,NULL,NULL,NULL,NULL,NULL), - (377,49,'5395 with Logo','4','CRM_Event_Badge_Logo5395',NULL,0,0,4,'Avery 5395 compatible labels with logo (4 up by 2, 59.2mm x 85.7mm)',0,1,1,NULL,NULL,NULL,NULL,NULL), - (378,50,'None','0','None',NULL,0,1,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (379,50,'Author Only','1','Author Only',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (380,51,'Direct Mail','1','Direct Mail',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (381,51,'Referral Program','2','Referral Program',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (382,51,'Constituent Engagement','3','Constituent Engagement',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (383,52,'Planned','1','Planned',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (384,52,'In Progress','2','In Progress',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (385,52,'Completed','3','Completed',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (386,52,'Cancelled','4','Cancelled',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (387,55,'1','1','1',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (388,55,'2','2','2',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (389,55,'3','3','3',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (390,55,'4','4','4',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (391,55,'5','5','5',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (392,57,'Letter','{\"metric\":\"in\",\"width\":8.5,\"height\":11}','letter',NULL,NULL,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (393,57,'Legal','{\"metric\":\"in\",\"width\":8.5,\"height\":14}','legal',NULL,NULL,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (394,57,'Ledger','{\"metric\":\"in\",\"width\":17,\"height\":11}','ledger',NULL,NULL,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (395,57,'Tabloid','{\"metric\":\"in\",\"width\":11,\"height\":17}','tabloid',NULL,NULL,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (396,57,'Executive','{\"metric\":\"in\",\"width\":7.25,\"height\":10.5}','executive',NULL,NULL,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (397,57,'Folio','{\"metric\":\"in\",\"width\":8.5,\"height\":13}','folio',NULL,NULL,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (398,57,'Envelope #9','{\"metric\":\"pt\",\"width\":638.93,\"height\":278.93}','envelope-9',NULL,NULL,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (399,57,'Envelope #10','{\"metric\":\"pt\",\"width\":684,\"height\":297}','envelope-10',NULL,NULL,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (400,57,'Envelope #11','{\"metric\":\"pt\",\"width\":747,\"height\":324}','envelope-11',NULL,NULL,0,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (401,57,'Envelope #12','{\"metric\":\"pt\",\"width\":792,\"height\":342}','envelope-12',NULL,NULL,0,10,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (402,57,'Envelope #14','{\"metric\":\"pt\",\"width\":828,\"height\":360}','envelope-14',NULL,NULL,0,11,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (403,57,'Envelope ISO B4','{\"metric\":\"pt\",\"width\":1000.63,\"height\":708.66}','envelope-b4',NULL,NULL,0,12,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (404,57,'Envelope ISO B5','{\"metric\":\"pt\",\"width\":708.66,\"height\":498.9}','envelope-b5',NULL,NULL,0,13,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (405,57,'Envelope ISO B6','{\"metric\":\"pt\",\"width\":498.9,\"height\":354.33}','envelope-b6',NULL,NULL,0,14,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (406,57,'Envelope ISO C3','{\"metric\":\"pt\",\"width\":1298.27,\"height\":918.42}','envelope-c3',NULL,NULL,0,15,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (407,57,'Envelope ISO C4','{\"metric\":\"pt\",\"width\":918.42,\"height\":649.13}','envelope-c4',NULL,NULL,0,16,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (408,57,'Envelope ISO C5','{\"metric\":\"pt\",\"width\":649.13,\"height\":459.21}','envelope-c5',NULL,NULL,0,17,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (409,57,'Envelope ISO C6','{\"metric\":\"pt\",\"width\":459.21,\"height\":323.15}','envelope-c6',NULL,NULL,0,18,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (410,57,'Envelope ISO DL','{\"metric\":\"pt\",\"width\":623.622,\"height\":311.811}','envelope-dl',NULL,NULL,0,19,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (411,57,'ISO A0','{\"metric\":\"pt\",\"width\":2383.94,\"height\":3370.39}','a0',NULL,NULL,0,20,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (412,57,'ISO A1','{\"metric\":\"pt\",\"width\":1683.78,\"height\":2383.94}','a1',NULL,NULL,0,21,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (413,57,'ISO A2','{\"metric\":\"pt\",\"width\":1190.55,\"height\":1683.78}','a2',NULL,NULL,0,22,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (414,57,'ISO A3','{\"metric\":\"pt\",\"width\":841.89,\"height\":1190.55}','a3',NULL,NULL,0,23,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (415,57,'ISO A4','{\"metric\":\"pt\",\"width\":595.28,\"height\":841.89}','a4',NULL,NULL,0,24,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (416,57,'ISO A5','{\"metric\":\"pt\",\"width\":419.53,\"height\":595.28}','a5',NULL,NULL,0,25,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (417,57,'ISO A6','{\"metric\":\"pt\",\"width\":297.64,\"height\":419.53}','a6',NULL,NULL,0,26,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (418,57,'ISO A7','{\"metric\":\"pt\",\"width\":209.76,\"height\":297.64}','a7',NULL,NULL,0,27,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (419,57,'ISO A8','{\"metric\":\"pt\",\"width\":147.4,\"height\":209.76}','a8',NULL,NULL,0,28,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (420,57,'ISO A9','{\"metric\":\"pt\",\"width\":104.88,\"height\":147.4}','a9',NULL,NULL,0,29,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (421,57,'ISO A10','{\"metric\":\"pt\",\"width\":73.7,\"height\":104.88}','a10',NULL,NULL,0,30,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (422,57,'ISO B0','{\"metric\":\"pt\",\"width\":2834.65,\"height\":4008.19}','b0',NULL,NULL,0,31,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (423,57,'ISO B1','{\"metric\":\"pt\",\"width\":2004.09,\"height\":2834.65}','b1',NULL,NULL,0,32,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (424,57,'ISO B2','{\"metric\":\"pt\",\"width\":1417.32,\"height\":2004.09}','b2',NULL,NULL,0,33,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (425,57,'ISO B3','{\"metric\":\"pt\",\"width\":1000.63,\"height\":1417.32}','b3',NULL,NULL,0,34,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (426,57,'ISO B4','{\"metric\":\"pt\",\"width\":708.66,\"height\":1000.63}','b4',NULL,NULL,0,35,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (427,57,'ISO B5','{\"metric\":\"pt\",\"width\":498.9,\"height\":708.66}','b5',NULL,NULL,0,36,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (428,57,'ISO B6','{\"metric\":\"pt\",\"width\":354.33,\"height\":498.9}','b6',NULL,NULL,0,37,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (429,57,'ISO B7','{\"metric\":\"pt\",\"width\":249.45,\"height\":354.33}','b7',NULL,NULL,0,38,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (430,57,'ISO B8','{\"metric\":\"pt\",\"width\":175.75,\"height\":249.45}','b8',NULL,NULL,0,39,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (431,57,'ISO B9','{\"metric\":\"pt\",\"width\":124.72,\"height\":175.75}','b9',NULL,NULL,0,40,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (432,57,'ISO B10','{\"metric\":\"pt\",\"width\":87.87,\"height\":124.72}','b10',NULL,NULL,0,41,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (433,57,'ISO C0','{\"metric\":\"pt\",\"width\":2599.37,\"height\":3676.54}','c0',NULL,NULL,0,42,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (434,57,'ISO C1','{\"metric\":\"pt\",\"width\":1836.85,\"height\":2599.37}','c1',NULL,NULL,0,43,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (435,57,'ISO C2','{\"metric\":\"pt\",\"width\":1298.27,\"height\":1836.85}','c2',NULL,NULL,0,44,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (436,57,'ISO C3','{\"metric\":\"pt\",\"width\":918.43,\"height\":1298.27}','c3',NULL,NULL,0,45,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (437,57,'ISO C4','{\"metric\":\"pt\",\"width\":649.13,\"height\":918.43}','c4',NULL,NULL,0,46,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (438,57,'ISO C5','{\"metric\":\"pt\",\"width\":459.21,\"height\":649.13}','c5',NULL,NULL,0,47,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (439,57,'ISO C6','{\"metric\":\"pt\",\"width\":323.15,\"height\":459.21}','c6',NULL,NULL,0,48,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (440,57,'ISO C7','{\"metric\":\"pt\",\"width\":229.61,\"height\":323.15}','c7',NULL,NULL,0,49,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (441,57,'ISO C8','{\"metric\":\"pt\",\"width\":161.57,\"height\":229.61}','c8',NULL,NULL,0,50,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (442,57,'ISO C9','{\"metric\":\"pt\",\"width\":113.39,\"height\":161.57}','c9',NULL,NULL,0,51,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (443,57,'ISO C10','{\"metric\":\"pt\",\"width\":79.37,\"height\":113.39}','c10',NULL,NULL,0,52,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (444,57,'ISO RA0','{\"metric\":\"pt\",\"width\":2437.8,\"height\":3458.27}','ra0',NULL,NULL,0,53,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (445,57,'ISO RA1','{\"metric\":\"pt\",\"width\":1729.13,\"height\":2437.8}','ra1',NULL,NULL,0,54,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (446,57,'ISO RA2','{\"metric\":\"pt\",\"width\":1218.9,\"height\":1729.13}','ra2',NULL,NULL,0,55,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (447,57,'ISO RA3','{\"metric\":\"pt\",\"width\":864.57,\"height\":1218.9}','ra3',NULL,NULL,0,56,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (448,57,'ISO RA4','{\"metric\":\"pt\",\"width\":609.45,\"height\":864.57}','ra4',NULL,NULL,0,57,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (449,57,'ISO SRA0','{\"metric\":\"pt\",\"width\":2551.18,\"height\":3628.35}','sra0',NULL,NULL,0,58,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (450,57,'ISO SRA1','{\"metric\":\"pt\",\"width\":1814.17,\"height\":2551.18}','sra1',NULL,NULL,0,59,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (451,57,'ISO SRA2','{\"metric\":\"pt\",\"width\":1275.59,\"height\":1814.17}','sra2',NULL,NULL,0,60,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (452,57,'ISO SRA3','{\"metric\":\"pt\",\"width\":907.09,\"height\":1275.59}','sra3',NULL,NULL,0,61,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (453,57,'ISO SRA4','{\"metric\":\"pt\",\"width\":637.8,\"height\":907.09}','sra4',NULL,NULL,0,62,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (454,60,'Activity Assignees','1','Activity Assignees',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (455,60,'Activity Source','2','Activity Source',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (456,60,'Activity Targets','3','Activity Targets',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (457,58,'Invoice PDF Format','{\"metric\":\"px\",\"margin_top\":10,\"margin_bottom\":0,\"margin_left\":65,\"margin_right\":0}','default_invoice_pdf_format',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (458,70,'Asset','1','Asset',NULL,0,0,1,'Things you own',0,1,1,2,NULL,NULL,NULL,NULL), - (459,70,'Liability','2','Liability',NULL,0,0,2,'Things you owe, like a grant still to be disbursed',0,1,1,2,NULL,NULL,NULL,NULL), - (460,70,'Revenue','3','Revenue',NULL,0,1,3,'Income from contributions and sales of tickets and memberships',0,1,1,2,NULL,NULL,NULL,NULL), - (461,70,'Cost of Sales','4','Cost of Sales',NULL,0,0,4,'Costs incurred to get revenue, e.g. premiums for donations, dinner for a fundraising dinner ticket',0,1,1,2,NULL,NULL,NULL,NULL), - (462,70,'Expenses','5','Expenses',NULL,0,0,5,'Things that are paid for that are consumable, e.g. grants disbursed',0,1,1,2,NULL,NULL,NULL,NULL), - (463,61,'Income Account is','1','Income Account is',NULL,0,1,1,'Income Account is',0,1,1,2,NULL,NULL,NULL,NULL), - (464,61,'Credit/Contra Revenue Account is','2','Credit/Contra Revenue Account is',NULL,0,0,2,'Credit/Contra Revenue Account is',0,1,1,2,NULL,NULL,NULL,NULL), - (465,61,'Accounts Receivable Account is','3','Accounts Receivable Account is',NULL,0,0,3,'Accounts Receivable Account is',0,1,1,2,NULL,NULL,NULL,NULL), - (466,61,'Credit Liability Account is','4','Credit Liability Account is',NULL,0,0,4,'Credit Liability Account is',0,1,0,2,NULL,NULL,NULL,NULL), - (467,61,'Expense Account is','5','Expense Account is',NULL,0,0,5,'Expense Account is',0,1,1,2,NULL,NULL,NULL,NULL), - (468,61,'Asset Account is','6','Asset Account is',NULL,0,0,6,'Asset Account is',0,1,1,2,NULL,NULL,NULL,NULL), - (469,61,'Cost of Sales Account is','7','Cost of Sales Account is',NULL,0,0,7,'Cost of Sales Account is',0,1,1,2,NULL,NULL,NULL,NULL), - (470,61,'Premiums Inventory Account is','8','Premiums Inventory Account is',NULL,0,0,8,'Premiums Inventory Account is',0,1,1,2,NULL,NULL,NULL,NULL), - (471,61,'Discounts Account is','9','Discounts Account is',NULL,0,0,9,'Discounts Account is',0,1,1,2,NULL,NULL,NULL,NULL), - (472,61,'Sales Tax Account is','10','Sales Tax Account is',NULL,0,0,10,'Sales Tax Account is',0,1,1,2,NULL,NULL,NULL,NULL), - (473,61,'Chargeback Account is','11','Chargeback Account is',NULL,0,0,11,'Chargeback Account is',0,1,1,2,NULL,NULL,NULL,NULL), - (474,61,'Deferred Revenue Account is','12','Deferred Revenue Account is',NULL,0,0,12,'Deferred Revenue Account is',0,1,1,2,NULL,NULL,NULL,NULL), - (475,62,'Participant Role','1','participant_role',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (476,63,'Morning Sessions','1','Morning Sessions',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (477,63,'Evening Sessions','2','Evening Sessions',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (478,64,'Contribution','1','Contribution',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (479,64,'Membership','2','Membership',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (480,64,'Pledge Payment','3','Pledge Payment',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (481,66,'Open','1','Open',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (482,66,'Closed','2','Closed',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (483,66,'Data Entry','3','Data Entry',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (484,66,'Reopened','4','Reopened',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (485,66,'Exported','5','Exported',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (486,65,'Manual Batch','1','Manual Batch',NULL,0,0,1,'Manual Batch',0,1,1,2,NULL,NULL,NULL,NULL), - (487,65,'Automatic Batch','2','Automatic Batch',NULL,0,0,2,'Automatic Batch',0,1,1,2,NULL,NULL,NULL,NULL), - (488,71,'Paid','1','Paid',NULL,0,0,1,'Paid',0,1,1,2,NULL,NULL,NULL,NULL), - (489,71,'Partially paid','2','Partially paid',NULL,0,0,2,'Partially paid',0,1,1,2,NULL,NULL,NULL,NULL), - (490,71,'Unpaid','3','Unpaid',NULL,0,0,1,'Unpaid',0,1,1,2,NULL,NULL,NULL,NULL), - (491,67,'http','1','http',NULL,NULL,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (492,67,'xml','2','xml',NULL,NULL,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (493,67,'smtp','3','smtp',NULL,NULL,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (494,69,'Renewal Reminder (non-auto-renew memberships only)','1','Renewal Reminder (non-auto-renew memberships only)',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (495,69,'Auto-renew Memberships Only','2','Auto-renew Memberships Only',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (496,69,'Reminder for Both','3','Reminder for Both',NULL,0,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (497,72,'Event Badge','1','Event Badge',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (498,73,'Avery 5395','{\"name\":\"Avery 5395\",\"paper-size\":\"a4\",\"metric\":\"mm\",\"lMargin\":15,\"tMargin\":26,\"NX\":2,\"NY\":4,\"SpaceX\":10,\"SpaceY\":5,\"width\":83,\"height\":57,\"font-size\":12,\"orientation\":\"portrait\",\"font-name\":\"helvetica\",\"font-style\":\"\",\"lPadding\":3,\"tPadding\":3}','Avery 5395',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (499,73,'A6 Badge Portrait 150x106','{\"paper-size\":\"a4\",\"orientation\":\"landscape\",\"font-name\":\"times\",\"font-size\":6,\"font-style\":\"\",\"NX\":2,\"NY\":1,\"metric\":\"mm\",\"lMargin\":25,\"tMargin\":27,\"SpaceX\":0,\"SpaceY\":35,\"width\":106,\"height\":150,\"lPadding\":5,\"tPadding\":5}','A6 Badge Portrait 150x106',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (500,73,'Fattorini Name Badge 100x65','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"times\",\"font-size\":6,\"font-style\":\"\",\"NX\":2,\"NY\":4,\"metric\":\"mm\",\"lMargin\":6,\"tMargin\":19,\"SpaceX\":0,\"SpaceY\":0,\"width\":100,\"height\":65,\"lPadding\":0,\"tPadding\":0}','Fattorini Name Badge 100x65',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (501,73,'Hanging Badge 3-3/4\" x 4-3\"/4','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"times\",\"font-size\":6,\"font-style\":\"\",\"NX\":2,\"NY\":2,\"metric\":\"mm\",\"lMargin\":10,\"tMargin\":28,\"SpaceX\":0,\"SpaceY\":0,\"width\":96,\"height\":121,\"lPadding\":5,\"tPadding\":5}','Hanging Badge 3-3/4\" x 4-3\"/4',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (502,59,'Avery 3475','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":10,\"font-style\":\"\",\"metric\":\"mm\",\"lMargin\":0,\"tMargin\":5,\"NX\":3,\"NY\":8,\"SpaceX\":0,\"SpaceY\":0,\"width\":70,\"height\":36,\"lPadding\":5.08,\"tPadding\":5.08}','3475','Avery',NULL,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (503,59,'Avery 5160','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.21975,\"tMargin\":0.5,\"NX\":3,\"NY\":10,\"SpaceX\":0.14,\"SpaceY\":0,\"width\":2.5935,\"height\":1,\"lPadding\":0.20,\"tPadding\":0.20}','5160','Avery',NULL,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (504,59,'Avery 5161','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.175,\"tMargin\":0.5,\"NX\":2,\"NY\":10,\"SpaceX\":0.15625,\"SpaceY\":0,\"width\":4,\"height\":1,\"lPadding\":0.20,\"tPadding\":0.20}','5161','Avery',NULL,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (505,59,'Avery 5162','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.1525,\"tMargin\":0.88,\"NX\":2,\"NY\":7,\"SpaceX\":0.195,\"SpaceY\":0,\"width\":4,\"height\":1.33,\"lPadding\":0.20,\"tPadding\":0.20}','5162','Avery',NULL,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (506,59,'Avery 5163','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.18,\"tMargin\":0.5,\"NX\":2,\"NY\":5,\"SpaceX\":0.14,\"SpaceY\":0,\"width\":4,\"height\":2,\"lPadding\":0.20,\"tPadding\":0.20}','5163','Avery',NULL,0,5,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (507,59,'Avery 5164','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":12,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.156,\"tMargin\":0.5,\"NX\":2,\"NY\":3,\"SpaceX\":0.1875,\"SpaceY\":0,\"width\":4,\"height\":3.33,\"lPadding\":0.20,\"tPadding\":0.20}','5164','Avery',NULL,0,6,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (508,59,'Avery 8600','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"mm\",\"lMargin\":7.1,\"tMargin\":19,\"NX\":3,\"NY\":10,\"SpaceX\":9.5,\"SpaceY\":3.1,\"width\":66.6,\"height\":25.4,\"lPadding\":5.08,\"tPadding\":5.08}','8600','Avery',NULL,0,7,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (509,59,'Avery L7160','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.28,\"tMargin\":0.6,\"NX\":3,\"NY\":7,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":2.5,\"height\":1.5,\"lPadding\":0.20,\"tPadding\":0.20}','L7160','Avery',NULL,0,8,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (510,59,'Avery L7161','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.28,\"tMargin\":0.35,\"NX\":3,\"NY\":6,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":2.5,\"height\":1.83,\"lPadding\":0.20,\"tPadding\":0.20}','L7161','Avery',NULL,0,9,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (511,59,'Avery L7162','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.18,\"tMargin\":0.51,\"NX\":2,\"NY\":8,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":3.9,\"height\":1.33,\"lPadding\":0.20,\"tPadding\":0.20}','L7162','Avery',NULL,0,10,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (512,59,'Avery L7163','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.18,\"tMargin\":0.6,\"NX\":2,\"NY\":7,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":3.9,\"height\":1.5,\"lPadding\":0.20,\"tPadding\":0.20}','L7163','Avery',NULL,0,11,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (513,74,'Formal','1','formal',NULL,0,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (514,74,'Familiar','2','familiar',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (515,75,'Email','Email','Email',NULL,0,1,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (516,75,'SMS','SMS','SMS',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (517,75,'User Preference','User_Preference','User Preference',NULL,0,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (518,76,'Actual date only','1','Actual date only',NULL,NULL,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (519,76,'Each anniversary','2','Each anniversary',NULL,NULL,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (520,77,'Default','1','default',NULL,NULL,1,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (521,77,'CiviMail','2','civimail',NULL,NULL,0,2,NULL,0,1,1,4,NULL,NULL,NULL,NULL), - (522,77,'CiviEvent','3','civievent',NULL,NULL,0,3,NULL,0,1,1,1,NULL,NULL,NULL,NULL), - (523,81,'Production','Production','Production',NULL,NULL,1,1,'Production Environment',0,1,1,NULL,NULL,NULL,NULL,NULL), - (524,81,'Staging','Staging','Staging',NULL,NULL,0,2,'Staging Environment',0,1,1,NULL,NULL,NULL,NULL,NULL), - (525,81,'Development','Development','Development',NULL,NULL,0,3,'Development Environment',0,1,1,NULL,NULL,NULL,NULL,NULL), - (526,78,'Today','this.day','this.day',NULL,NULL,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (527,78,'This week','this.week','this.week',NULL,NULL,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (528,78,'This calendar month','this.month','this.month',NULL,NULL,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (529,78,'This quarter','this.quarter','this.quarter',NULL,NULL,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (530,78,'This fiscal year','this.fiscal_year','this.fiscal_year',NULL,NULL,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (531,78,'This calendar year','this.year','this.year',NULL,NULL,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (532,78,'Yesterday','previous.day','previous.day',NULL,NULL,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (533,78,'Previous week','previous.week','previous.week',NULL,NULL,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (534,78,'Previous calendar month','previous.month','previous.month',NULL,NULL,0,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (535,78,'Previous quarter','previous.quarter','previous.quarter',NULL,NULL,0,10,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (536,78,'Previous fiscal year','previous.fiscal_year','previous.fiscal_year',NULL,NULL,0,11,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (537,78,'Previous calendar year','previous.year','previous.year',NULL,NULL,0,12,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (538,78,'Last 7 days including today','ending.week','ending.week',NULL,NULL,0,13,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (539,78,'Last 30 days including today','ending_30.day','ending.month',NULL,NULL,0,14,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (540,78,'Last 60 days including today','ending_60.day','ending_2.month',NULL,NULL,0,15,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (541,78,'Last 90 days including today','ending_90.day','ending.quarter',NULL,NULL,0,16,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (542,78,'Last 12 months including today','ending.year','ending.year',NULL,NULL,0,17,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (543,78,'Last 2 years including today','ending_2.year','ending_2.year',NULL,NULL,0,18,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (544,78,'Last 3 years including today','ending_3.year','ending_3.year',NULL,NULL,0,19,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (545,78,'Tomorrow','starting.day','starting.day',NULL,NULL,0,20,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (546,78,'Next week','next.week','next.week',NULL,NULL,0,21,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (547,78,'Next calendar month','next.month','next.month',NULL,NULL,0,22,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (548,78,'Next quarter','next.quarter','next.quarter',NULL,NULL,0,23,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (549,78,'Next fiscal year','next.fiscal_year','next.fiscal_year',NULL,NULL,0,24,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (550,78,'Next calendar year','next.year','next.year',NULL,NULL,0,25,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (551,78,'Next 7 days including today','starting.week','starting.week',NULL,NULL,0,26,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (552,78,'Next 30 days including today','starting.month','starting.month',NULL,NULL,0,27,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (553,78,'Next 60 days including today','starting_2.month','starting_2.month',NULL,NULL,0,28,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (554,78,'Next 90 days including today','starting.quarter','starting.quarter',NULL,NULL,0,29,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (555,78,'Next 12 months including today','starting.year','starting.year',NULL,NULL,0,30,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (556,78,'Current week to-date','current.week','current.week',NULL,NULL,0,31,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (557,78,'Current calendar month to-date','current.month','current.month',NULL,NULL,0,32,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (558,78,'Current quarter to-date','current.quarter','current.quarter',NULL,NULL,0,33,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (559,78,'Current calendar year to-date','current.year','current.year',NULL,NULL,0,34,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (560,78,'To end of yesterday','earlier.day','earlier.day',NULL,NULL,0,35,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (561,78,'To end of previous week','earlier.week','earlier.week',NULL,NULL,0,36,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (562,78,'To end of previous calendar month','earlier.month','earlier.month',NULL,NULL,0,37,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (563,78,'To end of previous quarter','earlier.quarter','earlier.quarter',NULL,NULL,0,38,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (564,78,'To end of previous calendar year','earlier.year','earlier.year',NULL,NULL,0,39,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (565,78,'From start of current day','greater.day','greater.day',NULL,NULL,0,40,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (566,78,'From start of current week','greater.week','greater.week',NULL,NULL,0,41,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (567,78,'From start of current calendar month','greater.month','greater.month',NULL,NULL,0,42,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (568,78,'From start of current quarter','greater.quarter','greater.quarter',NULL,NULL,0,43,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (569,78,'From start of current calendar year','greater.year','greater.year',NULL,NULL,0,44,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (570,78,'To end of current week','less.week','less.week',NULL,NULL,0,45,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (571,78,'To end of current calendar month','less.month','less.month',NULL,NULL,0,46,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (572,78,'To end of current quarter','less.quarter','less.quarter',NULL,NULL,0,47,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (573,78,'To end of current calendar year','less.year','less.year',NULL,NULL,0,48,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (574,78,'Previous 2 days','previous_2.day','previous_2.day',NULL,NULL,0,49,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (575,78,'Previous 2 weeks','previous_2.week','previous_2.week',NULL,NULL,0,50,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (576,78,'Previous 2 calendar months','previous_2.month','previous_2.month',NULL,NULL,0,51,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (577,78,'Previous 2 quarters','previous_2.quarter','previous_2.quarter',NULL,NULL,0,52,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (578,78,'Previous 2 calendar years','previous_2.year','previous_2.year',NULL,NULL,0,53,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (579,78,'Previous 2 fiscal years','previous_2.fiscal_year','previous_2.fiscal_year',NULL,NULL,0,54,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (580,78,'Day prior to yesterday','previous_before.day','previous_before.day',NULL,NULL,0,55,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (581,78,'Week prior to previous week','previous_before.week','previous_before.week',NULL,NULL,0,56,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (582,78,'Month prior to previous calendar month','previous_before.month','previous_before.month',NULL,NULL,NULL,57,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (583,78,'Quarter prior to previous quarter','previous_before.quarter','previous_before.quarter',NULL,NULL,0,58,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (584,78,'Year prior to previous calendar year','previous_before.year','previous_before.year',NULL,NULL,0,59,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (585,78,'Fiscal year prior to previous fiscal year','previous_before.fiscal_year','previous_before.fiscal_year',NULL,NULL,0,60,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (586,78,'From end of previous week','greater_previous.week','greater_previous.week',NULL,NULL,0,61,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (587,78,'From end of previous calendar month','greater_previous.month','greater_previous.month',NULL,NULL,0,62,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (588,78,'From end of previous quarter','greater_previous.quarter','greater_previous.quarter',NULL,NULL,0,63,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (589,78,'From end of previous calendar year','greater_previous.year','greater_previous.year',NULL,NULL,0,64,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (590,79,'Completed','1','Completed',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (591,79,'Pending','2','Pending',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (592,79,'Cancelled','3','Cancelled',NULL,0,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (593,79,'In Progress','5','In Progress',NULL,0,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (594,79,'Overdue','6','Overdue',NULL,0,0,5,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (595,80,'Completed','1','Completed',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (596,80,'Pending','2','Pending',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (597,80,'Cancelled','3','Cancelled',NULL,0,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (598,80,'Failed','4','Failed',NULL,0,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (599,80,'In Progress','5','In Progress',NULL,0,0,5,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (600,80,'Overdue','6','Overdue',NULL,0,0,6,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (601,80,'Processing','7','Processing',NULL,0,0,7,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (602,80,'Failing','8','Failing',NULL,0,0,8,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), - (603,82,'None','1','NONE',NULL,0,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (604,82,'By relationship to case client','2','BY_RELATIONSHIP',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (605,82,'Specific contact','3','SPECIFIC_CONTACT',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (606,82,'User creating the case','4','USER_CREATING_THE_CASE',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (607,83,'Financial Transactions','civicrm_financial_trxn','civicrm_financial_trxn',NULL,0,1,1,NULL,0,0,1,2,NULL,NULL,NULL,NULL), - (608,29,'\"FIXME\" <info@EXAMPLE.ORG>','1','\"FIXME\" <info@EXAMPLE.ORG>',NULL,0,1,1,'Default domain email address and from name.',0,0,1,NULL,1,NULL,NULL,NULL), - (609,54,'Approved','1','Approved',NULL,0,1,1,NULL,0,1,1,4,1,NULL,NULL,NULL), - (610,54,'Rejected','2','Rejected',NULL,0,0,2,NULL,0,1,1,4,1,NULL,NULL,NULL), - (611,54,'None','3','None',NULL,0,0,3,NULL,0,1,1,4,1,NULL,NULL,NULL), - (612,56,'Survey','Survey','civicrm_survey',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), - (613,56,'Cases','Case','civicrm_case','case_type_id',0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (177,21,'Street Address','1','street_address',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (178,21,'Supplemental Address 1','2','supplemental_address_1',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (179,21,'Supplemental Address 2','3','supplemental_address_2',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (180,21,'Supplemental Address 3','4','supplemental_address_3',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (181,21,'City','5','city',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (182,21,'Postal Code','6','postal_code',NULL,0,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (183,21,'Postal Code Suffix','7','postal_code_suffix',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (184,21,'County','8','county',NULL,0,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (185,21,'State/Province','9','state_province',NULL,0,0,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (186,21,'Country','10','country',NULL,0,0,10,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (187,21,'Latitude','11','geo_code_1',NULL,0,0,11,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (188,21,'Longitude','12','geo_code_2',NULL,0,0,12,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (189,21,'Address Name','13','address_name',NULL,0,0,13,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (190,21,'Street Address Parsing','14','street_address_parsing',NULL,0,0,14,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (191,22,'Access Control','1','Access Control',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (192,22,'Mailing List','2','Mailing List',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (193,23,'CRM_Contact_Form_Search_Custom_Sample','1','CRM_Contact_Form_Search_Custom_Sample',NULL,0,0,1,'Household Name and State',0,0,1,NULL,NULL,NULL,NULL,NULL), + (194,23,'CRM_Contact_Form_Search_Custom_ContributionAggregate','2','CRM_Contact_Form_Search_Custom_ContributionAggregate',NULL,0,0,2,'Contribution Aggregate',0,0,1,NULL,NULL,NULL,NULL,NULL), + (195,23,'CRM_Contact_Form_Search_Custom_Group','4','CRM_Contact_Form_Search_Custom_Group',NULL,0,0,4,'Include / Exclude Search',0,0,1,NULL,NULL,NULL,NULL,NULL), + (196,23,'CRM_Contact_Form_Search_Custom_PostalMailing','5','CRM_Contact_Form_Search_Custom_PostalMailing',NULL,0,0,5,'Postal Mailing',0,0,1,NULL,NULL,NULL,NULL,NULL), + (197,23,'CRM_Contact_Form_Search_Custom_Proximity','6','CRM_Contact_Form_Search_Custom_Proximity',NULL,0,0,6,'Proximity Search',0,0,1,NULL,NULL,NULL,NULL,NULL), + (198,23,'CRM_Contact_Form_Search_Custom_EventAggregate','7','CRM_Contact_Form_Search_Custom_EventAggregate',NULL,0,0,7,'Event Aggregate',0,0,1,NULL,NULL,NULL,NULL,NULL), + (199,23,'CRM_Contact_Form_Search_Custom_ActivitySearch','8','CRM_Contact_Form_Search_Custom_ActivitySearch',NULL,0,0,8,'Activity Search',0,0,0,NULL,NULL,NULL,NULL,NULL), + (200,23,'CRM_Contact_Form_Search_Custom_PriceSet','9','CRM_Contact_Form_Search_Custom_PriceSet',NULL,0,0,9,'Price Set Details for Event Participants',0,0,1,NULL,NULL,NULL,NULL,NULL), + (201,23,'CRM_Contact_Form_Search_Custom_ZipCodeRange','10','CRM_Contact_Form_Search_Custom_ZipCodeRange',NULL,0,0,10,'Zip Code Range',0,0,1,NULL,NULL,NULL,NULL,NULL), + (202,23,'CRM_Contact_Form_Search_Custom_DateAdded','11','CRM_Contact_Form_Search_Custom_DateAdded',NULL,0,0,11,'Date Added to CiviCRM',0,0,1,NULL,NULL,NULL,NULL,NULL), + (203,23,'CRM_Contact_Form_Search_Custom_MultipleValues','12','CRM_Contact_Form_Search_Custom_MultipleValues',NULL,0,0,12,'Custom Group Multiple Values Listing',0,0,1,NULL,NULL,NULL,NULL,NULL), + (204,23,'CRM_Contact_Form_Search_Custom_ContribSYBNT','13','CRM_Contact_Form_Search_Custom_ContribSYBNT',NULL,0,0,13,'Contributions made in Year X and not Year Y',0,0,1,NULL,NULL,NULL,NULL,NULL), + (205,23,'CRM_Contact_Form_Search_Custom_TagContributions','14','CRM_Contact_Form_Search_Custom_TagContributions',NULL,0,0,14,'Find Contribution Amounts by Tag',0,0,1,NULL,NULL,NULL,NULL,NULL), + (206,23,'CRM_Contact_Form_Search_Custom_FullText','15','CRM_Contact_Form_Search_Custom_FullText',NULL,0,0,15,'Full-text Search',0,0,1,NULL,NULL,NULL,NULL,NULL), + (207,24,'Scheduled','1','Scheduled',NULL,0,1,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (208,24,'Completed','2','Completed',NULL,1,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (209,24,'Cancelled','3','Cancelled',NULL,2,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (210,24,'Left Message','4','Left Message',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (211,24,'Unreachable','5','Unreachable',NULL,2,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (212,24,'Not Required','6','Not Required',NULL,2,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (213,24,'Available','7','Available',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (214,24,'No-show','8','No_show',NULL,2,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (215,26,'Ongoing','1','Open','Opened',0,1,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (216,26,'Resolved','2','Closed','Closed',0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (217,26,'Urgent','3','Urgent','Opened',0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (218,27,'Name Only','1','Name Only',NULL,0,0,1,'CRM_Event_Page_ParticipantListing_Name',0,1,1,NULL,NULL,NULL,NULL,NULL), + (219,27,'Name and Email','2','Name and Email',NULL,0,0,2,'CRM_Event_Page_ParticipantListing_NameAndEmail',0,1,1,NULL,NULL,NULL,NULL,NULL), + (220,27,'Name, Status and Register Date','3','Name, Status and Register Date',NULL,0,0,3,'CRM_Event_Page_ParticipantListing_NameStatusAndDate',0,1,1,NULL,NULL,NULL,NULL,NULL), + (221,28,'jpg','1','jpg',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (222,28,'jpeg','2','jpeg',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (223,28,'png','3','png',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (224,28,'gif','4','gif',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (225,28,'txt','5','txt',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (226,28,'pdf','6','pdf',NULL,0,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (227,28,'doc','7','doc',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (228,28,'xls','8','xls',NULL,0,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (229,28,'rtf','9','rtf',NULL,0,0,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (230,28,'csv','10','csv',NULL,0,0,10,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (231,28,'ppt','11','ppt',NULL,0,0,11,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (232,28,'docx','12','docx',NULL,0,0,12,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (233,28,'xlsx','13','xlsx',NULL,0,0,13,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (234,28,'odt','14','odt',NULL,0,0,14,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (235,28,'ics','15','ics',NULL,0,0,15,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (236,28,'pptx','16','pptx',NULL,0,0,16,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (237,29,'\"FIXME\" <info@EXAMPLE.ORG>','1','\"FIXME\" <info@EXAMPLE.ORG>',NULL,0,1,1,'Default domain email address and from name.',0,0,1,NULL,1,NULL,NULL,NULL), + (238,30,'Search Builder','1','Search Builder',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (239,30,'Import Contact','2','Import Contact',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (240,30,'Import Activity','3','Import Activity',NULL,0,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (241,30,'Import Contribution','4','Import Contribution',NULL,0,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (242,30,'Import Membership','5','Import Membership',NULL,0,0,5,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (243,30,'Import Participant','6','Import Participant',NULL,0,0,6,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (244,30,'Export Contact','7','Export Contact',NULL,0,0,7,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (245,30,'Export Contribution','8','Export Contribution',NULL,0,0,8,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (246,30,'Export Membership','9','Export Membership',NULL,0,0,9,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (247,30,'Export Participant','10','Export Participant',NULL,0,0,10,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (248,30,'Export Pledge','11','Export Pledge',NULL,0,0,11,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (249,30,'Export Case','12','Export Case',NULL,0,0,12,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (250,30,'Export Activity','14','Export Activity',NULL,0,0,14,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (251,31,'Textarea','1','Textarea',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (252,31,'CKEditor 4','2','CKEditor',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (253,32,'day','day','day',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (254,32,'week','week','week',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (255,32,'month','month','month',NULL,0,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (256,32,'year','year','year',NULL,0,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (257,33,'Phone','1','Phone',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (258,33,'Mobile','2','Mobile',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (259,33,'Fax','3','Fax',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (260,33,'Pager','4','Pager',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (261,33,'Voicemail','5','Voicemail',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (262,34,'Participants (Role)','1','ParticipantRole','role_id',0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (263,34,'Participants (Event Name)','2','ParticipantEventName','event_id',0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (264,34,'Participants (Event Type)','3','ParticipantEventType','event_id.event_type_id',0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (265,35,'Public','1','public',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (266,35,'Admin','2','admin',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (267,36,'IMAP','1','IMAP',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (268,36,'Maildir','2','Maildir',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (269,36,'POP3','3','POP3',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (270,36,'Localdir','4','Localdir',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (271,37,'Urgent','1','Urgent',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (272,37,'Normal','2','Normal',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (273,37,'Low','3','Low',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (274,38,'Vancouver','city_','city_',NULL,0,0,1,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL), + (275,38,'/(19|20)(\\d{2})-(\\d{1,2})-(\\d{1,2})/','date_','date_',NULL,1,0,2,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL), + (276,39,'Constituent Report (Summary)','contact/summary','CRM_Report_Form_Contact_Summary',NULL,0,0,1,'Provides a list of address and telephone information for constituent records in your system.',0,0,1,NULL,NULL,NULL,NULL,NULL), + (277,39,'Constituent Report (Detail)','contact/detail','CRM_Report_Form_Contact_Detail',NULL,0,0,2,'Provides contact-related information on contributions, memberships, events and activities.',0,0,1,NULL,NULL,NULL,NULL,NULL), + (278,39,'Activity Details Report','activity','CRM_Report_Form_Activity',NULL,0,0,3,'Provides a list of constituent activity including activity statistics for one/all contacts during a given date range(required)',0,0,1,NULL,NULL,NULL,NULL,NULL), + (279,39,'Walk / Phone List Report','walklist','CRM_Report_Form_Walklist_Walklist',NULL,0,0,4,'Provides a detailed report for your walk/phonelist for targeted contacts',0,0,0,NULL,NULL,NULL,NULL,NULL), + (280,39,'Current Employer Report','contact/currentEmployer','CRM_Report_Form_Contact_CurrentEmployer',NULL,0,0,5,'Provides detail list of employer employee relationships along with employment details Ex Join Date',0,0,1,NULL,NULL,NULL,NULL,NULL), + (281,39,'Contribution Summary Report','contribute/summary','CRM_Report_Form_Contribute_Summary',NULL,0,0,6,'Groups and totals contributions by criteria including contact, time period, financial type, contributor location, etc.',0,0,1,2,NULL,NULL,NULL,NULL), + (282,39,'Contribution Detail Report','contribute/detail','CRM_Report_Form_Contribute_Detail',NULL,0,0,7,'Lists specific contributions by criteria including contact, time period, financial type, contributor location, etc. Contribution summary report points to this report for contribution details.',0,0,1,2,NULL,NULL,NULL,NULL), + (283,39,'Repeat Contributions Report','contribute/repeat','CRM_Report_Form_Contribute_Repeat',NULL,0,0,8,'Given two date ranges, shows contacts who contributed in both the date ranges with the amount contributed in each and the percentage increase / decrease.',0,0,1,2,NULL,NULL,NULL,NULL), + (284,39,'Contributions by Organization Report','contribute/organizationSummary','CRM_Report_Form_Contribute_OrganizationSummary',NULL,0,0,9,'Displays a detailed list of contributions grouped by organization, which includes contributions made by employees for the organisation.',0,0,1,2,NULL,NULL,NULL,NULL), + (285,39,'Contributions by Household Report','contribute/householdSummary','CRM_Report_Form_Contribute_HouseholdSummary',NULL,0,0,10,'Displays a detailed list of contributions grouped by household which includes contributions made by members of the household.',0,0,1,2,NULL,NULL,NULL,NULL), + (286,39,'Top Donors Report','contribute/topDonor','CRM_Report_Form_Contribute_TopDonor',NULL,0,0,11,'Provides a list of the top donors during a time period you define. You can include as many donors as you want (for example, top 100 of your donors).',0,0,1,2,NULL,NULL,NULL,NULL), + (287,39,'SYBUNT Report','contribute/sybunt','CRM_Report_Form_Contribute_Sybunt',NULL,0,0,12,'SYBUNT means some year(s) but not this year. Provides a list of constituents who donated at some time in the history of your organization but did not donate during the time period you specify.',0,0,1,2,NULL,NULL,NULL,NULL), + (288,39,'LYBUNT Report','contribute/lybunt','CRM_Report_Form_Contribute_Lybunt',NULL,0,0,13,'LYBUNT means last year but not this year. Provides a list of constituents who donated last year but did not donate during the time period you specify as the current year.',0,0,1,2,NULL,NULL,NULL,NULL), + (289,39,'Soft Credit Report','contribute/softcredit','CRM_Report_Form_Contribute_SoftCredit',NULL,0,0,14,'Shows contributions made by contacts that have been soft-credited to other contacts.',0,0,1,2,NULL,NULL,NULL,NULL), + (290,39,'Membership Report (Summary)','member/summary','CRM_Report_Form_Member_Summary',NULL,0,0,15,'Provides a summary of memberships by type and Member Since.',0,0,1,3,NULL,NULL,NULL,NULL), + (291,39,'Membership Report (Detail)','member/detail','CRM_Report_Form_Member_Detail',NULL,0,0,16,'Provides a list of members along with their membership status and membership details (Member Since, Membership Start Date, Membership Expiration Date). Can also display contributions (payments) associated with each membership.',0,0,1,3,NULL,NULL,NULL,NULL), + (292,39,'Membership Report (Lapsed)','member/lapse','CRM_Report_Form_Member_Lapse',NULL,0,0,17,'Provides a list of memberships that lapsed or will lapse before the date you specify.',0,0,1,3,NULL,NULL,NULL,NULL), + (293,39,'Event Participant Report (List)','event/participantListing','CRM_Report_Form_Event_ParticipantListing',NULL,0,0,18,'Provides lists of participants for an event.',0,0,1,1,NULL,NULL,NULL,NULL), + (294,39,'Event Income Report (Summary)','event/summary','CRM_Report_Form_Event_Summary',NULL,0,0,19,'Provides an overview of event income. You can include key information such as event ID, registration, attendance, and income generated to help you determine the success of an event.',0,0,1,1,NULL,NULL,NULL,NULL), + (295,39,'Event Income Report (Detail)','event/income','CRM_Report_Form_Event_Income',NULL,0,0,20,'Helps you to analyze the income generated by an event. The report can include details by participant type, status and payment method.',0,0,1,1,NULL,NULL,NULL,NULL), + (296,39,'Pledge Detail Report','pledge/detail','CRM_Report_Form_Pledge_Detail',NULL,0,0,21,'List of pledges including amount pledged, pledge status, next payment date, balance due, total amount paid etc.',0,0,1,6,NULL,NULL,NULL,NULL), + (297,39,'Pledged but not Paid Report','pledge/pbnp','CRM_Report_Form_Pledge_Pbnp',NULL,0,0,22,'Pledged but not Paid Report',0,0,1,6,NULL,NULL,NULL,NULL), + (298,39,'Relationship Report','contact/relationship','CRM_Report_Form_Contact_Relationship',NULL,0,0,23,'Relationship Report',0,0,1,NULL,NULL,NULL,NULL,NULL), + (299,39,'Case Summary Report','case/summary','CRM_Report_Form_Case_Summary',NULL,0,0,24,'Provides a summary of cases and their duration by date range, status, staff member and / or case role.',0,0,1,7,NULL,NULL,NULL,NULL), + (300,39,'Case Time Spent Report','case/timespent','CRM_Report_Form_Case_TimeSpent',NULL,0,0,25,'Aggregates time spent on case and / or non-case activities by activity type and contact.',0,0,1,7,NULL,NULL,NULL,NULL), + (301,39,'Contact Demographics Report','case/demographics','CRM_Report_Form_Case_Demographics',NULL,0,0,26,'Demographic breakdown for case clients (and or non-case contacts) in your database. Includes custom contact fields.',0,0,1,7,NULL,NULL,NULL,NULL), + (302,39,'Database Log Report','contact/log','CRM_Report_Form_Contact_Log',NULL,0,0,27,'Log of contact and activity records created or updated in a given date range.',0,0,1,NULL,NULL,NULL,NULL,NULL), + (303,39,'Activity Summary Report','activitySummary','CRM_Report_Form_ActivitySummary',NULL,0,0,28,'Shows activity statistics by type / date',0,0,1,NULL,NULL,NULL,NULL,NULL), + (304,39,'Bookkeeping Transactions Report','contribute/bookkeeping','CRM_Report_Form_Contribute_Bookkeeping',NULL,0,0,29,'Shows Bookkeeping Transactions Report',0,0,1,2,NULL,NULL,NULL,NULL), + (305,39,'Participant list Count Report','event/participantlist','CRM_Report_Form_Event_ParticipantListCount',NULL,0,0,31,'Shows the Participant list with Participant Count.',0,0,1,1,NULL,NULL,NULL,NULL), + (306,39,'Income Count Summary Report','event/incomesummary','CRM_Report_Form_Event_IncomeCountSummary',NULL,0,0,32,'Shows the Income Summary of events with Count.',0,0,1,1,NULL,NULL,NULL,NULL), + (307,39,'Case Detail Report','case/detail','CRM_Report_Form_Case_Detail',NULL,0,0,33,'Case Details',0,0,1,7,NULL,NULL,NULL,NULL), + (308,39,'Mail Bounce Report','Mailing/bounce','CRM_Report_Form_Mailing_Bounce',NULL,0,0,34,'Bounce Report for mailings',0,0,1,4,NULL,NULL,NULL,NULL), + (309,39,'Mail Summary Report','Mailing/summary','CRM_Report_Form_Mailing_Summary',NULL,0,0,35,'Summary statistics for mailings',0,0,1,4,NULL,NULL,NULL,NULL), + (310,39,'Mail Opened Report','Mailing/opened','CRM_Report_Form_Mailing_Opened',NULL,0,0,36,'Display contacts who opened emails from a mailing',0,0,1,4,NULL,NULL,NULL,NULL), + (311,39,'Mail Click-Through Report','Mailing/clicks','CRM_Report_Form_Mailing_Clicks',NULL,0,0,37,'Display clicks from each mailing',0,0,1,4,NULL,NULL,NULL,NULL), + (312,39,'Contact Logging Report (Summary)','logging/contact/summary','CRM_Report_Form_Contact_LoggingSummary',NULL,0,0,38,'Contact modification report for the logging infrastructure (summary).',0,0,0,NULL,NULL,NULL,NULL,NULL), + (313,39,'Contact Logging Report (Detail)','logging/contact/detail','CRM_Report_Form_Contact_LoggingDetail',NULL,0,0,39,'Contact modification report for the logging infrastructure (detail).',0,0,0,NULL,NULL,NULL,NULL,NULL), + (314,39,'Survey Report (Detail)','survey/detail','CRM_Report_Form_Campaign_SurveyDetails',NULL,0,0,43,'Detailed report for canvassing, phone-banking, walk lists or other surveys.',0,0,1,9,NULL,NULL,NULL,NULL), + (315,39,'Personal Campaign Page Report','contribute/pcp','CRM_Report_Form_Contribute_PCP',NULL,0,0,44,'Summarizes amount raised and number of contributors for each Personal Campaign Page.',0,0,1,2,NULL,NULL,NULL,NULL), + (316,39,'Pledge Summary Report','pledge/summary','CRM_Report_Form_Pledge_Summary',NULL,0,0,45,'Groups and totals pledges by criteria including contact, time period, pledge status, location, etc.',0,0,1,6,NULL,NULL,NULL,NULL), + (317,39,'Contribution Aggregate by Relationship','contribute/history','CRM_Report_Form_Contribute_History',NULL,0,0,46,'List contact\'s donation history, grouped by year, along with contributions attributed to any of the contact\'s related contacts.',0,0,1,2,NULL,NULL,NULL,NULL), + (318,39,'Mail Detail Report','mailing/detail','CRM_Report_Form_Mailing_Detail',NULL,0,0,47,'Provides reporting on Intended and Successful Deliveries, Unsubscribes and Opt-outs, Replies and Forwards.',0,0,1,4,NULL,NULL,NULL,NULL), + (319,39,'Contribution and Membership Details','member/contributionDetail','CRM_Report_Form_Member_ContributionDetail',NULL,0,0,48,'Contribution details for any type of contribution, plus associated membership information for contributions which are in payment for memberships.',0,0,1,3,NULL,NULL,NULL,NULL), + (320,39,'Recurring Contributions Report','contribute/recur','CRM_Report_Form_Contribute_Recur',NULL,0,0,49,'Provides information about the status of recurring contributions',0,0,1,2,NULL,NULL,NULL,NULL), + (321,39,'Recurring Contributions Summary','contribute/recursummary','CRM_Report_Form_Contribute_RecurSummary',NULL,0,0,49,'Provides simple summary for each payment instrument for which there are recurring contributions (e.g. Credit Card, Standing Order, Direct Debit, etc., NULL), showing within a given date range.',0,0,1,2,NULL,NULL,NULL,NULL), + (322,39,'Deferred Revenue Details','contribute/deferredrevenue','CRM_Report_Form_Contribute_DeferredRevenue',NULL,0,0,50,'Deferred Revenue Details Report',0,0,1,2,NULL,NULL,NULL,NULL), + (323,40,'Dear {contact.first_name}','1','Dear {contact.first_name}',NULL,1,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (324,40,'Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}','2','Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}',NULL,1,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (325,40,'Dear {contact.prefix_id:label} {contact.last_name}','3','Dear {contact.prefix_id:label} {contact.last_name}',NULL,1,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (326,40,'Customized','4','Customized',NULL,0,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (327,40,'Dear {contact.household_name}','5','Dear {contact.household_name}',NULL,2,1,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (328,41,'Dear {contact.first_name}','1','Dear {contact.first_name}',NULL,1,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (329,41,'Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}','2','Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}',NULL,1,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (330,41,'Dear {contact.prefix_id:label} {contact.last_name}','3','Dear {contact.prefix_id:label} {contact.last_name}',NULL,1,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (331,41,'Customized','4','Customized',NULL,0,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (332,41,'Dear {contact.household_name}','5','Dear {contact.household_name}',NULL,2,1,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (333,42,'{contact.prefix_id:label}{ }{contact.first_name}{ }{contact.middle_name}{ }{contact.last_name}{ }{contact.suffix_id:label}','1','{contact.prefix_id:label}{ }{contact.first_name}{ }{contact.middle_name}{ }{contact.last_name}{ }{contact.suffix_id:label}',NULL,1,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (334,42,'{contact.household_name}','2','{contact.household_name}',NULL,2,1,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (335,42,'{contact.organization_name}','3','{contact.organization_name}',NULL,3,1,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (336,42,'Customized','4','Customized',NULL,0,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (337,43,'Email Address','2','email',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (338,43,'Phone','3','phone',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (339,43,'Street Address','4','street_address',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (340,43,'City','5','city',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (341,43,'State/Province','6','state_province',NULL,0,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (342,43,'Country','7','country',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (343,43,'Postal Code','8','postal_code',NULL,0,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (344,44,'Email Address','2','email',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (345,44,'Phone','3','phone',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (346,44,'Street Address','4','street_address',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (347,44,'City','5','city',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (348,44,'State/Province','6','state_province',NULL,0,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (349,44,'Country','7','country',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (350,44,'Postal Code','8','postal_code',NULL,0,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (351,45,'Work','1','Work',NULL,0,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (352,45,'Main','2','Main',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (353,45,'Facebook','3','Facebook',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (354,45,'Instagram','5','Instagram',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (355,45,'LinkedIn','6','LinkedIn',NULL,0,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (356,45,'MySpace','7','MySpace',NULL,0,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (357,45,'Pinterest','8','Pinterest',NULL,0,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (358,45,'SnapChat','9','SnapChat',NULL,0,0,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (359,45,'Tumblr','10','Tumblr',NULL,0,0,10,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (360,45,'Twitter','11','Twitter',NULL,0,0,11,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (361,45,'Vine','12','Vine ',NULL,0,0,12,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (362,46,'Contacts','civicrm_contact','Contact',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (363,46,'Activities','civicrm_activity','Activity',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (364,46,'Cases','civicrm_case','Case',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (365,46,'Attachments','civicrm_file','File',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (366,47,'Contacts','civicrm_contact','Contact',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (367,47,'Relationships','civicrm_relationship','Relationship',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (368,47,'Participants','civicrm_participant','Participant',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (369,47,'Contributions','civicrm_contribution','Contribution',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (370,48,'USD ($)','USD','USD',NULL,0,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (371,48,'CAD ($)','CAD','CAD',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (372,48,'EUR (€)','EUR','EUR',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (373,48,'GBP (£)','GBP','GBP',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (374,48,'JPY (Â¥)','JPY','JPY',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (375,49,'Name Only','1','CRM_Event_Badge_Simple',NULL,0,0,1,'Simple Event Name Badge',0,1,1,NULL,NULL,NULL,NULL,NULL), + (376,49,'Name Tent','2','CRM_Event_Badge_NameTent',NULL,0,0,2,'Name Tent',0,1,1,NULL,NULL,NULL,NULL,NULL), + (377,49,'With Logo','3','CRM_Event_Badge_Logo',NULL,0,0,3,'You can set your own background image',0,1,1,NULL,NULL,NULL,NULL,NULL), + (378,49,'5395 with Logo','4','CRM_Event_Badge_Logo5395',NULL,0,0,4,'Avery 5395 compatible labels with logo (4 up by 2, 59.2mm x 85.7mm)',0,1,1,NULL,NULL,NULL,NULL,NULL), + (379,50,'None','0','None',NULL,0,1,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (380,50,'Author Only','1','Author Only',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (381,51,'Direct Mail','1','Direct Mail',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (382,51,'Referral Program','2','Referral Program',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (383,51,'Constituent Engagement','3','Constituent Engagement',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (384,52,'Planned','1','Planned',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (385,52,'In Progress','2','In Progress',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (386,52,'Completed','3','Completed',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (387,52,'Cancelled','4','Cancelled',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (388,54,'Approved','1','Approved',NULL,0,1,1,NULL,0,1,1,4,1,NULL,NULL,NULL), + (389,54,'Rejected','2','Rejected',NULL,0,0,2,NULL,0,1,1,4,1,NULL,NULL,NULL), + (390,54,'None','3','None',NULL,0,0,3,NULL,0,1,1,4,1,NULL,NULL,NULL), + (391,55,'1','1','1',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (392,55,'2','2','2',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (393,55,'3','3','3',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (394,55,'4','4','4',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (395,55,'5','5','5',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (396,56,'Survey','Survey','civicrm_survey',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (397,56,'Cases','Case','civicrm_case','case_type_id',0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (398,57,'Letter','{\"metric\":\"in\",\"width\":8.5,\"height\":11}','letter',NULL,NULL,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (399,57,'Legal','{\"metric\":\"in\",\"width\":8.5,\"height\":14}','legal',NULL,NULL,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (400,57,'Ledger','{\"metric\":\"in\",\"width\":17,\"height\":11}','ledger',NULL,NULL,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (401,57,'Tabloid','{\"metric\":\"in\",\"width\":11,\"height\":17}','tabloid',NULL,NULL,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (402,57,'Executive','{\"metric\":\"in\",\"width\":7.25,\"height\":10.5}','executive',NULL,NULL,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (403,57,'Folio','{\"metric\":\"in\",\"width\":8.5,\"height\":13}','folio',NULL,NULL,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (404,57,'Envelope #9','{\"metric\":\"pt\",\"width\":638.93,\"height\":278.93}','envelope-9',NULL,NULL,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (405,57,'Envelope #10','{\"metric\":\"pt\",\"width\":684,\"height\":297}','envelope-10',NULL,NULL,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (406,57,'Envelope #11','{\"metric\":\"pt\",\"width\":747,\"height\":324}','envelope-11',NULL,NULL,0,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (407,57,'Envelope #12','{\"metric\":\"pt\",\"width\":792,\"height\":342}','envelope-12',NULL,NULL,0,10,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (408,57,'Envelope #14','{\"metric\":\"pt\",\"width\":828,\"height\":360}','envelope-14',NULL,NULL,0,11,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (409,57,'Envelope ISO B4','{\"metric\":\"pt\",\"width\":1000.63,\"height\":708.66}','envelope-b4',NULL,NULL,0,12,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (410,57,'Envelope ISO B5','{\"metric\":\"pt\",\"width\":708.66,\"height\":498.9}','envelope-b5',NULL,NULL,0,13,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (411,57,'Envelope ISO B6','{\"metric\":\"pt\",\"width\":498.9,\"height\":354.33}','envelope-b6',NULL,NULL,0,14,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (412,57,'Envelope ISO C3','{\"metric\":\"pt\",\"width\":1298.27,\"height\":918.42}','envelope-c3',NULL,NULL,0,15,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (413,57,'Envelope ISO C4','{\"metric\":\"pt\",\"width\":918.42,\"height\":649.13}','envelope-c4',NULL,NULL,0,16,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (414,57,'Envelope ISO C5','{\"metric\":\"pt\",\"width\":649.13,\"height\":459.21}','envelope-c5',NULL,NULL,0,17,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (415,57,'Envelope ISO C6','{\"metric\":\"pt\",\"width\":459.21,\"height\":323.15}','envelope-c6',NULL,NULL,0,18,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (416,57,'Envelope ISO DL','{\"metric\":\"pt\",\"width\":623.622,\"height\":311.811}','envelope-dl',NULL,NULL,0,19,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (417,57,'ISO A0','{\"metric\":\"pt\",\"width\":2383.94,\"height\":3370.39}','a0',NULL,NULL,0,20,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (418,57,'ISO A1','{\"metric\":\"pt\",\"width\":1683.78,\"height\":2383.94}','a1',NULL,NULL,0,21,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (419,57,'ISO A2','{\"metric\":\"pt\",\"width\":1190.55,\"height\":1683.78}','a2',NULL,NULL,0,22,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (420,57,'ISO A3','{\"metric\":\"pt\",\"width\":841.89,\"height\":1190.55}','a3',NULL,NULL,0,23,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (421,57,'ISO A4','{\"metric\":\"pt\",\"width\":595.28,\"height\":841.89}','a4',NULL,NULL,0,24,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (422,57,'ISO A5','{\"metric\":\"pt\",\"width\":419.53,\"height\":595.28}','a5',NULL,NULL,0,25,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (423,57,'ISO A6','{\"metric\":\"pt\",\"width\":297.64,\"height\":419.53}','a6',NULL,NULL,0,26,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (424,57,'ISO A7','{\"metric\":\"pt\",\"width\":209.76,\"height\":297.64}','a7',NULL,NULL,0,27,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (425,57,'ISO A8','{\"metric\":\"pt\",\"width\":147.4,\"height\":209.76}','a8',NULL,NULL,0,28,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (426,57,'ISO A9','{\"metric\":\"pt\",\"width\":104.88,\"height\":147.4}','a9',NULL,NULL,0,29,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (427,57,'ISO A10','{\"metric\":\"pt\",\"width\":73.7,\"height\":104.88}','a10',NULL,NULL,0,30,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (428,57,'ISO B0','{\"metric\":\"pt\",\"width\":2834.65,\"height\":4008.19}','b0',NULL,NULL,0,31,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (429,57,'ISO B1','{\"metric\":\"pt\",\"width\":2004.09,\"height\":2834.65}','b1',NULL,NULL,0,32,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (430,57,'ISO B2','{\"metric\":\"pt\",\"width\":1417.32,\"height\":2004.09}','b2',NULL,NULL,0,33,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (431,57,'ISO B3','{\"metric\":\"pt\",\"width\":1000.63,\"height\":1417.32}','b3',NULL,NULL,0,34,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (432,57,'ISO B4','{\"metric\":\"pt\",\"width\":708.66,\"height\":1000.63}','b4',NULL,NULL,0,35,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (433,57,'ISO B5','{\"metric\":\"pt\",\"width\":498.9,\"height\":708.66}','b5',NULL,NULL,0,36,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (434,57,'ISO B6','{\"metric\":\"pt\",\"width\":354.33,\"height\":498.9}','b6',NULL,NULL,0,37,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (435,57,'ISO B7','{\"metric\":\"pt\",\"width\":249.45,\"height\":354.33}','b7',NULL,NULL,0,38,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (436,57,'ISO B8','{\"metric\":\"pt\",\"width\":175.75,\"height\":249.45}','b8',NULL,NULL,0,39,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (437,57,'ISO B9','{\"metric\":\"pt\",\"width\":124.72,\"height\":175.75}','b9',NULL,NULL,0,40,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (438,57,'ISO B10','{\"metric\":\"pt\",\"width\":87.87,\"height\":124.72}','b10',NULL,NULL,0,41,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (439,57,'ISO C0','{\"metric\":\"pt\",\"width\":2599.37,\"height\":3676.54}','c0',NULL,NULL,0,42,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (440,57,'ISO C1','{\"metric\":\"pt\",\"width\":1836.85,\"height\":2599.37}','c1',NULL,NULL,0,43,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (441,57,'ISO C2','{\"metric\":\"pt\",\"width\":1298.27,\"height\":1836.85}','c2',NULL,NULL,0,44,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (442,57,'ISO C3','{\"metric\":\"pt\",\"width\":918.43,\"height\":1298.27}','c3',NULL,NULL,0,45,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (443,57,'ISO C4','{\"metric\":\"pt\",\"width\":649.13,\"height\":918.43}','c4',NULL,NULL,0,46,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (444,57,'ISO C5','{\"metric\":\"pt\",\"width\":459.21,\"height\":649.13}','c5',NULL,NULL,0,47,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (445,57,'ISO C6','{\"metric\":\"pt\",\"width\":323.15,\"height\":459.21}','c6',NULL,NULL,0,48,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (446,57,'ISO C7','{\"metric\":\"pt\",\"width\":229.61,\"height\":323.15}','c7',NULL,NULL,0,49,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (447,57,'ISO C8','{\"metric\":\"pt\",\"width\":161.57,\"height\":229.61}','c8',NULL,NULL,0,50,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (448,57,'ISO C9','{\"metric\":\"pt\",\"width\":113.39,\"height\":161.57}','c9',NULL,NULL,0,51,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (449,57,'ISO C10','{\"metric\":\"pt\",\"width\":79.37,\"height\":113.39}','c10',NULL,NULL,0,52,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (450,57,'ISO RA0','{\"metric\":\"pt\",\"width\":2437.8,\"height\":3458.27}','ra0',NULL,NULL,0,53,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (451,57,'ISO RA1','{\"metric\":\"pt\",\"width\":1729.13,\"height\":2437.8}','ra1',NULL,NULL,0,54,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (452,57,'ISO RA2','{\"metric\":\"pt\",\"width\":1218.9,\"height\":1729.13}','ra2',NULL,NULL,0,55,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (453,57,'ISO RA3','{\"metric\":\"pt\",\"width\":864.57,\"height\":1218.9}','ra3',NULL,NULL,0,56,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (454,57,'ISO RA4','{\"metric\":\"pt\",\"width\":609.45,\"height\":864.57}','ra4',NULL,NULL,0,57,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (455,57,'ISO SRA0','{\"metric\":\"pt\",\"width\":2551.18,\"height\":3628.35}','sra0',NULL,NULL,0,58,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (456,57,'ISO SRA1','{\"metric\":\"pt\",\"width\":1814.17,\"height\":2551.18}','sra1',NULL,NULL,0,59,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (457,57,'ISO SRA2','{\"metric\":\"pt\",\"width\":1275.59,\"height\":1814.17}','sra2',NULL,NULL,0,60,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (458,57,'ISO SRA3','{\"metric\":\"pt\",\"width\":907.09,\"height\":1275.59}','sra3',NULL,NULL,0,61,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (459,57,'ISO SRA4','{\"metric\":\"pt\",\"width\":637.8,\"height\":907.09}','sra4',NULL,NULL,0,62,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (460,58,'Invoice PDF Format','{\"metric\":\"px\",\"margin_top\":10,\"margin_bottom\":0,\"margin_left\":65,\"margin_right\":0}','default_invoice_pdf_format',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (461,59,'Avery 3475','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":10,\"font-style\":\"\",\"metric\":\"mm\",\"lMargin\":0,\"tMargin\":5,\"NX\":3,\"NY\":8,\"SpaceX\":0,\"SpaceY\":0,\"width\":70,\"height\":36,\"lPadding\":5.08,\"tPadding\":5.08}','3475','Avery',NULL,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (462,59,'Avery 5160','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.21975,\"tMargin\":0.5,\"NX\":3,\"NY\":10,\"SpaceX\":0.14,\"SpaceY\":0,\"width\":2.5935,\"height\":1,\"lPadding\":0.20,\"tPadding\":0.20}','5160','Avery',NULL,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (463,59,'Avery 5161','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.175,\"tMargin\":0.5,\"NX\":2,\"NY\":10,\"SpaceX\":0.15625,\"SpaceY\":0,\"width\":4,\"height\":1,\"lPadding\":0.20,\"tPadding\":0.20}','5161','Avery',NULL,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (464,59,'Avery 5162','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.1525,\"tMargin\":0.88,\"NX\":2,\"NY\":7,\"SpaceX\":0.195,\"SpaceY\":0,\"width\":4,\"height\":1.33,\"lPadding\":0.20,\"tPadding\":0.20}','5162','Avery',NULL,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (465,59,'Avery 5163','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.18,\"tMargin\":0.5,\"NX\":2,\"NY\":5,\"SpaceX\":0.14,\"SpaceY\":0,\"width\":4,\"height\":2,\"lPadding\":0.20,\"tPadding\":0.20}','5163','Avery',NULL,0,5,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (466,59,'Avery 5164','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":12,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.156,\"tMargin\":0.5,\"NX\":2,\"NY\":3,\"SpaceX\":0.1875,\"SpaceY\":0,\"width\":4,\"height\":3.33,\"lPadding\":0.20,\"tPadding\":0.20}','5164','Avery',NULL,0,6,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (467,59,'Avery 8600','{\"paper-size\":\"letter\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":8,\"font-style\":\"\",\"metric\":\"mm\",\"lMargin\":7.1,\"tMargin\":19,\"NX\":3,\"NY\":10,\"SpaceX\":9.5,\"SpaceY\":3.1,\"width\":66.6,\"height\":25.4,\"lPadding\":5.08,\"tPadding\":5.08}','8600','Avery',NULL,0,7,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (468,59,'Avery L7160','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.28,\"tMargin\":0.6,\"NX\":3,\"NY\":7,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":2.5,\"height\":1.5,\"lPadding\":0.20,\"tPadding\":0.20}','L7160','Avery',NULL,0,8,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (469,59,'Avery L7161','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.28,\"tMargin\":0.35,\"NX\":3,\"NY\":6,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":2.5,\"height\":1.83,\"lPadding\":0.20,\"tPadding\":0.20}','L7161','Avery',NULL,0,9,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (470,59,'Avery L7162','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.18,\"tMargin\":0.51,\"NX\":2,\"NY\":8,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":3.9,\"height\":1.33,\"lPadding\":0.20,\"tPadding\":0.20}','L7162','Avery',NULL,0,10,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (471,59,'Avery L7163','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"dejavusans\",\"font-size\":9,\"font-style\":\"\",\"metric\":\"in\",\"lMargin\":0.18,\"tMargin\":0.6,\"NX\":2,\"NY\":7,\"SpaceX\":0.1,\"SpaceY\":0,\"width\":3.9,\"height\":1.5,\"lPadding\":0.20,\"tPadding\":0.20}','L7163','Avery',NULL,0,11,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (472,60,'Activity Assignees','1','Activity Assignees',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (473,60,'Activity Source','2','Activity Source',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (474,60,'Activity Targets','3','Activity Targets',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (475,61,'Income Account is','1','Income Account is',NULL,0,1,1,'Income Account is',0,1,1,2,NULL,NULL,NULL,NULL), + (476,61,'Credit/Contra Revenue Account is','2','Credit/Contra Revenue Account is',NULL,0,0,2,'Credit/Contra Revenue Account is',0,1,1,2,NULL,NULL,NULL,NULL), + (477,61,'Accounts Receivable Account is','3','Accounts Receivable Account is',NULL,0,0,3,'Accounts Receivable Account is',0,1,1,2,NULL,NULL,NULL,NULL), + (478,61,'Credit Liability Account is','4','Credit Liability Account is',NULL,0,0,4,'Credit Liability Account is',0,1,0,2,NULL,NULL,NULL,NULL), + (479,61,'Expense Account is','5','Expense Account is',NULL,0,0,5,'Expense Account is',0,1,1,2,NULL,NULL,NULL,NULL), + (480,61,'Asset Account is','6','Asset Account is',NULL,0,0,6,'Asset Account is',0,1,1,2,NULL,NULL,NULL,NULL), + (481,61,'Cost of Sales Account is','7','Cost of Sales Account is',NULL,0,0,7,'Cost of Sales Account is',0,1,1,2,NULL,NULL,NULL,NULL), + (482,61,'Premiums Inventory Account is','8','Premiums Inventory Account is',NULL,0,0,8,'Premiums Inventory Account is',0,1,1,2,NULL,NULL,NULL,NULL), + (483,61,'Discounts Account is','9','Discounts Account is',NULL,0,0,9,'Discounts Account is',0,1,1,2,NULL,NULL,NULL,NULL), + (484,61,'Sales Tax Account is','10','Sales Tax Account is',NULL,0,0,10,'Sales Tax Account is',0,1,1,2,NULL,NULL,NULL,NULL), + (485,61,'Chargeback Account is','11','Chargeback Account is',NULL,0,0,11,'Chargeback Account is',0,1,1,2,NULL,NULL,NULL,NULL), + (486,61,'Deferred Revenue Account is','12','Deferred Revenue Account is',NULL,0,0,12,'Deferred Revenue Account is',0,1,1,2,NULL,NULL,NULL,NULL), + (487,62,'Participant Role','1','participant_role',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (488,63,'Morning Sessions','1','Morning Sessions',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (489,63,'Evening Sessions','2','Evening Sessions',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (490,64,'Contribution','1','Contribution',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (491,64,'Membership','2','Membership',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (492,64,'Pledge Payment','3','Pledge Payment',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (493,65,'Manual Batch','1','Manual Batch',NULL,0,0,1,'Manual Batch',0,1,1,2,NULL,NULL,NULL,NULL), + (494,65,'Automatic Batch','2','Automatic Batch',NULL,0,0,2,'Automatic Batch',0,1,1,2,NULL,NULL,NULL,NULL), + (495,66,'Open','1','Open',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (496,66,'Closed','2','Closed',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (497,66,'Data Entry','3','Data Entry',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (498,66,'Reopened','4','Reopened',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (499,66,'Exported','5','Exported',NULL,0,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (500,67,'http','1','http',NULL,NULL,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (501,67,'xml','2','xml',NULL,NULL,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (502,67,'smtp','3','smtp',NULL,NULL,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (503,69,'Renewal Reminder (non-auto-renew memberships only)','1','Renewal Reminder (non-auto-renew memberships only)',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (504,69,'Auto-renew Memberships Only','2','Auto-renew Memberships Only',NULL,0,NULL,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (505,69,'Reminder for Both','3','Reminder for Both',NULL,0,NULL,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (506,70,'Asset','1','Asset',NULL,0,0,1,'Things you own',0,1,1,2,NULL,NULL,NULL,NULL), + (507,70,'Liability','2','Liability',NULL,0,0,2,'Things you owe, like a grant still to be disbursed',0,1,1,2,NULL,NULL,NULL,NULL), + (508,70,'Revenue','3','Revenue',NULL,0,1,3,'Income from contributions and sales of tickets and memberships',0,1,1,2,NULL,NULL,NULL,NULL), + (509,70,'Cost of Sales','4','Cost of Sales',NULL,0,0,4,'Costs incurred to get revenue, e.g. premiums for donations, dinner for a fundraising dinner ticket',0,1,1,2,NULL,NULL,NULL,NULL), + (510,70,'Expenses','5','Expenses',NULL,0,0,5,'Things that are paid for that are consumable, e.g. grants disbursed',0,1,1,2,NULL,NULL,NULL,NULL), + (511,71,'Paid','1','Paid',NULL,0,0,1,'Paid',0,1,1,2,NULL,NULL,NULL,NULL), + (512,71,'Unpaid','3','Unpaid',NULL,0,0,1,'Unpaid',0,1,1,2,NULL,NULL,NULL,NULL), + (513,71,'Partially paid','2','Partially paid',NULL,0,0,2,'Partially paid',0,1,1,2,NULL,NULL,NULL,NULL), + (514,72,'Event Badge','1','Event Badge',NULL,0,NULL,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (515,73,'Avery 5395','{\"name\":\"Avery 5395\",\"paper-size\":\"a4\",\"metric\":\"mm\",\"lMargin\":15,\"tMargin\":26,\"NX\":2,\"NY\":4,\"SpaceX\":10,\"SpaceY\":5,\"width\":83,\"height\":57,\"font-size\":12,\"orientation\":\"portrait\",\"font-name\":\"helvetica\",\"font-style\":\"\",\"lPadding\":3,\"tPadding\":3}','Avery 5395',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (516,73,'A6 Badge Portrait 150x106','{\"paper-size\":\"a4\",\"orientation\":\"landscape\",\"font-name\":\"times\",\"font-size\":6,\"font-style\":\"\",\"NX\":2,\"NY\":1,\"metric\":\"mm\",\"lMargin\":25,\"tMargin\":27,\"SpaceX\":0,\"SpaceY\":35,\"width\":106,\"height\":150,\"lPadding\":5,\"tPadding\":5}','A6 Badge Portrait 150x106',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (517,73,'Fattorini Name Badge 100x65','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"times\",\"font-size\":6,\"font-style\":\"\",\"NX\":2,\"NY\":4,\"metric\":\"mm\",\"lMargin\":6,\"tMargin\":19,\"SpaceX\":0,\"SpaceY\":0,\"width\":100,\"height\":65,\"lPadding\":0,\"tPadding\":0}','Fattorini Name Badge 100x65',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (518,73,'Hanging Badge 3-3/4\" x 4-3\"/4','{\"paper-size\":\"a4\",\"orientation\":\"portrait\",\"font-name\":\"times\",\"font-size\":6,\"font-style\":\"\",\"NX\":2,\"NY\":2,\"metric\":\"mm\",\"lMargin\":10,\"tMargin\":28,\"SpaceX\":0,\"SpaceY\":0,\"width\":96,\"height\":121,\"lPadding\":5,\"tPadding\":5}','Hanging Badge 3-3/4\" x 4-3\"/4',NULL,0,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (519,74,'Formal','1','formal',NULL,0,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (520,74,'Familiar','2','familiar',NULL,0,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (521,75,'Email','Email','Email',NULL,0,1,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (522,75,'SMS','SMS','SMS',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (523,75,'User Preference','User_Preference','User Preference',NULL,0,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (524,76,'Actual date only','1','Actual date only',NULL,NULL,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (525,76,'Each anniversary','2','Each anniversary',NULL,NULL,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (526,77,'Default','1','default',NULL,NULL,1,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (527,77,'CiviMail','2','civimail',NULL,NULL,0,2,NULL,0,1,1,4,NULL,NULL,NULL,NULL), + (528,77,'CiviEvent','3','civievent',NULL,NULL,0,3,NULL,0,1,1,1,NULL,NULL,NULL,NULL), + (529,78,'Today','this.day','this.day',NULL,NULL,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (530,78,'This week','this.week','this.week',NULL,NULL,0,2,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (531,78,'This calendar month','this.month','this.month',NULL,NULL,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (532,78,'This quarter','this.quarter','this.quarter',NULL,NULL,0,4,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (533,78,'This fiscal year','this.fiscal_year','this.fiscal_year',NULL,NULL,0,5,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (534,78,'This calendar year','this.year','this.year',NULL,NULL,0,6,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (535,78,'Yesterday','previous.day','previous.day',NULL,NULL,0,7,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (536,78,'Previous week','previous.week','previous.week',NULL,NULL,0,8,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (537,78,'Previous calendar month','previous.month','previous.month',NULL,NULL,0,9,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (538,78,'Previous quarter','previous.quarter','previous.quarter',NULL,NULL,0,10,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (539,78,'Previous fiscal year','previous.fiscal_year','previous.fiscal_year',NULL,NULL,0,11,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (540,78,'Previous calendar year','previous.year','previous.year',NULL,NULL,0,12,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (541,78,'Last 7 days including today','ending.week','ending.week',NULL,NULL,0,13,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (542,78,'Last 30 days including today','ending_30.day','ending.month',NULL,NULL,0,14,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (543,78,'Last 60 days including today','ending_60.day','ending_2.month',NULL,NULL,0,15,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (544,78,'Last 90 days including today','ending_90.day','ending.quarter',NULL,NULL,0,16,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (545,78,'Last 12 months including today','ending.year','ending.year',NULL,NULL,0,17,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (546,78,'Last 2 years including today','ending_2.year','ending_2.year',NULL,NULL,0,18,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (547,78,'Last 3 years including today','ending_3.year','ending_3.year',NULL,NULL,0,19,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (548,78,'Tomorrow','starting.day','starting.day',NULL,NULL,0,20,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (549,78,'Next week','next.week','next.week',NULL,NULL,0,21,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (550,78,'Next calendar month','next.month','next.month',NULL,NULL,0,22,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (551,78,'Next quarter','next.quarter','next.quarter',NULL,NULL,0,23,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (552,78,'Next fiscal year','next.fiscal_year','next.fiscal_year',NULL,NULL,0,24,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (553,78,'Next calendar year','next.year','next.year',NULL,NULL,0,25,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (554,78,'Next 7 days including today','starting.week','starting.week',NULL,NULL,0,26,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (555,78,'Next 30 days including today','starting.month','starting.month',NULL,NULL,0,27,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (556,78,'Next 60 days including today','starting_2.month','starting_2.month',NULL,NULL,0,28,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (557,78,'Next 90 days including today','starting.quarter','starting.quarter',NULL,NULL,0,29,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (558,78,'Next 12 months including today','starting.year','starting.year',NULL,NULL,0,30,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (559,78,'Current week to-date','current.week','current.week',NULL,NULL,0,31,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (560,78,'Current calendar month to-date','current.month','current.month',NULL,NULL,0,32,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (561,78,'Current quarter to-date','current.quarter','current.quarter',NULL,NULL,0,33,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (562,78,'Current calendar year to-date','current.year','current.year',NULL,NULL,0,34,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (563,78,'To end of yesterday','earlier.day','earlier.day',NULL,NULL,0,35,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (564,78,'To end of previous week','earlier.week','earlier.week',NULL,NULL,0,36,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (565,78,'To end of previous calendar month','earlier.month','earlier.month',NULL,NULL,0,37,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (566,78,'To end of previous quarter','earlier.quarter','earlier.quarter',NULL,NULL,0,38,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (567,78,'To end of previous calendar year','earlier.year','earlier.year',NULL,NULL,0,39,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (568,78,'From start of current day','greater.day','greater.day',NULL,NULL,0,40,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (569,78,'From start of current week','greater.week','greater.week',NULL,NULL,0,41,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (570,78,'From start of current calendar month','greater.month','greater.month',NULL,NULL,0,42,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (571,78,'From start of current quarter','greater.quarter','greater.quarter',NULL,NULL,0,43,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (572,78,'From start of current calendar year','greater.year','greater.year',NULL,NULL,0,44,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (573,78,'To end of current week','less.week','less.week',NULL,NULL,0,45,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (574,78,'To end of current calendar month','less.month','less.month',NULL,NULL,0,46,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (575,78,'To end of current quarter','less.quarter','less.quarter',NULL,NULL,0,47,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (576,78,'To end of current calendar year','less.year','less.year',NULL,NULL,0,48,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (577,78,'Previous 2 days','previous_2.day','previous_2.day',NULL,NULL,0,49,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (578,78,'Previous 2 weeks','previous_2.week','previous_2.week',NULL,NULL,0,50,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (579,78,'Previous 2 calendar months','previous_2.month','previous_2.month',NULL,NULL,0,51,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (580,78,'Previous 2 quarters','previous_2.quarter','previous_2.quarter',NULL,NULL,0,52,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (581,78,'Previous 2 calendar years','previous_2.year','previous_2.year',NULL,NULL,0,53,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (582,78,'Previous 2 fiscal years','previous_2.fiscal_year','previous_2.fiscal_year',NULL,NULL,0,54,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (583,78,'Day prior to yesterday','previous_before.day','previous_before.day',NULL,NULL,0,55,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (584,78,'Week prior to previous week','previous_before.week','previous_before.week',NULL,NULL,0,56,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (585,78,'Month prior to previous calendar month','previous_before.month','previous_before.month',NULL,NULL,NULL,57,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (586,78,'Quarter prior to previous quarter','previous_before.quarter','previous_before.quarter',NULL,NULL,0,58,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (587,78,'Year prior to previous calendar year','previous_before.year','previous_before.year',NULL,NULL,0,59,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (588,78,'Fiscal year prior to previous fiscal year','previous_before.fiscal_year','previous_before.fiscal_year',NULL,NULL,0,60,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (589,78,'From end of previous week','greater_previous.week','greater_previous.week',NULL,NULL,0,61,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (590,78,'From end of previous calendar month','greater_previous.month','greater_previous.month',NULL,NULL,0,62,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (591,78,'From end of previous quarter','greater_previous.quarter','greater_previous.quarter',NULL,NULL,0,63,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (592,78,'From end of previous calendar year','greater_previous.year','greater_previous.year',NULL,NULL,0,64,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (593,79,'Completed','1','Completed',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (594,79,'Pending','2','Pending',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (595,79,'Cancelled','3','Cancelled',NULL,0,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (596,79,'In Progress','5','In Progress',NULL,0,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (597,79,'Overdue','6','Overdue',NULL,0,0,5,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (598,80,'Completed','1','Completed',NULL,0,0,1,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (599,80,'Pending','2','Pending',NULL,0,0,2,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (600,80,'Cancelled','3','Cancelled',NULL,0,0,3,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (601,80,'Failed','4','Failed',NULL,0,0,4,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (602,80,'In Progress','5','In Progress',NULL,0,0,5,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (603,80,'Overdue','6','Overdue',NULL,0,0,6,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (604,80,'Processing','7','Processing',NULL,0,0,7,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (605,80,'Failing','8','Failing',NULL,0,0,8,NULL,0,1,1,NULL,NULL,NULL,NULL,NULL), + (606,81,'Production','Production','Production',NULL,NULL,1,1,'Production Environment',0,1,1,NULL,NULL,NULL,NULL,NULL), + (607,81,'Staging','Staging','Staging',NULL,NULL,0,2,'Staging Environment',0,1,1,NULL,NULL,NULL,NULL,NULL), + (608,81,'Development','Development','Development',NULL,NULL,0,3,'Development Environment',0,1,1,NULL,NULL,NULL,NULL,NULL), + (609,82,'None','1','NONE',NULL,0,1,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (610,82,'By relationship to case client','2','BY_RELATIONSHIP',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (611,82,'Specific contact','3','SPECIFIC_CONTACT',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (612,82,'User creating the case','4','USER_CREATING_THE_CASE',NULL,0,0,1,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), + (613,83,'Financial Transactions','civicrm_financial_trxn','civicrm_financial_trxn',NULL,0,1,1,NULL,0,0,1,2,NULL,NULL,NULL,NULL), (614,85,'Abkhaz','ab','ab_GE',NULL,0,0,1,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL), (615,85,'Afar','aa','aa_ET',NULL,0,0,2,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL), (616,85,'Afrikaans','af','af_ZA',NULL,0,0,3,NULL,0,0,1,NULL,NULL,NULL,NULL,NULL), @@ -6756,56 +6746,56 @@ UNLOCK TABLES; LOCK TABLES `civicrm_participant` WRITE; /*!40000 ALTER TABLE `civicrm_participant` DISABLE KEYS */; INSERT INTO `civicrm_participant` (`id`, `contact_id`, `event_id`, `status_id`, `role_id`, `register_date`, `source`, `fee_level`, `is_test`, `is_pay_later`, `fee_amount`, `registered_by_id`, `discount_id`, `fee_currency`, `campaign_id`, `discount_amount`, `cart_id`, `must_wait`, `transferred_to_contact_id`, `created_id`) VALUES - (1,109,1,1,'1','2009-01-21 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (2,85,2,2,'2','2008-05-07 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (3,155,3,3,'3','2008-05-05 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (4,160,1,4,'4','2008-10-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (5,68,2,1,'1','2008-01-10 00:00:00','Check','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (6,14,3,2,'2','2008-03-05 00:00:00','Direct Transfer','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (7,199,1,3,'3','2009-07-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (8,64,2,4,'4','2009-03-07 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (9,95,3,1,'1','2008-02-05 00:00:00','Direct Transfer','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (10,148,1,2,'2','2008-02-01 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (11,169,2,3,'3','2009-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (12,59,3,4,'4','2009-03-06 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (13,124,1,1,'2','2008-06-04 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (14,123,2,2,'3','2008-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (15,121,3,4,'1','2008-07-04 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (16,93,1,4,'2','2009-01-21 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (17,2,2,2,'3','2008-01-10 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (18,94,3,3,'1','2009-03-05 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (19,56,1,2,'1','2008-10-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (20,51,2,4,'1','2009-01-10 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (21,28,3,1,'4','2008-03-25 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (22,101,1,2,'3','2009-10-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (23,104,2,4,'1','2008-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (24,96,3,3,'1','2008-03-11 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (25,166,3,2,'2','2008-04-05 00:00:00','Direct Transfer','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (26,176,1,1,'1','2009-01-21 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (27,173,2,2,'2','2008-05-07 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (28,165,3,3,'3','2009-12-12 00:00:00','Direct Transfer','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (29,153,1,4,'4','2009-12-13 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (30,181,2,1,'1','2009-12-14 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (31,23,3,2,'2','2009-12-15 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (32,58,1,3,'3','2009-07-21 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (33,21,2,4,'4','2009-03-07 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (34,81,3,1,'1','2009-12-15 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (35,130,1,2,'2','2009-12-13 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (36,151,2,3,'3','2009-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (37,24,3,4,'4','2009-03-06 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (38,19,1,1,'2','2009-12-13 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (39,86,2,2,'3','2008-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (40,91,3,4,'1','2009-12-14 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (41,25,1,4,'2','2009-01-21 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (42,201,2,2,'3','2009-12-15 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (43,87,3,3,'1','2009-03-05 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (44,77,1,2,'1','2009-12-13 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (45,190,2,4,'1','2009-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (46,150,3,1,'4','2009-12-13 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (47,54,1,2,'3','2009-10-21 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (48,38,2,4,'1','2009-12-10 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (49,37,3,3,'1','2009-03-11 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), - (50,103,3,2,'2','2009-04-05 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL); + (1,149,1,1,'1','2009-01-21 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (2,99,2,2,'2','2008-05-07 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (3,200,3,3,'3','2008-05-05 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (4,114,1,4,'4','2008-10-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (5,165,2,1,'1','2008-01-10 00:00:00','Check','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (6,83,3,2,'2','2008-03-05 00:00:00','Direct Transfer','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (7,32,1,3,'3','2009-07-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (8,84,2,4,'4','2009-03-07 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (9,173,3,1,'1','2008-02-05 00:00:00','Direct Transfer','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (10,7,1,2,'2','2008-02-01 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (11,46,2,3,'3','2009-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (12,144,3,4,'4','2009-03-06 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (13,24,1,1,'2','2008-06-04 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (14,73,2,2,'3','2008-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (15,199,3,4,'1','2008-07-04 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (16,67,1,4,'2','2009-01-21 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (17,184,2,2,'3','2008-01-10 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (18,175,3,3,'1','2009-03-05 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (19,96,1,2,'1','2008-10-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (20,60,2,4,'1','2009-01-10 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (21,142,3,1,'4','2008-03-25 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (22,127,1,2,'3','2009-10-21 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (23,52,2,4,'1','2008-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (24,86,3,3,'1','2008-03-11 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (25,157,3,2,'2','2008-04-05 00:00:00','Direct Transfer','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (26,93,1,1,'1','2009-01-21 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (27,30,2,2,'2','2008-05-07 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (28,90,3,3,'3','2009-12-12 00:00:00','Direct Transfer','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (29,187,1,4,'4','2009-12-13 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (30,57,2,1,'1','2009-12-14 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (31,132,3,2,'2','2009-12-15 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (32,115,1,3,'3','2009-07-21 00:00:00','Check','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (33,28,2,4,'4','2009-03-07 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (34,71,3,1,'1','2009-12-15 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (35,136,1,2,'2','2009-12-13 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (36,55,2,3,'3','2009-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (37,137,3,4,'4','2009-03-06 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (38,72,1,1,'2','2009-12-13 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (39,148,2,2,'3','2008-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (40,25,3,4,'1','2009-12-14 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (41,34,1,4,'2','2009-01-21 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (42,182,2,2,'3','2009-12-15 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (43,50,3,3,'1','2009-03-05 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (44,181,1,2,'1','2009-12-13 00:00:00','Direct Transfer','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (45,89,2,4,'1','2009-01-10 00:00:00','Direct Transfer','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (46,1,3,1,'4','2009-12-13 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (47,110,1,2,'3','2009-10-21 00:00:00','Credit Card','Single',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (48,75,2,4,'1','2009-12-10 00:00:00','Credit Card','Soprano',0,0,50.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (49,202,3,3,'1','2009-03-11 00:00:00','Credit Card','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL), + (50,164,3,2,'2','2009-04-05 00:00:00','Check','Tiny-tots (ages 5-8)',0,0,800.00,NULL,NULL,'USD',NULL,NULL,NULL,NULL,NULL,NULL); /*!40000 ALTER TABLE `civicrm_participant` ENABLE KEYS */; UNLOCK TABLES; @@ -6816,56 +6806,56 @@ UNLOCK TABLES; LOCK TABLES `civicrm_participant_payment` WRITE; /*!40000 ALTER TABLE `civicrm_participant_payment` DISABLE KEYS */; INSERT INTO `civicrm_participant_payment` (`id`, `participant_id`, `contribution_id`) VALUES - (1,1,63), - (2,2,64), - (3,3,65), - (4,4,66), - (5,5,67), - (6,6,68), + (38,1,63), + (27,2,64), + (49,3,65), + (29,4,66), + (41,5,67), + (20,6,68), (7,7,69), - (8,8,70), - (9,9,71), - (10,10,72), - (11,11,73), - (12,12,74), - (13,13,75), - (14,14,76), - (15,15,77), - (16,16,78), - (17,17,79), - (18,18,80), - (19,19,81), - (20,20,82), - (21,21,83), - (22,22,84), - (23,23,85), - (24,24,86), - (25,25,87), - (26,26,88), - (27,27,89), - (28,28,90), - (29,29,91), - (30,30,92), - (31,31,93), - (32,32,94), - (33,33,95), - (34,34,96), - (35,35,97), - (36,36,98), - (37,37,99), - (38,38,100), - (39,39,101), - (40,40,102), - (41,41,103), - (42,42,104), - (43,43,105), + (21,8,70), + (42,9,71), + (2,10,72), + (9,11,73), + (36,12,74), + (3,13,75), + (18,14,76), + (48,15,77), + (15,16,78), + (46,17,79), + (43,18,80), + (26,19,81), + (14,20,82), + (35,21,83), + (31,22,84), + (11,23,85), + (22,24,86), + (39,25,87), + (25,26,88), + (6,27,89), + (24,28,90), + (47,29,91), + (13,30,92), + (32,31,93), + (30,32,94), + (5,33,95), + (16,34,96), + (33,35,97), + (12,36,98), + (34,37,99), + (17,38,100), + (37,39,101), + (4,40,102), + (8,41,103), + (45,42,104), + (10,43,105), (44,44,106), - (45,45,107), - (46,46,108), - (47,47,109), - (48,48,110), - (49,49,111), - (50,50,112); + (23,45,107), + (1,46,108), + (28,47,109), + (19,48,110), + (50,49,111), + (40,50,112); /*!40000 ALTER TABLE `civicrm_participant_payment` ENABLE KEYS */; UNLOCK TABLES; @@ -6938,7 +6928,7 @@ UNLOCK TABLES; LOCK TABLES `civicrm_pcp` WRITE; /*!40000 ALTER TABLE `civicrm_pcp` DISABLE KEYS */; INSERT INTO `civicrm_pcp` (`id`, `contact_id`, `status_id`, `title`, `intro_text`, `page_text`, `donate_link_text`, `page_id`, `page_type`, `pcp_block_id`, `is_thermometer`, `is_honor_roll`, `goal_amount`, `currency`, `is_active`, `is_notify`) VALUES - (1,126,2,'My Personal Civi Fundraiser','I\'m on a mission to get all my friends and family to help support my favorite open-source civic sector CRM.','<p>Friends and family - please help build much needed infrastructure for the civic sector by supporting my personal campaign!</p>\r\n<p><a href=\"https://civicrm.org\">You can learn more about CiviCRM here</a>.</p>\r\n<p>Then click the <strong>Contribute Now</strong> button to go to our easy-to-use online contribution form.</p>','Contribute Now',1,'contribute',1,1,1,5000.00,'USD',1,1); + (1,56,2,'My Personal Civi Fundraiser','I\'m on a mission to get all my friends and family to help support my favorite open-source civic sector CRM.','<p>Friends and family - please help build much needed infrastructure for the civic sector by supporting my personal campaign!</p>\r\n<p><a href=\"https://civicrm.org\">You can learn more about CiviCRM here</a>.</p>\r\n<p>Then click the <strong>Contribute Now</strong> button to go to our easy-to-use online contribution form.</p>','Contribute Now',1,'contribute',1,1,1,5000.00,'USD',1,1); /*!40000 ALTER TABLE `civicrm_pcp` ENABLE KEYS */; UNLOCK TABLES; @@ -6960,175 +6950,178 @@ UNLOCK TABLES; LOCK TABLES `civicrm_phone` WRITE; /*!40000 ALTER TABLE `civicrm_phone` DISABLE KEYS */; INSERT INTO `civicrm_phone` (`id`, `contact_id`, `location_type_id`, `is_primary`, `is_billing`, `mobile_provider_id`, `phone`, `phone_ext`, `phone_numeric`, `phone_type_id`) VALUES - (1,99,1,1,0,NULL,'792-3883',NULL,'7923883',1), - (2,99,1,0,0,NULL,'709-9876',NULL,'7099876',2), - (3,41,1,1,0,NULL,'358-5399',NULL,'3585399',1), - (4,126,1,1,0,NULL,'(769) 525-4449',NULL,'7695254449',2), - (5,126,1,0,0,NULL,'(543) 653-5606',NULL,'5436535606',2), - (6,81,1,1,0,NULL,'(534) 301-4297',NULL,'5343014297',1), - (7,81,1,0,0,NULL,'321-7115',NULL,'3217115',2), - (8,173,1,1,0,NULL,'892-1270',NULL,'8921270',1), - (9,173,1,0,0,NULL,'(608) 887-6639',NULL,'6088876639',2), - (10,13,1,1,0,NULL,'394-6346',NULL,'3946346',2), - (11,13,1,0,0,NULL,'772-8547',NULL,'7728547',2), - (12,50,1,1,0,NULL,'(590) 420-2434',NULL,'5904202434',2), - (13,50,1,0,0,NULL,'(892) 689-8504',NULL,'8926898504',2), - (14,95,1,1,0,NULL,'(270) 601-3775',NULL,'2706013775',1), - (15,63,1,1,0,NULL,'892-1937',NULL,'8921937',2), - (16,44,1,1,0,NULL,'665-1566',NULL,'6651566',2), - (17,138,1,1,0,NULL,'202-8238',NULL,'2028238',2), - (18,138,1,0,0,NULL,'364-5795',NULL,'3645795',2), - (19,42,1,1,0,NULL,'(717) 657-4949',NULL,'7176574949',2), - (20,42,1,0,0,NULL,'798-3579',NULL,'7983579',1), - (21,89,1,1,0,NULL,'(757) 298-3810',NULL,'7572983810',1), - (22,89,1,0,0,NULL,'769-2092',NULL,'7692092',1), - (23,120,1,1,0,NULL,'616-2067',NULL,'6162067',2), - (24,100,1,1,0,NULL,'347-8183',NULL,'3478183',2), - (25,100,1,0,0,NULL,'(551) 280-8572',NULL,'5512808572',2), - (26,159,1,1,0,NULL,'719-8473',NULL,'7198473',1), - (27,159,1,0,0,NULL,'(855) 725-9131',NULL,'8557259131',2), - (28,46,1,1,0,NULL,'(407) 470-5388',NULL,'4074705388',2), - (29,46,1,0,0,NULL,'(367) 829-4401',NULL,'3678294401',2), - (30,109,1,1,0,NULL,'608-1295',NULL,'6081295',1), - (31,29,1,1,0,NULL,'892-7043',NULL,'8927043',2), - (32,180,1,1,0,NULL,'(470) 625-8144',NULL,'4706258144',2), - (33,180,1,0,0,NULL,'(594) 297-8185',NULL,'5942978185',1), - (34,45,1,1,0,NULL,'(486) 375-9183',NULL,'4863759183',2), - (35,129,1,1,0,NULL,'(440) 324-9916',NULL,'4403249916',1), - (36,54,1,1,0,NULL,'(497) 864-4736',NULL,'4978644736',2), - (37,54,1,0,0,NULL,'(832) 242-4186',NULL,'8322424186',1), - (38,114,1,1,0,NULL,'887-2342',NULL,'8872342',1), - (39,200,1,1,0,NULL,'519-9544',NULL,'5199544',2), - (40,35,1,1,0,NULL,'826-4593',NULL,'8264593',2), - (41,34,1,1,0,NULL,'(296) 277-6472',NULL,'2962776472',2), - (42,56,1,1,0,NULL,'370-3076',NULL,'3703076',1), - (43,64,1,1,0,NULL,'(848) 655-8532',NULL,'8486558532',1), - (44,64,1,0,0,NULL,'620-9544',NULL,'6209544',1), - (45,74,1,1,0,NULL,'(884) 679-3583',NULL,'8846793583',2), - (46,74,1,0,0,NULL,'835-9901',NULL,'8359901',2), - (47,177,1,1,0,NULL,'632-1719',NULL,'6321719',2), - (48,177,1,0,0,NULL,'(853) 427-9816',NULL,'8534279816',2), - (49,171,1,1,0,NULL,'(348) 625-1833',NULL,'3486251833',2), - (50,171,1,0,0,NULL,'682-5404',NULL,'6825404',2), - (51,157,1,1,0,NULL,'449-7265',NULL,'4497265',1), - (52,51,1,1,0,NULL,'(523) 350-6265',NULL,'5233506265',1), - (53,76,1,1,0,NULL,'(394) 303-3801',NULL,'3943033801',1), - (54,47,1,1,0,NULL,'(537) 242-1877',NULL,'5372421877',2), - (55,187,1,1,0,NULL,'673-8993',NULL,'6738993',2), - (56,118,1,1,0,NULL,'(668) 702-3571',NULL,'6687023571',1), - (57,98,1,1,0,NULL,'(453) 721-2900',NULL,'4537212900',1), - (58,98,1,0,0,NULL,'(664) 878-2286',NULL,'6648782286',1), - (59,194,1,1,0,NULL,'(229) 659-3611',NULL,'2296593611',1), - (60,194,1,0,0,NULL,'(633) 494-4887',NULL,'6334944887',2), - (61,28,1,1,0,NULL,'(584) 554-2114',NULL,'5845542114',2), - (62,30,1,1,0,NULL,'795-4174',NULL,'7954174',2), - (63,30,1,0,0,NULL,'461-2233',NULL,'4612233',1), - (64,92,1,1,0,NULL,'(442) 242-7940',NULL,'4422427940',2), - (65,92,1,0,0,NULL,'(801) 404-9592',NULL,'8014049592',2), - (66,85,1,1,0,NULL,'515-1363',NULL,'5151363',1), - (67,85,1,0,0,NULL,'312-9452',NULL,'3129452',2), - (68,119,1,1,0,NULL,'(208) 384-9509',NULL,'2083849509',2), - (69,119,1,0,0,NULL,'424-2045',NULL,'4242045',2), - (70,9,1,1,0,NULL,'(677) 456-3329',NULL,'6774563329',1), - (71,182,1,1,0,NULL,'(491) 869-2527',NULL,'4918692527',1), - (72,182,1,0,0,NULL,'776-1497',NULL,'7761497',1), - (73,117,1,1,0,NULL,'479-1771',NULL,'4791771',2), - (74,2,1,1,0,NULL,'(617) 679-3148',NULL,'6176793148',1), - (75,181,1,1,0,NULL,'(427) 634-4273',NULL,'4276344273',1), - (76,143,1,1,0,NULL,'(301) 537-9096',NULL,'3015379096',2), - (77,143,1,0,0,NULL,'(536) 268-7357',NULL,'5362687357',1), - (78,155,1,1,0,NULL,'(206) 261-8733',NULL,'2062618733',2), - (79,136,1,1,0,NULL,'(759) 485-7810',NULL,'7594857810',2), - (80,199,1,1,0,NULL,'310-7772',NULL,'3107772',1), - (81,199,1,0,0,NULL,'658-3739',NULL,'6583739',1), - (82,141,1,1,0,NULL,'(543) 334-3679',NULL,'5433343679',1), - (83,153,1,1,0,NULL,'495-9709',NULL,'4959709',1), - (84,153,1,0,0,NULL,'290-5602',NULL,'2905602',2), - (85,83,1,1,0,NULL,'(291) 756-9416',NULL,'2917569416',2), - (86,83,1,0,0,NULL,'(424) 443-7130',NULL,'4244437130',2), - (87,17,1,1,0,NULL,'(224) 847-1209',NULL,'2248471209',1), - (88,105,1,1,0,NULL,'(728) 338-7108',NULL,'7283387108',1), - (89,105,1,0,0,NULL,'680-5054',NULL,'6805054',2), - (90,4,1,1,0,NULL,'459-3527',NULL,'4593527',2), - (91,4,1,0,0,NULL,'(772) 325-5103',NULL,'7723255103',2), - (92,21,1,1,0,NULL,'224-4855',NULL,'2244855',1), - (93,127,1,1,0,NULL,'757-3989',NULL,'7573989',1), - (94,201,1,1,0,NULL,'(617) 434-6231',NULL,'6174346231',2), - (95,188,1,1,0,NULL,'(489) 313-6915',NULL,'4893136915',1), - (96,188,1,0,0,NULL,'(530) 508-9573',NULL,'5305089573',2), - (97,163,1,1,0,NULL,'222-2105',NULL,'2222105',1), - (98,65,1,1,0,NULL,'(558) 721-8348',NULL,'5587218348',1), - (99,102,1,1,0,NULL,'305-3994',NULL,'3053994',2), - (100,176,1,1,0,NULL,'741-8015',NULL,'7418015',2), - (101,176,1,0,0,NULL,'547-5571',NULL,'5475571',1), - (102,84,1,1,0,NULL,'326-4361',NULL,'3264361',1), - (103,84,1,0,0,NULL,'(458) 252-2003',NULL,'4582522003',1), - (104,174,1,1,0,NULL,'(252) 789-2887',NULL,'2527892887',1), - (105,178,1,1,0,NULL,'(857) 567-5748',NULL,'8575675748',2), - (106,55,1,1,0,NULL,'830-2830',NULL,'8302830',1), - (107,55,1,0,0,NULL,'647-1558',NULL,'6471558',2), - (108,144,1,1,0,NULL,'249-3938',NULL,'2493938',2), - (109,72,1,1,0,NULL,'733-1449',NULL,'7331449',2), - (110,72,1,0,0,NULL,'207-1506',NULL,'2071506',1), - (111,183,1,1,0,NULL,'(524) 672-2802',NULL,'5246722802',2), - (112,183,1,0,0,NULL,'564-8519',NULL,'5648519',1), - (113,82,1,1,0,NULL,'(292) 674-1885',NULL,'2926741885',1), - (114,82,1,0,0,NULL,'(689) 434-3282',NULL,'6894343282',1), - (115,73,1,1,0,NULL,'864-7539',NULL,'8647539',1), - (116,73,1,0,0,NULL,'850-8401',NULL,'8508401',2), - (117,106,1,1,0,NULL,'769-5604',NULL,'7695604',2), - (118,146,1,1,0,NULL,'(535) 414-8430',NULL,'5354148430',1), - (119,133,1,1,0,NULL,'460-3414',NULL,'4603414',1), - (120,121,1,1,0,NULL,'696-9103',NULL,'6969103',1), - (121,121,1,0,0,NULL,'525-5713',NULL,'5255713',2), - (122,32,1,1,0,NULL,'(613) 255-2076',NULL,'6132552076',2), - (123,8,1,1,0,NULL,'596-3876',NULL,'5963876',1), - (124,78,1,1,0,NULL,'638-8869',NULL,'6388869',2), - (125,31,1,1,0,NULL,'276-2452',NULL,'2762452',1), - (126,31,1,0,0,NULL,'419-3365',NULL,'4193365',1), - (127,179,1,1,0,NULL,'459-4330',NULL,'4594330',2), - (128,88,1,1,0,NULL,'759-7404',NULL,'7597404',1), - (129,88,1,0,0,NULL,'599-8589',NULL,'5998589',2), - (130,108,1,1,0,NULL,'(510) 835-2867',NULL,'5108352867',2), - (131,123,1,1,0,NULL,'(282) 830-4314',NULL,'2828304314',1), - (132,123,1,0,0,NULL,'880-6202',NULL,'8806202',1), - (133,77,1,1,0,NULL,'349-1228',NULL,'3491228',2), - (134,77,1,0,0,NULL,'(508) 608-4217',NULL,'5086084217',2), - (135,53,1,1,0,NULL,'217-5110',NULL,'2175110',1), - (136,53,1,0,0,NULL,'(604) 206-5136',NULL,'6042065136',2), - (137,71,1,1,0,NULL,'(524) 225-8498',NULL,'5242258498',1), - (138,148,1,1,0,NULL,'(260) 694-1419',NULL,'2606941419',1), - (139,36,1,1,0,NULL,'378-2529',NULL,'3782529',1), - (140,36,1,0,0,NULL,'781-1840',NULL,'7811840',2), - (141,26,1,1,0,NULL,'277-5135',NULL,'2775135',1), - (142,97,1,1,0,NULL,'(391) 315-8844',NULL,'3913158844',1), - (143,104,1,1,0,NULL,'736-9305',NULL,'7369305',2), - (144,60,1,1,0,NULL,'(389) 859-8380',NULL,'3898598380',2), - (145,60,1,0,0,NULL,'882-9564',NULL,'8829564',1), - (146,122,1,1,0,NULL,'(578) 672-2607',NULL,'5786722607',2), - (147,101,1,1,0,NULL,'(845) 229-1081',NULL,'8452291081',2), - (148,135,1,1,0,NULL,'525-5260',NULL,'5255260',2), - (149,16,1,1,0,NULL,'559-4094',NULL,'5594094',2), - (150,16,1,0,0,NULL,'229-5486',NULL,'2295486',2), - (151,90,1,1,0,NULL,'(831) 765-5300',NULL,'8317655300',1), - (152,90,1,0,0,NULL,'232-9193',NULL,'2329193',1), - (153,25,1,1,0,NULL,'442-7295',NULL,'4427295',2), - (154,58,1,1,0,NULL,'(510) 348-8660',NULL,'5103488660',2), - (155,11,1,1,0,NULL,'642-5589',NULL,'6425589',2), - (156,11,1,0,0,NULL,'(815) 657-3396',NULL,'8156573396',1), - (157,23,1,1,0,NULL,'(262) 340-1411',NULL,'2623401411',1), - (158,22,1,1,0,NULL,'(585) 579-5642',NULL,'5855795642',1), - (159,22,1,0,0,NULL,'726-9795',NULL,'7269795',2), - (160,130,1,1,0,NULL,'471-5334',NULL,'4715334',1), - (161,130,1,0,0,NULL,'865-6485',NULL,'8656485',1), - (162,111,1,1,0,NULL,'(317) 691-5655',NULL,'3176915655',2), - (163,111,1,0,0,NULL,'(457) 660-9587',NULL,'4576609587',2), - (164,61,1,1,0,NULL,'(891) 437-4836',NULL,'8914374836',1), - (165,33,1,1,0,NULL,'480-7435',NULL,'4807435',1), - (166,12,1,1,0,NULL,'(313) 596-2646',NULL,'3135962646',2), - (167,NULL,1,0,0,NULL,'204 222-1000',NULL,'2042221000',1), - (168,NULL,1,0,0,NULL,'204 223-1000',NULL,'2042231000',1), - (169,NULL,1,0,0,NULL,'303 323-1000',NULL,'3033231000',1); + (1,156,1,1,0,NULL,'(511) 487-4264',NULL,'5114874264',1), + (2,156,1,0,0,NULL,'839-2311',NULL,'8392311',1), + (3,146,1,1,0,NULL,'545-2493',NULL,'5452493',2), + (4,56,1,1,0,NULL,'(346) 572-7403',NULL,'3465727403',2), + (5,56,1,0,0,NULL,'292-1078',NULL,'2921078',1), + (6,21,1,1,0,NULL,'707-1064',NULL,'7071064',2), + (7,21,1,0,0,NULL,'(536) 488-1418',NULL,'5364881418',2), + (8,195,1,1,0,NULL,'475-4383',NULL,'4754383',1), + (9,115,1,1,0,NULL,'343-8550',NULL,'3438550',1), + (10,152,1,1,0,NULL,'(614) 691-3568',NULL,'6146913568',2), + (11,152,1,0,0,NULL,'475-3953',NULL,'4753953',1), + (12,51,1,1,0,NULL,'726-4072',NULL,'7264072',2), + (13,138,1,1,0,NULL,'(225) 254-5965',NULL,'2252545965',2), + (14,71,1,1,0,NULL,'587-2663',NULL,'5872663',2), + (15,110,1,1,0,NULL,'549-2705',NULL,'5492705',1), + (16,110,1,0,0,NULL,'767-9918',NULL,'7679918',1), + (17,4,1,1,0,NULL,'(862) 612-1460',NULL,'8626121460',2), + (18,150,1,1,0,NULL,'246-3270',NULL,'2463270',2), + (19,161,1,1,0,NULL,'313-2007',NULL,'3132007',2), + (20,161,1,0,0,NULL,'895-3444',NULL,'8953444',1), + (21,153,1,1,0,NULL,'712-8264',NULL,'7128264',1), + (22,153,1,0,0,NULL,'(763) 670-1777',NULL,'7636701777',2), + (23,135,1,1,0,NULL,'(298) 358-6369',NULL,'2983586369',2), + (24,52,1,1,0,NULL,'(217) 274-4789',NULL,'2172744789',1), + (25,52,1,0,0,NULL,'888-1460',NULL,'8881460',1), + (26,177,1,1,0,NULL,'883-3935',NULL,'8833935',1), + (27,177,1,0,0,NULL,'(213) 661-6905',NULL,'2136616905',1), + (28,81,1,1,0,NULL,'532-3282',NULL,'5323282',2), + (29,81,1,0,0,NULL,'(790) 769-2387',NULL,'7907692387',1), + (30,167,1,1,0,NULL,'745-1118',NULL,'7451118',1), + (31,28,1,1,0,NULL,'(228) 623-2111',NULL,'2286232111',2), + (32,28,1,0,0,NULL,'701-1891',NULL,'7011891',1), + (33,133,1,1,0,NULL,'815-9735',NULL,'8159735',1), + (34,79,1,1,0,NULL,'(293) 729-9107',NULL,'2937299107',2), + (35,79,1,0,0,NULL,'657-3497',NULL,'6573497',1), + (36,134,1,1,0,NULL,'(413) 536-7402',NULL,'4135367402',2), + (37,134,1,0,0,NULL,'590-1027',NULL,'5901027',2), + (38,183,1,1,0,NULL,'874-6501',NULL,'8746501',1), + (39,170,1,1,0,NULL,'583-5314',NULL,'5835314',1), + (40,170,1,0,0,NULL,'(734) 466-5206',NULL,'7344665206',1), + (41,77,1,1,0,NULL,'509-9597',NULL,'5099597',1), + (42,77,1,0,0,NULL,'(653) 692-9627',NULL,'6536929627',2), + (43,108,1,1,0,NULL,'(227) 312-1488',NULL,'2273121488',2), + (44,72,1,1,0,NULL,'(216) 496-4096',NULL,'2164964096',1), + (45,123,1,1,0,NULL,'(412) 539-4330',NULL,'4125394330',2), + (46,100,1,1,0,NULL,'(284) 322-2182',NULL,'2843222182',2), + (47,25,1,1,0,NULL,'605-6529',NULL,'6056529',2), + (48,25,1,0,0,NULL,'204-3984',NULL,'2043984',1), + (49,27,1,1,0,NULL,'676-3024',NULL,'6763024',1), + (50,27,1,0,0,NULL,'(842) 448-4029',NULL,'8424484029',2), + (51,76,1,1,0,NULL,'(715) 725-1858',NULL,'7157251858',2), + (52,76,1,0,0,NULL,'(289) 804-7582',NULL,'2898047582',2), + (53,201,1,1,0,NULL,'717-8654',NULL,'7178654',2), + (54,114,1,1,0,NULL,'(425) 756-5325',NULL,'4257565325',1), + (55,92,1,1,0,NULL,'(204) 280-7996',NULL,'2042807996',2), + (56,190,1,1,0,NULL,'(735) 724-1758',NULL,'7357241758',2), + (57,184,1,1,0,NULL,'(784) 455-6091',NULL,'7844556091',1), + (58,26,1,1,0,NULL,'650-1433',NULL,'6501433',1), + (59,26,1,0,0,NULL,'468-6455',NULL,'4686455',1), + (60,141,1,1,0,NULL,'(435) 345-1000',NULL,'4353451000',1), + (61,141,1,0,0,NULL,'(349) 837-5744',NULL,'3498375744',1), + (62,97,1,1,0,NULL,'312-6016',NULL,'3126016',2), + (63,55,1,1,0,NULL,'424-3068',NULL,'4243068',1), + (64,55,1,0,0,NULL,'576-4769',NULL,'5764769',1), + (65,12,1,1,0,NULL,'438-4480',NULL,'4384480',1), + (66,73,1,1,0,NULL,'(643) 558-1445',NULL,'6435581445',2), + (67,66,1,1,0,NULL,'(690) 550-6186',NULL,'6905506186',2), + (68,66,1,0,0,NULL,'522-4236',NULL,'5224236',2), + (69,168,1,1,0,NULL,'(353) 649-7283',NULL,'3536497283',1), + (70,98,1,1,0,NULL,'(857) 735-6628',NULL,'8577356628',1), + (71,87,1,1,0,NULL,'436-3341',NULL,'4363341',2), + (72,87,1,0,0,NULL,'695-6252',NULL,'6956252',1), + (73,65,1,1,0,NULL,'829-2696',NULL,'8292696',1), + (74,144,1,1,0,NULL,'270-8556',NULL,'2708556',1), + (75,90,1,1,0,NULL,'(805) 762-2855',NULL,'8057622855',1), + (76,164,1,1,0,NULL,'585-9694',NULL,'5859694',1), + (77,164,1,0,0,NULL,'545-7506',NULL,'5457506',1), + (78,61,1,1,0,NULL,'(666) 569-8885',NULL,'6665698885',1), + (79,61,1,0,0,NULL,'452-2617',NULL,'4522617',1), + (80,169,1,1,0,NULL,'(256) 798-8912',NULL,'2567988912',1), + (81,169,1,0,0,NULL,'(469) 769-7924',NULL,'4697697924',1), + (82,35,1,1,0,NULL,'(260) 700-2223',NULL,'2607002223',2), + (83,82,1,1,0,NULL,'(892) 271-7205',NULL,'8922717205',1), + (84,82,1,0,0,NULL,'(228) 220-8252',NULL,'2282208252',1), + (85,93,1,1,0,NULL,'(451) 615-8150',NULL,'4516158150',1), + (86,93,1,0,0,NULL,'(386) 605-9030',NULL,'3866059030',2), + (87,64,1,1,0,NULL,'(846) 617-4558',NULL,'8466174558',1), + (88,59,1,1,0,NULL,'716-5464',NULL,'7165464',1), + (89,59,1,0,0,NULL,'(384) 348-3582',NULL,'3843483582',1), + (90,69,1,1,0,NULL,'(461) 589-5486',NULL,'4615895486',1), + (91,189,1,1,0,NULL,'465-4515',NULL,'4654515',2), + (92,189,1,0,0,NULL,'(443) 884-2637',NULL,'4438842637',1), + (93,178,1,1,0,NULL,'(642) 381-5932',NULL,'6423815932',1), + (94,178,1,0,0,NULL,'842-5491',NULL,'8425491',1), + (95,57,1,1,0,NULL,'869-4424',NULL,'8694424',2), + (96,57,1,0,0,NULL,'(235) 822-2326',NULL,'2358222326',2), + (97,85,1,1,0,NULL,'(487) 695-5515',NULL,'4876955515',2), + (98,23,1,1,0,NULL,'360-1572',NULL,'3601572',1), + (99,41,1,1,0,NULL,'248-2060',NULL,'2482060',1), + (100,140,1,1,0,NULL,'374-3754',NULL,'3743754',2), + (101,140,1,0,0,NULL,'695-6875',NULL,'6956875',1), + (102,2,1,1,0,NULL,'556-4752',NULL,'5564752',1), + (103,2,1,0,0,NULL,'(708) 616-4531',NULL,'7086164531',2), + (104,162,1,1,0,NULL,'588-7383',NULL,'5887383',2), + (105,47,1,1,0,NULL,'231-6313',NULL,'2316313',2), + (106,47,1,0,0,NULL,'667-2159',NULL,'6672159',2), + (107,103,1,1,0,NULL,'(747) 203-6110',NULL,'7472036110',2), + (108,112,1,1,0,NULL,'(669) 840-5369',NULL,'6698405369',2), + (109,112,1,0,0,NULL,'(522) 410-4451',NULL,'5224104451',1), + (110,155,1,1,0,NULL,'(338) 540-4978',NULL,'3385404978',2), + (111,193,1,1,0,NULL,'386-1971',NULL,'3861971',2), + (112,193,1,0,0,NULL,'(751) 541-6254',NULL,'7515416254',2), + (113,58,1,1,0,NULL,'693-4968',NULL,'6934968',1), + (114,58,1,0,0,NULL,'318-7957',NULL,'3187957',1), + (115,15,1,1,0,NULL,'(583) 661-6348',NULL,'5836616348',1), + (116,186,1,1,0,NULL,'(523) 445-4769',NULL,'5234454769',1), + (117,188,1,1,0,NULL,'(812) 209-4787',NULL,'8122094787',1), + (118,22,1,1,0,NULL,'(480) 304-9734',NULL,'4803049734',2), + (119,22,1,0,0,NULL,'(299) 577-5813',NULL,'2995775813',1), + (120,137,1,1,0,NULL,'(763) 665-2436',NULL,'7636652436',1), + (121,137,1,0,0,NULL,'(440) 356-7493',NULL,'4403567493',2), + (122,45,1,1,0,NULL,'877-3268',NULL,'8773268',1), + (123,145,1,1,0,NULL,'(629) 658-9270',NULL,'6296589270',2), + (124,145,1,0,0,NULL,'295-7330',NULL,'2957330',2), + (125,159,1,1,0,NULL,'(650) 272-8505',NULL,'6502728505',1), + (126,143,1,1,0,NULL,'444-6349',NULL,'4446349',2), + (127,143,1,0,0,NULL,'598-4930',NULL,'5984930',2), + (128,116,1,1,0,NULL,'(495) 789-9591',NULL,'4957899591',2), + (129,116,1,0,0,NULL,'282-1447',NULL,'2821447',1), + (130,148,1,1,0,NULL,'298-9387',NULL,'2989387',2), + (131,192,1,1,0,NULL,'(297) 705-4073',NULL,'2977054073',2), + (132,192,1,0,0,NULL,'(532) 750-1512',NULL,'5327501512',2), + (133,68,1,1,0,NULL,'(370) 754-9450',NULL,'3707549450',1), + (134,68,1,0,0,NULL,'537-1493',NULL,'5371493',1), + (135,139,1,1,0,NULL,'376-7152',NULL,'3767152',2), + (136,158,1,1,0,NULL,'865-2378',NULL,'8652378',1), + (137,158,1,0,0,NULL,'549-4474',NULL,'5494474',1), + (138,128,1,1,0,NULL,'426-3189',NULL,'4263189',1), + (139,63,1,1,0,NULL,'(496) 893-8197',NULL,'4968938197',1), + (140,63,1,0,0,NULL,'369-9464',NULL,'3699464',1), + (141,113,1,1,0,NULL,'(332) 619-2065',NULL,'3326192065',2), + (142,119,1,1,0,NULL,'836-8152',NULL,'8368152',2), + (143,119,1,0,0,NULL,'(568) 317-7980',NULL,'5683177980',1), + (144,74,1,1,0,NULL,'(804) 611-4573',NULL,'8046114573',2), + (145,32,1,1,0,NULL,'(472) 224-6491',NULL,'4722246491',2), + (146,32,1,0,0,NULL,'214-8652',NULL,'2148652',2), + (147,185,1,1,0,NULL,'(574) 833-6728',NULL,'5748336728',2), + (148,185,1,0,0,NULL,'347-3554',NULL,'3473554',1), + (149,180,1,1,0,NULL,'740-6741',NULL,'7406741',2), + (150,54,1,1,0,NULL,'(889) 670-6717',NULL,'8896706717',1), + (151,198,1,1,0,NULL,'(487) 594-1206',NULL,'4875941206',2), + (152,198,1,0,0,NULL,'477-4238',NULL,'4774238',2), + (153,132,1,1,0,NULL,'479-4361',NULL,'4794361',2), + (154,29,1,1,0,NULL,'(528) 331-7313',NULL,'5283317313',1), + (155,42,1,1,0,NULL,'(464) 873-6850',NULL,'4648736850',1), + (156,154,1,1,0,NULL,'(633) 691-3225',NULL,'6336913225',2), + (157,154,1,0,0,NULL,'838-7435',NULL,'8387435',1), + (158,96,1,1,0,NULL,'485-7455',NULL,'4857455',1), + (159,96,1,0,0,NULL,'(400) 411-4775',NULL,'4004114775',1), + (160,199,1,1,0,NULL,'(239) 713-3083',NULL,'2397133083',1), + (161,199,1,0,0,NULL,'700-4612',NULL,'7004612',1), + (162,48,1,1,0,NULL,'557-3111',NULL,'5573111',1), + (163,14,1,1,0,NULL,'(230) 269-7976',NULL,'2302697976',1), + (164,14,1,0,0,NULL,'(840) 366-9756',NULL,'8403669756',1), + (165,160,1,1,0,NULL,'(454) 425-5993',NULL,'4544255993',2), + (166,182,1,1,0,NULL,'(863) 654-3247',NULL,'8636543247',2), + (167,182,1,0,0,NULL,'711-2793',NULL,'7112793',1), + (168,131,1,1,0,NULL,'301-8569',NULL,'3018569',1), + (169,131,1,0,0,NULL,'489-2562',NULL,'4892562',2), + (170,NULL,1,0,0,NULL,'204 222-1000',NULL,'2042221000',1), + (171,NULL,1,0,0,NULL,'204 223-1000',NULL,'2042231000',1), + (172,NULL,1,0,0,NULL,'303 323-1000',NULL,'3033231000',1); /*!40000 ALTER TABLE `civicrm_phone` ENABLE KEYS */; UNLOCK TABLES; @@ -7363,222 +7356,219 @@ UNLOCK TABLES; LOCK TABLES `civicrm_relationship` WRITE; /*!40000 ALTER TABLE `civicrm_relationship` DISABLE KEYS */; INSERT INTO `civicrm_relationship` (`id`, `contact_id_a`, `contact_id_b`, `relationship_type_id`, `start_date`, `end_date`, `is_active`, `description`, `is_permission_a_b`, `is_permission_b_a`, `case_id`, `created_date`, `modified_date`) VALUES - (1,152,4,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (2,147,4,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (3,152,21,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (4,147,21,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (5,147,152,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (6,21,19,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (7,152,19,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (8,147,19,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (9,4,19,7,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (10,21,4,2,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (11,43,127,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (12,15,127,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (13,43,201,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (14,15,201,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (15,15,43,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (16,201,193,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (17,43,193,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (18,15,193,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (19,127,193,7,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (20,201,127,2,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (21,91,188,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (22,67,188,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (23,91,163,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (24,67,163,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (25,67,91,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (26,163,151,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (27,91,151,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (28,67,151,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (29,188,151,7,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (30,163,188,2,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (31,145,65,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (32,176,65,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (33,145,102,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (34,176,102,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (35,176,145,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (36,102,24,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (37,145,24,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (38,176,24,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (39,65,24,7,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (40,102,65,2,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (41,38,131,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (42,174,131,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (43,38,84,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (44,174,84,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (45,174,38,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (46,84,70,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (47,38,70,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (48,174,70,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (49,131,70,7,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (50,84,131,2,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (51,144,178,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (52,72,178,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (53,144,55,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (54,72,55,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (55,72,144,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (56,55,86,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (57,144,86,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (58,72,86,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (59,178,86,7,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (60,55,178,2,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (61,82,113,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (62,73,113,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (63,82,183,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (64,73,183,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (65,73,82,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (66,183,27,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (67,82,27,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (68,73,27,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (69,113,27,7,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (70,183,113,2,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (71,133,106,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (72,132,106,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (73,133,146,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (74,132,146,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (75,132,133,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (76,146,87,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:53','2023-04-30 16:20:53'), - (77,133,87,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (78,132,87,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (79,106,87,7,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (80,146,106,2,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (81,32,121,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (82,8,121,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (83,32,49,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (84,8,49,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (85,8,32,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (86,49,198,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (87,32,198,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (88,8,198,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (89,121,198,7,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (90,49,121,2,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (91,80,78,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (92,179,78,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (93,80,31,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (94,179,31,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (95,179,80,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (96,31,185,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (97,80,185,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (98,179,185,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (99,78,185,7,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (100,31,78,2,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (101,108,88,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (102,190,88,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (103,108,37,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (104,190,37,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (105,190,108,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (106,37,124,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (107,108,124,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (108,190,124,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (109,88,124,7,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (110,37,88,2,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (111,77,123,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (112,53,123,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (113,77,96,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (114,53,96,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (115,53,77,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (116,96,7,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (117,77,7,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (118,53,7,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (119,123,7,7,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (120,96,123,2,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (121,186,71,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (122,36,71,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (123,186,148,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (124,36,148,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (125,36,186,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (126,148,162,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (127,186,162,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (128,36,162,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (129,71,162,7,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (130,148,71,2,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (131,5,26,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (132,107,26,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (133,5,97,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (134,107,97,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (135,107,5,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (136,97,149,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (137,5,149,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (138,107,149,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (139,26,149,7,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (140,97,26,2,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (141,60,104,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (142,122,104,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (143,60,139,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (144,122,139,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (145,122,60,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (146,139,79,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (147,60,79,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (148,122,79,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (149,104,79,7,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (150,139,104,2,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (151,197,101,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (152,135,101,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (153,197,93,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (154,135,93,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (155,135,197,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (156,93,128,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (157,197,128,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (158,135,128,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (159,101,128,7,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (160,93,101,2,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (161,90,16,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (162,25,16,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (163,90,40,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (164,25,40,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (165,25,90,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (166,40,59,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (167,90,59,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (168,25,59,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (169,16,59,7,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (170,40,16,2,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (171,11,58,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (172,23,58,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (173,11,66,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (174,23,66,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (175,23,11,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (176,66,39,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (177,11,39,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (178,23,39,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (179,58,39,7,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (180,66,58,2,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (181,130,62,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (182,111,62,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (183,130,22,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (184,111,22,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (185,111,130,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (186,22,191,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (187,130,191,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (188,111,191,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (189,62,191,7,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (190,22,62,2,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (191,110,61,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (192,12,61,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (193,110,33,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (194,12,33,1,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (195,12,110,4,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (196,33,192,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (197,110,192,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (198,12,192,8,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (199,61,192,7,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (200,33,61,2,NULL,NULL,0,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (201,110,3,5,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (202,92,6,5,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (203,31,18,5,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (204,106,48,5,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (205,99,52,5,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (206,43,69,5,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (207,42,75,5,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (208,29,116,5,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (209,33,125,5,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (210,122,140,5,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (211,17,156,5,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (212,74,158,5,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (213,96,165,5,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (214,5,167,5,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (215,51,189,5,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'), - (216,97,196,5,NULL,NULL,1,NULL,0,0,NULL,'2023-04-30 16:20:54','2023-04-30 16:20:54'); + (1,178,69,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (2,16,69,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (3,178,189,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (4,16,189,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (5,16,178,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (6,189,105,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (7,178,105,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (8,16,105,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (9,69,105,7,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (10,189,69,2,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (11,85,57,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (12,107,57,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (13,85,94,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (14,107,94,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (15,107,85,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (16,94,17,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (17,85,17,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (18,107,17,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (19,57,17,7,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (20,94,57,2,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (21,140,23,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (22,34,23,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (23,140,41,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (24,34,41,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (25,34,140,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (26,41,36,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (27,140,36,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (28,34,36,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (29,23,36,7,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (30,41,23,2,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (31,62,5,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (32,2,5,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (33,62,13,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (34,2,13,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (35,2,62,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (36,13,149,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (37,62,149,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (38,2,149,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (39,5,149,7,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:20','2023-06-09 21:52:20'), + (40,13,5,2,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (41,46,162,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (42,103,162,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (43,46,47,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (44,103,47,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (45,103,46,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (46,47,129,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (47,46,129,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (48,103,129,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (49,162,129,7,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (50,47,162,2,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (51,112,118,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (52,151,118,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (53,112,24,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (54,151,24,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (55,151,112,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (56,24,3,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (57,112,3,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (58,151,3,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (59,118,3,7,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (60,24,118,2,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (61,193,70,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (62,9,70,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (63,193,155,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (64,9,155,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (65,9,193,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (66,155,19,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (67,193,19,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (68,9,19,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (69,70,19,7,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (70,155,70,2,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (71,186,58,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (72,188,58,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (73,186,15,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (74,188,15,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (75,188,186,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (76,15,165,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (77,186,165,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (78,188,165,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (79,58,165,7,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (80,15,58,2,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (81,45,22,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (82,145,22,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (83,45,137,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (84,145,137,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (85,145,45,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (86,137,43,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (87,45,43,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (88,145,43,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (89,22,43,7,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (90,137,22,2,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (91,116,159,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (92,83,159,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (93,116,143,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (94,83,143,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (95,83,116,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (96,143,122,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (97,116,122,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (98,83,122,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (99,159,122,7,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (100,143,159,2,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (101,192,148,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (102,68,148,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (103,192,130,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (104,68,130,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (105,68,192,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (106,130,126,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (107,192,126,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (108,68,126,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (109,148,126,7,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (110,130,148,2,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (111,158,139,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (112,136,139,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (113,158,18,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (114,136,18,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (115,136,158,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (116,18,86,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (117,158,86,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (118,136,86,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (119,139,86,7,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (120,18,139,2,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (121,63,128,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (122,194,128,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (123,63,40,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (124,194,40,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (125,194,63,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (126,40,176,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (127,63,176,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (128,194,176,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (129,128,176,7,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (130,40,128,2,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (131,157,113,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (132,197,113,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (133,157,119,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (134,197,119,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (135,197,157,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (136,119,187,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (137,157,187,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (138,197,187,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (139,113,187,7,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (140,119,113,2,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (141,74,20,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (142,32,20,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (143,74,67,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (144,32,67,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (145,32,74,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (146,67,174,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (147,74,174,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (148,32,174,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (149,20,174,7,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (150,67,20,2,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (151,180,120,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (152,54,120,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (153,180,185,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (154,54,185,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (155,54,180,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (156,185,84,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (157,180,84,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (158,54,84,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (159,120,84,7,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (160,185,120,2,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (161,29,198,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (162,7,198,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (163,29,132,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (164,7,132,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (165,7,29,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (166,132,109,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (167,29,109,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (168,7,109,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (169,198,109,7,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (170,132,198,2,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (171,154,42,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (172,96,42,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (173,154,39,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (174,96,39,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (175,96,154,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (176,39,78,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (177,154,78,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (178,96,78,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (179,42,78,7,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (180,39,42,2,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (181,48,6,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (182,14,6,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (183,48,199,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (184,14,199,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (185,14,48,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (186,199,38,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (187,48,38,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (188,14,38,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (189,6,38,7,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (190,199,6,2,NULL,NULL,0,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (191,30,160,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (192,131,160,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (193,30,182,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (194,131,182,1,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (195,131,30,4,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (196,182,121,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (197,30,121,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (198,131,121,8,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (199,160,121,7,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (200,182,160,2,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (201,169,8,5,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (202,39,11,5,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (203,136,37,5,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (204,100,88,5,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (205,198,89,5,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (206,94,95,5,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (207,16,117,5,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (208,143,125,5,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (209,157,127,5,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (210,167,173,5,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (211,77,179,5,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (212,128,181,5,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'), + (213,111,191,5,NULL,NULL,1,NULL,0,0,NULL,'2023-06-09 21:52:21','2023-06-09 21:52:21'); /*!40000 ALTER TABLE `civicrm_relationship` ENABLE KEYS */; UNLOCK TABLES; @@ -7589,438 +7579,432 @@ UNLOCK TABLES; LOCK TABLES `civicrm_relationship_cache` WRITE; /*!40000 ALTER TABLE `civicrm_relationship_cache` DISABLE KEYS */; INSERT INTO `civicrm_relationship_cache` (`id`, `relationship_id`, `relationship_type_id`, `orientation`, `near_contact_id`, `near_relation`, `far_contact_id`, `far_relation`, `is_active`, `start_date`, `end_date`, `case_id`) VALUES - (1,1,1,'a_b',152,'Child of',4,'Parent of',1,NULL,NULL,NULL), - (2,1,1,'b_a',4,'Parent of',152,'Child of',1,NULL,NULL,NULL), - (3,2,1,'a_b',147,'Child of',4,'Parent of',1,NULL,NULL,NULL), - (4,2,1,'b_a',4,'Parent of',147,'Child of',1,NULL,NULL,NULL), - (5,3,1,'a_b',152,'Child of',21,'Parent of',1,NULL,NULL,NULL), - (6,3,1,'b_a',21,'Parent of',152,'Child of',1,NULL,NULL,NULL), - (7,4,1,'a_b',147,'Child of',21,'Parent of',1,NULL,NULL,NULL), - (8,4,1,'b_a',21,'Parent of',147,'Child of',1,NULL,NULL,NULL), - (9,5,4,'a_b',147,'Sibling of',152,'Sibling of',1,NULL,NULL,NULL), - (10,5,4,'b_a',152,'Sibling of',147,'Sibling of',1,NULL,NULL,NULL), - (11,6,8,'a_b',21,'Household Member of',19,'Household Member is',1,NULL,NULL,NULL), - (12,6,8,'b_a',19,'Household Member is',21,'Household Member of',1,NULL,NULL,NULL), - (13,7,8,'a_b',152,'Household Member of',19,'Household Member is',1,NULL,NULL,NULL), - (14,7,8,'b_a',19,'Household Member is',152,'Household Member of',1,NULL,NULL,NULL), - (15,8,8,'a_b',147,'Household Member of',19,'Household Member is',1,NULL,NULL,NULL), - (16,8,8,'b_a',19,'Household Member is',147,'Household Member of',1,NULL,NULL,NULL), - (17,9,7,'a_b',4,'Head of Household for',19,'Head of Household is',0,NULL,NULL,NULL), - (18,9,7,'b_a',19,'Head of Household is',4,'Head of Household for',0,NULL,NULL,NULL), - (19,10,2,'a_b',21,'Spouse of',4,'Spouse of',0,NULL,NULL,NULL), - (20,10,2,'b_a',4,'Spouse of',21,'Spouse of',0,NULL,NULL,NULL), - (21,11,1,'a_b',43,'Child of',127,'Parent of',1,NULL,NULL,NULL), - (22,11,1,'b_a',127,'Parent of',43,'Child of',1,NULL,NULL,NULL), - (23,12,1,'a_b',15,'Child of',127,'Parent of',1,NULL,NULL,NULL), - (24,12,1,'b_a',127,'Parent of',15,'Child of',1,NULL,NULL,NULL), - (25,13,1,'a_b',43,'Child of',201,'Parent of',1,NULL,NULL,NULL), - (26,13,1,'b_a',201,'Parent of',43,'Child of',1,NULL,NULL,NULL), - (27,14,1,'a_b',15,'Child of',201,'Parent of',1,NULL,NULL,NULL), - (28,14,1,'b_a',201,'Parent of',15,'Child of',1,NULL,NULL,NULL), - (29,15,4,'a_b',15,'Sibling of',43,'Sibling of',1,NULL,NULL,NULL), - (30,15,4,'b_a',43,'Sibling of',15,'Sibling of',1,NULL,NULL,NULL), - (31,16,8,'a_b',201,'Household Member of',193,'Household Member is',1,NULL,NULL,NULL), - (32,16,8,'b_a',193,'Household Member is',201,'Household Member of',1,NULL,NULL,NULL), - (33,17,8,'a_b',43,'Household Member of',193,'Household Member is',1,NULL,NULL,NULL), - (34,17,8,'b_a',193,'Household Member is',43,'Household Member of',1,NULL,NULL,NULL), - (35,18,8,'a_b',15,'Household Member of',193,'Household Member is',1,NULL,NULL,NULL), - (36,18,8,'b_a',193,'Household Member is',15,'Household Member of',1,NULL,NULL,NULL), - (37,19,7,'a_b',127,'Head of Household for',193,'Head of Household is',0,NULL,NULL,NULL), - (38,19,7,'b_a',193,'Head of Household is',127,'Head of Household for',0,NULL,NULL,NULL), - (39,20,2,'a_b',201,'Spouse of',127,'Spouse of',0,NULL,NULL,NULL), - (40,20,2,'b_a',127,'Spouse of',201,'Spouse of',0,NULL,NULL,NULL), - (41,21,1,'a_b',91,'Child of',188,'Parent of',1,NULL,NULL,NULL), - (42,21,1,'b_a',188,'Parent of',91,'Child of',1,NULL,NULL,NULL), - (43,22,1,'a_b',67,'Child of',188,'Parent of',1,NULL,NULL,NULL), - (44,22,1,'b_a',188,'Parent of',67,'Child of',1,NULL,NULL,NULL), - (45,23,1,'a_b',91,'Child of',163,'Parent of',1,NULL,NULL,NULL), - (46,23,1,'b_a',163,'Parent of',91,'Child of',1,NULL,NULL,NULL), - (47,24,1,'a_b',67,'Child of',163,'Parent of',1,NULL,NULL,NULL), - (48,24,1,'b_a',163,'Parent of',67,'Child of',1,NULL,NULL,NULL), - (49,25,4,'a_b',67,'Sibling of',91,'Sibling of',1,NULL,NULL,NULL), - (50,25,4,'b_a',91,'Sibling of',67,'Sibling of',1,NULL,NULL,NULL), - (51,26,8,'a_b',163,'Household Member of',151,'Household Member is',1,NULL,NULL,NULL), - (52,26,8,'b_a',151,'Household Member is',163,'Household Member of',1,NULL,NULL,NULL), - (53,27,8,'a_b',91,'Household Member of',151,'Household Member is',1,NULL,NULL,NULL), - (54,27,8,'b_a',151,'Household Member is',91,'Household Member of',1,NULL,NULL,NULL), - (55,28,8,'a_b',67,'Household Member of',151,'Household Member is',1,NULL,NULL,NULL), - (56,28,8,'b_a',151,'Household Member is',67,'Household Member of',1,NULL,NULL,NULL), - (57,29,7,'a_b',188,'Head of Household for',151,'Head of Household is',1,NULL,NULL,NULL), - (58,29,7,'b_a',151,'Head of Household is',188,'Head of Household for',1,NULL,NULL,NULL), - (59,30,2,'a_b',163,'Spouse of',188,'Spouse of',1,NULL,NULL,NULL), - (60,30,2,'b_a',188,'Spouse of',163,'Spouse of',1,NULL,NULL,NULL), - (61,31,1,'a_b',145,'Child of',65,'Parent of',1,NULL,NULL,NULL), - (62,31,1,'b_a',65,'Parent of',145,'Child of',1,NULL,NULL,NULL), - (63,32,1,'a_b',176,'Child of',65,'Parent of',1,NULL,NULL,NULL), - (64,32,1,'b_a',65,'Parent of',176,'Child of',1,NULL,NULL,NULL), - (65,33,1,'a_b',145,'Child of',102,'Parent of',1,NULL,NULL,NULL), - (66,33,1,'b_a',102,'Parent of',145,'Child of',1,NULL,NULL,NULL), - (67,34,1,'a_b',176,'Child of',102,'Parent of',1,NULL,NULL,NULL), - (68,34,1,'b_a',102,'Parent of',176,'Child of',1,NULL,NULL,NULL), - (69,35,4,'a_b',176,'Sibling of',145,'Sibling of',1,NULL,NULL,NULL), - (70,35,4,'b_a',145,'Sibling of',176,'Sibling of',1,NULL,NULL,NULL), - (71,36,8,'a_b',102,'Household Member of',24,'Household Member is',1,NULL,NULL,NULL), - (72,36,8,'b_a',24,'Household Member is',102,'Household Member of',1,NULL,NULL,NULL), - (73,37,8,'a_b',145,'Household Member of',24,'Household Member is',1,NULL,NULL,NULL), - (74,37,8,'b_a',24,'Household Member is',145,'Household Member of',1,NULL,NULL,NULL), - (75,38,8,'a_b',176,'Household Member of',24,'Household Member is',1,NULL,NULL,NULL), - (76,38,8,'b_a',24,'Household Member is',176,'Household Member of',1,NULL,NULL,NULL), - (77,39,7,'a_b',65,'Head of Household for',24,'Head of Household is',0,NULL,NULL,NULL), - (78,39,7,'b_a',24,'Head of Household is',65,'Head of Household for',0,NULL,NULL,NULL), - (79,40,2,'a_b',102,'Spouse of',65,'Spouse of',0,NULL,NULL,NULL), - (80,40,2,'b_a',65,'Spouse of',102,'Spouse of',0,NULL,NULL,NULL), - (81,41,1,'a_b',38,'Child of',131,'Parent of',1,NULL,NULL,NULL), - (82,41,1,'b_a',131,'Parent of',38,'Child of',1,NULL,NULL,NULL), - (83,42,1,'a_b',174,'Child of',131,'Parent of',1,NULL,NULL,NULL), - (84,42,1,'b_a',131,'Parent of',174,'Child of',1,NULL,NULL,NULL), - (85,43,1,'a_b',38,'Child of',84,'Parent of',1,NULL,NULL,NULL), - (86,43,1,'b_a',84,'Parent of',38,'Child of',1,NULL,NULL,NULL), - (87,44,1,'a_b',174,'Child of',84,'Parent of',1,NULL,NULL,NULL), - (88,44,1,'b_a',84,'Parent of',174,'Child of',1,NULL,NULL,NULL), - (89,45,4,'a_b',174,'Sibling of',38,'Sibling of',1,NULL,NULL,NULL), - (90,45,4,'b_a',38,'Sibling of',174,'Sibling of',1,NULL,NULL,NULL), - (91,46,8,'a_b',84,'Household Member of',70,'Household Member is',1,NULL,NULL,NULL), - (92,46,8,'b_a',70,'Household Member is',84,'Household Member of',1,NULL,NULL,NULL), - (93,47,8,'a_b',38,'Household Member of',70,'Household Member is',1,NULL,NULL,NULL), - (94,47,8,'b_a',70,'Household Member is',38,'Household Member of',1,NULL,NULL,NULL), - (95,48,8,'a_b',174,'Household Member of',70,'Household Member is',1,NULL,NULL,NULL), - (96,48,8,'b_a',70,'Household Member is',174,'Household Member of',1,NULL,NULL,NULL), - (97,49,7,'a_b',131,'Head of Household for',70,'Head of Household is',1,NULL,NULL,NULL), - (98,49,7,'b_a',70,'Head of Household is',131,'Head of Household for',1,NULL,NULL,NULL), - (99,50,2,'a_b',84,'Spouse of',131,'Spouse of',1,NULL,NULL,NULL), - (100,50,2,'b_a',131,'Spouse of',84,'Spouse of',1,NULL,NULL,NULL), - (101,51,1,'a_b',144,'Child of',178,'Parent of',1,NULL,NULL,NULL), - (102,51,1,'b_a',178,'Parent of',144,'Child of',1,NULL,NULL,NULL), - (103,52,1,'a_b',72,'Child of',178,'Parent of',1,NULL,NULL,NULL), - (104,52,1,'b_a',178,'Parent of',72,'Child of',1,NULL,NULL,NULL), - (105,53,1,'a_b',144,'Child of',55,'Parent of',1,NULL,NULL,NULL), - (106,53,1,'b_a',55,'Parent of',144,'Child of',1,NULL,NULL,NULL), - (107,54,1,'a_b',72,'Child of',55,'Parent of',1,NULL,NULL,NULL), - (108,54,1,'b_a',55,'Parent of',72,'Child of',1,NULL,NULL,NULL), - (109,55,4,'a_b',72,'Sibling of',144,'Sibling of',1,NULL,NULL,NULL), - (110,55,4,'b_a',144,'Sibling of',72,'Sibling of',1,NULL,NULL,NULL), - (111,56,8,'a_b',55,'Household Member of',86,'Household Member is',1,NULL,NULL,NULL), - (112,56,8,'b_a',86,'Household Member is',55,'Household Member of',1,NULL,NULL,NULL), - (113,57,8,'a_b',144,'Household Member of',86,'Household Member is',1,NULL,NULL,NULL), - (114,57,8,'b_a',86,'Household Member is',144,'Household Member of',1,NULL,NULL,NULL), - (115,58,8,'a_b',72,'Household Member of',86,'Household Member is',1,NULL,NULL,NULL), - (116,58,8,'b_a',86,'Household Member is',72,'Household Member of',1,NULL,NULL,NULL), - (117,59,7,'a_b',178,'Head of Household for',86,'Head of Household is',0,NULL,NULL,NULL), - (118,59,7,'b_a',86,'Head of Household is',178,'Head of Household for',0,NULL,NULL,NULL), - (119,60,2,'a_b',55,'Spouse of',178,'Spouse of',0,NULL,NULL,NULL), - (120,60,2,'b_a',178,'Spouse of',55,'Spouse of',0,NULL,NULL,NULL), - (121,61,1,'a_b',82,'Child of',113,'Parent of',1,NULL,NULL,NULL), - (122,61,1,'b_a',113,'Parent of',82,'Child of',1,NULL,NULL,NULL), - (123,62,1,'a_b',73,'Child of',113,'Parent of',1,NULL,NULL,NULL), - (124,62,1,'b_a',113,'Parent of',73,'Child of',1,NULL,NULL,NULL), - (125,63,1,'a_b',82,'Child of',183,'Parent of',1,NULL,NULL,NULL), - (126,63,1,'b_a',183,'Parent of',82,'Child of',1,NULL,NULL,NULL), - (127,64,1,'a_b',73,'Child of',183,'Parent of',1,NULL,NULL,NULL), - (128,64,1,'b_a',183,'Parent of',73,'Child of',1,NULL,NULL,NULL), - (129,65,4,'a_b',73,'Sibling of',82,'Sibling of',1,NULL,NULL,NULL), - (130,65,4,'b_a',82,'Sibling of',73,'Sibling of',1,NULL,NULL,NULL), - (131,66,8,'a_b',183,'Household Member of',27,'Household Member is',1,NULL,NULL,NULL), - (132,66,8,'b_a',27,'Household Member is',183,'Household Member of',1,NULL,NULL,NULL), - (133,67,8,'a_b',82,'Household Member of',27,'Household Member is',1,NULL,NULL,NULL), - (134,67,8,'b_a',27,'Household Member is',82,'Household Member of',1,NULL,NULL,NULL), - (135,68,8,'a_b',73,'Household Member of',27,'Household Member is',1,NULL,NULL,NULL), - (136,68,8,'b_a',27,'Household Member is',73,'Household Member of',1,NULL,NULL,NULL), - (137,69,7,'a_b',113,'Head of Household for',27,'Head of Household is',0,NULL,NULL,NULL), - (138,69,7,'b_a',27,'Head of Household is',113,'Head of Household for',0,NULL,NULL,NULL), - (139,70,2,'a_b',183,'Spouse of',113,'Spouse of',0,NULL,NULL,NULL), - (140,70,2,'b_a',113,'Spouse of',183,'Spouse of',0,NULL,NULL,NULL), - (141,71,1,'a_b',133,'Child of',106,'Parent of',1,NULL,NULL,NULL), - (142,71,1,'b_a',106,'Parent of',133,'Child of',1,NULL,NULL,NULL), - (143,72,1,'a_b',132,'Child of',106,'Parent of',1,NULL,NULL,NULL), - (144,72,1,'b_a',106,'Parent of',132,'Child of',1,NULL,NULL,NULL), - (145,73,1,'a_b',133,'Child of',146,'Parent of',1,NULL,NULL,NULL), - (146,73,1,'b_a',146,'Parent of',133,'Child of',1,NULL,NULL,NULL), - (147,74,1,'a_b',132,'Child of',146,'Parent of',1,NULL,NULL,NULL), - (148,74,1,'b_a',146,'Parent of',132,'Child of',1,NULL,NULL,NULL), - (149,75,4,'a_b',132,'Sibling of',133,'Sibling of',1,NULL,NULL,NULL), - (150,75,4,'b_a',133,'Sibling of',132,'Sibling of',1,NULL,NULL,NULL), - (151,76,8,'a_b',146,'Household Member of',87,'Household Member is',1,NULL,NULL,NULL), - (152,76,8,'b_a',87,'Household Member is',146,'Household Member of',1,NULL,NULL,NULL), - (153,77,8,'a_b',133,'Household Member of',87,'Household Member is',1,NULL,NULL,NULL), - (154,77,8,'b_a',87,'Household Member is',133,'Household Member of',1,NULL,NULL,NULL), - (155,78,8,'a_b',132,'Household Member of',87,'Household Member is',1,NULL,NULL,NULL), - (156,78,8,'b_a',87,'Household Member is',132,'Household Member of',1,NULL,NULL,NULL), - (157,79,7,'a_b',106,'Head of Household for',87,'Head of Household is',0,NULL,NULL,NULL), - (158,79,7,'b_a',87,'Head of Household is',106,'Head of Household for',0,NULL,NULL,NULL), - (159,80,2,'a_b',146,'Spouse of',106,'Spouse of',0,NULL,NULL,NULL), - (160,80,2,'b_a',106,'Spouse of',146,'Spouse of',0,NULL,NULL,NULL), - (161,81,1,'a_b',32,'Child of',121,'Parent of',1,NULL,NULL,NULL), - (162,81,1,'b_a',121,'Parent of',32,'Child of',1,NULL,NULL,NULL), - (163,82,1,'a_b',8,'Child of',121,'Parent of',1,NULL,NULL,NULL), - (164,82,1,'b_a',121,'Parent of',8,'Child of',1,NULL,NULL,NULL), - (165,83,1,'a_b',32,'Child of',49,'Parent of',1,NULL,NULL,NULL), - (166,83,1,'b_a',49,'Parent of',32,'Child of',1,NULL,NULL,NULL), - (167,84,1,'a_b',8,'Child of',49,'Parent of',1,NULL,NULL,NULL), - (168,84,1,'b_a',49,'Parent of',8,'Child of',1,NULL,NULL,NULL), - (169,85,4,'a_b',8,'Sibling of',32,'Sibling of',1,NULL,NULL,NULL), - (170,85,4,'b_a',32,'Sibling of',8,'Sibling of',1,NULL,NULL,NULL), - (171,86,8,'a_b',49,'Household Member of',198,'Household Member is',1,NULL,NULL,NULL), - (172,86,8,'b_a',198,'Household Member is',49,'Household Member of',1,NULL,NULL,NULL), - (173,87,8,'a_b',32,'Household Member of',198,'Household Member is',1,NULL,NULL,NULL), - (174,87,8,'b_a',198,'Household Member is',32,'Household Member of',1,NULL,NULL,NULL), - (175,88,8,'a_b',8,'Household Member of',198,'Household Member is',1,NULL,NULL,NULL), - (176,88,8,'b_a',198,'Household Member is',8,'Household Member of',1,NULL,NULL,NULL), - (177,89,7,'a_b',121,'Head of Household for',198,'Head of Household is',0,NULL,NULL,NULL), - (178,89,7,'b_a',198,'Head of Household is',121,'Head of Household for',0,NULL,NULL,NULL), - (179,90,2,'a_b',49,'Spouse of',121,'Spouse of',0,NULL,NULL,NULL), - (180,90,2,'b_a',121,'Spouse of',49,'Spouse of',0,NULL,NULL,NULL), - (181,91,1,'a_b',80,'Child of',78,'Parent of',1,NULL,NULL,NULL), - (182,91,1,'b_a',78,'Parent of',80,'Child of',1,NULL,NULL,NULL), - (183,92,1,'a_b',179,'Child of',78,'Parent of',1,NULL,NULL,NULL), - (184,92,1,'b_a',78,'Parent of',179,'Child of',1,NULL,NULL,NULL), - (185,93,1,'a_b',80,'Child of',31,'Parent of',1,NULL,NULL,NULL), - (186,93,1,'b_a',31,'Parent of',80,'Child of',1,NULL,NULL,NULL), - (187,94,1,'a_b',179,'Child of',31,'Parent of',1,NULL,NULL,NULL), - (188,94,1,'b_a',31,'Parent of',179,'Child of',1,NULL,NULL,NULL), - (189,95,4,'a_b',179,'Sibling of',80,'Sibling of',1,NULL,NULL,NULL), - (190,95,4,'b_a',80,'Sibling of',179,'Sibling of',1,NULL,NULL,NULL), - (191,96,8,'a_b',31,'Household Member of',185,'Household Member is',1,NULL,NULL,NULL), - (192,96,8,'b_a',185,'Household Member is',31,'Household Member of',1,NULL,NULL,NULL), - (193,97,8,'a_b',80,'Household Member of',185,'Household Member is',1,NULL,NULL,NULL), - (194,97,8,'b_a',185,'Household Member is',80,'Household Member of',1,NULL,NULL,NULL), - (195,98,8,'a_b',179,'Household Member of',185,'Household Member is',1,NULL,NULL,NULL), - (196,98,8,'b_a',185,'Household Member is',179,'Household Member of',1,NULL,NULL,NULL), - (197,99,7,'a_b',78,'Head of Household for',185,'Head of Household is',1,NULL,NULL,NULL), - (198,99,7,'b_a',185,'Head of Household is',78,'Head of Household for',1,NULL,NULL,NULL), - (199,100,2,'a_b',31,'Spouse of',78,'Spouse of',1,NULL,NULL,NULL), - (200,100,2,'b_a',78,'Spouse of',31,'Spouse of',1,NULL,NULL,NULL), - (201,101,1,'a_b',108,'Child of',88,'Parent of',1,NULL,NULL,NULL), - (202,101,1,'b_a',88,'Parent of',108,'Child of',1,NULL,NULL,NULL), - (203,102,1,'a_b',190,'Child of',88,'Parent of',1,NULL,NULL,NULL), - (204,102,1,'b_a',88,'Parent of',190,'Child of',1,NULL,NULL,NULL), - (205,103,1,'a_b',108,'Child of',37,'Parent of',1,NULL,NULL,NULL), - (206,103,1,'b_a',37,'Parent of',108,'Child of',1,NULL,NULL,NULL), - (207,104,1,'a_b',190,'Child of',37,'Parent of',1,NULL,NULL,NULL), - (208,104,1,'b_a',37,'Parent of',190,'Child of',1,NULL,NULL,NULL), - (209,105,4,'a_b',190,'Sibling of',108,'Sibling of',1,NULL,NULL,NULL), - (210,105,4,'b_a',108,'Sibling of',190,'Sibling of',1,NULL,NULL,NULL), - (211,106,8,'a_b',37,'Household Member of',124,'Household Member is',1,NULL,NULL,NULL), - (212,106,8,'b_a',124,'Household Member is',37,'Household Member of',1,NULL,NULL,NULL), - (213,107,8,'a_b',108,'Household Member of',124,'Household Member is',1,NULL,NULL,NULL), - (214,107,8,'b_a',124,'Household Member is',108,'Household Member of',1,NULL,NULL,NULL), - (215,108,8,'a_b',190,'Household Member of',124,'Household Member is',1,NULL,NULL,NULL), - (216,108,8,'b_a',124,'Household Member is',190,'Household Member of',1,NULL,NULL,NULL), - (217,109,7,'a_b',88,'Head of Household for',124,'Head of Household is',1,NULL,NULL,NULL), - (218,109,7,'b_a',124,'Head of Household is',88,'Head of Household for',1,NULL,NULL,NULL), - (219,110,2,'a_b',37,'Spouse of',88,'Spouse of',1,NULL,NULL,NULL), - (220,110,2,'b_a',88,'Spouse of',37,'Spouse of',1,NULL,NULL,NULL), - (221,111,1,'a_b',77,'Child of',123,'Parent of',1,NULL,NULL,NULL), - (222,111,1,'b_a',123,'Parent of',77,'Child of',1,NULL,NULL,NULL), - (223,112,1,'a_b',53,'Child of',123,'Parent of',1,NULL,NULL,NULL), - (224,112,1,'b_a',123,'Parent of',53,'Child of',1,NULL,NULL,NULL), - (225,113,1,'a_b',77,'Child of',96,'Parent of',1,NULL,NULL,NULL), - (226,113,1,'b_a',96,'Parent of',77,'Child of',1,NULL,NULL,NULL), - (227,114,1,'a_b',53,'Child of',96,'Parent of',1,NULL,NULL,NULL), - (228,114,1,'b_a',96,'Parent of',53,'Child of',1,NULL,NULL,NULL), - (229,115,4,'a_b',53,'Sibling of',77,'Sibling of',1,NULL,NULL,NULL), - (230,115,4,'b_a',77,'Sibling of',53,'Sibling of',1,NULL,NULL,NULL), - (231,116,8,'a_b',96,'Household Member of',7,'Household Member is',1,NULL,NULL,NULL), - (232,116,8,'b_a',7,'Household Member is',96,'Household Member of',1,NULL,NULL,NULL), - (233,117,8,'a_b',77,'Household Member of',7,'Household Member is',1,NULL,NULL,NULL), - (234,117,8,'b_a',7,'Household Member is',77,'Household Member of',1,NULL,NULL,NULL), - (235,118,8,'a_b',53,'Household Member of',7,'Household Member is',1,NULL,NULL,NULL), - (236,118,8,'b_a',7,'Household Member is',53,'Household Member of',1,NULL,NULL,NULL), - (237,119,7,'a_b',123,'Head of Household for',7,'Head of Household is',1,NULL,NULL,NULL), - (238,119,7,'b_a',7,'Head of Household is',123,'Head of Household for',1,NULL,NULL,NULL), - (239,120,2,'a_b',96,'Spouse of',123,'Spouse of',1,NULL,NULL,NULL), - (240,120,2,'b_a',123,'Spouse of',96,'Spouse of',1,NULL,NULL,NULL), - (241,121,1,'a_b',186,'Child of',71,'Parent of',1,NULL,NULL,NULL), - (242,121,1,'b_a',71,'Parent of',186,'Child of',1,NULL,NULL,NULL), - (243,122,1,'a_b',36,'Child of',71,'Parent of',1,NULL,NULL,NULL), - (244,122,1,'b_a',71,'Parent of',36,'Child of',1,NULL,NULL,NULL), - (245,123,1,'a_b',186,'Child of',148,'Parent of',1,NULL,NULL,NULL), - (246,123,1,'b_a',148,'Parent of',186,'Child of',1,NULL,NULL,NULL), - (247,124,1,'a_b',36,'Child of',148,'Parent of',1,NULL,NULL,NULL), - (248,124,1,'b_a',148,'Parent of',36,'Child of',1,NULL,NULL,NULL), - (249,125,4,'a_b',36,'Sibling of',186,'Sibling of',1,NULL,NULL,NULL), - (250,125,4,'b_a',186,'Sibling of',36,'Sibling of',1,NULL,NULL,NULL), - (251,126,8,'a_b',148,'Household Member of',162,'Household Member is',1,NULL,NULL,NULL), - (252,126,8,'b_a',162,'Household Member is',148,'Household Member of',1,NULL,NULL,NULL), - (253,127,8,'a_b',186,'Household Member of',162,'Household Member is',1,NULL,NULL,NULL), - (254,127,8,'b_a',162,'Household Member is',186,'Household Member of',1,NULL,NULL,NULL), - (255,128,8,'a_b',36,'Household Member of',162,'Household Member is',1,NULL,NULL,NULL), - (256,128,8,'b_a',162,'Household Member is',36,'Household Member of',1,NULL,NULL,NULL), - (257,129,7,'a_b',71,'Head of Household for',162,'Head of Household is',0,NULL,NULL,NULL), - (258,129,7,'b_a',162,'Head of Household is',71,'Head of Household for',0,NULL,NULL,NULL), - (259,130,2,'a_b',148,'Spouse of',71,'Spouse of',0,NULL,NULL,NULL), - (260,130,2,'b_a',71,'Spouse of',148,'Spouse of',0,NULL,NULL,NULL), - (261,131,1,'a_b',5,'Child of',26,'Parent of',1,NULL,NULL,NULL), - (262,131,1,'b_a',26,'Parent of',5,'Child of',1,NULL,NULL,NULL), - (263,132,1,'a_b',107,'Child of',26,'Parent of',1,NULL,NULL,NULL), - (264,132,1,'b_a',26,'Parent of',107,'Child of',1,NULL,NULL,NULL), - (265,133,1,'a_b',5,'Child of',97,'Parent of',1,NULL,NULL,NULL), - (266,133,1,'b_a',97,'Parent of',5,'Child of',1,NULL,NULL,NULL), - (267,134,1,'a_b',107,'Child of',97,'Parent of',1,NULL,NULL,NULL), - (268,134,1,'b_a',97,'Parent of',107,'Child of',1,NULL,NULL,NULL), - (269,135,4,'a_b',107,'Sibling of',5,'Sibling of',1,NULL,NULL,NULL), - (270,135,4,'b_a',5,'Sibling of',107,'Sibling of',1,NULL,NULL,NULL), - (271,136,8,'a_b',97,'Household Member of',149,'Household Member is',1,NULL,NULL,NULL), - (272,136,8,'b_a',149,'Household Member is',97,'Household Member of',1,NULL,NULL,NULL), - (273,137,8,'a_b',5,'Household Member of',149,'Household Member is',1,NULL,NULL,NULL), - (274,137,8,'b_a',149,'Household Member is',5,'Household Member of',1,NULL,NULL,NULL), - (275,138,8,'a_b',107,'Household Member of',149,'Household Member is',1,NULL,NULL,NULL), - (276,138,8,'b_a',149,'Household Member is',107,'Household Member of',1,NULL,NULL,NULL), - (277,139,7,'a_b',26,'Head of Household for',149,'Head of Household is',1,NULL,NULL,NULL), - (278,139,7,'b_a',149,'Head of Household is',26,'Head of Household for',1,NULL,NULL,NULL), - (279,140,2,'a_b',97,'Spouse of',26,'Spouse of',1,NULL,NULL,NULL), - (280,140,2,'b_a',26,'Spouse of',97,'Spouse of',1,NULL,NULL,NULL), - (281,141,1,'a_b',60,'Child of',104,'Parent of',1,NULL,NULL,NULL), - (282,141,1,'b_a',104,'Parent of',60,'Child of',1,NULL,NULL,NULL), - (283,142,1,'a_b',122,'Child of',104,'Parent of',1,NULL,NULL,NULL), - (284,142,1,'b_a',104,'Parent of',122,'Child of',1,NULL,NULL,NULL), - (285,143,1,'a_b',60,'Child of',139,'Parent of',1,NULL,NULL,NULL), - (286,143,1,'b_a',139,'Parent of',60,'Child of',1,NULL,NULL,NULL), - (287,144,1,'a_b',122,'Child of',139,'Parent of',1,NULL,NULL,NULL), - (288,144,1,'b_a',139,'Parent of',122,'Child of',1,NULL,NULL,NULL), - (289,145,4,'a_b',122,'Sibling of',60,'Sibling of',1,NULL,NULL,NULL), - (290,145,4,'b_a',60,'Sibling of',122,'Sibling of',1,NULL,NULL,NULL), - (291,146,8,'a_b',139,'Household Member of',79,'Household Member is',1,NULL,NULL,NULL), - (292,146,8,'b_a',79,'Household Member is',139,'Household Member of',1,NULL,NULL,NULL), - (293,147,8,'a_b',60,'Household Member of',79,'Household Member is',1,NULL,NULL,NULL), - (294,147,8,'b_a',79,'Household Member is',60,'Household Member of',1,NULL,NULL,NULL), - (295,148,8,'a_b',122,'Household Member of',79,'Household Member is',1,NULL,NULL,NULL), - (296,148,8,'b_a',79,'Household Member is',122,'Household Member of',1,NULL,NULL,NULL), - (297,149,7,'a_b',104,'Head of Household for',79,'Head of Household is',1,NULL,NULL,NULL), - (298,149,7,'b_a',79,'Head of Household is',104,'Head of Household for',1,NULL,NULL,NULL), - (299,150,2,'a_b',139,'Spouse of',104,'Spouse of',1,NULL,NULL,NULL), - (300,150,2,'b_a',104,'Spouse of',139,'Spouse of',1,NULL,NULL,NULL), - (301,151,1,'a_b',197,'Child of',101,'Parent of',1,NULL,NULL,NULL), - (302,151,1,'b_a',101,'Parent of',197,'Child of',1,NULL,NULL,NULL), - (303,152,1,'a_b',135,'Child of',101,'Parent of',1,NULL,NULL,NULL), - (304,152,1,'b_a',101,'Parent of',135,'Child of',1,NULL,NULL,NULL), - (305,153,1,'a_b',197,'Child of',93,'Parent of',1,NULL,NULL,NULL), - (306,153,1,'b_a',93,'Parent of',197,'Child of',1,NULL,NULL,NULL), - (307,154,1,'a_b',135,'Child of',93,'Parent of',1,NULL,NULL,NULL), - (308,154,1,'b_a',93,'Parent of',135,'Child of',1,NULL,NULL,NULL), - (309,155,4,'a_b',135,'Sibling of',197,'Sibling of',1,NULL,NULL,NULL), - (310,155,4,'b_a',197,'Sibling of',135,'Sibling of',1,NULL,NULL,NULL), - (311,156,8,'a_b',93,'Household Member of',128,'Household Member is',1,NULL,NULL,NULL), - (312,156,8,'b_a',128,'Household Member is',93,'Household Member of',1,NULL,NULL,NULL), - (313,157,8,'a_b',197,'Household Member of',128,'Household Member is',1,NULL,NULL,NULL), - (314,157,8,'b_a',128,'Household Member is',197,'Household Member of',1,NULL,NULL,NULL), - (315,158,8,'a_b',135,'Household Member of',128,'Household Member is',1,NULL,NULL,NULL), - (316,158,8,'b_a',128,'Household Member is',135,'Household Member of',1,NULL,NULL,NULL), - (317,159,7,'a_b',101,'Head of Household for',128,'Head of Household is',0,NULL,NULL,NULL), - (318,159,7,'b_a',128,'Head of Household is',101,'Head of Household for',0,NULL,NULL,NULL), - (319,160,2,'a_b',93,'Spouse of',101,'Spouse of',0,NULL,NULL,NULL), - (320,160,2,'b_a',101,'Spouse of',93,'Spouse of',0,NULL,NULL,NULL), - (321,161,1,'a_b',90,'Child of',16,'Parent of',1,NULL,NULL,NULL), - (322,161,1,'b_a',16,'Parent of',90,'Child of',1,NULL,NULL,NULL), - (323,162,1,'a_b',25,'Child of',16,'Parent of',1,NULL,NULL,NULL), - (324,162,1,'b_a',16,'Parent of',25,'Child of',1,NULL,NULL,NULL), - (325,163,1,'a_b',90,'Child of',40,'Parent of',1,NULL,NULL,NULL), - (326,163,1,'b_a',40,'Parent of',90,'Child of',1,NULL,NULL,NULL), - (327,164,1,'a_b',25,'Child of',40,'Parent of',1,NULL,NULL,NULL), - (328,164,1,'b_a',40,'Parent of',25,'Child of',1,NULL,NULL,NULL), - (329,165,4,'a_b',25,'Sibling of',90,'Sibling of',1,NULL,NULL,NULL), - (330,165,4,'b_a',90,'Sibling of',25,'Sibling of',1,NULL,NULL,NULL), - (331,166,8,'a_b',40,'Household Member of',59,'Household Member is',1,NULL,NULL,NULL), - (332,166,8,'b_a',59,'Household Member is',40,'Household Member of',1,NULL,NULL,NULL), - (333,167,8,'a_b',90,'Household Member of',59,'Household Member is',1,NULL,NULL,NULL), - (334,167,8,'b_a',59,'Household Member is',90,'Household Member of',1,NULL,NULL,NULL), - (335,168,8,'a_b',25,'Household Member of',59,'Household Member is',1,NULL,NULL,NULL), - (336,168,8,'b_a',59,'Household Member is',25,'Household Member of',1,NULL,NULL,NULL), - (337,169,7,'a_b',16,'Head of Household for',59,'Head of Household is',0,NULL,NULL,NULL), - (338,169,7,'b_a',59,'Head of Household is',16,'Head of Household for',0,NULL,NULL,NULL), - (339,170,2,'a_b',40,'Spouse of',16,'Spouse of',0,NULL,NULL,NULL), - (340,170,2,'b_a',16,'Spouse of',40,'Spouse of',0,NULL,NULL,NULL), - (341,171,1,'a_b',11,'Child of',58,'Parent of',1,NULL,NULL,NULL), - (342,171,1,'b_a',58,'Parent of',11,'Child of',1,NULL,NULL,NULL), - (343,172,1,'a_b',23,'Child of',58,'Parent of',1,NULL,NULL,NULL), - (344,172,1,'b_a',58,'Parent of',23,'Child of',1,NULL,NULL,NULL), - (345,173,1,'a_b',11,'Child of',66,'Parent of',1,NULL,NULL,NULL), - (346,173,1,'b_a',66,'Parent of',11,'Child of',1,NULL,NULL,NULL), - (347,174,1,'a_b',23,'Child of',66,'Parent of',1,NULL,NULL,NULL), - (348,174,1,'b_a',66,'Parent of',23,'Child of',1,NULL,NULL,NULL), - (349,175,4,'a_b',23,'Sibling of',11,'Sibling of',1,NULL,NULL,NULL), - (350,175,4,'b_a',11,'Sibling of',23,'Sibling of',1,NULL,NULL,NULL), - (351,176,8,'a_b',66,'Household Member of',39,'Household Member is',1,NULL,NULL,NULL), - (352,176,8,'b_a',39,'Household Member is',66,'Household Member of',1,NULL,NULL,NULL), - (353,177,8,'a_b',11,'Household Member of',39,'Household Member is',1,NULL,NULL,NULL), - (354,177,8,'b_a',39,'Household Member is',11,'Household Member of',1,NULL,NULL,NULL), - (355,178,8,'a_b',23,'Household Member of',39,'Household Member is',1,NULL,NULL,NULL), - (356,178,8,'b_a',39,'Household Member is',23,'Household Member of',1,NULL,NULL,NULL), - (357,179,7,'a_b',58,'Head of Household for',39,'Head of Household is',0,NULL,NULL,NULL), - (358,179,7,'b_a',39,'Head of Household is',58,'Head of Household for',0,NULL,NULL,NULL), - (359,180,2,'a_b',66,'Spouse of',58,'Spouse of',0,NULL,NULL,NULL), - (360,180,2,'b_a',58,'Spouse of',66,'Spouse of',0,NULL,NULL,NULL), - (361,181,1,'a_b',130,'Child of',62,'Parent of',1,NULL,NULL,NULL), - (362,181,1,'b_a',62,'Parent of',130,'Child of',1,NULL,NULL,NULL), - (363,182,1,'a_b',111,'Child of',62,'Parent of',1,NULL,NULL,NULL), - (364,182,1,'b_a',62,'Parent of',111,'Child of',1,NULL,NULL,NULL), - (365,183,1,'a_b',130,'Child of',22,'Parent of',1,NULL,NULL,NULL), - (366,183,1,'b_a',22,'Parent of',130,'Child of',1,NULL,NULL,NULL), - (367,184,1,'a_b',111,'Child of',22,'Parent of',1,NULL,NULL,NULL), - (368,184,1,'b_a',22,'Parent of',111,'Child of',1,NULL,NULL,NULL), - (369,185,4,'a_b',111,'Sibling of',130,'Sibling of',1,NULL,NULL,NULL), - (370,185,4,'b_a',130,'Sibling of',111,'Sibling of',1,NULL,NULL,NULL), - (371,186,8,'a_b',22,'Household Member of',191,'Household Member is',1,NULL,NULL,NULL), - (372,186,8,'b_a',191,'Household Member is',22,'Household Member of',1,NULL,NULL,NULL), - (373,187,8,'a_b',130,'Household Member of',191,'Household Member is',1,NULL,NULL,NULL), - (374,187,8,'b_a',191,'Household Member is',130,'Household Member of',1,NULL,NULL,NULL), - (375,188,8,'a_b',111,'Household Member of',191,'Household Member is',1,NULL,NULL,NULL), - (376,188,8,'b_a',191,'Household Member is',111,'Household Member of',1,NULL,NULL,NULL), - (377,189,7,'a_b',62,'Head of Household for',191,'Head of Household is',1,NULL,NULL,NULL), - (378,189,7,'b_a',191,'Head of Household is',62,'Head of Household for',1,NULL,NULL,NULL), - (379,190,2,'a_b',22,'Spouse of',62,'Spouse of',1,NULL,NULL,NULL), - (380,190,2,'b_a',62,'Spouse of',22,'Spouse of',1,NULL,NULL,NULL), - (381,191,1,'a_b',110,'Child of',61,'Parent of',1,NULL,NULL,NULL), - (382,191,1,'b_a',61,'Parent of',110,'Child of',1,NULL,NULL,NULL), - (383,192,1,'a_b',12,'Child of',61,'Parent of',1,NULL,NULL,NULL), - (384,192,1,'b_a',61,'Parent of',12,'Child of',1,NULL,NULL,NULL), - (385,193,1,'a_b',110,'Child of',33,'Parent of',1,NULL,NULL,NULL), - (386,193,1,'b_a',33,'Parent of',110,'Child of',1,NULL,NULL,NULL), - (387,194,1,'a_b',12,'Child of',33,'Parent of',1,NULL,NULL,NULL), - (388,194,1,'b_a',33,'Parent of',12,'Child of',1,NULL,NULL,NULL), - (389,195,4,'a_b',12,'Sibling of',110,'Sibling of',1,NULL,NULL,NULL), - (390,195,4,'b_a',110,'Sibling of',12,'Sibling of',1,NULL,NULL,NULL), - (391,196,8,'a_b',33,'Household Member of',192,'Household Member is',1,NULL,NULL,NULL), - (392,196,8,'b_a',192,'Household Member is',33,'Household Member of',1,NULL,NULL,NULL), - (393,197,8,'a_b',110,'Household Member of',192,'Household Member is',1,NULL,NULL,NULL), - (394,197,8,'b_a',192,'Household Member is',110,'Household Member of',1,NULL,NULL,NULL), - (395,198,8,'a_b',12,'Household Member of',192,'Household Member is',1,NULL,NULL,NULL), - (396,198,8,'b_a',192,'Household Member is',12,'Household Member of',1,NULL,NULL,NULL), - (397,199,7,'a_b',61,'Head of Household for',192,'Head of Household is',0,NULL,NULL,NULL), - (398,199,7,'b_a',192,'Head of Household is',61,'Head of Household for',0,NULL,NULL,NULL), - (399,200,2,'a_b',33,'Spouse of',61,'Spouse of',0,NULL,NULL,NULL), - (400,200,2,'b_a',61,'Spouse of',33,'Spouse of',0,NULL,NULL,NULL), - (401,201,5,'a_b',110,'Employee of',3,'Employer of',1,NULL,NULL,NULL), - (402,201,5,'b_a',3,'Employer of',110,'Employee of',1,NULL,NULL,NULL), - (403,202,5,'a_b',92,'Employee of',6,'Employer of',1,NULL,NULL,NULL), - (404,202,5,'b_a',6,'Employer of',92,'Employee of',1,NULL,NULL,NULL), - (405,203,5,'a_b',31,'Employee of',18,'Employer of',1,NULL,NULL,NULL), - (406,203,5,'b_a',18,'Employer of',31,'Employee of',1,NULL,NULL,NULL), - (407,204,5,'a_b',106,'Employee of',48,'Employer of',1,NULL,NULL,NULL), - (408,204,5,'b_a',48,'Employer of',106,'Employee of',1,NULL,NULL,NULL), - (409,205,5,'a_b',99,'Employee of',52,'Employer of',1,NULL,NULL,NULL), - (410,205,5,'b_a',52,'Employer of',99,'Employee of',1,NULL,NULL,NULL), - (411,206,5,'a_b',43,'Employee of',69,'Employer of',1,NULL,NULL,NULL), - (412,206,5,'b_a',69,'Employer of',43,'Employee of',1,NULL,NULL,NULL), - (413,207,5,'a_b',42,'Employee of',75,'Employer of',1,NULL,NULL,NULL), - (414,207,5,'b_a',75,'Employer of',42,'Employee of',1,NULL,NULL,NULL), - (415,208,5,'a_b',29,'Employee of',116,'Employer of',1,NULL,NULL,NULL), - (416,208,5,'b_a',116,'Employer of',29,'Employee of',1,NULL,NULL,NULL), - (417,209,5,'a_b',33,'Employee of',125,'Employer of',1,NULL,NULL,NULL), - (418,209,5,'b_a',125,'Employer of',33,'Employee of',1,NULL,NULL,NULL), - (419,210,5,'a_b',122,'Employee of',140,'Employer of',1,NULL,NULL,NULL), - (420,210,5,'b_a',140,'Employer of',122,'Employee of',1,NULL,NULL,NULL), - (421,211,5,'a_b',17,'Employee of',156,'Employer of',1,NULL,NULL,NULL), - (422,211,5,'b_a',156,'Employer of',17,'Employee of',1,NULL,NULL,NULL), - (423,212,5,'a_b',74,'Employee of',158,'Employer of',1,NULL,NULL,NULL), - (424,212,5,'b_a',158,'Employer of',74,'Employee of',1,NULL,NULL,NULL), - (425,213,5,'a_b',96,'Employee of',165,'Employer of',1,NULL,NULL,NULL), - (426,213,5,'b_a',165,'Employer of',96,'Employee of',1,NULL,NULL,NULL), - (427,214,5,'a_b',5,'Employee of',167,'Employer of',1,NULL,NULL,NULL), - (428,214,5,'b_a',167,'Employer of',5,'Employee of',1,NULL,NULL,NULL), - (429,215,5,'a_b',51,'Employee of',189,'Employer of',1,NULL,NULL,NULL), - (430,215,5,'b_a',189,'Employer of',51,'Employee of',1,NULL,NULL,NULL), - (431,216,5,'a_b',97,'Employee of',196,'Employer of',1,NULL,NULL,NULL), - (432,216,5,'b_a',196,'Employer of',97,'Employee of',1,NULL,NULL,NULL); + (1,1,1,'a_b',178,'Child of',69,'Parent of',1,NULL,NULL,NULL), + (2,1,1,'b_a',69,'Parent of',178,'Child of',1,NULL,NULL,NULL), + (3,2,1,'a_b',16,'Child of',69,'Parent of',1,NULL,NULL,NULL), + (4,2,1,'b_a',69,'Parent of',16,'Child of',1,NULL,NULL,NULL), + (5,3,1,'a_b',178,'Child of',189,'Parent of',1,NULL,NULL,NULL), + (6,3,1,'b_a',189,'Parent of',178,'Child of',1,NULL,NULL,NULL), + (7,4,1,'a_b',16,'Child of',189,'Parent of',1,NULL,NULL,NULL), + (8,4,1,'b_a',189,'Parent of',16,'Child of',1,NULL,NULL,NULL), + (9,5,4,'a_b',16,'Sibling of',178,'Sibling of',1,NULL,NULL,NULL), + (10,5,4,'b_a',178,'Sibling of',16,'Sibling of',1,NULL,NULL,NULL), + (11,6,8,'a_b',189,'Household Member of',105,'Household Member is',1,NULL,NULL,NULL), + (12,6,8,'b_a',105,'Household Member is',189,'Household Member of',1,NULL,NULL,NULL), + (13,7,8,'a_b',178,'Household Member of',105,'Household Member is',1,NULL,NULL,NULL), + (14,7,8,'b_a',105,'Household Member is',178,'Household Member of',1,NULL,NULL,NULL), + (15,8,8,'a_b',16,'Household Member of',105,'Household Member is',1,NULL,NULL,NULL), + (16,8,8,'b_a',105,'Household Member is',16,'Household Member of',1,NULL,NULL,NULL), + (17,9,7,'a_b',69,'Head of Household for',105,'Head of Household is',1,NULL,NULL,NULL), + (18,9,7,'b_a',105,'Head of Household is',69,'Head of Household for',1,NULL,NULL,NULL), + (19,10,2,'a_b',189,'Spouse of',69,'Spouse of',1,NULL,NULL,NULL), + (20,10,2,'b_a',69,'Spouse of',189,'Spouse of',1,NULL,NULL,NULL), + (21,11,1,'a_b',85,'Child of',57,'Parent of',1,NULL,NULL,NULL), + (22,11,1,'b_a',57,'Parent of',85,'Child of',1,NULL,NULL,NULL), + (23,12,1,'a_b',107,'Child of',57,'Parent of',1,NULL,NULL,NULL), + (24,12,1,'b_a',57,'Parent of',107,'Child of',1,NULL,NULL,NULL), + (25,13,1,'a_b',85,'Child of',94,'Parent of',1,NULL,NULL,NULL), + (26,13,1,'b_a',94,'Parent of',85,'Child of',1,NULL,NULL,NULL), + (27,14,1,'a_b',107,'Child of',94,'Parent of',1,NULL,NULL,NULL), + (28,14,1,'b_a',94,'Parent of',107,'Child of',1,NULL,NULL,NULL), + (29,15,4,'a_b',107,'Sibling of',85,'Sibling of',1,NULL,NULL,NULL), + (30,15,4,'b_a',85,'Sibling of',107,'Sibling of',1,NULL,NULL,NULL), + (31,16,8,'a_b',94,'Household Member of',17,'Household Member is',1,NULL,NULL,NULL), + (32,16,8,'b_a',17,'Household Member is',94,'Household Member of',1,NULL,NULL,NULL), + (33,17,8,'a_b',85,'Household Member of',17,'Household Member is',1,NULL,NULL,NULL), + (34,17,8,'b_a',17,'Household Member is',85,'Household Member of',1,NULL,NULL,NULL), + (35,18,8,'a_b',107,'Household Member of',17,'Household Member is',1,NULL,NULL,NULL), + (36,18,8,'b_a',17,'Household Member is',107,'Household Member of',1,NULL,NULL,NULL), + (37,19,7,'a_b',57,'Head of Household for',17,'Head of Household is',0,NULL,NULL,NULL), + (38,19,7,'b_a',17,'Head of Household is',57,'Head of Household for',0,NULL,NULL,NULL), + (39,20,2,'a_b',94,'Spouse of',57,'Spouse of',0,NULL,NULL,NULL), + (40,20,2,'b_a',57,'Spouse of',94,'Spouse of',0,NULL,NULL,NULL), + (41,21,1,'a_b',140,'Child of',23,'Parent of',1,NULL,NULL,NULL), + (42,21,1,'b_a',23,'Parent of',140,'Child of',1,NULL,NULL,NULL), + (43,22,1,'a_b',34,'Child of',23,'Parent of',1,NULL,NULL,NULL), + (44,22,1,'b_a',23,'Parent of',34,'Child of',1,NULL,NULL,NULL), + (45,23,1,'a_b',140,'Child of',41,'Parent of',1,NULL,NULL,NULL), + (46,23,1,'b_a',41,'Parent of',140,'Child of',1,NULL,NULL,NULL), + (47,24,1,'a_b',34,'Child of',41,'Parent of',1,NULL,NULL,NULL), + (48,24,1,'b_a',41,'Parent of',34,'Child of',1,NULL,NULL,NULL), + (49,25,4,'a_b',34,'Sibling of',140,'Sibling of',1,NULL,NULL,NULL), + (50,25,4,'b_a',140,'Sibling of',34,'Sibling of',1,NULL,NULL,NULL), + (51,26,8,'a_b',41,'Household Member of',36,'Household Member is',1,NULL,NULL,NULL), + (52,26,8,'b_a',36,'Household Member is',41,'Household Member of',1,NULL,NULL,NULL), + (53,27,8,'a_b',140,'Household Member of',36,'Household Member is',1,NULL,NULL,NULL), + (54,27,8,'b_a',36,'Household Member is',140,'Household Member of',1,NULL,NULL,NULL), + (55,28,8,'a_b',34,'Household Member of',36,'Household Member is',1,NULL,NULL,NULL), + (56,28,8,'b_a',36,'Household Member is',34,'Household Member of',1,NULL,NULL,NULL), + (57,29,7,'a_b',23,'Head of Household for',36,'Head of Household is',0,NULL,NULL,NULL), + (58,29,7,'b_a',36,'Head of Household is',23,'Head of Household for',0,NULL,NULL,NULL), + (59,30,2,'a_b',41,'Spouse of',23,'Spouse of',0,NULL,NULL,NULL), + (60,30,2,'b_a',23,'Spouse of',41,'Spouse of',0,NULL,NULL,NULL), + (61,31,1,'a_b',62,'Child of',5,'Parent of',1,NULL,NULL,NULL), + (62,31,1,'b_a',5,'Parent of',62,'Child of',1,NULL,NULL,NULL), + (63,32,1,'a_b',2,'Child of',5,'Parent of',1,NULL,NULL,NULL), + (64,32,1,'b_a',5,'Parent of',2,'Child of',1,NULL,NULL,NULL), + (65,33,1,'a_b',62,'Child of',13,'Parent of',1,NULL,NULL,NULL), + (66,33,1,'b_a',13,'Parent of',62,'Child of',1,NULL,NULL,NULL), + (67,34,1,'a_b',2,'Child of',13,'Parent of',1,NULL,NULL,NULL), + (68,34,1,'b_a',13,'Parent of',2,'Child of',1,NULL,NULL,NULL), + (69,35,4,'a_b',2,'Sibling of',62,'Sibling of',1,NULL,NULL,NULL), + (70,35,4,'b_a',62,'Sibling of',2,'Sibling of',1,NULL,NULL,NULL), + (71,36,8,'a_b',13,'Household Member of',149,'Household Member is',1,NULL,NULL,NULL), + (72,36,8,'b_a',149,'Household Member is',13,'Household Member of',1,NULL,NULL,NULL), + (73,37,8,'a_b',62,'Household Member of',149,'Household Member is',1,NULL,NULL,NULL), + (74,37,8,'b_a',149,'Household Member is',62,'Household Member of',1,NULL,NULL,NULL), + (75,38,8,'a_b',2,'Household Member of',149,'Household Member is',1,NULL,NULL,NULL), + (76,38,8,'b_a',149,'Household Member is',2,'Household Member of',1,NULL,NULL,NULL), + (77,39,7,'a_b',5,'Head of Household for',149,'Head of Household is',1,NULL,NULL,NULL), + (78,39,7,'b_a',149,'Head of Household is',5,'Head of Household for',1,NULL,NULL,NULL), + (79,40,2,'a_b',13,'Spouse of',5,'Spouse of',1,NULL,NULL,NULL), + (80,40,2,'b_a',5,'Spouse of',13,'Spouse of',1,NULL,NULL,NULL), + (81,41,1,'a_b',46,'Child of',162,'Parent of',1,NULL,NULL,NULL), + (82,41,1,'b_a',162,'Parent of',46,'Child of',1,NULL,NULL,NULL), + (83,42,1,'a_b',103,'Child of',162,'Parent of',1,NULL,NULL,NULL), + (84,42,1,'b_a',162,'Parent of',103,'Child of',1,NULL,NULL,NULL), + (85,43,1,'a_b',46,'Child of',47,'Parent of',1,NULL,NULL,NULL), + (86,43,1,'b_a',47,'Parent of',46,'Child of',1,NULL,NULL,NULL), + (87,44,1,'a_b',103,'Child of',47,'Parent of',1,NULL,NULL,NULL), + (88,44,1,'b_a',47,'Parent of',103,'Child of',1,NULL,NULL,NULL), + (89,45,4,'a_b',103,'Sibling of',46,'Sibling of',1,NULL,NULL,NULL), + (90,45,4,'b_a',46,'Sibling of',103,'Sibling of',1,NULL,NULL,NULL), + (91,46,8,'a_b',47,'Household Member of',129,'Household Member is',1,NULL,NULL,NULL), + (92,46,8,'b_a',129,'Household Member is',47,'Household Member of',1,NULL,NULL,NULL), + (93,47,8,'a_b',46,'Household Member of',129,'Household Member is',1,NULL,NULL,NULL), + (94,47,8,'b_a',129,'Household Member is',46,'Household Member of',1,NULL,NULL,NULL), + (95,48,8,'a_b',103,'Household Member of',129,'Household Member is',1,NULL,NULL,NULL), + (96,48,8,'b_a',129,'Household Member is',103,'Household Member of',1,NULL,NULL,NULL), + (97,49,7,'a_b',162,'Head of Household for',129,'Head of Household is',0,NULL,NULL,NULL), + (98,49,7,'b_a',129,'Head of Household is',162,'Head of Household for',0,NULL,NULL,NULL), + (99,50,2,'a_b',47,'Spouse of',162,'Spouse of',0,NULL,NULL,NULL), + (100,50,2,'b_a',162,'Spouse of',47,'Spouse of',0,NULL,NULL,NULL), + (101,51,1,'a_b',112,'Child of',118,'Parent of',1,NULL,NULL,NULL), + (102,51,1,'b_a',118,'Parent of',112,'Child of',1,NULL,NULL,NULL), + (103,52,1,'a_b',151,'Child of',118,'Parent of',1,NULL,NULL,NULL), + (104,52,1,'b_a',118,'Parent of',151,'Child of',1,NULL,NULL,NULL), + (105,53,1,'a_b',112,'Child of',24,'Parent of',1,NULL,NULL,NULL), + (106,53,1,'b_a',24,'Parent of',112,'Child of',1,NULL,NULL,NULL), + (107,54,1,'a_b',151,'Child of',24,'Parent of',1,NULL,NULL,NULL), + (108,54,1,'b_a',24,'Parent of',151,'Child of',1,NULL,NULL,NULL), + (109,55,4,'a_b',151,'Sibling of',112,'Sibling of',1,NULL,NULL,NULL), + (110,55,4,'b_a',112,'Sibling of',151,'Sibling of',1,NULL,NULL,NULL), + (111,56,8,'a_b',24,'Household Member of',3,'Household Member is',1,NULL,NULL,NULL), + (112,56,8,'b_a',3,'Household Member is',24,'Household Member of',1,NULL,NULL,NULL), + (113,57,8,'a_b',112,'Household Member of',3,'Household Member is',1,NULL,NULL,NULL), + (114,57,8,'b_a',3,'Household Member is',112,'Household Member of',1,NULL,NULL,NULL), + (115,58,8,'a_b',151,'Household Member of',3,'Household Member is',1,NULL,NULL,NULL), + (116,58,8,'b_a',3,'Household Member is',151,'Household Member of',1,NULL,NULL,NULL), + (117,59,7,'a_b',118,'Head of Household for',3,'Head of Household is',1,NULL,NULL,NULL), + (118,59,7,'b_a',3,'Head of Household is',118,'Head of Household for',1,NULL,NULL,NULL), + (119,60,2,'a_b',24,'Spouse of',118,'Spouse of',1,NULL,NULL,NULL), + (120,60,2,'b_a',118,'Spouse of',24,'Spouse of',1,NULL,NULL,NULL), + (121,61,1,'a_b',193,'Child of',70,'Parent of',1,NULL,NULL,NULL), + (122,61,1,'b_a',70,'Parent of',193,'Child of',1,NULL,NULL,NULL), + (123,62,1,'a_b',9,'Child of',70,'Parent of',1,NULL,NULL,NULL), + (124,62,1,'b_a',70,'Parent of',9,'Child of',1,NULL,NULL,NULL), + (125,63,1,'a_b',193,'Child of',155,'Parent of',1,NULL,NULL,NULL), + (126,63,1,'b_a',155,'Parent of',193,'Child of',1,NULL,NULL,NULL), + (127,64,1,'a_b',9,'Child of',155,'Parent of',1,NULL,NULL,NULL), + (128,64,1,'b_a',155,'Parent of',9,'Child of',1,NULL,NULL,NULL), + (129,65,4,'a_b',9,'Sibling of',193,'Sibling of',1,NULL,NULL,NULL), + (130,65,4,'b_a',193,'Sibling of',9,'Sibling of',1,NULL,NULL,NULL), + (131,66,8,'a_b',155,'Household Member of',19,'Household Member is',1,NULL,NULL,NULL), + (132,66,8,'b_a',19,'Household Member is',155,'Household Member of',1,NULL,NULL,NULL), + (133,67,8,'a_b',193,'Household Member of',19,'Household Member is',1,NULL,NULL,NULL), + (134,67,8,'b_a',19,'Household Member is',193,'Household Member of',1,NULL,NULL,NULL), + (135,68,8,'a_b',9,'Household Member of',19,'Household Member is',1,NULL,NULL,NULL), + (136,68,8,'b_a',19,'Household Member is',9,'Household Member of',1,NULL,NULL,NULL), + (137,69,7,'a_b',70,'Head of Household for',19,'Head of Household is',1,NULL,NULL,NULL), + (138,69,7,'b_a',19,'Head of Household is',70,'Head of Household for',1,NULL,NULL,NULL), + (139,70,2,'a_b',155,'Spouse of',70,'Spouse of',1,NULL,NULL,NULL), + (140,70,2,'b_a',70,'Spouse of',155,'Spouse of',1,NULL,NULL,NULL), + (141,71,1,'a_b',186,'Child of',58,'Parent of',1,NULL,NULL,NULL), + (142,71,1,'b_a',58,'Parent of',186,'Child of',1,NULL,NULL,NULL), + (143,72,1,'a_b',188,'Child of',58,'Parent of',1,NULL,NULL,NULL), + (144,72,1,'b_a',58,'Parent of',188,'Child of',1,NULL,NULL,NULL), + (145,73,1,'a_b',186,'Child of',15,'Parent of',1,NULL,NULL,NULL), + (146,73,1,'b_a',15,'Parent of',186,'Child of',1,NULL,NULL,NULL), + (147,74,1,'a_b',188,'Child of',15,'Parent of',1,NULL,NULL,NULL), + (148,74,1,'b_a',15,'Parent of',188,'Child of',1,NULL,NULL,NULL), + (149,75,4,'a_b',188,'Sibling of',186,'Sibling of',1,NULL,NULL,NULL), + (150,75,4,'b_a',186,'Sibling of',188,'Sibling of',1,NULL,NULL,NULL), + (151,76,8,'a_b',15,'Household Member of',165,'Household Member is',1,NULL,NULL,NULL), + (152,76,8,'b_a',165,'Household Member is',15,'Household Member of',1,NULL,NULL,NULL), + (153,77,8,'a_b',186,'Household Member of',165,'Household Member is',1,NULL,NULL,NULL), + (154,77,8,'b_a',165,'Household Member is',186,'Household Member of',1,NULL,NULL,NULL), + (155,78,8,'a_b',188,'Household Member of',165,'Household Member is',1,NULL,NULL,NULL), + (156,78,8,'b_a',165,'Household Member is',188,'Household Member of',1,NULL,NULL,NULL), + (157,79,7,'a_b',58,'Head of Household for',165,'Head of Household is',0,NULL,NULL,NULL), + (158,79,7,'b_a',165,'Head of Household is',58,'Head of Household for',0,NULL,NULL,NULL), + (159,80,2,'a_b',15,'Spouse of',58,'Spouse of',0,NULL,NULL,NULL), + (160,80,2,'b_a',58,'Spouse of',15,'Spouse of',0,NULL,NULL,NULL), + (161,81,1,'a_b',45,'Child of',22,'Parent of',1,NULL,NULL,NULL), + (162,81,1,'b_a',22,'Parent of',45,'Child of',1,NULL,NULL,NULL), + (163,82,1,'a_b',145,'Child of',22,'Parent of',1,NULL,NULL,NULL), + (164,82,1,'b_a',22,'Parent of',145,'Child of',1,NULL,NULL,NULL), + (165,83,1,'a_b',45,'Child of',137,'Parent of',1,NULL,NULL,NULL), + (166,83,1,'b_a',137,'Parent of',45,'Child of',1,NULL,NULL,NULL), + (167,84,1,'a_b',145,'Child of',137,'Parent of',1,NULL,NULL,NULL), + (168,84,1,'b_a',137,'Parent of',145,'Child of',1,NULL,NULL,NULL), + (169,85,4,'a_b',145,'Sibling of',45,'Sibling of',1,NULL,NULL,NULL), + (170,85,4,'b_a',45,'Sibling of',145,'Sibling of',1,NULL,NULL,NULL), + (171,86,8,'a_b',137,'Household Member of',43,'Household Member is',1,NULL,NULL,NULL), + (172,86,8,'b_a',43,'Household Member is',137,'Household Member of',1,NULL,NULL,NULL), + (173,87,8,'a_b',45,'Household Member of',43,'Household Member is',1,NULL,NULL,NULL), + (174,87,8,'b_a',43,'Household Member is',45,'Household Member of',1,NULL,NULL,NULL), + (175,88,8,'a_b',145,'Household Member of',43,'Household Member is',1,NULL,NULL,NULL), + (176,88,8,'b_a',43,'Household Member is',145,'Household Member of',1,NULL,NULL,NULL), + (177,89,7,'a_b',22,'Head of Household for',43,'Head of Household is',0,NULL,NULL,NULL), + (178,89,7,'b_a',43,'Head of Household is',22,'Head of Household for',0,NULL,NULL,NULL), + (179,90,2,'a_b',137,'Spouse of',22,'Spouse of',0,NULL,NULL,NULL), + (180,90,2,'b_a',22,'Spouse of',137,'Spouse of',0,NULL,NULL,NULL), + (181,91,1,'a_b',116,'Child of',159,'Parent of',1,NULL,NULL,NULL), + (182,91,1,'b_a',159,'Parent of',116,'Child of',1,NULL,NULL,NULL), + (183,92,1,'a_b',83,'Child of',159,'Parent of',1,NULL,NULL,NULL), + (184,92,1,'b_a',159,'Parent of',83,'Child of',1,NULL,NULL,NULL), + (185,93,1,'a_b',116,'Child of',143,'Parent of',1,NULL,NULL,NULL), + (186,93,1,'b_a',143,'Parent of',116,'Child of',1,NULL,NULL,NULL), + (187,94,1,'a_b',83,'Child of',143,'Parent of',1,NULL,NULL,NULL), + (188,94,1,'b_a',143,'Parent of',83,'Child of',1,NULL,NULL,NULL), + (189,95,4,'a_b',83,'Sibling of',116,'Sibling of',1,NULL,NULL,NULL), + (190,95,4,'b_a',116,'Sibling of',83,'Sibling of',1,NULL,NULL,NULL), + (191,96,8,'a_b',143,'Household Member of',122,'Household Member is',1,NULL,NULL,NULL), + (192,96,8,'b_a',122,'Household Member is',143,'Household Member of',1,NULL,NULL,NULL), + (193,97,8,'a_b',116,'Household Member of',122,'Household Member is',1,NULL,NULL,NULL), + (194,97,8,'b_a',122,'Household Member is',116,'Household Member of',1,NULL,NULL,NULL), + (195,98,8,'a_b',83,'Household Member of',122,'Household Member is',1,NULL,NULL,NULL), + (196,98,8,'b_a',122,'Household Member is',83,'Household Member of',1,NULL,NULL,NULL), + (197,99,7,'a_b',159,'Head of Household for',122,'Head of Household is',0,NULL,NULL,NULL), + (198,99,7,'b_a',122,'Head of Household is',159,'Head of Household for',0,NULL,NULL,NULL), + (199,100,2,'a_b',143,'Spouse of',159,'Spouse of',0,NULL,NULL,NULL), + (200,100,2,'b_a',159,'Spouse of',143,'Spouse of',0,NULL,NULL,NULL), + (201,101,1,'a_b',192,'Child of',148,'Parent of',1,NULL,NULL,NULL), + (202,101,1,'b_a',148,'Parent of',192,'Child of',1,NULL,NULL,NULL), + (203,102,1,'a_b',68,'Child of',148,'Parent of',1,NULL,NULL,NULL), + (204,102,1,'b_a',148,'Parent of',68,'Child of',1,NULL,NULL,NULL), + (205,103,1,'a_b',192,'Child of',130,'Parent of',1,NULL,NULL,NULL), + (206,103,1,'b_a',130,'Parent of',192,'Child of',1,NULL,NULL,NULL), + (207,104,1,'a_b',68,'Child of',130,'Parent of',1,NULL,NULL,NULL), + (208,104,1,'b_a',130,'Parent of',68,'Child of',1,NULL,NULL,NULL), + (209,105,4,'a_b',68,'Sibling of',192,'Sibling of',1,NULL,NULL,NULL), + (210,105,4,'b_a',192,'Sibling of',68,'Sibling of',1,NULL,NULL,NULL), + (211,106,8,'a_b',130,'Household Member of',126,'Household Member is',1,NULL,NULL,NULL), + (212,106,8,'b_a',126,'Household Member is',130,'Household Member of',1,NULL,NULL,NULL), + (213,107,8,'a_b',192,'Household Member of',126,'Household Member is',1,NULL,NULL,NULL), + (214,107,8,'b_a',126,'Household Member is',192,'Household Member of',1,NULL,NULL,NULL), + (215,108,8,'a_b',68,'Household Member of',126,'Household Member is',1,NULL,NULL,NULL), + (216,108,8,'b_a',126,'Household Member is',68,'Household Member of',1,NULL,NULL,NULL), + (217,109,7,'a_b',148,'Head of Household for',126,'Head of Household is',0,NULL,NULL,NULL), + (218,109,7,'b_a',126,'Head of Household is',148,'Head of Household for',0,NULL,NULL,NULL), + (219,110,2,'a_b',130,'Spouse of',148,'Spouse of',0,NULL,NULL,NULL), + (220,110,2,'b_a',148,'Spouse of',130,'Spouse of',0,NULL,NULL,NULL), + (221,111,1,'a_b',158,'Child of',139,'Parent of',1,NULL,NULL,NULL), + (222,111,1,'b_a',139,'Parent of',158,'Child of',1,NULL,NULL,NULL), + (223,112,1,'a_b',136,'Child of',139,'Parent of',1,NULL,NULL,NULL), + (224,112,1,'b_a',139,'Parent of',136,'Child of',1,NULL,NULL,NULL), + (225,113,1,'a_b',158,'Child of',18,'Parent of',1,NULL,NULL,NULL), + (226,113,1,'b_a',18,'Parent of',158,'Child of',1,NULL,NULL,NULL), + (227,114,1,'a_b',136,'Child of',18,'Parent of',1,NULL,NULL,NULL), + (228,114,1,'b_a',18,'Parent of',136,'Child of',1,NULL,NULL,NULL), + (229,115,4,'a_b',136,'Sibling of',158,'Sibling of',1,NULL,NULL,NULL), + (230,115,4,'b_a',158,'Sibling of',136,'Sibling of',1,NULL,NULL,NULL), + (231,116,8,'a_b',18,'Household Member of',86,'Household Member is',1,NULL,NULL,NULL), + (232,116,8,'b_a',86,'Household Member is',18,'Household Member of',1,NULL,NULL,NULL), + (233,117,8,'a_b',158,'Household Member of',86,'Household Member is',1,NULL,NULL,NULL), + (234,117,8,'b_a',86,'Household Member is',158,'Household Member of',1,NULL,NULL,NULL), + (235,118,8,'a_b',136,'Household Member of',86,'Household Member is',1,NULL,NULL,NULL), + (236,118,8,'b_a',86,'Household Member is',136,'Household Member of',1,NULL,NULL,NULL), + (237,119,7,'a_b',139,'Head of Household for',86,'Head of Household is',0,NULL,NULL,NULL), + (238,119,7,'b_a',86,'Head of Household is',139,'Head of Household for',0,NULL,NULL,NULL), + (239,120,2,'a_b',18,'Spouse of',139,'Spouse of',0,NULL,NULL,NULL), + (240,120,2,'b_a',139,'Spouse of',18,'Spouse of',0,NULL,NULL,NULL), + (241,121,1,'a_b',63,'Child of',128,'Parent of',1,NULL,NULL,NULL), + (242,121,1,'b_a',128,'Parent of',63,'Child of',1,NULL,NULL,NULL), + (243,122,1,'a_b',194,'Child of',128,'Parent of',1,NULL,NULL,NULL), + (244,122,1,'b_a',128,'Parent of',194,'Child of',1,NULL,NULL,NULL), + (245,123,1,'a_b',63,'Child of',40,'Parent of',1,NULL,NULL,NULL), + (246,123,1,'b_a',40,'Parent of',63,'Child of',1,NULL,NULL,NULL), + (247,124,1,'a_b',194,'Child of',40,'Parent of',1,NULL,NULL,NULL), + (248,124,1,'b_a',40,'Parent of',194,'Child of',1,NULL,NULL,NULL), + (249,125,4,'a_b',194,'Sibling of',63,'Sibling of',1,NULL,NULL,NULL), + (250,125,4,'b_a',63,'Sibling of',194,'Sibling of',1,NULL,NULL,NULL), + (251,126,8,'a_b',40,'Household Member of',176,'Household Member is',1,NULL,NULL,NULL), + (252,126,8,'b_a',176,'Household Member is',40,'Household Member of',1,NULL,NULL,NULL), + (253,127,8,'a_b',63,'Household Member of',176,'Household Member is',1,NULL,NULL,NULL), + (254,127,8,'b_a',176,'Household Member is',63,'Household Member of',1,NULL,NULL,NULL), + (255,128,8,'a_b',194,'Household Member of',176,'Household Member is',1,NULL,NULL,NULL), + (256,128,8,'b_a',176,'Household Member is',194,'Household Member of',1,NULL,NULL,NULL), + (257,129,7,'a_b',128,'Head of Household for',176,'Head of Household is',1,NULL,NULL,NULL), + (258,129,7,'b_a',176,'Head of Household is',128,'Head of Household for',1,NULL,NULL,NULL), + (259,130,2,'a_b',40,'Spouse of',128,'Spouse of',1,NULL,NULL,NULL), + (260,130,2,'b_a',128,'Spouse of',40,'Spouse of',1,NULL,NULL,NULL), + (261,131,1,'a_b',157,'Child of',113,'Parent of',1,NULL,NULL,NULL), + (262,131,1,'b_a',113,'Parent of',157,'Child of',1,NULL,NULL,NULL), + (263,132,1,'a_b',197,'Child of',113,'Parent of',1,NULL,NULL,NULL), + (264,132,1,'b_a',113,'Parent of',197,'Child of',1,NULL,NULL,NULL), + (265,133,1,'a_b',157,'Child of',119,'Parent of',1,NULL,NULL,NULL), + (266,133,1,'b_a',119,'Parent of',157,'Child of',1,NULL,NULL,NULL), + (267,134,1,'a_b',197,'Child of',119,'Parent of',1,NULL,NULL,NULL), + (268,134,1,'b_a',119,'Parent of',197,'Child of',1,NULL,NULL,NULL), + (269,135,4,'a_b',197,'Sibling of',157,'Sibling of',1,NULL,NULL,NULL), + (270,135,4,'b_a',157,'Sibling of',197,'Sibling of',1,NULL,NULL,NULL), + (271,136,8,'a_b',119,'Household Member of',187,'Household Member is',1,NULL,NULL,NULL), + (272,136,8,'b_a',187,'Household Member is',119,'Household Member of',1,NULL,NULL,NULL), + (273,137,8,'a_b',157,'Household Member of',187,'Household Member is',1,NULL,NULL,NULL), + (274,137,8,'b_a',187,'Household Member is',157,'Household Member of',1,NULL,NULL,NULL), + (275,138,8,'a_b',197,'Household Member of',187,'Household Member is',1,NULL,NULL,NULL), + (276,138,8,'b_a',187,'Household Member is',197,'Household Member of',1,NULL,NULL,NULL), + (277,139,7,'a_b',113,'Head of Household for',187,'Head of Household is',0,NULL,NULL,NULL), + (278,139,7,'b_a',187,'Head of Household is',113,'Head of Household for',0,NULL,NULL,NULL), + (279,140,2,'a_b',119,'Spouse of',113,'Spouse of',0,NULL,NULL,NULL), + (280,140,2,'b_a',113,'Spouse of',119,'Spouse of',0,NULL,NULL,NULL), + (281,141,1,'a_b',74,'Child of',20,'Parent of',1,NULL,NULL,NULL), + (282,141,1,'b_a',20,'Parent of',74,'Child of',1,NULL,NULL,NULL), + (283,142,1,'a_b',32,'Child of',20,'Parent of',1,NULL,NULL,NULL), + (284,142,1,'b_a',20,'Parent of',32,'Child of',1,NULL,NULL,NULL), + (285,143,1,'a_b',74,'Child of',67,'Parent of',1,NULL,NULL,NULL), + (286,143,1,'b_a',67,'Parent of',74,'Child of',1,NULL,NULL,NULL), + (287,144,1,'a_b',32,'Child of',67,'Parent of',1,NULL,NULL,NULL), + (288,144,1,'b_a',67,'Parent of',32,'Child of',1,NULL,NULL,NULL), + (289,145,4,'a_b',32,'Sibling of',74,'Sibling of',1,NULL,NULL,NULL), + (290,145,4,'b_a',74,'Sibling of',32,'Sibling of',1,NULL,NULL,NULL), + (291,146,8,'a_b',67,'Household Member of',174,'Household Member is',1,NULL,NULL,NULL), + (292,146,8,'b_a',174,'Household Member is',67,'Household Member of',1,NULL,NULL,NULL), + (293,147,8,'a_b',74,'Household Member of',174,'Household Member is',1,NULL,NULL,NULL), + (294,147,8,'b_a',174,'Household Member is',74,'Household Member of',1,NULL,NULL,NULL), + (295,148,8,'a_b',32,'Household Member of',174,'Household Member is',1,NULL,NULL,NULL), + (296,148,8,'b_a',174,'Household Member is',32,'Household Member of',1,NULL,NULL,NULL), + (297,149,7,'a_b',20,'Head of Household for',174,'Head of Household is',1,NULL,NULL,NULL), + (298,149,7,'b_a',174,'Head of Household is',20,'Head of Household for',1,NULL,NULL,NULL), + (299,150,2,'a_b',67,'Spouse of',20,'Spouse of',1,NULL,NULL,NULL), + (300,150,2,'b_a',20,'Spouse of',67,'Spouse of',1,NULL,NULL,NULL), + (301,151,1,'a_b',180,'Child of',120,'Parent of',1,NULL,NULL,NULL), + (302,151,1,'b_a',120,'Parent of',180,'Child of',1,NULL,NULL,NULL), + (303,152,1,'a_b',54,'Child of',120,'Parent of',1,NULL,NULL,NULL), + (304,152,1,'b_a',120,'Parent of',54,'Child of',1,NULL,NULL,NULL), + (305,153,1,'a_b',180,'Child of',185,'Parent of',1,NULL,NULL,NULL), + (306,153,1,'b_a',185,'Parent of',180,'Child of',1,NULL,NULL,NULL), + (307,154,1,'a_b',54,'Child of',185,'Parent of',1,NULL,NULL,NULL), + (308,154,1,'b_a',185,'Parent of',54,'Child of',1,NULL,NULL,NULL), + (309,155,4,'a_b',54,'Sibling of',180,'Sibling of',1,NULL,NULL,NULL), + (310,155,4,'b_a',180,'Sibling of',54,'Sibling of',1,NULL,NULL,NULL), + (311,156,8,'a_b',185,'Household Member of',84,'Household Member is',1,NULL,NULL,NULL), + (312,156,8,'b_a',84,'Household Member is',185,'Household Member of',1,NULL,NULL,NULL), + (313,157,8,'a_b',180,'Household Member of',84,'Household Member is',1,NULL,NULL,NULL), + (314,157,8,'b_a',84,'Household Member is',180,'Household Member of',1,NULL,NULL,NULL), + (315,158,8,'a_b',54,'Household Member of',84,'Household Member is',1,NULL,NULL,NULL), + (316,158,8,'b_a',84,'Household Member is',54,'Household Member of',1,NULL,NULL,NULL), + (317,159,7,'a_b',120,'Head of Household for',84,'Head of Household is',1,NULL,NULL,NULL), + (318,159,7,'b_a',84,'Head of Household is',120,'Head of Household for',1,NULL,NULL,NULL), + (319,160,2,'a_b',185,'Spouse of',120,'Spouse of',1,NULL,NULL,NULL), + (320,160,2,'b_a',120,'Spouse of',185,'Spouse of',1,NULL,NULL,NULL), + (321,161,1,'a_b',29,'Child of',198,'Parent of',1,NULL,NULL,NULL), + (322,161,1,'b_a',198,'Parent of',29,'Child of',1,NULL,NULL,NULL), + (323,162,1,'a_b',7,'Child of',198,'Parent of',1,NULL,NULL,NULL), + (324,162,1,'b_a',198,'Parent of',7,'Child of',1,NULL,NULL,NULL), + (325,163,1,'a_b',29,'Child of',132,'Parent of',1,NULL,NULL,NULL), + (326,163,1,'b_a',132,'Parent of',29,'Child of',1,NULL,NULL,NULL), + (327,164,1,'a_b',7,'Child of',132,'Parent of',1,NULL,NULL,NULL), + (328,164,1,'b_a',132,'Parent of',7,'Child of',1,NULL,NULL,NULL), + (329,165,4,'a_b',7,'Sibling of',29,'Sibling of',1,NULL,NULL,NULL), + (330,165,4,'b_a',29,'Sibling of',7,'Sibling of',1,NULL,NULL,NULL), + (331,166,8,'a_b',132,'Household Member of',109,'Household Member is',1,NULL,NULL,NULL), + (332,166,8,'b_a',109,'Household Member is',132,'Household Member of',1,NULL,NULL,NULL), + (333,167,8,'a_b',29,'Household Member of',109,'Household Member is',1,NULL,NULL,NULL), + (334,167,8,'b_a',109,'Household Member is',29,'Household Member of',1,NULL,NULL,NULL), + (335,168,8,'a_b',7,'Household Member of',109,'Household Member is',1,NULL,NULL,NULL), + (336,168,8,'b_a',109,'Household Member is',7,'Household Member of',1,NULL,NULL,NULL), + (337,169,7,'a_b',198,'Head of Household for',109,'Head of Household is',1,NULL,NULL,NULL), + (338,169,7,'b_a',109,'Head of Household is',198,'Head of Household for',1,NULL,NULL,NULL), + (339,170,2,'a_b',132,'Spouse of',198,'Spouse of',1,NULL,NULL,NULL), + (340,170,2,'b_a',198,'Spouse of',132,'Spouse of',1,NULL,NULL,NULL), + (341,171,1,'a_b',154,'Child of',42,'Parent of',1,NULL,NULL,NULL), + (342,171,1,'b_a',42,'Parent of',154,'Child of',1,NULL,NULL,NULL), + (343,172,1,'a_b',96,'Child of',42,'Parent of',1,NULL,NULL,NULL), + (344,172,1,'b_a',42,'Parent of',96,'Child of',1,NULL,NULL,NULL), + (345,173,1,'a_b',154,'Child of',39,'Parent of',1,NULL,NULL,NULL), + (346,173,1,'b_a',39,'Parent of',154,'Child of',1,NULL,NULL,NULL), + (347,174,1,'a_b',96,'Child of',39,'Parent of',1,NULL,NULL,NULL), + (348,174,1,'b_a',39,'Parent of',96,'Child of',1,NULL,NULL,NULL), + (349,175,4,'a_b',96,'Sibling of',154,'Sibling of',1,NULL,NULL,NULL), + (350,175,4,'b_a',154,'Sibling of',96,'Sibling of',1,NULL,NULL,NULL), + (351,176,8,'a_b',39,'Household Member of',78,'Household Member is',1,NULL,NULL,NULL), + (352,176,8,'b_a',78,'Household Member is',39,'Household Member of',1,NULL,NULL,NULL), + (353,177,8,'a_b',154,'Household Member of',78,'Household Member is',1,NULL,NULL,NULL), + (354,177,8,'b_a',78,'Household Member is',154,'Household Member of',1,NULL,NULL,NULL), + (355,178,8,'a_b',96,'Household Member of',78,'Household Member is',1,NULL,NULL,NULL), + (356,178,8,'b_a',78,'Household Member is',96,'Household Member of',1,NULL,NULL,NULL), + (357,179,7,'a_b',42,'Head of Household for',78,'Head of Household is',1,NULL,NULL,NULL), + (358,179,7,'b_a',78,'Head of Household is',42,'Head of Household for',1,NULL,NULL,NULL), + (359,180,2,'a_b',39,'Spouse of',42,'Spouse of',1,NULL,NULL,NULL), + (360,180,2,'b_a',42,'Spouse of',39,'Spouse of',1,NULL,NULL,NULL), + (361,181,1,'a_b',48,'Child of',6,'Parent of',1,NULL,NULL,NULL), + (362,181,1,'b_a',6,'Parent of',48,'Child of',1,NULL,NULL,NULL), + (363,182,1,'a_b',14,'Child of',6,'Parent of',1,NULL,NULL,NULL), + (364,182,1,'b_a',6,'Parent of',14,'Child of',1,NULL,NULL,NULL), + (365,183,1,'a_b',48,'Child of',199,'Parent of',1,NULL,NULL,NULL), + (366,183,1,'b_a',199,'Parent of',48,'Child of',1,NULL,NULL,NULL), + (367,184,1,'a_b',14,'Child of',199,'Parent of',1,NULL,NULL,NULL), + (368,184,1,'b_a',199,'Parent of',14,'Child of',1,NULL,NULL,NULL), + (369,185,4,'a_b',14,'Sibling of',48,'Sibling of',1,NULL,NULL,NULL), + (370,185,4,'b_a',48,'Sibling of',14,'Sibling of',1,NULL,NULL,NULL), + (371,186,8,'a_b',199,'Household Member of',38,'Household Member is',1,NULL,NULL,NULL), + (372,186,8,'b_a',38,'Household Member is',199,'Household Member of',1,NULL,NULL,NULL), + (373,187,8,'a_b',48,'Household Member of',38,'Household Member is',1,NULL,NULL,NULL), + (374,187,8,'b_a',38,'Household Member is',48,'Household Member of',1,NULL,NULL,NULL), + (375,188,8,'a_b',14,'Household Member of',38,'Household Member is',1,NULL,NULL,NULL), + (376,188,8,'b_a',38,'Household Member is',14,'Household Member of',1,NULL,NULL,NULL), + (377,189,7,'a_b',6,'Head of Household for',38,'Head of Household is',0,NULL,NULL,NULL), + (378,189,7,'b_a',38,'Head of Household is',6,'Head of Household for',0,NULL,NULL,NULL), + (379,190,2,'a_b',199,'Spouse of',6,'Spouse of',0,NULL,NULL,NULL), + (380,190,2,'b_a',6,'Spouse of',199,'Spouse of',0,NULL,NULL,NULL), + (381,191,1,'a_b',30,'Child of',160,'Parent of',1,NULL,NULL,NULL), + (382,191,1,'b_a',160,'Parent of',30,'Child of',1,NULL,NULL,NULL), + (383,192,1,'a_b',131,'Child of',160,'Parent of',1,NULL,NULL,NULL), + (384,192,1,'b_a',160,'Parent of',131,'Child of',1,NULL,NULL,NULL), + (385,193,1,'a_b',30,'Child of',182,'Parent of',1,NULL,NULL,NULL), + (386,193,1,'b_a',182,'Parent of',30,'Child of',1,NULL,NULL,NULL), + (387,194,1,'a_b',131,'Child of',182,'Parent of',1,NULL,NULL,NULL), + (388,194,1,'b_a',182,'Parent of',131,'Child of',1,NULL,NULL,NULL), + (389,195,4,'a_b',131,'Sibling of',30,'Sibling of',1,NULL,NULL,NULL), + (390,195,4,'b_a',30,'Sibling of',131,'Sibling of',1,NULL,NULL,NULL), + (391,196,8,'a_b',182,'Household Member of',121,'Household Member is',1,NULL,NULL,NULL), + (392,196,8,'b_a',121,'Household Member is',182,'Household Member of',1,NULL,NULL,NULL), + (393,197,8,'a_b',30,'Household Member of',121,'Household Member is',1,NULL,NULL,NULL), + (394,197,8,'b_a',121,'Household Member is',30,'Household Member of',1,NULL,NULL,NULL), + (395,198,8,'a_b',131,'Household Member of',121,'Household Member is',1,NULL,NULL,NULL), + (396,198,8,'b_a',121,'Household Member is',131,'Household Member of',1,NULL,NULL,NULL), + (397,199,7,'a_b',160,'Head of Household for',121,'Head of Household is',1,NULL,NULL,NULL), + (398,199,7,'b_a',121,'Head of Household is',160,'Head of Household for',1,NULL,NULL,NULL), + (399,200,2,'a_b',182,'Spouse of',160,'Spouse of',1,NULL,NULL,NULL), + (400,200,2,'b_a',160,'Spouse of',182,'Spouse of',1,NULL,NULL,NULL), + (401,201,5,'a_b',169,'Employee of',8,'Employer of',1,NULL,NULL,NULL), + (402,201,5,'b_a',8,'Employer of',169,'Employee of',1,NULL,NULL,NULL), + (403,202,5,'a_b',39,'Employee of',11,'Employer of',1,NULL,NULL,NULL), + (404,202,5,'b_a',11,'Employer of',39,'Employee of',1,NULL,NULL,NULL), + (405,203,5,'a_b',136,'Employee of',37,'Employer of',1,NULL,NULL,NULL), + (406,203,5,'b_a',37,'Employer of',136,'Employee of',1,NULL,NULL,NULL), + (407,204,5,'a_b',100,'Employee of',88,'Employer of',1,NULL,NULL,NULL), + (408,204,5,'b_a',88,'Employer of',100,'Employee of',1,NULL,NULL,NULL), + (409,205,5,'a_b',198,'Employee of',89,'Employer of',1,NULL,NULL,NULL), + (410,205,5,'b_a',89,'Employer of',198,'Employee of',1,NULL,NULL,NULL), + (411,206,5,'a_b',94,'Employee of',95,'Employer of',1,NULL,NULL,NULL), + (412,206,5,'b_a',95,'Employer of',94,'Employee of',1,NULL,NULL,NULL), + (413,207,5,'a_b',16,'Employee of',117,'Employer of',1,NULL,NULL,NULL), + (414,207,5,'b_a',117,'Employer of',16,'Employee of',1,NULL,NULL,NULL), + (415,208,5,'a_b',143,'Employee of',125,'Employer of',1,NULL,NULL,NULL), + (416,208,5,'b_a',125,'Employer of',143,'Employee of',1,NULL,NULL,NULL), + (417,209,5,'a_b',157,'Employee of',127,'Employer of',1,NULL,NULL,NULL), + (418,209,5,'b_a',127,'Employer of',157,'Employee of',1,NULL,NULL,NULL), + (419,210,5,'a_b',167,'Employee of',173,'Employer of',1,NULL,NULL,NULL), + (420,210,5,'b_a',173,'Employer of',167,'Employee of',1,NULL,NULL,NULL), + (421,211,5,'a_b',77,'Employee of',179,'Employer of',1,NULL,NULL,NULL), + (422,211,5,'b_a',179,'Employer of',77,'Employee of',1,NULL,NULL,NULL), + (423,212,5,'a_b',128,'Employee of',181,'Employer of',1,NULL,NULL,NULL), + (424,212,5,'b_a',181,'Employer of',128,'Employee of',1,NULL,NULL,NULL), + (425,213,5,'a_b',111,'Employee of',191,'Employer of',1,NULL,NULL,NULL), + (426,213,5,'b_a',191,'Employer of',111,'Employee of',1,NULL,NULL,NULL); /*!40000 ALTER TABLE `civicrm_relationship_cache` ENABLE KEYS */; UNLOCK TABLES; @@ -12197,90 +12181,90 @@ UNLOCK TABLES; LOCK TABLES `civicrm_subscription_history` WRITE; /*!40000 ALTER TABLE `civicrm_subscription_history` DISABLE KEYS */; INSERT INTO `civicrm_subscription_history` (`id`, `contact_id`, `group_id`, `date`, `method`, `status`, `tracking`) VALUES - (1,99,2,'2022-11-15 19:06:39','Email','Added',NULL), - (2,68,2,'2023-03-10 07:26:24','Email','Added',NULL), - (3,41,2,'2023-03-16 04:44:09','Email','Added',NULL), - (4,126,2,'2022-06-15 23:51:31','Admin','Added',NULL), - (5,161,2,'2023-03-19 18:30:40','Email','Added',NULL), - (6,81,2,'2022-12-14 12:48:30','Email','Added',NULL), - (7,173,2,'2022-09-09 22:35:47','Email','Added',NULL), - (8,168,2,'2022-08-26 21:47:23','Email','Added',NULL), - (9,175,2,'2022-05-09 01:17:09','Admin','Added',NULL), - (10,13,2,'2023-03-07 19:00:18','Admin','Added',NULL), - (11,50,2,'2022-06-25 16:01:43','Email','Added',NULL), - (12,95,2,'2022-12-14 04:11:19','Admin','Added',NULL), - (13,94,2,'2023-01-10 10:50:35','Email','Added',NULL), - (14,63,2,'2022-05-22 23:36:29','Admin','Added',NULL), - (15,44,2,'2023-03-29 14:56:44','Email','Added',NULL), - (16,169,2,'2022-08-30 01:50:39','Email','Added',NULL), - (17,138,2,'2023-01-10 01:25:25','Email','Added',NULL), - (18,112,2,'2022-07-01 00:08:50','Email','Added',NULL), - (19,42,2,'2022-06-21 08:44:07','Admin','Added',NULL), - (20,89,2,'2022-11-23 20:33:34','Email','Added',NULL), - (21,103,2,'2023-01-01 21:14:59','Admin','Added',NULL), - (22,120,2,'2022-12-06 20:17:36','Admin','Added',NULL), - (23,100,2,'2023-04-09 21:26:15','Admin','Added',NULL), - (24,159,2,'2023-02-12 12:23:59','Admin','Added',NULL), - (25,46,2,'2023-04-14 13:08:17','Email','Added',NULL), - (26,57,2,'2023-01-10 02:59:27','Email','Added',NULL), - (27,109,2,'2022-09-14 14:56:39','Email','Added',NULL), - (28,29,2,'2022-09-04 03:47:30','Email','Added',NULL), - (29,180,2,'2023-02-18 22:41:47','Admin','Added',NULL), - (30,10,2,'2023-02-05 21:02:50','Email','Added',NULL), - (31,45,2,'2022-12-27 17:04:29','Admin','Added',NULL), - (32,129,2,'2023-04-05 21:06:09','Email','Added',NULL), - (33,54,2,'2022-06-06 11:40:07','Admin','Added',NULL), - (34,114,2,'2022-10-25 11:18:42','Admin','Added',NULL), - (35,200,2,'2022-06-21 04:53:32','Email','Added',NULL), - (36,35,2,'2023-03-20 08:48:29','Admin','Added',NULL), - (37,166,2,'2022-08-04 04:13:29','Email','Added',NULL), - (38,34,2,'2022-05-16 02:51:01','Email','Added',NULL), - (39,56,2,'2023-03-04 21:08:46','Email','Added',NULL), - (40,184,2,'2022-09-26 20:11:24','Email','Added',NULL), - (41,160,2,'2023-04-18 08:54:17','Email','Added',NULL), - (42,64,2,'2023-01-09 02:51:20','Email','Added',NULL), - (43,150,2,'2022-10-24 03:37:24','Email','Added',NULL), - (44,74,2,'2022-08-29 14:00:38','Email','Added',NULL), - (45,177,2,'2022-05-13 00:45:10','Admin','Added',NULL), - (46,171,2,'2022-11-28 09:43:42','Admin','Added',NULL), - (47,20,2,'2023-03-22 08:13:57','Admin','Added',NULL), - (48,157,2,'2023-04-06 05:31:17','Admin','Added',NULL), - (49,172,2,'2023-03-30 21:47:18','Admin','Added',NULL), - (50,51,2,'2022-05-11 01:33:00','Email','Added',NULL), - (51,76,2,'2022-07-31 03:23:20','Admin','Added',NULL), - (52,47,2,'2023-01-20 13:14:29','Admin','Added',NULL), - (53,187,2,'2022-06-15 18:00:40','Admin','Added',NULL), - (54,118,2,'2023-03-09 16:13:27','Admin','Added',NULL), - (55,134,2,'2022-09-16 22:28:53','Admin','Added',NULL), - (56,98,2,'2022-07-19 22:30:07','Email','Added',NULL), - (57,195,2,'2022-12-03 07:07:04','Email','Added',NULL), - (58,115,2,'2022-06-14 08:14:57','Email','Added',NULL), - (59,194,2,'2023-04-15 01:12:56','Email','Added',NULL), - (60,28,2,'2022-05-18 23:34:32','Admin','Added',NULL), - (61,30,3,'2022-05-06 07:28:40','Email','Added',NULL), - (62,92,3,'2022-09-17 09:48:48','Email','Added',NULL), - (63,85,3,'2023-03-15 04:59:13','Admin','Added',NULL), - (64,119,3,'2022-10-27 10:00:12','Admin','Added',NULL), - (65,9,3,'2022-09-21 08:55:16','Email','Added',NULL), - (66,154,3,'2022-09-11 13:04:36','Email','Added',NULL), - (67,182,3,'2022-12-21 09:31:19','Admin','Added',NULL), - (68,117,3,'2023-02-20 15:13:20','Email','Added',NULL), - (69,2,3,'2022-07-28 12:19:36','Email','Added',NULL), - (70,137,3,'2022-06-15 01:50:58','Email','Added',NULL), - (71,181,3,'2022-07-20 10:54:17','Admin','Added',NULL), - (72,143,3,'2023-01-13 13:17:07','Email','Added',NULL), - (73,155,3,'2023-03-05 21:02:19','Admin','Added',NULL), - (74,136,3,'2022-08-12 19:23:46','Admin','Added',NULL), - (75,199,3,'2022-10-02 01:23:29','Admin','Added',NULL), - (76,99,4,'2022-05-12 21:13:55','Email','Added',NULL), - (77,168,4,'2023-03-21 14:12:16','Email','Added',NULL), - (78,44,4,'2022-07-11 19:13:41','Email','Added',NULL), - (79,120,4,'2022-06-28 13:00:57','Admin','Added',NULL), - (80,180,4,'2023-02-24 18:24:52','Email','Added',NULL), - (81,35,4,'2022-06-02 18:14:56','Email','Added',NULL), - (82,150,4,'2022-09-19 00:30:26','Email','Added',NULL), - (83,51,4,'2023-01-26 11:19:03','Admin','Added',NULL), - (84,202,4,'2022-12-15 17:04:34','Email','Added',NULL); + (1,80,2,'2022-07-04 15:13:28','Email','Added',NULL), + (2,156,2,'2023-05-08 07:45:11','Email','Added',NULL), + (3,146,2,'2022-11-01 22:05:48','Email','Added',NULL), + (4,56,2,'2023-05-03 04:37:19','Admin','Added',NULL), + (5,21,2,'2023-03-07 09:20:36','Admin','Added',NULL), + (6,195,2,'2022-07-26 19:23:53','Email','Added',NULL), + (7,115,2,'2023-03-03 01:40:50','Email','Added',NULL), + (8,152,2,'2023-03-07 04:23:26','Email','Added',NULL), + (9,51,2,'2023-02-20 22:43:51','Email','Added',NULL), + (10,138,2,'2022-09-09 13:05:33','Email','Added',NULL), + (11,71,2,'2023-04-16 20:34:17','Admin','Added',NULL), + (12,110,2,'2023-02-20 23:54:56','Email','Added',NULL), + (13,4,2,'2023-04-16 05:02:47','Admin','Added',NULL), + (14,49,2,'2023-04-06 17:17:28','Admin','Added',NULL), + (15,150,2,'2022-12-03 20:59:15','Admin','Added',NULL), + (16,161,2,'2022-09-27 20:41:11','Admin','Added',NULL), + (17,153,2,'2022-06-22 09:53:51','Admin','Added',NULL), + (18,171,2,'2022-10-09 23:31:32','Email','Added',NULL), + (19,135,2,'2023-04-01 19:06:30','Email','Added',NULL), + (20,52,2,'2023-06-06 12:16:41','Email','Added',NULL), + (21,177,2,'2023-01-10 11:17:42','Email','Added',NULL), + (22,172,2,'2023-03-02 12:25:04','Email','Added',NULL), + (23,81,2,'2022-10-15 12:36:01','Email','Added',NULL), + (24,102,2,'2022-09-01 00:35:01','Email','Added',NULL), + (25,106,2,'2023-02-28 09:21:38','Email','Added',NULL), + (26,167,2,'2023-06-07 10:13:59','Admin','Added',NULL), + (27,28,2,'2022-06-13 10:12:45','Email','Added',NULL), + (28,133,2,'2022-11-11 00:19:42','Admin','Added',NULL), + (29,79,2,'2023-05-26 23:37:33','Admin','Added',NULL), + (30,134,2,'2023-01-08 01:06:34','Admin','Added',NULL), + (31,183,2,'2022-12-30 10:28:25','Email','Added',NULL), + (32,170,2,'2023-03-08 18:31:46','Admin','Added',NULL), + (33,31,2,'2022-09-12 07:33:14','Email','Added',NULL), + (34,53,2,'2022-11-14 20:40:16','Email','Added',NULL), + (35,77,2,'2023-04-28 03:26:40','Email','Added',NULL), + (36,108,2,'2022-11-06 02:12:31','Email','Added',NULL), + (37,72,2,'2023-02-16 10:52:50','Admin','Added',NULL), + (38,123,2,'2022-06-23 20:30:21','Admin','Added',NULL), + (39,100,2,'2022-07-19 09:27:33','Email','Added',NULL), + (40,33,2,'2022-09-03 07:02:28','Email','Added',NULL), + (41,25,2,'2023-01-25 12:37:05','Admin','Added',NULL), + (42,27,2,'2023-02-15 21:04:58','Admin','Added',NULL), + (43,76,2,'2023-04-17 03:58:18','Email','Added',NULL), + (44,201,2,'2023-03-06 23:47:25','Email','Added',NULL), + (45,200,2,'2023-05-11 11:52:01','Email','Added',NULL), + (46,114,2,'2022-06-17 23:02:16','Email','Added',NULL), + (47,92,2,'2022-07-26 12:19:24','Admin','Added',NULL), + (48,190,2,'2022-08-04 13:45:40','Admin','Added',NULL), + (49,184,2,'2023-01-25 13:34:55','Admin','Added',NULL), + (50,163,2,'2023-03-27 00:38:08','Admin','Added',NULL), + (51,91,2,'2022-06-10 23:18:46','Admin','Added',NULL), + (52,26,2,'2022-06-30 03:36:47','Admin','Added',NULL), + (53,141,2,'2023-05-25 07:55:49','Admin','Added',NULL), + (54,97,2,'2023-02-28 11:54:10','Email','Added',NULL), + (55,55,2,'2023-05-29 05:39:16','Admin','Added',NULL), + (56,12,2,'2022-10-21 03:12:14','Admin','Added',NULL), + (57,44,2,'2022-08-19 14:17:29','Email','Added',NULL), + (58,73,2,'2023-03-28 06:32:16','Admin','Added',NULL), + (59,66,2,'2023-04-06 22:54:49','Email','Added',NULL), + (60,75,2,'2022-11-20 13:52:28','Email','Added',NULL), + (61,168,3,'2023-05-19 18:35:46','Email','Added',NULL), + (62,98,3,'2023-02-18 07:02:35','Admin','Added',NULL), + (63,87,3,'2022-12-05 15:14:33','Admin','Added',NULL), + (64,50,3,'2022-12-16 20:38:09','Admin','Added',NULL), + (65,65,3,'2022-10-20 01:06:43','Email','Added',NULL), + (66,144,3,'2023-02-06 05:57:57','Email','Added',NULL), + (67,90,3,'2023-02-23 14:31:17','Admin','Added',NULL), + (68,142,3,'2022-11-13 22:12:30','Admin','Added',NULL), + (69,164,3,'2022-07-08 05:20:14','Admin','Added',NULL), + (70,111,3,'2022-09-19 21:36:41','Email','Added',NULL), + (71,61,3,'2022-07-26 15:23:11','Email','Added',NULL), + (72,99,3,'2023-04-07 16:20:15','Admin','Added',NULL), + (73,104,3,'2022-09-22 05:29:15','Admin','Added',NULL), + (74,169,3,'2023-03-16 05:31:47','Email','Added',NULL), + (75,35,3,'2023-03-14 10:13:14','Email','Added',NULL), + (76,80,4,'2022-11-29 16:14:13','Admin','Added',NULL), + (77,152,4,'2023-01-24 13:08:15','Email','Added',NULL), + (78,150,4,'2022-07-10 18:15:14','Admin','Added',NULL), + (79,172,4,'2023-02-22 05:24:16','Email','Added',NULL), + (80,79,4,'2023-02-26 19:41:27','Admin','Added',NULL), + (81,108,4,'2022-10-07 15:30:35','Email','Added',NULL), + (82,76,4,'2022-09-09 08:46:04','Admin','Added',NULL), + (83,163,4,'2023-05-15 17:35:49','Admin','Added',NULL), + (84,202,4,'2022-12-24 23:05:47','Email','Added',NULL); /*!40000 ALTER TABLE `civicrm_subscription_history` ENABLE KEYS */; UNLOCK TABLES; @@ -12405,8 +12389,8 @@ INSERT INTO `civicrm_uf_field` (`id`, `uf_group_id`, `field_name`, `is_active`, (43,10,'financial_type',1,0,0,1,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Financial Type','Contribution',1,0), (44,10,'total_amount',1,0,0,2,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Amount','Contribution',1,0), (45,10,'contribution_status_id',1,0,1,3,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Status','Contribution',1,0), - (46,10,'receive_date',1,0,1,4,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Received','Contribution',1,0), - (47,10,'contribution_source',1,0,0,5,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Source','Contribution',0,0), + (46,10,'receive_date',1,0,1,4,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Contribution Date','Contribution',1,0), + (47,10,'contribution_source',1,0,0,5,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Contribution Source','Contribution',0,0), (48,10,'payment_instrument',1,0,0,6,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Payment Method','Contribution',0,0), (49,10,'contribution_check_number',1,0,0,7,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Check Number','Contribution',0,0), (50,10,'send_receipt',1,0,0,8,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Send Receipt','Contribution',0,0), @@ -12417,11 +12401,11 @@ INSERT INTO `civicrm_uf_field` (`id`, `uf_group_id`, `field_name`, `is_active`, (55,11,'membership_join_date',1,0,1,2,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Member Since','Membership',1,0), (56,11,'membership_start_date',1,0,0,3,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Start Date','Membership',1,0), (57,11,'membership_end_date',1,0,0,4,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'End Date','Membership',1,0), - (58,11,'membership_source',1,0,0,5,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Source','Membership',0,0), + (58,11,'membership_source',1,0,0,5,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Membership Source','Membership',0,0), (59,11,'send_receipt',1,0,0,6,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Send Receipt','Membership',0,0), (60,11,'financial_type',1,0,0,7,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Financial Type','Membership',1,0), (61,11,'total_amount',1,0,0,8,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Amount','Membership',1,0), - (62,11,'receive_date',1,0,1,9,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Received','Membership',1,0), + (62,11,'receive_date',1,0,1,9,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Contribution Date','Membership',1,0), (63,11,'payment_instrument',1,0,0,10,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Payment Method','Membership',0,0), (64,11,'contribution_check_number',1,0,0,11,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Check Number','Membership',0,0), (65,11,'contribution_status_id',1,0,1,12,NULL,NULL,'User and User Admin Only',0,0,NULL,NULL,NULL,'Payment Status','Membership',1,0), @@ -12506,20 +12490,22 @@ UNLOCK TABLES; LOCK TABLES `civicrm_website` WRITE; /*!40000 ALTER TABLE `civicrm_website` DISABLE KEYS */; INSERT INTO `civicrm_website` (`id`, `contact_id`, `url`, `website_type_id`) VALUES - (1,48,'http://greensborocollective.org',1), - (2,167,'http://communityfamilyassociation.org',1), - (3,75,'http://ncagricultureinitiative.org',1), - (4,156,'http://jacksonempowerment.org',1), - (5,142,'http://mapleadvocacy.org',1), - (6,125,'http://yorktowndevelopmentpartners.org',1), - (7,189,'http://njwellnesstrust.org',1), - (8,52,'http://jacksondevelopmentsolutions.org',1), - (9,69,'http://lyonsassociation.org',1), - (10,196,'http://mainschool.org',1), - (11,170,'http://cookwellnessfund.org',1), - (12,14,'http://fpeducationservices.org',1), - (13,6,'http://dickinsonpeacenetwork.org',1), - (14,18,'http://sierraempowermentfund.org',1); + (1,191,'http://kermitsustainability.org',1), + (2,101,'http://docolumbiafamily.org',1), + (3,11,'http://maincenter.org',1), + (4,173,'http://vnenvironmentalpartners.org',1), + (5,147,'http://urbanalliance.org',1), + (6,88,'http://maplewellness.org',1), + (7,181,'http://minnesotaeducation.org',1), + (8,125,'http://lcpeacecollective.org',1), + (9,117,'http://pennsylvanialiteracyacademy.org',1), + (10,37,'http://nebraskaactionfund.org',1), + (11,179,'http://baysports.org',1), + (12,166,'http://californialegal.org',1), + (13,60,'http://tennesseepoetry.org',1), + (14,10,'http://progressiveempowerment.org',1), + (15,124,'http://friendssystems.org',1), + (16,175,'http://communityliteracy.org',1); /*!40000 ALTER TABLE `civicrm_website` ENABLE KEYS */; UNLOCK TABLES; @@ -12557,7 +12543,7 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2023-04-30 16:21:02 +-- Dump completed on 2023-06-09 14:52:22 -- +--------------------------------------------------------------------+ -- | Copyright CiviCRM LLC. All rights reserved. | -- | | diff --git a/civicrm/sql/civicrm_navigation.mysql b/civicrm/sql/civicrm_navigation.mysql index ea8eced96b8f5d2d11d9bdeabd10c4d0c664c6aa..0ecd0d693eae9beb4730cd126a2d4d50cb9d7717 100644 --- a/civicrm/sql/civicrm_navigation.mysql +++ b/civicrm/sql/civicrm_navigation.mysql @@ -507,18 +507,16 @@ SET @adminHelplastID:=LAST_INSERT_ID(); INSERT INTO civicrm_navigation ( domain_id, url, label, name, permission, permission_operator, parent_id, is_active, has_separator, weight ) VALUES - ( @domainID, 'https://civicrm.org/get-started?src=iam', 'Get started', 'Get started', NULL, 'AND', @adminHelplastID, '1', NULL, 1 ), - ( @domainID, 'https://civicrm.org/documentation?src=iam', 'Documentation', 'Documentation', NULL, 'AND', @adminHelplastID, '1', NULL, 2 ), - ( @domainID, 'https://civicrm.org/ask-a-question?src=iam', 'Ask a question', 'Ask a question', NULL, 'AND', @adminHelplastID, '1', NULL, 3 ), - ( @domainID, 'https://civicrm.org/experts?src=iam', 'Get expert help', 'Get expert help', NULL, 'AND', @adminHelplastID, '1', NULL, 4 ), - ( @domainID, 'https://civicrm.org/about?src=iam', 'About CiviCRM', 'About CiviCRM', NULL, 'AND', @adminHelplastID, '1', 1, 5 ), - ( @domainID, 'https://civicrm.org/register-your-site?src=iam&sid={sid}', 'Register your site', 'Register your site', NULL, 'AND', @adminHelplastID, '1', NULL, 6 ), - ( @domainID, 'https://civicrm.org/become-a-member?src=iam&sid={sid}', 'Join CiviCRM', 'Join CiviCRM', NULL, 'AND', @adminHelplastID, '1', NULL, 7 ); + ( @domainID, 'https://docs.civicrm.org/user/?src=iam', 'User Guide', 'User Guide', NULL, 'AND', @adminHelplastID, '1', NULL, 1 ), + ( @domainID, 'https://civicrm.org/help?src=iam', 'Get Help', 'Get Help', NULL, 'AND', @adminHelplastID, '1', NULL, 2 ), + ( @domainID, 'https://civicrm.org/about?src=iam', 'About CiviCRM', 'About CiviCRM', NULL, 'AND', @adminHelplastID, '1', 1, 3 ), + ( @domainID, 'https://civicrm.org/register-your-site?src=iam&sid={sid}', 'Register Your Site', 'Register Your Site', NULL, 'AND', @adminHelplastID, '1', NULL, 4 ), + ( @domainID, 'https://civicrm.org/become-a-member?src=iam&sid={sid}', 'Join CiviCRM', 'Join CiviCRM', NULL, 'AND', @adminHelplastID, '1', NULL, 5 ); INSERT INTO civicrm_navigation ( domain_id, url, label, name, permission, permission_operator, parent_id, is_active, has_separator, weight ) VALUES - ( @domainID, NULL, 'Developer', 'Developer', 'administer CiviCRM', '', @adminHelplastID, '1', 1, 8 ); + ( @domainID, NULL, 'Developer', 'Developer', 'administer CiviCRM', '', @adminHelplastID, '1', 1, 6 ); SET @devellastID:=LAST_INSERT_ID(); INSERT INTO civicrm_navigation diff --git a/civicrm/sql/civicrm_sample.mysql b/civicrm/sql/civicrm_sample.mysql index be9cabc3a976ede42c3be9205df4e132b0367cc7..4cb2f406b1974bc53951f4207e8d92c539346c81 100644 --- a/civicrm/sql/civicrm_sample.mysql +++ b/civicrm/sql/civicrm_sample.mysql @@ -44,11 +44,11 @@ VALUES (@priceFieldID, 'other_amount', 'Other Amount', 1, 3, 1, 0, 1); INSERT INTO civicrm_contribution_page - (title,intro_text,financial_type_id,is_monetary,is_allow_other_amount,default_amount_id,min_amount,max_amount,goal_amount,thankyou_title,thankyou_text,thankyou_footer,receipt_from_name,receipt_from_email,cc_receipt,bcc_receipt,receipt_text,is_active,footer_text,amount_block_is_active,currency,is_email_receipt) + (title,frontend_title, name,intro_text,financial_type_id,is_monetary,is_allow_other_amount,default_amount_id,min_amount,max_amount,goal_amount,thankyou_title,thankyou_text,thankyou_footer,receipt_from_name,receipt_from_email,cc_receipt,bcc_receipt,receipt_text,is_active,footer_text,amount_block_is_active,currency,is_email_receipt) VALUES - ('Help Support CiviCRM!','Do you love CiviCRM? Do you use CiviCRM? Then please support CiviCRM and Contribute NOW by trying out our new online contribution features!',1,1,1,137,'10.00','10000.00','100000.00','Thanks for Your Support!','<p>Thank you for your support. Your contribution will help us build even better tools.</p><p>Please tell your friends and colleagues about CiviCRM!</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>','CiviCRM Fundraising Dept.','donationFake@civicrm.org','receipt@example.com','bcc@example.com','Your donation is tax deductible under IRS 501(c)(3) regulation. Our tax identification number is: 93-123-4567',1, NULL, 1, 'USD', 1), - ('Member Signup and Renewal', 'Members are the life-blood of our organization. If you''re not already a member - please consider signing up today. You can select the membership level the fits your budget and needs below.', 2, 1, 0, NULL, NULL, NULL, NULL, 'Thanks for Your Support!', 'Thanks for supporting our organization with your membership. You can learn more about membership benefits from our members only page.', NULL, 'Membership Department', 'memberships@civicrm.org', NULL, NULL, 'Thanks for supporting our organization with your membership. You can learn more about membership benefits from our members only page.\r\n\r\nKeep this receipt for your records.', 1, NULL, 0, 'USD', 1), - ('Pledge for CiviCRM!','Do you love CiviCRM? Do you use CiviCRM? Then please support CiviCRM and Pledge NOW by trying out our online contribution features!',1,1,1,NULL,'10.00','10000.00','100000.00','Thanks for Your Support!','<p>Thank you for your support. Your contribution will help us build even better tools like Pledge.</p><p>Please tell your friends and colleagues about CiviPledge!</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>','CiviCRM Fundraising Dept.','donationFake@civicrm.org','receipt@example.com','bcc@example.com','Your donation is tax deductible under IRS 501(c)(3) regulation. Our tax identification number is: 93-123-4567',1, NULL, 1, 'USD', 1); + ('Donate page', 'Help Support CiviCRM!','donate', 'Do you love CiviCRM? Do you use CiviCRM? Then please support CiviCRM and Contribute NOW by trying out our new online contribution features!',1,1,1,137,'10.00','10000.00','100000.00','Thanks for Your Support!','<p>Thank you for your support. Your contribution will help us build even better tools.</p><p>Please tell your friends and colleagues about CiviCRM!</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>','CiviCRM Fundraising Dept.','donationFake@civicrm.org','receipt@example.com','bcc@example.com','Your donation is tax deductible under IRS 501(c)(3) regulation. Our tax identification number is: 93-123-4567',1, NULL, 1, 'USD', 1), + ('Membership page','Member Signup and Renewal', 'membership','Members are the life-blood of our organization. If you''re not already a member - please consider signing up today. You can select the membership level the fits your budget and needs below.', 2, 1, 0, NULL, NULL, NULL, NULL, 'Thanks for Your Support!', 'Thanks for supporting our organization with your membership. You can learn more about membership benefits from our members only page.', NULL, 'Membership Department', 'memberships@civicrm.org', NULL, NULL, 'Thanks for supporting our organization with your membership. You can learn more about membership benefits from our members only page.\r\n\r\nKeep this receipt for your records.', 1, NULL, 0, 'USD', 1), + ('Pledge page', 'Pledge for CiviCRM!','pledge', 'Do you love CiviCRM? Do you use CiviCRM? Then please support CiviCRM and Pledge NOW by trying out our online contribution features!',1,1,1,NULL,'10.00','10000.00','100000.00','Thanks for Your Support!','<p>Thank you for your support. Your contribution will help us build even better tools like Pledge.</p><p>Please tell your friends and colleagues about CiviPledge!</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>','CiviCRM Fundraising Dept.','donationFake@civicrm.org','receipt@example.com','bcc@example.com','Your donation is tax deductible under IRS 501(c)(3) regulation. Our tax identification number is: 93-123-4567',1, NULL, 1, 'USD', 1); INSERT INTO `civicrm_tell_friend` (`entity_table`, `entity_id`, `title`, `intro`, `suggested_message`, `general_link`, `thankyou_title`, `thankyou_text`, `is_active`) diff --git a/civicrm/templates/CRM/Activity/Import/Form/DataSource.hlp b/civicrm/templates/CRM/Activity/Import/Form/DataSource.hlp deleted file mode 100644 index 635dd52b7cefc2be94754a3000d3bb35f441a6fc..0000000000000000000000000000000000000000 --- a/civicrm/templates/CRM/Activity/Import/Form/DataSource.hlp +++ /dev/null @@ -1,24 +0,0 @@ -{* - +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC. All rights reserved. | - | | - | This work is published under the GNU AGPLv3 license with some | - | permitted exceptions and without any warranty. For full license | - | and copyright information, see https://civicrm.org/licensing | - +--------------------------------------------------------------------+ -*} -{htxt id="id-upload-title"} - {ts}Activity Import{/ts} -{/htxt} -{htxt id="id-upload"} - <p> - {ts}The Activity Import Wizard allows you to easily upload activity from other applications into CiviCRM. Contacts must already exist in your CiviCRM database prior to importing activities for them. Use Import Contacts to create contact records first, if necessary. Then you can match activities to contacts by Email Address, CiviCRM Contact ID, or an External Identifier (see the TIP below).{/ts} - </p> - <p> - {ts}Files to be imported must be in the 'comma-separated-values' format (CSV). Most applications will allow you to export records in this format. Consult the documentation for your application if you're not sure how to do this. Save this file to your local hard drive (or an accessible drive on your network) - and you are now ready for step 1 (Upload Data).{/ts} - </p> - <p> - <strong>{ts}TIP - Matching Activities to Contact Records{/ts}</strong><br /> - {ts}CiviCRM allows you to indicate which contact each activity record belongs to using either the unique CiviCRM-assigned Contact ID, a unique External ID which you assign, OR your configured Unsupervised Duplicate Matching Rule set (which uses email addresses by default). You must include at least one of these values as a column in your import file. If you are synchronizing (or migrating) contacts from another application to CiviCRM, and that application has assigned a unique ID to each contact, you can import that value into CiviCRM's External ID field. Then you can use that unique key as the 'match to contact' value when importing related data such as Activities.{/ts} - <p> -{/htxt} diff --git a/civicrm/templates/CRM/Admin/Form/Preferences/Mailing.hlp b/civicrm/templates/CRM/Admin/Form/Preferences/Mailing.hlp new file mode 100644 index 0000000000000000000000000000000000000000..8cfe3b810a342b06824267f380ad61f600eb6c2f --- /dev/null +++ b/civicrm/templates/CRM/Admin/Form/Preferences/Mailing.hlp @@ -0,0 +1,16 @@ +{* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ +*} +{htxt id="no_reply_email_address-title"} + {ts}Email From Address for no-reply emails.{/ts} +{/htxt} +{htxt id="no_reply_email_address"} + <p>{ts}Specify an Email From Address to use when the system sends an email but a reply is not expected, for example when a user is sent an email for a double opt-in.{/ts}</p> + <p>{ts}Leaving this blank will use the default which will be do-not-reply@default_domain where the default_domain will be the email domain address of your default mailing account also used for bounce handling.{/ts}</p> +{/htxt} diff --git a/civicrm/templates/CRM/Admin/Form/ScheduleReminders.tpl b/civicrm/templates/CRM/Admin/Form/ScheduleReminders.tpl index a03931fe448f29b8ad65d1ba4b92803f475e39b8..592762f0062b44f71a7d3676e710d0e2496b6851 100644 --- a/civicrm/templates/CRM/Admin/Form/ScheduleReminders.tpl +++ b/civicrm/templates/CRM/Admin/Form/ScheduleReminders.tpl @@ -42,7 +42,7 @@ <td>{$form.record_activity.html}</td> </tr> <tr id="relativeDateRepeat" class="crm-scheduleReminder-form-block-is_repeat"><td class="label" width="20%">{$form.is_repeat.label}</td> - <td>{$form.is_repeat.html} <span class="description">{ts}Enable repetition.{/ts}</span></td> + <td>{$form.is_repeat.html}</td> </tr> <tr id="repeatFields" class="crm-scheduleReminder-form-block-repeatFields"><td></td><td> <table class="form-layout-compressed"> @@ -81,7 +81,7 @@ </tr> <tr id="recipientManual" class="crm-scheduleReminder-form-block-recipient_manual_id recipient"> <td class="label">{$form.recipient_manual_id.label}</td> - <td>{$form.recipient_manual_id.html}{edit}<div class="description">{ts}You can manually send out the reminders to these recipients.{/ts}</div>{/edit}</td> + <td>{$form.recipient_manual_id.html}</td> </tr> <tr id="recipientGroup" class="crm-scheduleReminder-form-block-recipient_group_id recipient"> @@ -105,8 +105,8 @@ </tr> {/if} <tr class="crm-scheduleReminder-form-block-active"> - <td class="label"></td> - <td>{$form.is_active.html} {$form.is_active.label}</td> + <td class="label">{$form.is_active.label}</td> + <td>{$form.is_active.html}</td> </tr> </table> <fieldset id="email" class="crm-collapsible" style="display: block;"> diff --git a/civicrm/templates/CRM/Admin/Form/Setting/Debugging.tpl b/civicrm/templates/CRM/Admin/Form/Setting/Debugging.tpl index 84559cd5976892229b4bed37396a6d99cff73016..bf3c829baa5abbc3d65da86291ac0be05f0c4029 100644 --- a/civicrm/templates/CRM/Admin/Form/Setting/Debugging.tpl +++ b/civicrm/templates/CRM/Admin/Form/Setting/Debugging.tpl @@ -45,6 +45,11 @@ <td>{$form.assetCache.html}<br /> <span class="description">{ts}Store computed JS/CSS content in cache files? (Note: In "Auto" mode, the "Debug" setting will determine whether to activate the cache.){/ts}</span></td> </tr> + <tr class="crm-debugging-form-block-esm_loader"> + <td class="label">{$form.esm_loader.label}</td> + <td>{$form.esm_loader.html}<br /> + <span class="description">{$settings_fields.esm_loader.description}</span></td> + </tr> </table> <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> <div class="spacer"></div> diff --git a/civicrm/templates/CRM/Admin/Page/Job.tpl b/civicrm/templates/CRM/Admin/Page/Job.tpl index 57d54e66924c7276de6c9e1346e4fd41406a99b2..0030cffa10c0ab2b9cebc515d1fe2539aa5c5b09 100644 --- a/civicrm/templates/CRM/Admin/Page/Job.tpl +++ b/civicrm/templates/CRM/Admin/Page/Job.tpl @@ -42,11 +42,11 @@ {foreach from=$rows item=row} <tr id="job-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"} {$row.class}{if NOT $row.is_active} disabled{/if}"> <td class="crm-job-name"><strong><span data-field="name">{$row.name}</span></strong> ({$row.run_frequency})<br/> - {$row.description}<br /> + {if array_key_exists('description', $row)}{$row.description}{/if}<br /> {ts}API Entity:{/ts} {$row.api_entity}<br/> {ts}API Action:{/ts} <strong>{$row.api_action}</strong><br/> </td> - <td class="crm-job-name">{if $row.parameters eq null}<em>{ts}no parameters{/ts}</em>{else}<pre>{$row.parameters}</pre>{/if}</td> + <td class="crm-job-name">{if $row.parameters eq null}<em>{ts}no parameters{/ts}</em>{else}{$row.parameters|nl2br}{/if}</td> <td class="crm-job-name">{if $row.last_run eq null}never{else}{$row.last_run|crmDate:$config->dateformatDatetime}{/if}</td> <td id="row_{$row.id}_status" class="crm-job-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td> <td>{$row.action|smarty:nodefaults|replace:'xx':$row.id}</td> diff --git a/civicrm/templates/CRM/Admin/Page/MailSettings.tpl b/civicrm/templates/CRM/Admin/Page/MailSettings.tpl index 8982d3d41db7516c37e29bc3bb05fafc8b337a92..c8a1fdf12b7b4018cd6cf3f8778422b6134a1385 100644 --- a/civicrm/templates/CRM/Admin/Page/MailSettings.tpl +++ b/civicrm/templates/CRM/Admin/Page/MailSettings.tpl @@ -25,7 +25,7 @@ <th>{ts}Domain{/ts}</th> <th>{ts}Return-Path{/ts}</th> <th>{ts}Protocol{/ts}</th> - <th>{ts}Source{/ts}</th> + <th>{ts}Mail Folder{/ts}</th> <!--<th>{ts}Port{/ts}</th>--> <th>{ts}Use SSL?{/ts}</th> <th>{ts}Used For{/ts}</th> diff --git a/civicrm/templates/CRM/Campaign/Form/Petition.tpl b/civicrm/templates/CRM/Campaign/Form/Petition.tpl index 100cf4ef7a9f7411c41c26b5bb29771161a9448e..1d43edbb54c7fe0ac981a65b3894aa3dc107b7fe 100644 --- a/civicrm/templates/CRM/Campaign/Form/Petition.tpl +++ b/civicrm/templates/CRM/Campaign/Form/Petition.tpl @@ -46,14 +46,12 @@ <tr class="crm-campaign-survey-form-block-profile_id"> <td class="label">{$form.contact_profile_id.label}</td> <td>{$form.contact_profile_id.html} <span class="profile-links"></span> - <div class="description">{ts}Fields about the contact you want to collect.{/ts}</div> </td> </tr> <tr class="crm-campaign-survey-form-block-profile_id"> <td class="label">{$form.profile_id.label}</td> <td>{$form.profile_id.html} <span class="profile-links"></span> - <div class="description">{ts}Fields about the petition.{/ts}</div> <div class="profile-create"> <a href="{crmURL p='civicrm/admin/uf/group/add' q='reset=1&action=add'}" @@ -64,19 +62,12 @@ <tr class="crm-campaign-survey-form-block-thankyou_title"> <td class="label">{$form.thankyou_title.label}{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_survey' field='thankyou_title' id=$surveyId}{/if}</td> - <td>{$form.thankyou_title.html}<br/> - - <div class="description">{ts}This title will be displayed at the top of the thank-you page.{/ts}</div> - </td> + <td>{$form.thankyou_title.html}</td> </tr> <tr class="crm-campaign-survey-form-block-thankyou_text"> <td class="label">{$form.thankyou_text.label}{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_survey' field='thankyou_text' id=$surveyId}{/if}</td> - <td>{$form.thankyou_text.html}<br/> - - <div - class="description">{ts}Enter text (and optional HTML layout tags) for the thank-you message that will appear at the top of the thank-you page.{/ts}</div> - </td> + <td>{$form.thankyou_text.html}</td> </tr> <tr class="crm-campaign-survey-form-block-bypass_confirm"> <td class="label">{$form.bypass_confirm.label}</td> @@ -90,15 +81,11 @@ </tr> <tr class="crm-campaign-survey-form-block-is_active"> <td class="label">{$form.is_active.label}</td> - <td>{$form.is_active.html} - <div class="description">{ts}Is this petition active?{/ts}</div> - </td> + <td>{$form.is_active.html}</td> </tr> <tr class="crm-campaign-survey-form-block-is_default"> <td class="label">{$form.is_default.label}</td> - <td>{$form.is_default.html} - <div class="description">{ts}Is this the default petition?{/ts}</div> - </td> + <td>{$form.is_default.html}</td> </tr> <tr class="crm-campaign-survey-form-block-links"> <td class="label"><label>{ts}Links to sign this petition{/ts}</label></td> diff --git a/civicrm/templates/CRM/Campaign/Form/Petition/Signature.tpl b/civicrm/templates/CRM/Campaign/Form/Petition/Signature.tpl index f34c4367677f107750a0750fdffe8a82046bc7d9..57ac1e6b1466f8d5a4cfad562467b52d6b6dd023 100644 --- a/civicrm/templates/CRM/Campaign/Form/Petition/Signature.tpl +++ b/civicrm/templates/CRM/Campaign/Form/Petition/Signature.tpl @@ -21,34 +21,37 @@ <div class='clear'></div> {/if} -<div id="intro" class="crm-section">{$petition.instructions}</div> -<div class="crm-block crm-petition-form-block"> - -{if $duplicate == "confirmed"} - <p> - {ts}You have already signed this petition.{/ts} - </p> -{/if} -{if $duplicate == "unconfirmed"} - <p>{ts}You have already signed this petition but you still <b>need to verify your email address</b>.{/ts}<br/> {ts}Please check your email inbox for the confirmation email. If you don't find it, verify if it isn't in your spam folder.{/ts}</p> -{/if} -{if $duplicate} - <p>{ts}Thank you for your support.{/ts}</p> - {if $is_share} - {include file="CRM/Campaign/Page/Petition/SocialNetwork.tpl" petition_id=$survey_id petitionTitle=$petitionTitle} - {/if} +{if ! $isActive} + <p>{ts}Petition is no longer active.{/ts}</p> {else} - <div class="crm-section crm-petition-contact-profile"> - {include file="CRM/UF/Form/Block.tpl" fields=$petitionContactProfile hideFieldset=true} - </div> - - <div class="crm-section crm-petition-activity-profile"> - {include file="CRM/UF/Form/Block.tpl" fields=$petitionActivityProfile hideFieldset=true} - </div> + <div id="intro" class="crm-section">{$petition.instructions}</div> + <div class="crm-block crm-petition-form-block"> - <div class="crm-submit-buttons"> - {include file="CRM/common/formButtons.tpl" location="bottom"} - </div> + {if $duplicate == "confirmed"} + <p> + {ts}You have already signed this petition.{/ts} + </p> + {/if} + {if $duplicate == "unconfirmed"} + <p>{ts}You have already signed this petition but you still <b>need to verify your email address</b>.{/ts}<br/> {ts}Please check your email inbox for the confirmation email. If you don't find it, verify if it isn't in your spam folder.{/ts}</p> + {/if} + {if $duplicate} + <p>{ts}Thank you for your support.{/ts}</p> + {if $is_share} + {include file="CRM/Campaign/Page/Petition/SocialNetwork.tpl" petition_id=$survey_id petitionTitle=$petitionTitle} + {/if} + {else} + <div class="crm-section crm-petition-contact-profile"> + {include file="CRM/UF/Form/Block.tpl" fields=$petitionContactProfile hideFieldset=true} + </div> + + <div class="crm-section crm-petition-activity-profile"> + {include file="CRM/UF/Form/Block.tpl" fields=$petitionActivityProfile hideFieldset=true} + </div> + + <div class="crm-submit-buttons"> + {include file="CRM/common/formButtons.tpl" location="bottom"} + </div> + {/if} {/if} - </div> diff --git a/civicrm/templates/CRM/Campaign/Form/Survey/Main.tpl b/civicrm/templates/CRM/Campaign/Form/Survey/Main.tpl index 6d16494f817665fbf62b61cf4db6b82275fac149..e1601b1f8b35e0245a5f431a84e1a66c27e21326 100644 --- a/civicrm/templates/CRM/Campaign/Form/Survey/Main.tpl +++ b/civicrm/templates/CRM/Campaign/Form/Survey/Main.tpl @@ -18,19 +18,16 @@ <table class="form-layout-compressed"> <tr class="crm-campaign-survey-main-form-block-title"> <td class="label">{$form.title.label}</td> - <td class="view-value">{$form.title.html} - <div class="description">{ts}Title of the survey.{/ts}</div></td> + <td class="view-value">{$form.title.html}</td> </tr> <tr class="crm-campaign-survey-main-form-block-campaign_id"> <td class="label">{$form.campaign_id.label}</td> - <td class="view-value">{$form.campaign_id.html} - <div class="description">{ts}Select the campaign for which survey is created.{/ts}</div> + <td class="view-value">{$form.campaign_id.html}</div> </td> </tr> <tr class="crm-campaign-survey-main-form-block-activity_type_id"> <td class="label">{$form.activity_type_id.label}</td> - <td class="view-value">{$form.activity_type_id.html} - <div class="description">{ts}Select the Activity Type.{/ts}</div></td> + <td class="view-value">{$form.activity_type_id.html}</td> </tr> <tr class="crm-campaign-survey-main-form-block-instructions"> <td class="label">{$form.instructions.label}{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_survey' field='instructions' id=$surveyId}{/if}</td> @@ -49,17 +46,15 @@ <tr class="crm-campaign-survey-main-form-block-release_frequency"> <td class="label">{$form.release_frequency.label}</td> <td class="view-value">{$form.release_frequency.html} - <div class="description">{ts}Reserved respondents are released if they haven't been surveyed within this number of days. The Respondent Processor script must be run periodically to release respondents.{/ts} {docURL page="user/initial-set-up/scheduled-jobs"}</div> </td> + <div class="description">{ts}Reserved respondents are released if they haven't been surveyed within this number of days. The Respondent Processor script must be run periodically to release respondents.{/ts} {docURL page="user/initial-set-up/scheduled-jobs"}</div></td> </tr> <tr class="crm-campaign-survey-main-form-block-is_active"> <td class="label">{$form.is_active.label}</td> - <td class="view-value">{$form.is_active.html} - <div class="description">{ts}Is this survey active?{/ts}</div></td> + <td class="view-value">{$form.is_active.html}</td> </tr> <tr class="crm-campaign-survey-main-form-block-is_default"> <td class="label">{$form.is_default.label}</td> - <td class="view-value">{$form.is_default.html} - <div class="description">{ts}Is this the default survey?{/ts}</div></td> + <td class="view-value">{$form.is_default.html}</td> </tr> <tr class="crm-campaign-form-block-custom_data"> <td colspan="2"> diff --git a/civicrm/templates/CRM/Case/Form/Selector.tpl b/civicrm/templates/CRM/Case/Form/Selector.tpl index aabc90a7db602e46143792d4cf14d227e0697e97..27e8c7384a80d6f85eb8aa349e83918ab8bdff5a 100644 --- a/civicrm/templates/CRM/Case/Form/Selector.tpl +++ b/civicrm/templates/CRM/Case/Form/Selector.tpl @@ -33,7 +33,7 @@ {counter start=0 skip=1 print=false} {foreach from=$rows item=row} - <tr id='rowid{$list}{$row.case_id}' class="{cycle values="odd-row,even-row"} crm-case crm-case-status_{$row.case_status_id} crm-case-type_{$row.case_type_id}"> + <tr id='rowid{$row.case_id}' class="{cycle values="odd-row,even-row"} crm-case crm-case-status_{$row.case_status_id} crm-case-type_{$row.case_type_id}"> {if $context eq 'Search' && !$single} {assign var=cbName value=$row.checkbox} <td>{$form.$cbName.html}</td> @@ -55,7 +55,7 @@ {$row.case_recent_activity_type}<br />{$row.case_recent_activity_date|crmDate}{else}---{/if}</td> <td class="crm-case-case_scheduled_activity_type">{if $row.case_scheduled_activity_type} {$row.case_scheduled_activity_type}<br />{$row.case_scheduled_activity_date|crmDate}{else}---{/if}</td> - <td>{$row.action|replace:'xx':$row.case_id}{$row.moreActions|replace:'xx':$row.case_id}</td> + <td>{$row.action|replace:'xx':$row.case_id}</td> {/foreach} {* Dashboard only lists 10 most recent cases. *} diff --git a/civicrm/templates/CRM/Contact/Form/Edit/Household.tpl b/civicrm/templates/CRM/Contact/Form/Edit/Household.tpl index dd16a90cfb8f766dbbd2ebe23764ba2bbc09b337..b86e52e064524f723d42d964a1660eb50c61266b 100644 --- a/civicrm/templates/CRM/Contact/Form/Edit/Household.tpl +++ b/civicrm/templates/CRM/Contact/Form/Edit/Household.tpl @@ -20,8 +20,10 @@ {$form.nick_name.html} </td> <td> - {$form.contact_sub_type.label}<br /> - {$form.contact_sub_type.html} + {if array_key_exists('contact_sub_type', $form)} + {$form.contact_sub_type.label}<br /> + {$form.contact_sub_type.html} + {/if} </td> </tr> {/crmRegion} diff --git a/civicrm/templates/CRM/Contact/Form/Inline/Email.tpl b/civicrm/templates/CRM/Contact/Form/Inline/Email.tpl index e84a75251141f71b35fc0e7a77f8b17de8ba4954..bcd1447ee0d5281b6c1e8a46ecdcd8ea3039cbd1 100644 --- a/civicrm/templates/CRM/Contact/Form/Inline/Email.tpl +++ b/civicrm/templates/CRM/Contact/Form/Inline/Email.tpl @@ -37,12 +37,7 @@ <td align="center">{$form.email.$blockId.on_hold.html}</td> <td align="center" {if !$multipleBulk}class="crm-email-bulkmail"{/if}>{$form.email.$blockId.is_bulkmail.html}</td> <td align="center" class="crm-email-is_primary">{$form.email.$blockId.is_primary.1.html}</td> - <td> - {if $blockId gt 1} - <a title="{ts}Delete Email{/ts}" class="crm-delete-inline crm-hover-button" href="#"><span - class="icon delete-icon"></span></a> - {/if} - </td> + <td><a title="{ts}Delete Email{/ts}" class="crm-delete-inline crm-hover-button" href="#"><span class="icon delete-icon"></span></a></td> </tr> {/section} </table> diff --git a/civicrm/templates/CRM/Contact/Form/Search/Criteria/SearchSettings.tpl b/civicrm/templates/CRM/Contact/Form/Search/Criteria/SearchSettings.tpl index 15b93a640be4293ac932e6b7738cb848fed053d2..b788e7f364eb8f563f6210651727c20ed05fd500 100644 --- a/civicrm/templates/CRM/Contact/Form/Search/Criteria/SearchSettings.tpl +++ b/civicrm/templates/CRM/Contact/Form/Search/Criteria/SearchSettings.tpl @@ -6,13 +6,11 @@ {if !empty($form.deleted_contacts)}{$form.deleted_contacts.html} {$form.deleted_contacts.label}{/if} </td> <td class="adv-search-top-submit" colspan="2"> - <div class="crm-submit-buttons"> {include file="CRM/common/formButtons.tpl" location="top"} - </div> <div class="crm-submit-buttons reset-advanced-search"> - <a href="{crmURL p='civicrm/contact/search/advanced' q='reset=1'}" id="resetAdvancedSearch" class="crm-hover-button css_right" title="{ts}Clear all search criteria{/ts}"> + <a href="{crmURL p='civicrm/contact/search/advanced' q='reset=1'}" id="resetAdvancedSearch" class="crm-hover-button" title="{ts}Clear all search criteria{/ts}"> <i class="crm-i fa-undo" aria-hidden="true"></i> - {ts}Reset Form{/ts} + {ts}Reset Form{/ts} </a> </div> </td> diff --git a/civicrm/templates/CRM/Contact/Form/Task/AddToGroup.tpl b/civicrm/templates/CRM/Contact/Form/Task/AddToGroup.tpl index d537da1c9d9560dcd3b86d4d9852f68a48f39397..31795d9a3ffb193c0e4f1ab8ad003d57d92d9d04 100644 --- a/civicrm/templates/CRM/Contact/Form/Task/AddToGroup.tpl +++ b/civicrm/templates/CRM/Contact/Form/Task/AddToGroup.tpl @@ -9,7 +9,7 @@ *} <div class="crm-block crm-form-block crm-contact-task-addtogroup-form-block"> <table class="form-layout"> - {if $group.id} + {if $form.group_id.value} <tr class="crm-contact-task-addtogroup-form-block-group_id"> <td class="label">{ts}Group{/ts}</td> <td>{$form.group_id.html}</td> @@ -54,7 +54,7 @@ </div> {include file="CRM/common/showHide.tpl"} -{if !$group.id} +{if !$form.group_id.value} {literal} <script type="text/javascript"> showElements(); diff --git a/civicrm/templates/CRM/Contact/Import/Form/CSV.tpl b/civicrm/templates/CRM/Contact/Import/Form/CSV.tpl index 18c838740d65e7952fdb34a0270c0174a8555dd3..344cc4d9b9f7b1480038f0d0043f1ff6776a632e 100644 --- a/civicrm/templates/CRM/Contact/Import/Form/CSV.tpl +++ b/civicrm/templates/CRM/Contact/Import/Form/CSV.tpl @@ -12,15 +12,15 @@ <tr> <td class="label">{$form.uploadFile.label}</td> <td>{$form.uploadFile.html}<br /> - <div class="description">{ts}File format must be comma-separated-values (CSV). File must be UTF8 encoded if it contains special characters (e.g. accented letters, etc.).{/ts}</div> - {ts 1=$uploadSize}Maximum Upload File Size: %1 MB{/ts} + <div class="description"> + {ts}File format must be comma-separated-values (CSV). File must be UTF8 encoded if it contains special characters (e.g. accented letters, etc.).{/ts}<br /> + {ts 1=$uploadSize}Maximum Upload File Size: %1 MB{/ts} + </div> </td> </tr> <tr> <td></td> - <td>{$form.skipColumnHeader.html} {$form.skipColumnHeader.label} - <div class="description">{ts}Check this box if the first row of your file consists of field names (Example: 'First Name','Last Name','Email'){/ts}</div> - </td> + <td>{$form.skipColumnHeader.html} {$form.skipColumnHeader.label}</td> </tr> <tr class="crm-import-datasource-form-block-fieldSeparator"> <td class="label">{$form.fieldSeparator.label} {help id='id-fieldSeparator' file='CRM/Contact/Import/Form/DataSource'}</td> diff --git a/civicrm/templates/CRM/Contact/Import/Form/DataSource.hlp b/civicrm/templates/CRM/Contact/Import/Form/DataSource.hlp index ba8a876a9b96962e5e35f49b447aafe74796a55c..beb310a573d916d24ac51b4162eefa508a4ac45f 100644 --- a/civicrm/templates/CRM/Contact/Import/Form/DataSource.hlp +++ b/civicrm/templates/CRM/Contact/Import/Form/DataSource.hlp @@ -7,25 +7,6 @@ | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} -{capture assign=multiURL}{crmURL p="civicrm/import/custom" q="reset=1"}{/capture} -{htxt id='choose-data-source-intro-title'} - {ts}Import Wizard{/ts} -{/htxt} -{htxt id='choose-data-source-intro'} - <p> - {ts}The Import Wizard allows you to easily upload contact records from other applications into CiviCRM. For example, if your organization has contacts in MS Access© or Excel©, and you want to start using CiviCRM to store these contacts, you can 'import' them here.{/ts} - </p> - <p> - {ts}You can import records from a <strong>comma-separated-values format (CSV)</strong> file, or using a <strong>SQL query</strong>. See "Choose Data Source" help below for more information.{/ts} - </p> - <p> - {ts}After importing contacts, you may also want to import <strong>contributions, membership info and/or event participation</strong> data for these contacts. If so, first make sure that the corresponding CiviCRM component is enabled from Administer CiviCRM » System Settings » Enable CiviCRM Components. Enable CiviContribute, CiviMember, and/or CiviEvent. Then navigate to the Import option found in each component's menu (e.g. CiviContribute » Import Contributions).{/ts} - </p> - <p> - {ts 1=$multiURL}If you need to import <strong>Multi-value Custom Data</strong> for contacts (such as employment or education history), you will need to do that as a separate step from <a href="%1">here</a>.{/ts} - </p> -{/htxt} - {htxt id='contact-type-title'} {ts}Contact Type{/ts} {/htxt} diff --git a/civicrm/templates/CRM/Contact/Page/DedupeFind.tpl b/civicrm/templates/CRM/Contact/Page/DedupeFind.tpl index 4175b3fd05cd271791423ee5725846dccfd30ec0..84e214c1c4f2d3b75a9d304d094a782ddee4c99a 100644 --- a/civicrm/templates/CRM/Contact/Page/DedupeFind.tpl +++ b/civicrm/templates/CRM/Contact/Page/DedupeFind.tpl @@ -313,13 +313,8 @@ var cacheKey = {/literal}'{$cacheKey|escape}'{literal}; var dataUrl = {/literal}"{crmURL p='civicrm/ajax/toggleDedupeSelect' h=0 q='snippet=4'}"{literal}; - var rgid = {/literal}"{$rgid}"{literal}; - var gid = {/literal}"{$gid}"{literal}; - rgid = rgid.length > 0 ? rgid : 0; - gid = gid.length > 0 ? gid : 0; - - CRM.$.post(dataUrl, {pnid: id, rgid: rgid, gid: gid, is_selected: is_selected, cacheKey : cacheKey}, function (data) { + CRM.$.post(dataUrl, {pnid: id, is_selected: is_selected, cacheKey : cacheKey}, function (data) { // nothing to do for now }, 'json'); } diff --git a/civicrm/templates/CRM/Contact/Page/Inline/ContactInfo.tpl b/civicrm/templates/CRM/Contact/Page/Inline/ContactInfo.tpl index e6f23db3399b1ae5a0ce84121095041785d9b9b0..c9d365b0089ae925970d30446a9bdfa219404482 100644 --- a/civicrm/templates/CRM/Contact/Page/Inline/ContactInfo.tpl +++ b/civicrm/templates/CRM/Contact/Page/Inline/ContactInfo.tpl @@ -46,7 +46,7 @@ </div> {/if} <div class="crm-summary-row"> - <div class="crm-label">{ts}Source{/ts}</div> + <div class="crm-label">{ts}Contact Source{/ts}</div> <div class="crm-content crm-contact_source">{$source}</div> </div> diff --git a/civicrm/templates/CRM/Contact/Page/View/GroupContact.hlp b/civicrm/templates/CRM/Contact/Page/View/GroupContact.hlp new file mode 100644 index 0000000000000000000000000000000000000000..c832464b13f90c192221c91ff54bbe27d179f79e --- /dev/null +++ b/civicrm/templates/CRM/Contact/Page/View/GroupContact.hlp @@ -0,0 +1,19 @@ +{* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ +*} +{htxt id="actions-title"} + {ts}Past groups{/ts} +{/htxt} +{htxt id="actions"} + <p>{ts}For regular groups, you can add the contact to the group again by clicking Rejoin Group.{/ts}<br /> + {ts}Deleting a contact from a group means the contact has no relationship to the group. It won't have a "removed" status in the group any more.{/ts}</p> + <p>{ts}* indicates a smart group.{/ts}</p> + <p>{ts}For smart groups, you can add the contact to the group manually.{/ts}<br /> + {ts}If you delete a contact from a smart group, it will no longer be "removed" from the smart group, which means the contact will be in the smart group or not based on the smart group criteria.{/ts}</p> +{/htxt} diff --git a/civicrm/templates/CRM/Contact/Page/View/GroupContact.tpl b/civicrm/templates/CRM/Contact/Page/View/GroupContact.tpl index 4e5162643a982b5cc45826068a7c210b145dde1c..6a29fc897fc5f290281dee237a8a2197edd669d4 100644 --- a/civicrm/templates/CRM/Contact/Page/View/GroupContact.tpl +++ b/civicrm/templates/CRM/Contact/Page/View/GroupContact.tpl @@ -115,8 +115,8 @@ {if $groupOut} <div class="ht-one"></div> - <h3 class="status-removed">{ts}Past Groups{/ts}</h3> - <div class="description">{ts 1=$displayName}%1 is no longer part of these group(s).{/ts}</div> + <h3 class="status-removed">{ts}Removed Groups{/ts}</h3> + <div class="description">{ts 1=$displayName}%1 has been removed from these group(s).{/ts}</div> {strip} <table id="past_group" class="display"> <thead> @@ -125,6 +125,7 @@ <th>{ts}Status{/ts}</th> <th>{ts}Date Added{/ts}</th> <th>{ts}Date Removed{/ts}</th> + <th>{ts}Actions{/ts} {help id='actions' file='CRM/Contact/Page/View/GroupContact.hlp'}</th> <th></th> </tr> </thead> @@ -132,17 +133,37 @@ <tr id="group_contact-{$row.id}" class="crm-entity {cycle values="odd-row,even-row"}"> <td class="bold"> <a href="{crmURL p='civicrm/group/search' q="reset=1&force=1&context=smog&gid=`$row.group_id`"}"> - {$row.title} + {if $row.saved_search_id}* {/if}{$row.title} </a> </td> <td class="status-removed">{ts 1=$row.out_method}Removed (by %1){/ts}</td> <td data-order="{$row.date_added}">{$row.date_added|crmDate}</td> <td data-order="{$row.out_date}">{$row.out_date|crmDate}</td> - <td>{if $permission EQ 'edit'} + <td> + {if $permission EQ 'edit'} + {if $row.saved_search_id} + <a class="action-item crm-hover-button" href="#Added" title="{ts 1=$displayName 2=$row.title}Add %1 manually into %2, overriding smart group critera?{/ts}"> + {ts}Manual Add{/ts} + </a> + {else} <a class="action-item crm-hover-button" href="#Added" title="{ts 1=$displayName 2=$row.title}Add %1 back into %2?{/ts}"> - {ts}Rejoin Group{/ts}</a> - <a class="action-item crm-hover-button" href="#Deleted" title="{ts 1=$displayName 2=$row.title}Delete %1 from %2? (this group will no longer be listed under Past Groups).{/ts}"> - {ts}Delete{/ts}</a>{/if} + {ts}Rejoin Group{/ts} + </a> + {/if} + {/if} + </td> + <td> + {if $permission EQ 'edit'} + {if $row.saved_search_id} + <a class="action-item crm-hover-button" href="#Deleted" title="{ts 1=$displayName 2=$row.title}Delete %1 from %2?{/ts} {ts}They will be in the smart group or not based on the smart group criteria.{/ts}"> + {ts}Delete{/ts} + </a> + {else} + <a class="action-item crm-hover-button" href="#Deleted" title="{ts 1=$displayName 2=$row.title}Delete %1 from %2?{/ts} {ts}This group will no longer be listed under Removed Groups.{/ts}"> + {ts}Delete{/ts} + </a> + {/if} + {/if} </td> </tr> {/foreach} diff --git a/civicrm/templates/CRM/Contact/Page/View/Summary.js b/civicrm/templates/CRM/Contact/Page/View/Summary.js index 71c5ca47c5183763cef71db2afb7269c12a1c193..e07de3e7f016edb5c0608c6e912bd139a9b7d63b 100644 --- a/civicrm/templates/CRM/Contact/Page/View/Summary.js +++ b/civicrm/templates/CRM/Contact/Page/View/Summary.js @@ -259,9 +259,14 @@ //unset and set first as primary if ($('[class$=is_primary] input:checked', row).length > 0) { $('[class$=is_primary] input', row).prop('checked', false); - $('[class$=is_primary] input:first', form).prop('checked', true ); + $('[class$=is_primary] input:visible:first', form).prop('checked', true ); } $('.add-more-inline', form).show(); + if ($('[class$=is_primary] input:visible', form).length == 0) { + $('.add-more-inline', form).click(); + $('[class$=is_primary] input:visible:first', form).prop('checked', true ); + } + e.preventDefault(); }) // Delete an address diff --git a/civicrm/templates/CRM/Contribute/Form/AdditionalInfo/AdditionalDetail.tpl b/civicrm/templates/CRM/Contribute/Form/AdditionalInfo/AdditionalDetail.tpl index 5514bf8bd06cf99053f29a241e1390c8771da6d4..2a6bce99b0525a0013131e89f94ad572982c1246 100644 --- a/civicrm/templates/CRM/Contribute/Form/AdditionalInfo/AdditionalDetail.tpl +++ b/civicrm/templates/CRM/Contribute/Form/AdditionalInfo/AdditionalDetail.tpl @@ -13,15 +13,10 @@ <table class="form-layout-compressed"> <tr class="crm-contribution-form-block-contribution_page"><td class="label">{$form.contribution_page_id.label}</td><td{$valueStyle}>{$form.contribution_page_id.html|crmAddClass:twenty}</td></tr> <tr class="crm-contribution-form-block-note"><td class="label" style="vertical-align:top;">{$form.note.label}</td><td>{$form.note.html}</td></tr> - <tr class="crm-contribution-form-block-non_deductible_amount"><td class="label">{$form.non_deductible_amount.label}</td><td{$valueStyle}>{$form.non_deductible_amount.html}<br /> - <span class="description">{ts}Non-deductible portion of this contribution.{/ts}</span></td></tr> - <tr class="crm-contribution-form-block-fee_amount"><td class="label">{$form.fee_amount.label}</td><td{$valueStyle}>{$form.fee_amount.html}<br /> - <span class="description">{ts}Processing fee for this transaction (if applicable).{/ts}</span></td></tr> - <tr class="crm-contribution-form-block-invoice_id"><td class="label">{$form.invoice_id.label}</td><td{$valueStyle}>{$form.invoice_id.html}<br /> - <span class="description">{ts}Unique internal reference ID for this contribution.{/ts}</span></td></tr> - <tr class="crm-contribution-form-block-creditnote_id"><td class="label">{$form.creditnote_id.label}</td><td{$valueStyle}>{$form.creditnote_id.html}<br /> - <span class="description">{ts}Unique internal Credit Note ID for this contribution.{/ts}</span></td></tr> - <tr class="crm-contribution-form-block-thankyou_date"><td class="label">{$form.thankyou_date.label}</td><td>{$form.thankyou_date.html}<br /> - <span class="description">{ts}Date that a thank-you message was sent to the contributor.{/ts}</span></td></tr> + <tr class="crm-contribution-form-block-non_deductible_amount"><td class="label">{$form.non_deductible_amount.label}</td><td{$valueStyle}>{$form.non_deductible_amount.html}</td></tr> + <tr class="crm-contribution-form-block-fee_amount"><td class="label">{$form.fee_amount.label}</td><td{$valueStyle}>{$form.fee_amount.html}</td></tr> + <tr class="crm-contribution-form-block-invoice_id"><td class="label">{$form.invoice_id.label}</td><td{$valueStyle}>{$form.invoice_id.html}</td></tr> + <tr class="crm-contribution-form-block-creditnote_id"><td class="label">{$form.creditnote_id.label}</td><td{$valueStyle}>{$form.creditnote_id.html}</td></tr> + <tr class="crm-contribution-form-block-thankyou_date"><td class="label">{$form.thankyou_date.label}</td><td>{$form.thankyou_date.html}</td></tr> </table> </div> diff --git a/civicrm/templates/CRM/Contribute/Form/AdditionalPayment.tpl b/civicrm/templates/CRM/Contribute/Form/AdditionalPayment.tpl index df7c946dba1910ff741092dc74933228af0b59f3..6c01148419e8846cae4431d5664c352243045547 100644 --- a/civicrm/templates/CRM/Contribute/Form/AdditionalPayment.tpl +++ b/civicrm/templates/CRM/Contribute/Form/AdditionalPayment.tpl @@ -53,14 +53,14 @@ <tr class="crm-payment-form-block-total_amount"> <td class="label">{$form.total_amount.label}</td> <td> - <span id='totalAmount'>{$form.currency.html|crmAddClass:eight} {$form.total_amount.html|crmAddClass:eight}</span> <span class="status">{if $paymentType EQ 'refund' || $paymentAmt < 0}{ts}Refund Due : {$absolutePaymentAmount|crmMoney} {/ts}{else}{ts}Balance Owed{/ts} : {$paymentAmt|crmMoney}{/if}</span> + <span id='totalAmount'>{$form.currency.html|crmAddClass:eight} {$form.total_amount.html|crmAddClass:eight}</span> <span class="status">{if $paymentAmt < 0}{ts}Refund Due : {$absolutePaymentAmount|crmMoney} {/ts}{else}{ts}Balance Owed{/ts} : {$paymentAmt|crmMoney}{/if}</span> </td> {if $email and $outBound_option != 2} <tr class="crm-payment-form-block-is_email_receipt"> <td class="label"> {$form.is_email_receipt.label} </td> - <td>{$form.is_email_receipt.html} + <td>{$form.is_email_receipt.html} <span class="description">{ts 1=$email}Automatically email a receipt to %1?{/ts}</span> </td> </tr> @@ -84,9 +84,7 @@ <table class="form-layout-compressed" > <tr class="crm-payment-form-block-trxn_date"> <td class="label">{$form.trxn_date.label}</td> - <td>{$form.trxn_date.html}<br /> - <span class="description">{ts}The date this payment was received.{/ts}</span> - </td> + <td>{$form.trxn_date.html}</td> </tr> <tr class="crm-payment-form-block-payment_instrument_id"> <td class="label">{$form.payment_instrument_id.label}</td> @@ -97,8 +95,10 @@ <td class="label">{$form.trxn_id.label}</td> <td>{$form.trxn_id.html} {help id="id-trans_id"}</td> </tr> - <tr class="crm-payment-form-block-fee_amount"><td class="label">{$form.fee_amount.label}</td><td{$valueStyle}>{$form.fee_amount.html}<br /> - <span class="description">{ts}Processing fee for this transaction (if applicable).{/ts}</span></td></tr> + <tr class="crm-payment-form-block-fee_amount"> + <td class="label">{$form.fee_amount.label}</td> + <td{$valueStyle}>{$form.fee_amount.html}</td> + </tr> </table> </div> {/if} diff --git a/civicrm/templates/CRM/Contribute/Form/Contribution.tpl b/civicrm/templates/CRM/Contribute/Form/Contribution.tpl index b674f0982f1e88935afe64a7d2c410c9934e374c..21aa7a9d562ce81c1ae2188a3b68207a9e23397a 100644 --- a/civicrm/templates/CRM/Contribute/Form/Contribution.tpl +++ b/civicrm/templates/CRM/Contribute/Form/Contribution.tpl @@ -93,7 +93,6 @@ {if !empty($ppID)}{ts}<a class='action-item crm-hover-button' onclick='adjustPayment();'>adjust payment amount</a>{/ts}{help id="adjust-payment-amount"}{/if} <div id="totalAmountBlock"> - {if $hasPriceSets}<span class="description">{ts}Alternatively, you can use a price set.{/ts}</span>{/if} <div id="totalTaxAmount" class="label"></div> </div> {/if} @@ -192,9 +191,7 @@ {if empty($is_template)} <tr class="crm-contribution-form-block-receive_date"> <td class="label">{$form.receive_date.label}</td> - <td>{$form.receive_date.html}<br /> - <span class="description">{ts}The date this contribution was received.{/ts}</span> - </td> + <td>{$form.receive_date.html}</td> </tr> {/if} {/if} @@ -208,14 +205,15 @@ {if empty($is_template) and $email and $outBound_option != 2} <tr class="crm-contribution-form-block-is_email_receipt"> <td class="label">{$form.is_email_receipt.label}</td> - <td>{$form.is_email_receipt.html} + <td>{$form.is_email_receipt.html} <span class="description">{ts 1=$email}Automatically email a receipt for this payment to %1?{/ts}</span> </td> </tr> {elseif empty($is_template) and $context eq 'standalone' and $outBound_option != 2 } <tr id="email-receipt" style="display:none;" class="crm-contribution-form-block-is_email_receipt"> <td class="label">{$form.is_email_receipt.label}</td> - <td>{$form.is_email_receipt.html} <span class="description">{ts}Automatically email a receipt for this payment to {/ts}<span id="email-address"></span>?</span> + <td>{$form.is_email_receipt.html} + <span class="description">{ts}Automatically email a receipt for this payment to {/ts}<span id="email-address"></span>?</span> </td> </tr> {/if} @@ -228,9 +226,7 @@ {if empty($is_template)} <tr id="receiptDate" class="crm-contribution-form-block-receipt_date"> <td class="label">{$form.receipt_date.label}</td> - <td>{$form.receipt_date.html}<br /> - <span class="description">{ts}Date that a receipt was sent to the contributor.{/ts}</span> - </td> + <td>{$form.receipt_date.html}</td> </tr> {/if} {if !empty($form.payment_processor_id)} @@ -306,16 +302,11 @@ </tr> <tr id="nickID" class="crm-contribution-form-block-pcp_roll_nickname"> <td class="label">{$form.pcp_roll_nickname.label}</td> - <td>{$form.pcp_roll_nickname.html|crmAddClass:big}<br/> - <div class="description">{ts}Name or nickname contributor wants to be displayed in the Honor Roll. Enter "Anonymous" for anonymous contributions.{/ts}</div> - </td> + <td>{$form.pcp_roll_nickname.html|crmAddClass:big}</td> </tr> <tr id="personalNoteID" class="crm-contribution-form-block-pcp_personal_note"> <td class="label" style="vertical-align: top">{$form.pcp_personal_note.label}</td> - <td> - {$form.pcp_personal_note.html} - <div class="description">{ts}Personal message submitted by contributor for display in the Honor Roll.{/ts}</div> - </td> + <td>{$form.pcp_personal_note.html}</td> </tr> </table> </div> @@ -397,6 +388,7 @@ else { CRM.alert(ts("No email receipt can be sent as the contact's primary email address is on hold or they are set to do not email."), ts("Cannot send email receipt")); $("#email-receipt", $form).hide(); + $("#is_email_receipt", $form).removeAttr('checked'); } }, function(failure) { $("#email-receipt", $form).show(); @@ -405,11 +397,11 @@ } else { $("#email-receipt", $form).hide(); + $("#is_email_receipt", $form).removeAttr('checked'); } - } - showHideByValue('is_email_receipt', '', 'receiptDate', 'table-row', 'radio', true); showHideByValue('is_email_receipt', '', 'fromEmail', 'table-row', 'radio', false); + } }); {/literal} diff --git a/civicrm/templates/CRM/Contribute/Form/Contribution/Main.tpl b/civicrm/templates/CRM/Contribute/Form/Contribution/Main.tpl index e1d71b5d91814bedcc7f759b08f6bcc50c97243a..d12e534fbcbd7e0bd6ea592d392bfc760047c7ed 100644 --- a/civicrm/templates/CRM/Contribute/Form/Contribution/Main.tpl +++ b/civicrm/templates/CRM/Contribute/Form/Contribution/Main.tpl @@ -218,7 +218,7 @@ {include file="CRM/UF/Form/Block.tpl" fields=$customPre} </div> - {if $isHonor} + {if array_key_exists('pcp_display_in_roll', $form)} <fieldset class="crm-public-form-item crm-group pcp-group"> <div class="crm-public-form-item crm-section pcp-section"> <div class="crm-public-form-item crm-section display_in_roll-section"> @@ -297,8 +297,8 @@ {/if} </div> <script type="text/javascript"> - {if $isHonor} - pcpAnonymous(); + {if array_key_exists('pcp_display_in_roll', $form)} + pcpAnonymous(); {/if} {literal} diff --git a/civicrm/templates/CRM/Contribute/Form/ContributionPage/Amount.hlp b/civicrm/templates/CRM/Contribute/Form/ContributionPage/Amount.hlp new file mode 100644 index 0000000000000000000000000000000000000000..7a7880419679dbb72a5efe103cbd4a8721c388e9 --- /dev/null +++ b/civicrm/templates/CRM/Contribute/Form/ContributionPage/Amount.hlp @@ -0,0 +1,58 @@ +{* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ +*} +{htxt id="id-is_monetary-title"} + {ts}Execute real-time monetary transactions{/ts} +{/htxt} +{htxt id="id-is_monetary"} +{ts}Uncheck this box if you are using this contribution page for free membership signup ONLY, or to solicit in-kind / non-monetary donations such as furniture, equipment.. etc.{/ts} +{/htxt} + +{htxt id="id-pay_later_receipt-title"} + {ts}Pay Later Instructions{/ts} +{/htxt} +{htxt id="id-pay_later_receipt"} +{ts}Instructions added to Confirmation and Thank-you pages, as well as the confirmation email, when the user selects the 'pay later' option (e.g. 'Mail your check to ... within 3 business days.').{/ts} +{/htxt} + +{htxt id="id-is_billing_required-title"} + {ts}Billing address required{/ts} +{/htxt} +{htxt id="id-is_billing_required"} +{ts}Check this box to require users who select the pay later option to provide billing name and address.{/ts} +{/htxt} + +{htxt id="id-amount_block_is_active-title"} + {ts}Recurring Contributions{/ts} +{/htxt} +{htxt id="id-amount_block_is_active"} +{ts}Uncheck this box if you are using this contribution page for membership signup and renewal only – and you do NOT want users to select or enter any additional contribution amounts.{/ts} +{/htxt} + +{htxt id="id-is_recur-title"} + {ts}Recurring Contributions{/ts} +{/htxt} +{htxt id="id-is_recur"} +{ts}Check this box if you want to give users the option to make recurring contributions. This feature requires that you use a payment processor which supports recurring billing / subscriptions functionality.{/ts} {docURL page="user/contributions/payment-processors"} +{/htxt} + +{htxt id="id-is_pledge_active-title"} + {ts}Pledges{/ts} +{/htxt} +{htxt id="id-is_pledge_active"} +{ts}Check this box if you want to give users the option to make a Pledge (a commitment to contribute a fixed amount on a recurring basis).{/ts} +{/htxt} + +{htxt id="id-is_allow_other_amount-title"} + {ts}Allow other amounts{/ts} +{/htxt} +{htxt id="id-is_allow_other_amount"} +{ts}Check this box if you want to give users the option to enter their own contribution amount. Your page will then include a text field labeled <strong>Other Amount</strong>.{/ts} {ts}You can also set minimum and maximum amounts that users are allowed to enter.{/ts} +{/htxt} + diff --git a/civicrm/templates/CRM/Contribute/Form/ContributionPage/Amount.tpl b/civicrm/templates/CRM/Contribute/Form/ContributionPage/Amount.tpl index bb43d307fe47a7791493754ae83d7143ebda4ded..9a79d13d4c721160685a3aef088b85ab1d3748d3 100644 --- a/civicrm/templates/CRM/Contribute/Form/ContributionPage/Amount.tpl +++ b/civicrm/templates/CRM/Contribute/Form/ContributionPage/Amount.tpl @@ -22,53 +22,52 @@ </div> {/if} <table class="form-layout-compressed"> - <tr class="crm-contribution-contributionpage-amount-form-block-is_monetary"><td scope="row" class="label" width="20%">{$form.is_monetary.label}</td> - <td>{$form.is_monetary.html}<br /> - <span class="description">{ts}Uncheck this box if you are using this contribution page for free membership signup ONLY, or to solicit in-kind / non-monetary donations such as furniture, equipment.. etc.{/ts}</span></td> + <tr class="crm-contribution-contributionpage-amount-form-block-is_monetary"> + <td scope="row" class="label" width="20%">{$form.is_monetary.label} {help id="id-is_monetary"}</td> + <td>{$form.is_monetary.html}</td> </tr> <tr class="crm-contribution-contributionpage-amount-form-block-currency"><td scope="row" class="label" width="20%">{$form.currency.label}</td> - <td>{$form.currency.html}<br /> - <span class="description">{ts}Select the currency to be used for contributions submitted from this contribution page.{/ts}</span></td> + <td>{$form.currency.html}</td> </tr> {if $paymentProcessor} <tr class="crm-contribution-contributionpage-amount-form-block-payment_processor"><td scope="row" class="label" width="20%">{$form.payment_processor.label}</td> - <td>{$form.payment_processor.html}<br /> - <span class="description">{ts}Select the payment processor to be used for contributions submitted from this contribution page (unless you are soliciting non-monetary / in-kind contributions only).{/ts} {docURL page="user/contributions/payment-processors"}</span></td> + <td>{$form.payment_processor.html}</td> </tr> {/if} <tr class="crm-contribution-contributionpage-amount-form-block-is_pay_later"><td scope="row" class="label">{$form.is_pay_later.label}</td> - <td>{$form.is_pay_later.html}<br /> + <td>{$form.is_pay_later.html} <span class="description">{ts}Check this box if you want to give users the option to submit payment offline (e.g. mail in a check, call in a credit card, etc.).{/ts}</span></td> </tr> <tr id="payLaterFields" class="crm-contribution-form-block-payLaterFields"><td> </td> <td> <table class="form-layout"> - <tr class="crm-contribution-contributionpage-amount-form-block-pay_later_text"><td scope="row" class="label">{$form.pay_later_text.label} <span class="crm-marker" title="{ts}This field is required.{/ts}">*</span> {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='pay_later_text' id=$contributionPageID}{/if}</td> - <td>{$form.pay_later_text.html|crmAddClass:big}<br /> - <span class="description">{ts}Text displayed next to the checkbox for the 'pay later' option on the contribution form. You may include HTML formatting tags.{/ts}</span></td></tr> - <tr class="crm-contribution-contributionpage-amount-form-block-pay_later_receipt"><td scope="row" class="label">{$form.pay_later_receipt.label} <span class="crm-marker" title="{ts}This field is required.{/ts}">*</span> {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='pay_later_receipt' id=$contributionPageID}{/if}</td> - <td>{$form.pay_later_receipt.html|crmAddClass:big}<br /> - <span class="description">{ts}Instructions added to Confirmation and Thank-you pages, as well as the confirmation email, when the user selects the 'pay later' option (e.g. 'Mail your check to ... within 3 business days.').{/ts}</span></td></tr> - - <tr><td scope="row" class="label">{$form.is_billing_required.label}</td> - <td>{$form.is_billing_required.html}<br /> - <span class="description">{ts}Check this box to require users who select the pay later option to provide billing name and address.{/ts}</span> - </td></tr> + <tr class="crm-contribution-contributionpage-amount-form-block-pay_later_text"> + <td scope="row" class="label">{$form.pay_later_text.label} <span class="crm-marker" title="{ts}This field is required.{/ts}">*</span> {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='pay_later_text' id=$contributionPageID}{/if}</td> + <td>{$form.pay_later_text.html|crmAddClass:big}</td> + </tr> + <tr class="crm-contribution-contributionpage-amount-form-block-pay_later_receipt"> + <td scope="row" class="label"> + {$form.pay_later_receipt.label} + <span class="crm-marker" title="{ts}This field is required.{/ts}">*</span> + {help id="id-pay_later_receipt"} + {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='pay_later_receipt' id=$contributionPageID}{/if} + </td> + <td>{$form.pay_later_receipt.html|crmAddClass:big}</td> + </tr> + <tr> + <td scope="row" class="label">{$form.is_billing_required.label} {help id="id-is_billing_required"}</td> + <td>{$form.is_billing_required.html}</td> + </tr> </table> </td> </tr> <tr class="crm-contribution-contributionpage-amount-form-block-amount_block_is_active"> - <td scope="row" class="label">{$form.amount_block_is_active.label}</td> - <td>{$form.amount_block_is_active.html}<br /> - <span class="description">{ts}Uncheck this box if you are using this contribution page for membership signup and renewal only – and you do NOT want users to select or enter any additional contribution amounts.{/ts}</span></td> + <td scope="row" class="label">{$form.amount_block_is_active.label} {help id="id-amount_block_is_active"}</td> + <td>{$form.amount_block_is_active.html}</td> </tr> <tr id="priceSet" class="crm-contribution-contributionpage-amount-form-block-priceSet"> - <td scope="row" class="label">{$form.price_set_id.label}</td> - {if $price eq true} - <td>{$form.price_set_id.html}<br /><span class="description">{ts 1=$adminPriceSets}Select a pre-configured Price Set to offer multiple individually priced options for contributions. Otherwise, select "-none-" and enter one or more fixed contribution options in the table below. Create or edit Price Sets <a href='%1'>here</a>.{/ts}</span></td> - {else} - <td><div class="status message">{ts 1=$adminPriceSets}No Contribution Price Sets have been configured / enabled for your site. Price sets allow you to configure more complex contribution options (e.g. "Contribute $25 more to receive our monthly magazine."). Click <a href='%1'>here</a> if you want to configure price sets for your site.{/ts}</div></td> - {/if} + <td scope="row" class="label">{$form.price_set_id.label}</td> + <td>{$form.price_set_id.html} <br /><span class="description">{ts}Select a Price Set to offer more complex amount options. Otherwise, leave this empty and enter fixed contribution options below.{/ts}</span></td> </tr> </table> @@ -77,17 +76,15 @@ {if $recurringPaymentProcessor} - <tr id="recurringContribution" class="crm-contribution-form-block-is_recur"><td scope="row" class="label" width="20%">{$form.is_recur.label}</td> - <td>{$form.is_recur.html}<br /> - <span class="description">{ts}Check this box if you want to give users the option to make recurring contributions. This feature requires that you use a payment processor which supports recurring billing / subscriptions functionality.{/ts} {docURL page="user/contributions/payment-processors"}</span> - </td> + <tr id="recurringContribution" class="crm-contribution-form-block-is_recur"><td scope="row" class="label" width="20%">{$form.is_recur.label} {help id="id-is_recur"}</td> + <td>{$form.is_recur.html}</td> </tr> <tr id="recurFields" class="crm-contribution-form-block-recurFields"><td> </td> <td> <table class="form-layout-compressed"> - <tr class="crm-contribution-form-block-recur_frequency_unit"><td scope="row" class="label">{$form.recur_frequency_unit.label}<span class="crm-marker" title="{ts}This field is required.{/ts}">*</span></td> - <td>{$form.recur_frequency_unit.html}<br /> - <span class="description">{ts}Select recurring units supported for recurring payments.{/ts}</span></td> + <tr class="crm-contribution-form-block-recur_frequency_unit"> + <td scope="row" class="label">{$form.recur_frequency_unit.label} <span class="crm-marker" title="{ts}This field is required.{/ts}">*</span></td> + <td>{$form.recur_frequency_unit.html}</td> </tr> <tr class="crm-contribution-form-block-is_recur_interval"><td scope="row" class="label">{$form.is_recur_interval.label}</td> <td>{$form.is_recur_interval.html}<br /> @@ -106,7 +103,7 @@ </div> {if $futurePaymentProcessor} <span id="pledge_calendar_date_field"> {$form.pledge_calendar_date.html}</span> - <span id="pledge_calendar_month_field"> {$form.pledge_calendar_month.html}<br/><span class="description">{ts}Recurring payment will be processed this day of the month following submission of this contribution page.{/ts}</span></span> + <span id="pledge_calendar_month_field"> {$form.pledge_calendar_month.html}</span> {/if} @@ -114,16 +111,13 @@ <table class="form-layout-compressed"> {* handle CiviPledge fields *} {if $civiPledge} - <tr class="crm-contribution-form-block-is_pledge_active"><td scope="row" class="label" width="20%">{$form.is_pledge_active.label}</td> - <td>{$form.is_pledge_active.html}<br /> - <span class="description">{ts}Check this box if you want to give users the option to make a Pledge (a commitment to contribute a fixed amount on a recurring basis).{/ts}</span> - </td> + <tr class="crm-contribution-form-block-is_pledge_active"><td scope="row" class="label" width="20%">{$form.is_pledge_active.label} {help id="id-is_pledge_active"}</td> + <td>{$form.is_pledge_active.html}</td> </tr> <tr id="pledgeFields" class="crm-contribution-form-block-pledgeFields"><td></td><td> <table class="form-layout-compressed"> <tr class="crm-contribution-form-block-pledge_frequency_unit"><td scope="row" class="label">{$form.pledge_frequency_unit.label}<span class="crm-marker"> *</span></td> - <td>{$form.pledge_frequency_unit.html}<br /> - <span class="description">{ts}Which frequencies can the user pick from (e.g. every 'week', every 'month', every 'year')?{/ts}</span></td> + <td>{$form.pledge_frequency_unit.html}</td> </tr> <tr class="crm-contribution-form-block-is_pledge_interval"><td scope="row" class="label">{$form.is_pledge_interval.label}</td> <td>{$form.is_pledge_interval.html}<br /> @@ -170,17 +164,17 @@ <td scope="row" class="label" width="20%">{$form.amount_label.label}<span class="crm-marker"> *</span></td> <td>{$form.amount_label.html}</td> </tr> - <tr class="crm-contribution-form-block-is_allow_other_amount"><td scope="row" class="label" width="20%">{$form.is_allow_other_amount.label}</td> - <td>{$form.is_allow_other_amount.html}<br /> - <span class="description">{ts}Check this box if you want to give users the option to enter their own contribution amount. Your page will then include a text field labeled <strong>Other Amount</strong>.{/ts}</span></td></tr> + <tr class="crm-contribution-form-block-is_allow_other_amount"> + <td scope="row" class="label" width="20%">{$form.is_allow_other_amount.label} {help id="id-is_allow_other_amount"}</td> + <td>{$form.is_allow_other_amount.html}</td> + </tr> <tr id="minMaxFields" class="crm-contribution-form-block-minMaxFields"><td> </td><td> <table class="form-layout-compressed"> <tr class="crm-contribution-form-block-min_amount"><td scope="row" class="label">{$form.min_amount.label}</td> <td>{$form.min_amount.html}</td></tr> <tr class="crm-contribution-form-block-max_amount"><td scope="row" class="label">{$form.max_amount.label}</td> - <td>{$form.max_amount.html}<br /> - <span class="description">{ts 1=5|crmMoney}If you have chosen to <strong>Allow Other Amounts</strong>, you can use the fields above to control minimum and/or maximum acceptable values (e.g. don't allow contribution amounts less than %1).{/ts}</span></td></tr> + <td>{$form.max_amount.html}</td></tr> </table> </td></tr> diff --git a/civicrm/templates/CRM/Contribute/Form/ContributionPage/Custom.tpl b/civicrm/templates/CRM/Contribute/Form/ContributionPage/Custom.tpl index e7ec385c4e0ee8d547e251bb955566a08040caed..ad8a9b2bf1785042117b0141933c230f857fb623 100644 --- a/civicrm/templates/CRM/Contribute/Form/ContributionPage/Custom.tpl +++ b/civicrm/templates/CRM/Contribute/Form/ContributionPage/Custom.tpl @@ -15,18 +15,14 @@ <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> <table class="form-layout-compressed"> <tr class="crm-contribution-contributionpage-custom-form-block-custom_pre_id"> - <td class="label">{$form.custom_pre_id.label} - </td> + <td class="label">{$form.custom_pre_id.label}</td> <td class="html-adjust">{$form.custom_pre_id.html} <span class="description">{ts}Profile to be included above the billing information (but after the introductory message, amounts, and honoree section).{/ts}</span> </td> </tr> <tr class="crm-contribution-contributionpage-custom-form-block-custom_post_id"> - <td class="label">{$form.custom_post_id.label} - </td> - <td class="html-adjust">{$form.custom_post_id.html} - <span class="description">{ts}Profile to be included at the bottom of the page.{/ts}</span> - </td> + <td class="label">{$form.custom_post_id.label}</td> + <td class="html-adjust">{$form.custom_post_id.html}</td> </tr> </table> <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> diff --git a/civicrm/templates/CRM/Contribute/Form/ContributionPage/Premium.tpl b/civicrm/templates/CRM/Contribute/Form/ContributionPage/Premium.tpl index a2873446a85e56954f9bec37311ae9366102eb31..f4f55b8295fdfcf87cb437820f554c81927208e6 100644 --- a/civicrm/templates/CRM/Contribute/Form/ContributionPage/Premium.tpl +++ b/civicrm/templates/CRM/Contribute/Form/ContributionPage/Premium.tpl @@ -17,9 +17,7 @@ <table class="form-layout-compressed"> <tr class="crm-contribution-contributionpage-premium-form-block-premiums_active"> <td class="label">{$form.premiums_active.label}</td> - <td class="html-adjust">{$form.premiums_active.html}<br/> - <span class="description">{ts}Is the Premiums section enabled for this Online Contributions page?{/ts}</span> - </td> + <td class="html-adjust">{$form.premiums_active.html}</td> </tr> </table> diff --git a/civicrm/templates/CRM/Contribute/Form/ContributionPage/Settings.hlp b/civicrm/templates/CRM/Contribute/Form/ContributionPage/Settings.hlp index f8f77332c95d896f999a1f772d2303ea74847ee7..744613d674d19e0796aa7b6f5693ce2ae4278f92 100644 --- a/civicrm/templates/CRM/Contribute/Form/ContributionPage/Settings.hlp +++ b/civicrm/templates/CRM/Contribute/Form/ContributionPage/Settings.hlp @@ -16,6 +16,13 @@ <p>{ts}NOTE: If you are using this contribution page for membership signup and renewals, the financial type configured in the membership type settings will be used when recording the membership payment. The financial type selected here will only be used if you are also collecting additional contributions (as configured on the Membership Settings page).{/ts}</p> {/htxt} +{htxt id="id-for_organization-title"} + {ts}On behalf of Label{/ts} +{/htxt} +{htxt id="id-for_organization"} +{ts}Text displayed next to the checkbox on the contribution form.{/ts} +{/htxt} + {htxt id="id-intro_msg-title"} {ts}Intro Content{/ts} {/htxt} @@ -51,6 +58,20 @@ {ts}If you want to allow contributors to specify a person whom they are honoring with their gift, check this box. An optional Honoree section will be included in the form. Honoree information is automatically saved and linked with the contribution record.{/ts} {/htxt} +{htxt id="id-honor_block_text-title"} + {ts}Honoree Introductory Message{/ts} +{/htxt} +{htxt id="id-honor_block_text"} +{ts}Optional explanatory text for the Honoree section (displayed above the Honoree fields).{/ts} +{/htxt} + +{htxt id="id-is_confirm_enabled-title"} + {ts}Use a Confirmation Page?{/ts} +{/htxt} +{htxt id="id-is_confirm_enabled"} +{ts}If you disable this contributions will be processed immediately after submitting the contribution form.{/ts} +{/htxt} + {htxt id="id-is_organization-title"} {ts}Organization{/ts} {/htxt} diff --git a/civicrm/templates/CRM/Contribute/Form/ContributionPage/Settings.tpl b/civicrm/templates/CRM/Contribute/Form/ContributionPage/Settings.tpl index 082f334b824b9a420c1de68224a076993d20912d..3feb04802c9bfebfbc60198a06c7f7a01e1aeb88 100644 --- a/civicrm/templates/CRM/Contribute/Form/ContributionPage/Settings.tpl +++ b/civicrm/templates/CRM/Contribute/Form/ContributionPage/Settings.tpl @@ -18,43 +18,40 @@ {/if} </div> <div class="crm-block crm-form-block crm-contribution-contributionpage-settings-form-block"> - <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> - <table class="form-layout-compressed"> - <tr class="crm-contribution-contributionpage-settings-form-block-title"><td class="label">{$form.title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='title' id=$contributionPageID}{/if}</td><td>{$form.title.html}<br/> - <span class="description">{ts}This title will be displayed at the top of the page unless the frontend title field is filled out.<br />Please use only alphanumeric, spaces, hyphens and dashes for Title.{/ts}</span></td> - </tr> - <tr class="crm-contribution-contributionpage-settings-form-block-frontend-title"><td class="label">{$form.contribution_page_frontend_title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='frontend_title' id=$contributionPageID}{/if}</td><td>{$form.contribution_page_frontend_title.html}<br/> - <span class="description">{ts}This title will be displayed at the top of the page.<br />Please use only alphanumeric, spaces, hyphens and dashes for Title.{/ts}</span></td> - </tr> - <tr class="crm-contribution-contributionpage-settings-form-block-financial_type_id"><td class="label">{$form.financial_type_id.label}</td><td>{$form.financial_type_id.html}<br /> - <span class="description">{ts}Select the corresponding financial type for contributions made using this page.{/ts}</span> {help id="id-financial_type"}</td> - </tr> + <table class="form-layout-compressed"> + <tr class="crm-contribution-contributionpage-settings-form-block-frontend-title"> + <td class="label">{$form.frontend_title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='frontend_title' id=$contributionPageID}{/if}</td> + <td>{$form.frontend_title.html}</td> + </tr> + <tr class="crm-contribution-contributionpage-settings-form-block-title"> + <td class="label">{$form.title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_contribution_page' field='title' id=$contributionPageID}{/if}</td> + <td>{$form.title.html}</td> + </tr> + <tr class="crm-contribution-contributionpage-settings-form-block-financial_type_id"> + <td class="label">{$form.financial_type_id.label} {help id="id-financial_type"}</td> + <td>{$form.financial_type_id.html}</td> + </tr> {* CRM-7362 --add campaign to contribution page *} {include file="CRM/Campaign/Form/addCampaignToComponent.tpl" campaignTrClass="crm-contribution-contributionpage-settings-form-block-campaign_id"} - <tr class="crm-contribution-contributionpage-settings-form-block-is_organization"><td> </td><td>{$form.is_organization.html} {$form.is_organization.label} {help id="id-is_organization"}</td></tr> + <tr class="crm-contribution-contributionpage-settings-form-block-is_organization"> + <td> </td> + <td>{$form.is_organization.html} {$form.is_organization.label} {help id="id-is_organization"}</td> + </tr> <tr id="for_org_option" class="crm-contribution-form-block-is_organization"> <td> </td> <td> <table class="form-layout-compressed"> - <tr class="crm-contribution-for_organization_help"> - <td class="description" colspan="2"> - {capture assign="profileURL"}{crmURL p='civicrm/admin/uf/group' q='reset=1'}{/capture} - {ts 1=$profileURL}To change the organization data collected use the "On Behalf Of Organization" profile (<a href="%1">Administer > Customize Data and Screens > Profiles</a>).{/ts} - </td> - </tr> <tr class="crm-contribution-onbehalf_profile_id"> <td class="label">{$form.onbehalf_profile_id.label}</td> <td>{$form.onbehalf_profile_id.html}</td> </tr> <tr id="for_org_text" class="crm-contribution-contributionpage-settings-form-block-for_organization"> - <td class="label">{$form.for_organization.label}</td> - <td>{$form.for_organization.html}<br /> - <span class="description">{ts}Text displayed next to the checkbox on the contribution form.{/ts}</span> - </td> + <td class="label">{$form.for_organization.label} {help id="id-for_organization"}</td> + <td>{$form.for_organization.html}</td> </tr> <tr class="crm-contribution-contributionpage-settings-form-block-is_for_organization"> <td> </td> @@ -83,52 +80,35 @@ <td>{$form.end_date.html}</td> </tr> <tr class="crm-contribution-contributionpage-settings-form-block-honor_block_is_active"> - <td> </td><td>{$form.honor_block_is_active.html}{$form.honor_block_is_active.label} {help id="id-honoree_section"}</td> + <td class ="label">{$form.honor_block_is_active.label} {help id="id-honoree_section"}</td> + <td>{$form.honor_block_is_active.html}</td> </tr> </table> <table class="form-layout-compressed" id="honor"> <tr class="crm-contribution-contributionpage-settings-form-block-honor_block_title"> - <td class="label"> - {$form.honor_block_title.label} - </td> - <td> - {$form.honor_block_title.html}<br /> - <span class="description">{ts}Title for the Honoree section (e.g. "Honoree Information").{/ts}</span> - </td> + <td class="label">{$form.honor_block_title.label}</td> + <td>{$form.honor_block_title.html}</td> </tr> <tr class="crm-contribution-contributionpage-settings-form-block-honor_block_text"> <td class="label"> {crmAPI var='result' entity='OptionGroup' action='get' sequential=1 name='soft_credit_type'} - {$form.honor_block_text.label} - </td> - <td> - {$form.honor_block_text.html}<br /> - <span class="description">{ts}Optional explanatory text for the Honoree section (displayed above the Honoree fields).{/ts}</span> + {$form.honor_block_text.label} {help id="id-honor_block_text"} </td> + <td>{$form.honor_block_text.html}</td> </tr> <tr class="crm-contribution-contributionpage-settings-form-block-honor_soft_credit_types"> - <td class="label"> - {$form.soft_credit_types.label} - </td> - <td> - {$form.soft_credit_types.html} - </td> + <td class="label">{$form.soft_credit_types.label}</td> + <td>{$form.soft_credit_types.html}</td> </tr> <tr class="crm-contribution-contributionpage-custom-form-block-custom_pre_id"> - <td class="label"> - {$form.honoree_profile.label} - </td> - <td class="html-adjust"> - {$form.honoree_profile.html} - <span class="description">{ts}Profile to be included in the honoree section{/ts}</span> - </td> + <td class="label">{$form.honoree_profile.label}</td> + <td class="html-adjust">{$form.honoree_profile.html}</td> </tr> </table> <table class="form-layout-compressed"> <tr class="crm-contribution-contributionpage-settings-form-block-is_confirm_enabled"> <td> </td> - <td>{$form.is_confirm_enabled.html} {$form.is_confirm_enabled.label}<br /> - <span class="description">{ts}If you disable this contributions will be processed immediately after submitting the contribution form.{/ts}</span></td> + <td>{$form.is_confirm_enabled.html} {$form.is_confirm_enabled.label} {help id="id-is_confirm_enabled"}</td> </tr> <tr class="crm-contribution-contributionpage-settings-form-block-is_share"> <td> </td> diff --git a/civicrm/templates/CRM/Contribute/Form/ContributionPage/Widget.tpl b/civicrm/templates/CRM/Contribute/Form/ContributionPage/Widget.tpl index 9ae6af80260c697be87ceb83ac07eda5bc8f9df9..7650bf15ad634cd92c2c89d140cdf4eb35a942b6 100644 --- a/civicrm/templates/CRM/Contribute/Form/ContributionPage/Widget.tpl +++ b/civicrm/templates/CRM/Contribute/Form/ContributionPage/Widget.tpl @@ -27,13 +27,22 @@ <div id="widgetFields"> <table class="form-layout-compressed"> - <tr class="crm-contribution-contributionpage-widget-form-block-title"><td class="label">{$form.title.label}<span class="crm-marker"> *</span></td><td>{$form.title.html}</td></tr> - <tr class="crm-contribution-form-block-url_logo"><td class="label">{$form.url_logo.label}</span></td><td>{$form.url_logo.html}</td></tr> - <tr class="crm-contribution-contributionpage-widget-form-block-button_title"><td class="label">{$form.button_title.label}</td><td>{$form.button_title.html}</td></tr> - <tr class="crm-contribution-contributionpage-widget-form-block-about"><td class="label">{$form.about.label}<span class="crm-marker"> *</span></td><td>{$form.about.html} -<br /><span class="description">{ts}Enter content for the about message. You may include HTML formatting tags. You can also include images, as long as they are already uploaded to a server—reference them using complete URLs.{/ts}</span> -</td></tr> - + <tr class="crm-contribution-contributionpage-widget-form-block-title"> + <td class="label">{$form.title.label}<span class="crm-marker"> *</span></td> + <td>{$form.title.html}</td> + </tr> + <tr class="crm-contribution-form-block-url_logo"> + <td class="label">{$form.url_logo.label}</span></td> + <td>{$form.url_logo.html}</td> + </tr> + <tr class="crm-contribution-contributionpage-widget-form-block-button_title"> + <td class="label">{$form.button_title.label}</td> + <td>{$form.button_title.html}</td> + </tr> + <tr class="crm-contribution-contributionpage-widget-form-block-about"> + <td class="label">{$form.about.label}<span class="crm-marker"> *</span></td> + <td>{$form.about.html}</td> + </tr> </table> <div id="id-get_code"> diff --git a/civicrm/templates/CRM/Contribute/Form/ContributionView.tpl b/civicrm/templates/CRM/Contribute/Form/ContributionView.tpl index fbfb9e4a1ffcf3728570442d49e3912990886086..24a58ca8ef363e06b151d11a00ca80423d8a9969 100644 --- a/civicrm/templates/CRM/Contribute/Form/ContributionView.tpl +++ b/civicrm/templates/CRM/Contribute/Form/ContributionView.tpl @@ -28,12 +28,12 @@ <td>{$financial_type}{if $is_test} {ts}(test){/ts} {/if}</td> </tr> <tr class="crm-contribution-form-block-source"> - <td class="label">{ts}Source{/ts}</td> + <td class="label">{ts}Contribution Source{/ts}</td> <td>{$source}</td> </tr> {if empty($is_template)} <tr class="crm-contribution-form-block-receive_date"> - <td class="label">{ts}Received{/ts}</td> + <td class="label">{ts}Contribution Date{/ts}</td> <td>{if $receive_date}{$receive_date|crmDate}{else}({ts}not available{/ts}){/if}</td> </tr> {/if} diff --git a/civicrm/templates/CRM/Contribute/Form/PaymentInfoBlock.tpl b/civicrm/templates/CRM/Contribute/Form/PaymentInfoBlock.tpl index b08f74aa3942f48ff3cfb3d8d417a54eaf27f5ab..df446c979a4d600b83c4eb328c774facdcc48d04 100644 --- a/civicrm/templates/CRM/Contribute/Form/PaymentInfoBlock.tpl +++ b/civicrm/templates/CRM/Contribute/Form/PaymentInfoBlock.tpl @@ -14,7 +14,7 @@ <th>{ts}Amount{/ts}</th> <th>{ts}Type{/ts}</th> <th>{ts}Payment Method{/ts}</th> - <th>{ts}Received{/ts}</th> + <th>{ts}Contribution Date{/ts}</th> <th>{ts}Transaction ID{/ts}</th> <th>{ts}Status{/ts}</th> <th></th> diff --git a/civicrm/templates/CRM/Contribute/Form/Task/Print.tpl b/civicrm/templates/CRM/Contribute/Form/Task/Print.tpl index 6625f15eaa67a619a476b004ef361dc230228d96..9e9e20522ecffb095161f97991ab7e36eca0e7e3 100644 --- a/civicrm/templates/CRM/Contribute/Form/Task/Print.tpl +++ b/civicrm/templates/CRM/Contribute/Form/Task/Print.tpl @@ -21,8 +21,8 @@ <th>{ts}Name{/ts}</th> <th>{ts}Amount{/ts}</th> <th>{ts}Type{/ts}</th> - <th>{ts}Source{/ts}</th> - <th>{ts}Received{/ts}</th> + <th>{ts}Contribution Source{/ts}</th> + <th>{ts}Contribution Date{/ts}</th> <th>{ts}Thank-you Sent{/ts}</th> <th>{ts}Status{/ts}</th> <th>{ts}Premium{/ts}</th> diff --git a/civicrm/templates/CRM/Contribute/Form/Task/Status.tpl b/civicrm/templates/CRM/Contribute/Form/Task/Status.tpl index 9d16b90aeb7f2741d9e6b1c8932c838042a6ef8d..2bbcf637547d17a822048e53ffef84b276bb38d7 100644 --- a/civicrm/templates/CRM/Contribute/Form/Task/Status.tpl +++ b/civicrm/templates/CRM/Contribute/Form/Task/Status.tpl @@ -26,7 +26,7 @@ <tr class="columnheader"> <th>{ts}Name{/ts}</th> <th class="right">{ts}Amount{/ts} </th> - <th>{ts}Source{/ts}</th> + <th>{ts}Contribution Source{/ts}</th> <th>{ts}Fee Amount{/ts}</th> <th>{ts}Payment Method{/ts}</th> <th>{ts}Check{/ts} #</th> diff --git a/civicrm/templates/CRM/Contribute/Import/Form/DataSource.hlp b/civicrm/templates/CRM/Contribute/Import/Form/DataSource.hlp index d63dd0b0b8437f8186002074e78c9719ee709985..8d46b129bf17eb75045598b3b479206c61640503 100644 --- a/civicrm/templates/CRM/Contribute/Import/Form/DataSource.hlp +++ b/civicrm/templates/CRM/Contribute/Import/Form/DataSource.hlp @@ -7,27 +7,10 @@ | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} -{htxt id='upload-title'} - {ts}Import File Format{/ts} +{htxt id="dupes-title"} + {ts}Matching to Contributions for Inserts and Updates{/ts} {/htxt} -{htxt id='upload'} - <p>{ts}Files to be imported must be in the 'comma-separated-values' format (CSV). Most applications will allow you to export records in CSV format. Consult the documentation for your application if you're not sure how to do this.{/ts}</p> -<h1>{ts}Contact Records for Contributors{/ts}</h1> - <p>{ts}Contribution import requires that the Contributors already exist as contact records in your CiviCRM database. If you need to import contributions for contributors who haven't been added to CiviCRM yet, you will do this in 2 steps. First, use <strong>Import Contacts</strong> to add the contact records. If possible, include a unique 'External ID' for each new contact which you can then use to match contributions to contributors. Then return to this screen and import the contribution records.{/ts}</p> -<h1>{ts}Matching Contributions to Contributors{/ts}</h1> - <p>{ts}Contribution import files must contain data needed to <strong>match the contribution to the contributor</strong>. This 'matching' can be handled in several different ways:{/ts}</p> - <ul> - <li>{ts}Include the data fields used for contact 'matching' based on your configured <strong>Unsupervised Duplicate Matching</strong> rules. For the default duplicate matching rules, you would include a column in each row with the contributors' Email Address.{/ts}</li> - <li>{ts}If you've stored a unique <strong>External Identifier</strong> for each contact in CiviCRM, you can include that value as a column in your import file. Contributions will then be matched to contributors using their External ID.{/ts}</li> - <li>{ts}You can include a column with each contributor's <strong>Internal Contact ID</strong>. This is the unique ID assigned by CiviCRM which is displayed at the bottom of the Contact Summary screen and can be exported.{/ts}</li> - </ul> - <p>{ts}Save the CSV file with your contributions and 'contact matching' data to your local hard drive (or an accessible drive on your network). Now you are ready for step 1 (Upload Data).{/ts}</p> -{/htxt} - -{htxt id="id-onDuplicate-title"} - {ts}Matching to Contacts for Inserts and Updates{/ts} -{/htxt} -{htxt id="id-onDuplicate"} +{htxt id="dupes"} <p>{ts}For each import, you can either INSERT new contribution records, or UPDATE existing records. You can not do both types of operations in a single import session.{/ts}</p> <p>{ts}If you are INSERTING new contributions, you will need to include a column in your data file containing the values used to link the contribution to an existing contact. You can use the 'Internal Contact ID', an 'External Identifier' (if you are using those in your contact records), OR the property defined in your Unsupervised Duplicate Matching rule (which is Email Address by default).{/ts}</p> <p>{ts}If you are UPDATING existing contributions, you will need to include a unique identifier to match to the existing contribution record. This can be either the CiviCRM-assigned contribution ID, a unique Invoice ID, or a unique Transaction ID.{/ts}</p> diff --git a/civicrm/templates/CRM/Contribute/Page/ContributionRecurPayments.tpl b/civicrm/templates/CRM/Contribute/Page/ContributionRecurPayments.tpl index 8867ffe409e5252411cc57152c822281f549bb47..4934bd1665c91c5b2887afd772cdbf4004a7025a 100644 --- a/civicrm/templates/CRM/Contribute/Page/ContributionRecurPayments.tpl +++ b/civicrm/templates/CRM/Contribute/Page/ContributionRecurPayments.tpl @@ -8,7 +8,7 @@ <th class='crm-contact-total_amount'>{ts}Amount{/ts}</th> <th class='crm-contact-financial_type_id'>{ts}Type{/ts}</th> <th class='crm-contact-contribution_source'>{ts}Source{/ts}</th> - <th class='crm-contact-receive_date'>{ts}Received{/ts}</th> + <th class='crm-contact-receive_date'>{ts}Contribution Date{/ts}</th> <th class='crm-contact-thankyou_date'>{ts}Thank-you Sent{/ts}</th> <th class='crm-contact-contribution_status'>{ts}Status{/ts}</th> <th> </th> diff --git a/civicrm/templates/CRM/Contribute/Page/ContributionRecurSelector.tpl b/civicrm/templates/CRM/Contribute/Page/ContributionRecurSelector.tpl index 22cdeeaa1172abf851f56c0b8475751e7e7e1f78..2982db1ba892c2a74f64ece890057183b790faac 100644 --- a/civicrm/templates/CRM/Contribute/Page/ContributionRecurSelector.tpl +++ b/civicrm/templates/CRM/Contribute/Page/ContributionRecurSelector.tpl @@ -13,7 +13,12 @@ <tr class="columnheader"> <th scope="col">{ts}Amount{/ts}</th> <th scope="col">{ts}Frequency{/ts}</th> - <th scope="col">{ts}Start Date{/ts}</th> + <th scope="col"> + {if $recurType EQ 'active'}{ts}Next Scheduled Date{/ts} + {elseif $recurType EQ 'inactive'}{ts}End or Modified Date{/ts} + {else}{ts}Start Date{/ts} + {/if} + </th> <th scope="col">{ts}Installments{/ts}</th> <th scope="col">{ts}Payment Processor{/ts}</th> <th scope="col">{ts}Status{/ts}</th> @@ -25,7 +30,16 @@ <tr id="contribution_recur-{$row.id}" data-action="cancel" class="crm-entity {cycle values="even-row,odd-row"}{if NOT $row.is_active} disabled{/if}"> <td>{$row.amount|crmMoney:$row.currency}{if $row.is_test} ({ts}test{/ts}){/if}</td> <td>{ts}Every{/ts} {$row.frequency_interval} {$row.frequency_unit} </td> - <td>{$row.start_date|crmDate}</td> + <td> + {if $recurType EQ 'active'}{$row.next_sched_contribution_date|crmDate} + {elseif $recurType EQ 'inactive'} + {if $row.cancel_date}{$row.cancel_date|crmDate} + {elseif $row.end_date}{$row.end_date|crmDate} + {else}{$row.modified_date|crmDate} + {/if} + {else}{$row.start_date|crmDate} + {/if} + </td> <td>{$row.installments}</td> <td>{$row.payment_processor}</td> <td>{$row.contribution_status}</td> diff --git a/civicrm/templates/CRM/Contribute/Page/ContributionSoft.tpl b/civicrm/templates/CRM/Contribute/Page/ContributionSoft.tpl index 7167f6c160c2e8b6d917dd8e017b748640a0555e..4720d726edbfc6caa50c7f86012bd5a6ec795b6f 100644 --- a/civicrm/templates/CRM/Contribute/Page/ContributionSoft.tpl +++ b/civicrm/templates/CRM/Contribute/Page/ContributionSoft.tpl @@ -22,7 +22,7 @@ <th data-data="amount">{ts}Amount{/ts}</th> <th data-data="sct_label">{ts}Type{/ts}</th> <th data-data="financial_type">{ts}Financial Type{/ts}</th> - <th data-data="receive_date" class="sorting_desc">{ts}Received{/ts}</th> + <th data-data="receive_date" class="sorting_desc">{ts}Contribution Date{/ts}</th> <th data-data="contribution_status">{ts}Status{/ts}</th> <th data-data="pcp_title">{ts}Personal Campaign Page?{/ts}</th> <th data-data="links" data-orderable="false"> </th> diff --git a/civicrm/templates/CRM/Contribute/Page/Tab.tpl b/civicrm/templates/CRM/Contribute/Page/Tab.tpl index b02d5d4958c0a862cee02487b995463860d9102b..d6bb73696e8da836102e5a9c3d70dc718b18cbb2 100644 --- a/civicrm/templates/CRM/Contribute/Page/Tab.tpl +++ b/civicrm/templates/CRM/Contribute/Page/Tab.tpl @@ -79,11 +79,11 @@ {if $recur} <div class="crm-block crm-contact-contribute-recur crm-contact-contribute-recur-active"> <h3>{ts}Active Recurring Contributions{/ts}</h3> - {include file="CRM/Contribute/Page/ContributionRecurSelector.tpl" recurRows=$activeRecurRows} + {include file="CRM/Contribute/Page/ContributionRecurSelector.tpl" recurRows=$activeRecurRows recurType='active'} </div> <div class="crm-block crm-contact-contribute-recur crm-contact-contribute-recur-inactive"> <h3>{ts}Inactive Recurring Contributions{/ts}</h3> - {include file="CRM/Contribute/Page/ContributionRecurSelector.tpl" recurRows=$inactiveRecurRows} + {include file="CRM/Contribute/Page/ContributionRecurSelector.tpl" recurRows=$inactiveRecurRows recurType='inactive'} </div> {/if} </div> diff --git a/civicrm/templates/CRM/Contribute/Page/UserDashboard.tpl b/civicrm/templates/CRM/Contribute/Page/UserDashboard.tpl index ec1c9e6559320bc1193945ae60d8afa76ce5440b..28ea5e4a7e5c6c5c2cb28b817cd0bfab1a0b458a 100644 --- a/civicrm/templates/CRM/Contribute/Page/UserDashboard.tpl +++ b/civicrm/templates/CRM/Contribute/Page/UserDashboard.tpl @@ -16,7 +16,7 @@ <tr class="columnheader"> <th>{ts}Total Amount{/ts}</th> <th>{ts}Financial Type{/ts}</th> - <th>{ts}Received date{/ts}</th> + <th>{ts}Contribution Date{/ts}</th> <th>{ts}Receipt Sent{/ts}</th> <th>{ts}Balance{/ts}</th> <th>{ts}Status{/ts}</th> @@ -91,7 +91,7 @@ <th>{ts}Amount{/ts}</th> <th>{ts}Type{/ts}</th> <th>{ts}Financial Type{/ts}</th> - <th>{ts}Received date{/ts}</th> + <th>{ts}Contribution Date{/ts}</th> <th>{ts}Receipt Sent{/ts}</th> <th>{ts}Status{/ts}</th> </tr> diff --git a/civicrm/templates/CRM/Custom/Form/Field.tpl b/civicrm/templates/CRM/Custom/Form/Field.tpl index 184d63079a348341041b2ebf1b216b75aa6c68f9..7ed7436ceabea472da0ab8de38458a5c08ef6b45 100644 --- a/civicrm/templates/CRM/Custom/Form/Field.tpl +++ b/civicrm/templates/CRM/Custom/Form/Field.tpl @@ -216,6 +216,9 @@ if (htmlType === 'CheckBox' || htmlType === 'Radio') { $('#serialize', $form).prop('checked', htmlType === 'CheckBox'); } + else { + $("#options_per_line", $form).val(''); + } showSearchRange(dataType); customOptionHtmlType(dataType); diff --git a/civicrm/templates/CRM/Custom/Page/CustomDataView.tpl b/civicrm/templates/CRM/Custom/Page/CustomDataView.tpl index 9b392f7a78d274d9c4bb3cad21932d936faf14ba..cc50ccf2f618a8e781240fc9b55a4bf6ec89981a 100644 --- a/civicrm/templates/CRM/Custom/Page/CustomDataView.tpl +++ b/civicrm/templates/CRM/Custom/Page/CustomDataView.tpl @@ -69,8 +69,6 @@ {else} {if $element.field_data_type EQ 'ContactReference' && $element.contact_ref_links} {', '|implode:$element.contact_ref_links} - {elseif $element.field_data_type == 'Memo'} - {$element.field_value|nl2br} {else} {$element.field_value} {/if} @@ -123,8 +121,6 @@ <div class="content"> {if $element.field_data_type EQ 'ContactReference' && $element.contact_ref_links} {', '|implode:$element.contact_ref_links} - {elseif $element.field_data_type == 'Memo'} - {if $element.field_value}{$element.field_value|nl2br}{else}<br/>{/if} {else} {if $element.field_value}{$element.field_value} {else}<br/>{/if} {/if} diff --git a/civicrm/templates/CRM/Event/Form/EventFees.tpl b/civicrm/templates/CRM/Event/Form/EventFees.tpl index a82fa8b2f44fcfd56f7df3620172df892c36604b..23f4403dd577ea80e7f47e0d7301f60427abae74 100644 --- a/civicrm/templates/CRM/Event/Form/EventFees.tpl +++ b/civicrm/templates/CRM/Event/Form/EventFees.tpl @@ -56,9 +56,7 @@ {assign var=isShowBillingBlock value=true} <tr class="crm-event-eventfees-form-block-record_contribution"> <td class="label">{$form.record_contribution.label}</td> - <td>{$form.record_contribution.html}<br /> - <span class="description">{ts}Check this box to enter payment information. You will also be able to generate a customized receipt.{/ts}</span> - </td> + <td>{$form.record_contribution.html}</td> </tr> <tr id="payment_information" class="crm-event-eventfees-form-block-payment_information"> <td class ='html-adjust' colspan=2> @@ -66,7 +64,7 @@ <table id="recordContribution" class="form-layout" style="width:auto;"> <tr class="crm-event-eventfees-form-block-financial_type_id"> <td class="label">{$form.financial_type_id.label}<span class="crm-marker"> *</span></td> - <td>{$form.financial_type_id.html}<br /><span class="description">{ts}Select the appropriate financial type for this payment.{/ts}</span></td> + <td>{$form.financial_type_id.html}</td> </tr> <tr class="crm-event-eventfees-form-block-total_amount"><td class="label">{$form.total_amount.label}</td><td>{$form.total_amount.html}</td></tr> <tr> @@ -96,11 +94,13 @@ <table class="form-layout" style="width:auto;"> <tr class="crm-event-eventfees-form-block-send_receipt"> <td class="label">{if $paid}{ts}Send Confirmation and Receipt{/ts}{else}{ts}Send Confirmation{/ts}{/if}</td> - <td>{$form.send_receipt.html}<br> - {if $paid} - <span class="description">{ts 1=$email}Automatically email a confirmation and receipt to %1?{/ts}</span></td> - {else} - <span class="description">{ts 1=$email}Automatically email a confirmation to %1?{/ts}</span></td> + <td>{$form.send_receipt.html} + {if $email} + {if $paid} + <span class="description">{ts 1=$email}Automatically email a confirmation and receipt to %1?{/ts}</span></td> + {else} + <span class="description">{ts 1=$email}Automatically email a confirmation to %1?{/ts}</span></td> + {/if} {/if} </tr> <tr id="from-email" class="crm-event-eventfees-form-block-from_email_address"> @@ -109,10 +109,10 @@ </tr> <tr id='notice' class="crm-event-eventfees-form-block-receipt_text"> <td class="label">{$form.receipt_text.label}</td> - <td><span class="description"> - {ts}Enter a message you want included at the beginning of the confirmation email. EXAMPLE: 'Thanks for registering for this event.'{/ts} - </span><br /> - {$form.receipt_text.html|crmAddClass:huge} + <td>{$form.receipt_text.html|crmAddClass:huge}<br /> + <span class="description"> + {ts}Enter a message you want included at the beginning of the confirmation email.{/ts} + </span> </td> </tr> </table> @@ -122,7 +122,7 @@ <table class="form-layout" style="width:auto;"> <tr class="crm-event-eventfees-form-block-send_receipt"> <td class="label">{if $paid}{ts}Send Confirmation and Receipt{/ts}{else}{ts}Send Confirmation{/ts}{/if}</td> - <td>{$form.send_receipt.html}<br> + <td>{$form.send_receipt.html} {if $paid} <span class="description">{ts 1='<span id="email-address"></span>'}Automatically email a confirmation and receipt to %1?{/ts}</span> {else} @@ -136,10 +136,11 @@ </tr> <tr id='notice' class="crm-event-eventfees-form-block-receipt_text"> <td class="label">{$form.receipt_text.label}</td> - <td><span class="description"> - {ts}Enter a message you want included at the beginning of the confirmation email. EXAMPLE: 'Thanks for registering for this event.'{/ts} - </span><br /> - {$form.receipt_text.html|crmAddClass:huge}</td> + <td>{$form.receipt_text.html|crmAddClass:huge}<br /> + <span class="description"> + {ts}Enter a message you want included at the beginning of the confirmation email.{/ts} + </span> + </td> </tr> </table> </fieldset> diff --git a/civicrm/templates/CRM/Event/Form/ManageEvent/EventInfo.tpl b/civicrm/templates/CRM/Event/Form/ManageEvent/EventInfo.tpl index 5bb6b6a706d5bd1d22fb07352842a34fee2412a1..6bf6490c3716364ea41f36caf40c42770d9da4f1 100644 --- a/civicrm/templates/CRM/Event/Form/ManageEvent/EventInfo.tpl +++ b/civicrm/templates/CRM/Event/Form/ManageEvent/EventInfo.tpl @@ -47,9 +47,7 @@ </tr> <tr class="crm-event-manage-eventinfo-form-block-title"> <td class="label">{$form.title.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='title' id=$eventID}{/if}</td> - <td>{$form.title.html}<br /> - <span class="description"> {ts}Please use only alphanumeric, spaces, hyphens and dashes for event names.{/ts} - </span></td> + <td>{$form.title.html}</td> </tr> <tr class="crm-event-manage-eventinfo-form-block-summary"> <td class="label">{$form.summary.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='summary' id=$eventID}{/if}</td> @@ -91,7 +89,7 @@ </tr> <tr id="id-waitlist-text" class="crm-event-manage-eventinfo-form-block-waitlist_text"> {if !empty($form.waitlist_text)} - <td class="label">{$form.waitlist_text.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='waitlist_text' id=$eventID}{/if}<br />{help id="id-help-waitlist_text"}</td> + <td class="label">{$form.waitlist_text.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='waitlist_text' id=$eventID} {/if}{help id="id-help-waitlist_text"}</td> <td>{$form.waitlist_text.html}</td> {/if} </tr> @@ -112,7 +110,7 @@ <td>{$form.is_active.html} {$form.is_active.label}</td> </tr> - {if $eventID} + {if $eventID AND !$isTemplate} <tr class="crm-event-manage-eventinfo-form-block-info_link"> <td> </td> <td class="description"> diff --git a/civicrm/templates/CRM/Event/Form/ManageEvent/Fee.hlp b/civicrm/templates/CRM/Event/Form/ManageEvent/Fee.hlp new file mode 100644 index 0000000000000000000000000000000000000000..0c43e04fc06aa7a7f3d58d02934a2a9d963cf7a0 --- /dev/null +++ b/civicrm/templates/CRM/Event/Form/ManageEvent/Fee.hlp @@ -0,0 +1,44 @@ +{* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ +*} +{htxt id="id-payment_processor-title"} + {ts}Payment Processor{/ts} +{/htxt} +{htxt id="id-payment_processor-text"} + {ts}If this is a paid event and you want users to be able to register and pay online, select a payment processor to use.{/ts} +{ts}NOTE: Alternatively, you can enable the <strong>Pay Later</strong> feature below without setting up a payment processor. All users will then be asked to submit payment offline (e.g. mail in a check, call in a credit card, etc.).{/ts} {docURL page="user/contributions/payment-processors"} +{/htxt} + +{htxt id="id-pay-later-text-title"} + {ts}Pay Later Label{/ts} +{/htxt} +{htxt id="id-pay-later-text"} +{ts}Text displayed next to the checkbox for the 'pay later' option on the contribution form. You may include HTML formatting tags.{/ts} +{/htxt} + +{htxt id="id-is_billing_required-title"} + {ts}Billing address required{/ts} +{/htxt} +{htxt id="id-is_billing_required"} +{ts}Check this box to require users who select the pay later option to provide billing name and address.{/ts} +{/htxt} + +{htxt id="id-is-discount-title"} + {ts}Discounts by Signup Date?{/ts} +{/htxt} +{htxt id="id-is-discount"} + {ts}This financial type will be assigned to payments made by participants when they register online. If using a price set below note that the contribution record will have this financial type, however line items will be processed using the actual financial type selected for the price set item.{/ts} +{/htxt} + +{htxt id="id-financial_type_id-title"} + {ts}Financial Type{/ts} +{/htxt} +{htxt id="id-financial_type_id"} +{ts}Check this box if you want to offer discounted fees based on registration date (e.g. 'early-registration discounts').{/ts} +{/htxt} diff --git a/civicrm/templates/CRM/Event/Form/ManageEvent/Fee.tpl b/civicrm/templates/CRM/Event/Form/ManageEvent/Fee.tpl index 45abb521a64c9133622c82b3141b658f866accf4..4f851530f0bebdd7c8458efadfd4dc04c18ed4c3 100644 --- a/civicrm/templates/CRM/Event/Form/ManageEvent/Fee.tpl +++ b/civicrm/templates/CRM/Event/Form/ManageEvent/Fee.tpl @@ -36,61 +36,48 @@ <table id="currency" class="form-layout"> <tr class='crm-event-manage-fee-form-block-currency'> <td class="label">{$form.currency.label}</td> - <td>{$form.currency.html}<br /> - <span class="description">{ts}Select the currency to be used for event registration.{/ts}</span> - </td> + <td>{$form.currency.html}</td> </tr> </table> {if $paymentProcessor} <table id="paymentProcessor" class="form-layout"> <tr class="crm-event-manage-fee-form-block-payment_processor"> - <td class="label">{$form.payment_processor.label}</td> + <td class="label">{$form.payment_processor.label} {help id="id-payment_processor-text"}</td> <td>{$form.payment_processor.html}</td> </tr> - <tr> - <td class=""> </td> - <td class="description"> - {ts}If this is a paid event and you want users to be able to register and pay online, select a payment processor to use.{/ts} - {ts}NOTE: Alternatively, you can enable the <strong>Pay Later</strong> feature below without setting up a payment processor. All users will then be asked to submit payment offline (e.g. mail in a check, call in a credit card, etc.).{/ts} {docURL page="user/contributions/payment-processors"}<td> - </tr> </table> {/if} <table id="payLater" class="form-layout"> <tr class="crm-event-manage-fee-form-block-is_pay_later"> - <td class="extra-long-fourty label">{$form.is_pay_later.html}</td> - <td>{$form.is_pay_later.label}<br /> + <td class="label">{$form.is_pay_later.label}</td> + <td>{$form.is_pay_later.html} <span class="description">{ts}Check this box if you want to give users the option to submit payment offline (e.g. mail in a check, call in a credit card, etc.).{/ts}</span> </td> </tr> - </table> - - <table id="payLaterOptions" class="form-layout"> - <tr class="crm-event-manage-fee-form-block-pay_later_text"> - <td class="label">{$form.pay_later_text.label}<span class="crm-marker"> *</span> </td> - <td>{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='pay_later_text' id=$id}{/if}{$form.pay_later_text.html|crmAddClass:big} - </td> - </tr> - <tr> - <td> </td> - <td class="description">{ts}Text displayed next to the checkbox for the 'pay later' option on the contribution form. You may include HTML formatting tags.{/ts}</td> - </tr> - <tr class="crm-event-manage-fee-form-block-pay_later_receipt"> - <td class="label">{$form.pay_later_receipt.label}<span class="crm-marker"> *</span> </td> - <td>{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='pay_later_receipt' id=$id}{/if}{$form.pay_later_receipt.html|crmAddClass:big} - </td> - </tr> - <tr> - <td> </td> - <td class="description">{ts}Instructions added to Confirmation and Thank-you pages when the user selects the 'pay later' option (e.g. 'Mail your check to ... within 3 business days.').{/ts} - </td> - </tr> <tr> - <td class="extra-long-fourty label">{$form.is_billing_required.html}</td> - <td> - {$form.is_billing_required.label}<br /> - <span class="description">{ts}Check this box to require users who select the pay later option to provide billing name and address.{/ts}</span> - </td> + <td> </td> + <td> + <table id="payLaterOptions" class="form-layout"> + <tr class="crm-event-manage-fee-form-block-pay_later_text"> + <td class="label">{$form.pay_later_text.label} + <span class="crm-marker"> *</span> {help id="id-pay-later-text"}</td> + <td>{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='pay_later_text' id=$id}{/if} + {$form.pay_later_text.html|crmAddClass:big} + </td> + </tr> + <tr class="crm-event-manage-fee-form-block-pay_later_receipt"> + <td class="label">{$form.pay_later_receipt.label}<span class="crm-marker"> *</span> </td> + <td>{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='pay_later_receipt' id=$id}{/if} + {$form.pay_later_receipt.html|crmAddClass:big} + </td> + </tr> + <tr> + <td class="label">{$form.is_billing_required.label} {help id="id-is_billing_required"}</td> + <td>{$form.is_billing_required.html}</td> + </tr> + </table> + </td> </tr> </table> @@ -101,36 +88,17 @@ <td>{if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='fee_label' id=$id}{/if}{$form.fee_label.html} </td> </tr> - <tr> - <td> </td> - <td class="description">{ts}This label is displayed with the list of event fees. When using a Price Set, this label is the title for the section containing the price fields.{/ts} - </td> - </tr> <tr class="crm-event-manage-fee-form-block-financial_type_id"> - <td class="label">{$form.financial_type_id.label}<span class="crm-marker"> *</span></td> + <td class="label">{$form.financial_type_id.label}<span class="crm-marker"> *</span> {help id="id-financial_type_id"}</td> <td>{$form.financial_type_id.html}</td> </tr> - <tr> - <td> </td> - <td class="description">{ts}This financial type will be assigned to payments made by participants when they register online. If using a price set below note that the contribution record will have this financial type, however line items will be processed using the actual financial type selected for the price set item.{/ts} - </td> - </tr> </table> <table id="priceSet" class="form-layout"> <tr class="crm-event-manage-fee-form-block-price_set_id"> <td class="label">{$form.price_set_id.label}</td> - <td>{if $price eq false} - <div class="status message">{ts 1=$adminPriceSets}No Price Set has been configured / enabled for your site. Price sets allow you to meet the complex demands of your event registration structure.(e.g. "Pay $15 more for lunch."). Click <a href='%1'>here</a> if you want to configure price sets for your site.{/ts}</div> - {else} - {$form.price_set_id.html} - </td> - </tr> - <tr> - <td> </td> - <td class="description">{ts 1=$adminPriceSets}Select a pre-configured Price Set to offer multiple individually priced options for event registrants. Otherwise, select "-none-" and enter one or more fee levels in the table below. Create or edit Price Sets <a href='%1'>here</a>.{/ts} - {/if} - </td> + <td>{$form.price_set_id.html} + <div class="description">{ts}Select a Price Set to offer multiple individually priced options for event registrants. Otherwise, leave this empty and enter fixed fee levels below.{/ts}</div></td> </tr> </table> @@ -154,9 +122,8 @@ <div id="isDiscount"> <table class="form-layout"> <tr class="crm-event-manage-fee-form-block-is_discount"> - <td class="extra-long-fourty label">{$form.is_discount.html}</td> - <td>{$form.is_discount.label}<br /><span class="description">{ts}Check this box if you want to offer discounted fees based on registration date (e.g. 'early-registration discounts').{/ts}</span> - </td> + <td class="label">{$form.is_discount.label}</td> + <td>{$form.is_discount.html} {help id="id-is-discount"}</td> </tr> </table> </div> @@ -189,7 +156,6 @@ {if $discountSection} <fieldset id="map-field"><legend>{ts}Discounted Fees{/ts}</legend> - <span class="description">{ts}Use the table below to enter descriptive labels and amounts for up to ten discounted event fees for each discount set. <strong>Don't forget to click 'Save' when you are finished.</strong>{/ts}</span> <table id="map-field-table"> <tr class="columnheader"> <td scope="column">{ts}Fee Label{/ts}</td> diff --git a/civicrm/templates/CRM/Event/Form/ManageEvent/Registration.hlp b/civicrm/templates/CRM/Event/Form/ManageEvent/Registration.hlp index d7aeb150393ce4c74242df2f794e494cf1f42798..3224f47a741d20593eba8a68a7338acacccd6cad 100644 --- a/civicrm/templates/CRM/Event/Form/ManageEvent/Registration.hlp +++ b/civicrm/templates/CRM/Event/Form/ManageEvent/Registration.hlp @@ -1,4 +1,4 @@ -{* +{* +--------------------------------------------------------------------+ | Copyright CiviCRM LLC. All rights reserved. | | | @@ -94,3 +94,24 @@ {htxt id="id-selfcancelxfer_time"} {ts}Number of hours prior to event start date to allow self-service cancellation or transfer. Enter a negative number of hours to allow cancellation after the event starts. Enter 0 (or leave empty) to allow cancellation or transfer up until the event has started.{/ts} {/htxt} + +{htxt id="id-is_email_confirm-title"} + {ts}Send Confirmation Email?{/ts} +{/htxt} +{htxt id="id-is_email_confirm"} + {ts}Do you want a registration confirmation email sent automatically to the user? This email includes event date(s), location and contact information. For paid events, this email is also a receipt for their payment.{/ts} +{/htxt} + +{htxt id="id-cc_confirm-title"} + {ts}CC Confirmation To{/ts} +{/htxt} +{htxt id="id-cc_confirm"} + {ts}You can notify event organizers of each online registration by specifying one or more email addresses to receive a carbon copy (cc). Multiple email addresses should be separated by a comma (e.g. jane@example.org, paula@example.org).{/ts} +{/htxt} + +{htxt id="id-bcc_confirm-title"} + {ts}BCC Confirmation To{/ts} +{/htxt} +{htxt id="id-bcc_confirm"} + {ts}You may specify one or more email addresses to receive a blind carbon copy (bcc) of the confirmation email. Multiple email addresses should be separated by a comma (e.g. jane@example.org, paula@example.org).{/ts} +{/htxt} diff --git a/civicrm/templates/CRM/Event/Form/ManageEvent/Registration.tpl b/civicrm/templates/CRM/Event/Form/ManageEvent/Registration.tpl index 946aaa4ebf646996b8ccdb00b8277b852d1c6242..e18847aec75813d68e509e0dce0daf97baa54498 100644 --- a/civicrm/templates/CRM/Event/Form/ManageEvent/Registration.tpl +++ b/civicrm/templates/CRM/Event/Form/ManageEvent/Registration.tpl @@ -8,19 +8,14 @@ +--------------------------------------------------------------------+ *} {if $addProfileBottomAdd OR $addProfileBottom} - <td scope="row" class="label" - width="20%">{if $addProfileBottomAdd }{$form.additional_custom_post_id_multiple[$profileBottomNumAdd].label} + <td scope="row" class="label" width="20%"> + {if $addProfileBottomAdd }{$form.additional_custom_post_id_multiple[$profileBottomNumAdd].label} {else}{$form.custom_post_id_multiple[$profileBottomNum].label}{/if}</td> - <td>{if $addProfileBottomAdd }{$form.additional_custom_post_id_multiple[$profileBottomNumAdd].html}{else}{$form.custom_post_id_multiple[$profileBottomNum].html}{/if} + <td> + {if $addProfileBottomAdd}{$form.additional_custom_post_id_multiple[$profileBottomNumAdd].html} + {else}{$form.custom_post_id_multiple[$profileBottomNum].html}{/if} <span class='profile_bottom_link_remove'><a href="#" class="crm-hover-button crm-button-rem-profile" data-addtlPartc="{$addProfileBottomAdd}"><i class="crm-i fa-trash" aria-hidden="true"></i> {ts}remove profile{/ts}</a></span> <span class='profile_bottom_link'> <a href="#" class="crm-hover-button crm-button-add-profile"><i class="crm-i fa-plus-circle" aria-hidden="true"></i> {ts}add another profile (bottom of page){/ts}</a></span> - {if $addProfileBottomAdd } - <div - class="description">{ts}Change this if you want to use a different profile for additional participants.{/ts}</div> - {else} - <div - class="description">{ts}Include additional fields on this registration form by selecting and configuring a CiviCRM Profile to be included at the bottom of the page.{/ts}</div> - {/if} <br/><span class="profile-links"></span> </td> {else} @@ -38,9 +33,7 @@ <table class="form-layout"> <tr class="crm-event-manage-registration-form-block-is_online_registration"> <td class="label">{$form.is_online_registration.label}</td> - <td>{$form.is_online_registration.html} - <span class="description">{ts}Online registration enabled?{/ts}</span> - </td> + <td>{$form.is_online_registration.html}</td> </tr> </table> </div> @@ -115,31 +108,22 @@ <tr class="crm-event-manage-registration-form-block-intro_text"> <td scope="row" class="label" width="20%">{$form.intro_text.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='intro_text' id=$eventID}{/if}</td> - <td>{$form.intro_text.html} - <div - class="description">{ts}Introductory message / instructions for online event registration page (may include HTML formatting tags).{/ts}</div> - </td> + <td>{$form.intro_text.html}</td> </tr> <tr class="crm-event-manage-registration-form-block-footer_text"> <td scope="row" class="label" width="20%">{$form.footer_text.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='footer_text' id=$eventID}{/if}</td> - <td>{$form.footer_text.html} - <div class="description">{ts}Optional footer text for registration screen.{/ts}</div> - </td> + <td>{$form.footer_text.html}</td> </tr> </table> <table class="form-layout-compressed"> <tr class="crm-event-manage-registration-form-block-custom_pre_id"> - <td scope="row" class="label" width="20%">{$form.custom_pre_id.label}</td> - <td>{$form.custom_pre_id.html} - <div - class="description">{ts}Include additional fields on this registration form by selecting and configuring a CiviCRM Profile to be included at the top of the page (immediately after the introductory message).{/ts}{help id="event-profile"}</div> - </td> + <td scope="row" class="label" width="20%">{$form.custom_pre_id.label} {help id="event-profile"}</td> + <td>{$form.custom_pre_id.html}</td> </tr> <tr id="profile_post" class="crm-event-manage-registration-form-block-custom_post_id"> <td scope="row" class="label" width="20%">{$form.custom_post_id.label}</td> <td>{$form.custom_post_id.html} - <div class="description">{ts}Include additional fields on this registration form by selecting and configuring a CiviCRM Profile to be included at the bottom of the page.{/ts}</div> <span class='profile_bottom_link_main {if $profilePostMultiple}hiddenElement{/if}'><a href="#" class="crm-hover-button crm-button-add-profile"><i class="crm-i fa-plus-circle" aria-hidden="true"></i> {ts}add another profile (bottom of page){/ts}</a></span> <br/> </td> @@ -174,17 +158,12 @@ <tr id="additional_profile_pre" class="crm-event-manage-registration-form-block-additional_custom_pre_id"> <td scope="row" class="label" width="20%">{$form.additional_custom_pre_id.label}</td> <td>{$form.additional_custom_pre_id.html} - <div - class="description">{ts}Change this if you want to use a different profile for additional participants.{/ts}</div> - <br/><span class="profile-links"></span> + <span class="profile-links"></span> </td> </tr> <tr id="additional_profile_post" class="crm-event-manage-registration-form-block-additional_custom_post_id"> <td scope="row" class="label" width="20%">{$form.additional_custom_post_id.label}</td> <td>{$form.additional_custom_post_id.html} - <div - class="description">{ts}Change this if you want to use a different profile for additional participants.{/ts} - </div> <span class='profile_bottom_add_link_main{if $profilePostMultipleAdd} hiddenElement{/if}'><a href="#" class="crm-hover-button crm-button-add-profile"><i class="crm-i fa-plus-circle" aria-hidden="true"></i> {ts}add another profile (bottom of page){/ts}</a></span> <br/><span class="profile-links"></span> </td> @@ -237,24 +216,17 @@ <td scope="row" class="label" width="20%">{$form.confirm_title.label} <span class="crm-marker">*</span> {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='confirm_title' id=$eventID}{/if} </td> - <td>{$form.confirm_title.html}<br/> - <span - class="description">{ts}Page title for screen where user reviews and confirms their registration information.{/ts}</span> - </td> + <td>{$form.confirm_title.html}</td> </tr> <tr class="crm-event-manage-registration-form-block-confirm_text"> <td scope="row" class="label" width="20%">{$form.confirm_text.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='confirm_text' id=$eventID}{/if}</td> - <td>{$form.confirm_text.html} - <div class="description">{ts}Optional instructions / message for Confirmation screen.{/ts}</div> - </td> + <td>{$form.confirm_text.html}</td> </tr> <tr class="crm-event-manage-registration-form-block-confirm_footer_text"> <td scope="row" class="label" width="20%">{$form.confirm_footer_text.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='confirm_footer_text' id=$eventID}{/if}</td> - <td>{$form.confirm_footer_text.html} - <div class="description">{ts}Optional page footer text for Confirmation screen.{/ts}</div> - </td> + <td>{$form.confirm_footer_text.html}</td> </tr> </table> </div> @@ -268,25 +240,16 @@ <td scope="row" class="label" width="20%">{$form.thankyou_title.label} <span class="crm-marker">*</span> {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='thankyou_title' id=$eventID}{/if} </td> - <td>{$form.thankyou_title.html} - <div class="description">{ts}Page title for registration Thank-you screen.{/ts}</div> - </td> + <td>{$form.thankyou_title.html}</td> </tr> <tr class="crm-event-manage-registration-form-block-confirm_thankyou_text"> - <td scope="row" class="label" - width="20%">{$form.thankyou_text.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='thankyou_text' id=$eventID}{/if}</td> - <td>{$form.thankyou_text.html} - <div - class="description">{ts}Optional message for Thank-you screen (may include HTML formatting).{/ts}</div> - </td> + <td scope="row" class="label" width="20%">{$form.thankyou_text.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='thankyou_text' id=$eventID}{/if}</td> + <td>{$form.thankyou_text.html}</td> </tr> <tr class="crm-event-manage-registration-form-block-confirm_thankyou_footer_text"> <td scope="row" class="label" width="20%">{$form.thankyou_footer_text.label} {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='thankyou_footer_text' id=$eventID}{/if}</td> - <td>{$form.thankyou_footer_text.html} - <div - class="description">{ts}Optional footer text for Thank-you screen (often used to include links to other pages/activities on your site).{/ts}</div> - </td> + <td>{$form.thankyou_footer_text.html}</td> </tr> </table> </fieldset> @@ -297,11 +260,8 @@ <div> <table class="form-layout-compressed"> <tr class="crm-event-manage-registration-form-block-is_email_confirm"> - <td scope="row" class="label" width="20%">{$form.is_email_confirm.label}</td> - <td>{$form.is_email_confirm.html}<br/> - <span - class="description">{ts}Do you want a registration confirmation email sent automatically to the user? This email includes event date(s), location and contact information. For paid events, this email is also a receipt for their payment.{/ts}</span> - </td> + <td scope="row" class="label" width="20%">{$form.is_email_confirm.label} {help id="id-is_email_confirm"}</td> + <td>{$form.is_email_confirm.html}</td> </tr> </table> <div id="confirmEmail"> @@ -318,30 +278,19 @@ <td scope="row" class="label" width="20%">{$form.confirm_from_name.label} <span class="crm-marker">*</span> {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_event' field='confirm_from_name' id=$eventID}{/if} </td> - <td>{$form.confirm_from_name.html}<br/> - <span class="description">{ts}FROM name for email.{/ts}</span> - </td> + <td>{$form.confirm_from_name.html}</td> </tr> <tr class="crm-event-manage-registration-form-block-confirm_from_email"> <td scope="row" class="label" width="20%">{$form.confirm_from_email.label} <span class="crm-marker">*</span></td> - <td>{$form.confirm_from_email.html}<br/> - <span - class="description">{ts}FROM email address (this must be a valid email account with your SMTP email service provider).{/ts}</span> - </td> + <td>{$form.confirm_from_email.html}</td> </tr> <tr class="crm-event-manage-registration-form-block-cc_confirm"> - <td scope="row" class="label" width="20%">{$form.cc_confirm.label}</td> - <td>{$form.cc_confirm.html}<br/> - <span - class="description">{ts}You can notify event organizers of each online registration by specifying one or more email addresses to receive a carbon copy (cc). Multiple email addresses should be separated by a comma (e.g. jane@example.org, paula@example.org).{/ts}</span> - </td> + <td scope="row" class="label" width="20%">{$form.cc_confirm.label} {help id="id-cc_confirm"}</td> + <td>{$form.cc_confirm.html}</td> </tr> <tr class="crm-event-manage-registration-form-block-bcc_confirm"> - <td scope="row" class="label" width="20%">{$form.bcc_confirm.label}</td> - <td>{$form.bcc_confirm.html}<br/> - <span - class="description">{ts}You may specify one or more email addresses to receive a blind carbon copy (bcc) of the confirmation email. Multiple email addresses should be separated by a comma (e.g. jane@example.org, paula@example.org).{/ts}</span> - </td> + <td scope="row" class="label" width="20%">{$form.bcc_confirm.label} {help id="id-bcc_confirm"}</td> + <td>{$form.bcc_confirm.html}</td> </tr> </table> </div> diff --git a/civicrm/templates/CRM/Event/Form/Participant.tpl b/civicrm/templates/CRM/Event/Form/Participant.tpl index 19c9d2849f232079f2f7b6fe1c34efc837e8cf6b..551b745403c95a0133e01a05ef5aa98a695e8b4e 100644 --- a/civicrm/templates/CRM/Event/Form/Participant.tpl +++ b/civicrm/templates/CRM/Event/Form/Participant.tpl @@ -15,7 +15,7 @@ {* Main event form template *} {else} <div class="crm-block crm-form-block crm-participant-form-block"> - {if $newCredit AND $action EQ 1 AND $participantMode EQ null} + {if $action EQ 1 AND ($context EQ 'participant' OR $context EQ 'standalone') AND $newCredit AND $participantMode EQ null} <div class="action-link css_right crm-link-credit-card-mode"> {if $contactId} {capture assign=ccModeLink}{crmURL p='civicrm/contact/view/participant' q="reset=1&action=add&cid=`$contactId`&context=`$context`&mode=live"}{/capture} @@ -33,13 +33,6 @@ {/if} <div id="eventFullMsg" class="messages status no-popup" style="display:none;"></div> - - {if $action eq 1 AND $paid} - <div class="help"> - {ts}If you are accepting offline payment from this participant, check <strong>Record Payment</strong>. You will be able to fill in the payment information, and optionally send a receipt.{/ts} - </div> - {/if} - {if $action eq 8} {* If action is Delete *} <div class="crm-participant-form-block-delete messages status no-popup"> <div class="crm-content"> @@ -58,10 +51,12 @@ {else} {* If action is other than Delete *} <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> <table class="form-layout-compressed"> - <tr class="crm-participant-form-contact-id"> - <td class="label">{$form.contact_id.label}</td> - <td>{$form.contact_id.html}</td> - </tr> + {if $context EQ 'standalone' OR $context EQ 'participant' OR $action EQ 2} + <tr class="crm-participant-form-contact-id"> + <td class="label">{$form.contact_id.label}</td> + <td>{$form.contact_id.html}</td> + </tr> + {/if} {if $action EQ 2} {if $additionalParticipants} {* Display others registered by this participant *} <tr class="crm-participant-form-block-additionalParticipants"> @@ -85,12 +80,7 @@ {/if} <tr class="crm-participant-form-block-event_id"> <td class="label">{$form.event_id.label}</td> - <td class="view-value"> - {$form.event_id.html} - {if $is_test} - {ts}(test){/ts} - {/if} - </td> + <td class="view-value">{$form.event_id.html}</td> </tr> {* CRM-7362 --add campaign *} @@ -111,8 +101,7 @@ </td> </tr> <tr class="crm-participant-form-block-source"> - <td class="label">{$form.source.label}</td><td>{$form.source.html|crmAddClass:huge}<br /> - <span class="description">{ts}Source for this registration (if applicable).{/ts}</span></td> + <td class="label">{$form.source.label}</td><td>{$form.source.html|crmAddClass:huge}</td> </tr> {if $participantMode} <tr class="crm-participant-form-block-payment_processor_id"> @@ -148,7 +137,7 @@ </div> {/if} - {if $accessContribution and $action eq 2 and $rows.0.contribution_id} + {if $action eq 2 and $accessContribution and $rows.0.contribution_id} {include file="CRM/Contribute/Form/Selector.tpl" context="Search"} {/if} @@ -274,25 +263,25 @@ {/if} - -<script type="text/javascript"> - {literal} - - sendNotification(); - function sendNotification() { - var notificationStatusIds = {/literal}"{$notificationStatusIds}"{literal}; - notificationStatusIds = notificationStatusIds.split(','); - if (cj.inArray(cj('.crm-participant-form-block-status_id select#status_id option:selected').val(), notificationStatusIds) > -1) { - cj("#notify").show(); - cj("#is_notify").prop('checked', false); + {if $action NEQ 8} + <script type="text/javascript"> + {literal} + + sendNotification(); + function sendNotification() { + var notificationStatusIds = {/literal}"{$notificationStatusIds}"{literal}; + notificationStatusIds = notificationStatusIds.split(','); + if (cj.inArray(cj('.crm-participant-form-block-status_id select#status_id option:selected').val(), notificationStatusIds) > -1) { + cj("#notify").show(); + } + else { + cj("#notify").hide(); + cj("#is_notify").prop('checked', false); + } } - else { - cj("#notify").hide(); - cj("#is_notify").prop('checked', false); - } - } - {/literal} -</script> + {/literal} + </script> + {/if} {/if} {* end of main event block*} diff --git a/civicrm/templates/CRM/Event/Form/ParticipantFeeSelection.tpl b/civicrm/templates/CRM/Event/Form/ParticipantFeeSelection.tpl index d721f5f0fd4690b2d06b0747202532d7f7efeacd..78f6608748f063e7aba8e89f23518e6f232dd0a8 100644 --- a/civicrm/templates/CRM/Event/Form/ParticipantFeeSelection.tpl +++ b/civicrm/templates/CRM/Event/Form/ParticipantFeeSelection.tpl @@ -119,11 +119,10 @@ CRM.$(function($) { {if $paymentInfo} <tr><td></td><td> <div class='crm-section'> - <div class='label'>{ts}Updated Fee(s){/ts}</div><div id="pricevalue" class='content updated-fee'></div> + <div class='label'>{ts}Updated Fee(s){/ts}</div><div id="pricevalue" class='content updated-fee'> </div> <div class='label'>{ts}Total Paid{/ts}</div> <div class='content'> - {$paymentInfo.paid|crmMoney}<br/> - <a class="crm-hover-button action-item crm-popup medium-popup" href='{crmURL p="civicrm/payment" q="view=transaction&action=browse&cid=`$contactId`&id=`$paymentInfo.id`&component=`$paymentInfo.component`&context=transaction"}'><i class="crm-i fa-list-alt" aria-hidden="true"></i> {ts}view payments{/ts}</a> + {$paymentInfo.paid|crmMoney} <a class="crm-hover-button action-item crm-popup medium-popup" href='{crmURL p="civicrm/payment" q="view=transaction&action=browse&cid=`$contactId`&id=`$paymentInfo.id`&component=`$paymentInfo.component`&context=transaction"}'><i class="crm-i fa-list-alt" aria-hidden="true"></i> {ts}view payments{/ts}</a> </div> <div class='label'><strong>{ts}Balance Owed{/ts}</strong></div><div class='content'><strong id='balance-fee'></strong></div> </div> @@ -137,8 +136,7 @@ CRM.$(function($) { <table class="form-layout" style="width:auto;"> <tr class="crm-event-eventfees-form-block-send_receipt"> <td class="label">{ts}Send Confirmation{/ts}</td> - <td>{$form.send_receipt.html}<br> - <span class="description">{ts 1=$email}Automatically email a confirmation to %1?{/ts}</span> + <td>{$form.send_receipt.html} <span class="description">{ts 1=$email}Automatically email a confirmation to %1?{/ts}</span> </td> </tr> <tr id="from-email" class="crm-event-eventfees-form-block-from_email_address"> diff --git a/civicrm/templates/CRM/Event/Form/ParticipantView.tpl b/civicrm/templates/CRM/Event/Form/ParticipantView.tpl index 14729b53fe0b935022da3acc17f6a9be0b412bbe..c5b2af5bf9ab9072998b279898a91201b07a347b 100644 --- a/civicrm/templates/CRM/Event/Form/ParticipantView.tpl +++ b/civicrm/templates/CRM/Event/Form/ParticipantView.tpl @@ -83,7 +83,7 @@ </tr> {if $source} <tr class="crm-event-participantview-form-block-event_source"> - <td class="label">{ts}Event Source{/ts}</td><td>{$source} </td> + <td class="label">{ts}Participant Source{/ts}</td><td>{$source} </td> </tr> {/if} {if $participantId and $hasPayment} diff --git a/civicrm/templates/CRM/Event/Form/Registration/Confirm.tpl b/civicrm/templates/CRM/Event/Form/Registration/Confirm.tpl index 20fa9774f0be3b886f5bdb9b11e458be057036d3..07987cb835360df1e5e6c075fb376c3def8b6aed 100644 --- a/civicrm/templates/CRM/Event/Form/Registration/Confirm.tpl +++ b/civicrm/templates/CRM/Event/Form/Registration/Confirm.tpl @@ -14,27 +14,25 @@ {include file="CRM/common/TrackingFields.tpl"} <div class="crm-event-id-{$event.id} crm-block crm-event-confirm-form-block"> + <div class="messages status section continue_message-section"><p> {if $isOnWaitlist} - <div class="help"> - {ts}Please verify the information below. <span class="bold">Then click 'Continue' to be added to the WAIT LIST for this event</span>. If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts} - </div> + {ts}Please verify your information.{/ts} <strong>{ts}If space becomes available you will receive an email with a link to complete your registration.{/ts}</strong> + {ts 1=$form.buttons._qf_Confirm_next.html|strip_tags}Click <strong>%1</strong> to be added to the WAIT LIST for this event.{/ts} {elseif $isRequireApproval} - <div class="help"> - {ts}Please verify the information below. Then click 'Continue' to submit your registration. <span class="bold">Once approved, you will receive an email with a link to a web page where you can complete the registration process.</span>{/ts} - </div> + {ts}Please verify your information.{/ts} <strong>{ts}Once approved, you will receive an email with a link to complete the registration process.{/ts}</strong> + {ts 1=$form.buttons._qf_Confirm_next.html|strip_tags}Click <strong>%1</strong> to submit your registration for approval.{/ts} {else} - <div class="help"> - {ts}Please verify the information below. Click the <strong>Go Back</strong> button below if you need to make changes.{/ts} - {if $contributeMode EQ 'notify' and !$is_pay_later and ! $isAmountzero } - {ts 1=$paymentProcessor.name}Click the <strong>Continue</strong> button to checkout to %1, where you will select your payment method and complete the registration.{/ts} + {ts}Please verify your information.{/ts} + {if $contributeMode EQ 'notify' and !$is_pay_later and !$isAmountzero} + {ts 1=$form.buttons._qf_Confirm_next.html|strip_tags 2=$paymentProcessor.frontend_title}Click <strong>%1</strong> to checkout with %2.{/ts} {else} - {ts}Otherwise, click the <strong>Continue</strong> button below to complete your registration.{/ts} - {/if} - </div> - {if $is_pay_later and !$isAmountzero} - <div class="bold">{$pay_later_receipt}</div> + {ts 1=$form.buttons._qf_Confirm_next.html|strip_tags}Click <strong>%1</strong> to complete your registration.{/ts} {/if} {/if} + </p></div> + {if $is_pay_later and !$isAmountzero and !$isOnWaitlist and !$isRequireApproval} + <div class="bold pay-later-receipt-instructions">{$pay_later_receipt}</div> + {/if} <div id="crm-submit-buttons" class="crm-submit-buttons"> {include file="CRM/common/formButtons.tpl" location="top"} @@ -46,37 +44,6 @@ </div> {/if} - <div class="crm-group event_info-group"> - <div class="header-dark"> - {ts}Event Information{/ts} - </div> - <div class="display-block"> - {include file="CRM/Event/Form/Registration/EventInfoBlock.tpl"} - </div> - </div> - - {if $pcpBlock && $pcp_display_in_roll} - <div class="crm-group pcp_display-group"> - <div class="header-dark"> - {ts}Contribution Honor Roll{/ts} - </div> - <div class="display-block"> - {ts}List my contribution{/ts} - {if $pcp_is_anonymous} - <strong>{ts}anonymously{/ts}.</strong> - {else} - {ts}under the name{/ts}: <strong>{$pcp_roll_nickname}</strong><br/> - {if $pcp_personal_note} - {ts}With the personal note{/ts}: <strong>{$pcp_personal_note}</strong> - {else} - <strong>{ts}With no personal note{/ts}</strong> - {/if} - {/if} - <br /> - </div> - </div> - {/if} - {if $paidEvent && !$isRequireApproval && !$isOnWaitlist} <div class="crm-group event_fees-group"> <div class="header-dark"> @@ -115,6 +82,48 @@ </div> {/if} + {if $showPaymentOnConfirm} + <div class="crm-group event_info-group"> + <div class="header-dark"> + {ts}Payment details{/ts} + </div> + {if !empty($form.payment_processor_id.label)} + <fieldset class="crm-public-form-item crm-group payment_options-group" style="display:none;"> + <legend>{ts}Payment Options{/ts}</legend> + <div class="crm-section payment_processor-section"> + <div class="label">{$form.payment_processor_id.label}</div> + <div class="content">{$form.payment_processor_id.html}</div> + <div class="clear"></div> + </div> + </fieldset> + {/if} + {include file='CRM/Core/BillingBlockWrapper.tpl'} + {literal}<script>function calculateTotalFee() { return {/literal}{$totalAmount}{literal} }</script>{/literal} + </div> + {/if} + + {if $pcpBlock && $pcp_display_in_roll} + <div class="crm-group pcp_display-group"> + <div class="header-dark"> + {ts}Contribution Honor Roll{/ts} + </div> + <div class="display-block"> + {ts}List my contribution{/ts} + {if $pcp_is_anonymous} + <strong>{ts}anonymously{/ts}.</strong> + {else} + {ts}under the name{/ts}: <strong>{$pcp_roll_nickname}</strong><br/> + {if $pcp_personal_note} + {ts}With the personal note{/ts}: <strong>{$pcp_personal_note}</strong> + {else} + <strong>{ts}With no personal note{/ts}</strong> + {/if} + {/if} + <br /> + </div> + </div> + {/if} + {if $event.participant_role neq 'Attendee' and $defaultRole} <div class="crm-group participant_role-group"> <div class="header-dark"> @@ -131,7 +140,7 @@ {include file="CRM/Event/Form/Registration/DisplayProfile.tpl"} - {if $contributeMode ne 'notify' and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and $paidEvent and !$isAmountzero and !$isOnWaitlist and !$isRequireApproval} + {if $billingName or $address} <div class="crm-group billing_name_address-group"> <div class="header-dark"> {ts}Billing Name and Address{/ts} @@ -163,13 +172,14 @@ {/crmRegion} {/if} - {if $contributeMode NEQ 'notify'} {* In 'notify mode, contributor is taken to processor payment forms next *} - <div class="messages status section continue_message-section"> - <p> - {ts}Your registration will not be submitted until you click the <strong>Continue</strong> button. Please click the button one time only. If you need to change any details, click the Go Back button below to return to the previous screen.{/ts} - </p> + <div class="crm-group event_info-group"> + <div class="header-dark"> + {ts}Event Information{/ts} + </div> + <div class="display-block"> + {include file="CRM/Event/Form/Registration/EventInfoBlock.tpl"} + </div> </div> - {/if} <div id="crm-submit-buttons" class="crm-submit-buttons"> {include file="CRM/common/formButtons.tpl" location="bottom"} diff --git a/civicrm/templates/CRM/Event/Form/Registration/EventInfoBlock.tpl b/civicrm/templates/CRM/Event/Form/Registration/EventInfoBlock.tpl index c75be4e1d365573a5815888c4d737b8795f21db8..85d27f42f6ee11e98279e0daf12497ad57ece6c6 100644 --- a/civicrm/templates/CRM/Event/Form/Registration/EventInfoBlock.tpl +++ b/civicrm/templates/CRM/Event/Form/Registration/EventInfoBlock.tpl @@ -21,13 +21,12 @@ <tr><td>{ts}When{/ts}</td> <td width="90%"> {$event.event_start_date|crmDate} - {if $event.event_end_date} - {ts}through{/ts} + {if $event.event_end_date}{ts}through{/ts} {* Only show end time if end date = start date *} {if $event.event_end_date|crmDate:"%Y%m%d" == $event.event_start_date|crmDate:"%Y%m%d"} - {$event.event_end_date|crmDate:0:1} + {$event.event_end_date|crmDate:0:1} {else} - {$event.event_end_date|crmDate} + {$event.event_end_date|crmDate} {/if} {/if} </td> diff --git a/civicrm/templates/CRM/Event/Form/Registration/Register.tpl b/civicrm/templates/CRM/Event/Form/Registration/Register.tpl index 337110f20c54c5afc6a868a68706b790eb9d28ee..ffde1c06b010e6545cdc29273d10d4f443bcb3ca 100644 --- a/civicrm/templates/CRM/Event/Form/Registration/Register.tpl +++ b/civicrm/templates/CRM/Event/Form/Registration/Register.tpl @@ -170,6 +170,7 @@ {literal} CRM.$(function($) { + toggleAdditionalParticipants(); $('#additional_participants').change(function() { toggleAdditionalParticipants(); allowParticipant(); @@ -177,14 +178,18 @@ function toggleAdditionalParticipants() { var submit_button = $("#crm-submit-buttons > button").html(); - var review_translated = '{/literal}{ts escape="js"}Review{/ts}{literal}'; + {/literal}{if $event.is_monetary || $event.is_confirm_enabled}{literal} + var next_translated = '{/literal}{ts escape="js"}Review{/ts}{literal}'; + {/literal}{else}{literal} + var next_translated = '{/literal}{ts escape="js"}Register{/ts}{literal}'; + {/literal}{/if}{literal} var continue_translated = '{/literal}{ts escape="js"}Continue{/ts}{literal}'; if ($('#additional_participants').val()) { $("#additionalParticipantsDescription").show(); - $("#crm-submit-buttons > button").html(submit_button.replace(review_translated, continue_translated)); + $("#crm-submit-buttons > button").html(submit_button.replace(next_translated, continue_translated)); } else { $("#additionalParticipantsDescription").hide(); - $("#crm-submit-buttons > button").html(submit_button.replace(continue_translated, review_translated)); + $("#crm-submit-buttons > button").html(submit_button.replace(continue_translated, next_translated)); } } }); diff --git a/civicrm/templates/CRM/Event/Form/Registration/ThankYou.tpl b/civicrm/templates/CRM/Event/Form/Registration/ThankYou.tpl index 0929bc97c9e3eddfc73f93badfd3f4f11227e746..48822814f143acf430589f3df9567ad2ed9ab979 100644 --- a/civicrm/templates/CRM/Event/Form/Registration/ThankYou.tpl +++ b/civicrm/templates/CRM/Event/Form/Registration/ThankYou.tpl @@ -156,7 +156,7 @@ {/if} {include file="CRM/Event/Form/Registration/DisplayProfile.tpl"} - {if $contributeMode ne 'notify' and (!$is_pay_later or $isBillingAddressRequiredForPayLater) and $paidEvent and !$isAmountzero and !$isOnWaitlist and !$isRequireApproval} + {if $billingName or $address} <div class="crm-group billing_name_address-group"> <div class="header-dark"> {ts}Billing Name and Address{/ts} diff --git a/civicrm/templates/CRM/Event/Form/SelfSvcTransfer.tpl b/civicrm/templates/CRM/Event/Form/SelfSvcTransfer.tpl index 8b501d4f7f4aa003614efa50651664cc5c57a84b..20e1ba3a15a1b754fe62a0935a8cd706c08f452f 100644 --- a/civicrm/templates/CRM/Event/Form/SelfSvcTransfer.tpl +++ b/civicrm/templates/CRM/Event/Form/SelfSvcTransfer.tpl @@ -12,8 +12,12 @@ <tr> <th>{ts}Current<br />Participant{/ts}</th> <th>{ts}Event{/ts}</th> - <th>{ts}Fee Level{/ts}</th> - <th>{ts}Amount{/ts}</th> + {if !empty($details.fee_level)} + <th>{ts}Fee Level{/ts}</th> + {/if} + {if !empty($details.fee_amount)} + <th>{ts}Amount{/ts}</th> + {/if} <th>{ts}Registered{/ts}</th> <th>{ts}Status{/ts}</th> <th>{ts}Role{/ts}</th> @@ -21,8 +25,12 @@ <tr class="crm-selfsvctransfer-form-details"> <td>{$details.name}</td> <td>{$details.title}<br />{$details.event_start_date|truncate:10:''|crmDate}</td> - <td class="crm-participant-participant_fee_level">{$details.fee_level}</td> - <td class="right nowrap crm-paticipant-participant_fee_amount">{$details.fee_amount}</td> + {if !empty($details.fee_level)} + <td class="crm-participant-participant_fee_level">{$details.fee_level}</td> + {/if} + {if !empty($details.fee_amount)} + <td class="right nowrap crm-paticipant-participant_fee_amount">{$details.fee_amount}</td> + {/if} <td>{$details.register_date|truncate:10:''|crmDate}</td> <td>{$details.status}</td> <td class="crm-participant-participant_role">{$details.role}</td> diff --git a/civicrm/templates/CRM/Event/Form/SelfSvcUpdate.tpl b/civicrm/templates/CRM/Event/Form/SelfSvcUpdate.tpl index b3f68c223db33766e58b8e16c65814ce57dda7f2..85f1fe5ef0b5ee057bb316a03357767565acc1b7 100644 --- a/civicrm/templates/CRM/Event/Form/SelfSvcUpdate.tpl +++ b/civicrm/templates/CRM/Event/Form/SelfSvcUpdate.tpl @@ -12,16 +12,24 @@ <tr> <th>{ts}Participant{/ts}</th> <th>{ts}Event{/ts}</th> - <th>{ts}Fee Level{/ts}</th> - <th>{ts}Amount{/ts}</th> + {if !empty($details.fee_level)} + <th>{ts}Fee Level{/ts}</th> + {/if} + {if !empty($details.fee_amount)} + <th>{ts}Amount{/ts}</th> + {/if} <th>{ts}Registered{/ts}</th> <th>{ts}Status{/ts}</th> <th>{ts}Role{/ts}</th> </tr> <tr class="crm-selfsvcupdate-form-details"> <td>{$details.name}</td><td>{$details.title}<br />{$details.event_start_date|truncate:10:''|crmDate}</td> - <td class="crm-participant-participant_fee_level">{$details.fee_level}</td> - <td class="right nowrap crm-paticipant-participant_fee_amount">{$details.fee_amount}</td> + {if !empty($details.fee_level)} + <td class="crm-participant-participant_fee_level">{$details.fee_level}</td> + {/if} + {if !empty($details.fee_amount)} + <td class="right nowrap crm-paticipant-participant_fee_amount">{$details.fee_amount}</td> + {/if} <td>{$details.register_date|truncate:10:''|crmDate}</td> <td>{$details.status}</td><td class="crm-participant-participant_role">{$details.role}</td> </tr> @@ -31,17 +39,31 @@ <div class="content">{$form.action.html}</div> <div class="clear"></div> </div> + {if array_key_exists('is_confirmation_email', $form)} + <div class="crm-public-form-item crm-section" id="is-confirmation-email-section" style="display: none;"> + <div class="label">{$form.is_confirmation_email.label}</div> + <div class="content">{$form.is_confirmation_email.html}</div> + <div class="clear"></div> + </div> + {/if} <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="bottom"}</div> </div> {literal} <script type="text/javascript"> var contributionID = {/literal}'{$contributionId}'{literal}; + var isConfirmationEmail = {/literal}'array_key_exists("is_confirmation_email", $form)'{literal}; CRM.$(function($) { $('#action').on('change', function() { selected = $(this).find("option:selected").text(); if (selected == 'Cancel' && contributionID) { CRM.alert('{/literal}{ts escape='js'}Cancellations are not refundable.{/ts}{literal}', 'Warning', 'alert'); } + if ($('#action').val() == 2 && isConfirmationEmail) { + $('#is-confirmation-email-section').show(); + } else { + $('#is-confirmation-email-section').hide(); + } + }); }); </script> diff --git a/civicrm/templates/CRM/Event/Import/Form/DataSource.hlp b/civicrm/templates/CRM/Event/Import/Form/DataSource.hlp index fbaaf261e777c19eb1b5ec107e117ac6c8ed6323..d29a91a07ac7611bbed7ea803b23792b7a8d9c1b 100644 --- a/civicrm/templates/CRM/Event/Import/Form/DataSource.hlp +++ b/civicrm/templates/CRM/Event/Import/Form/DataSource.hlp @@ -7,36 +7,10 @@ | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} -{htxt id="upload-title"} - {ts}Import File Format{/ts} -{/htxt} -{htxt id="upload"} - <p>{ts}Files to be imported must be in the 'comma-separated-values' format (CSV). Most applications will allow you to export records in CSV format. Consult the documentation for your application if you're not sure how to do this.{/ts}</p> -<h1>{ts}Required Participant Data{/ts}</h1> - <p>{ts}Participant import data MUST include the following columns:{/ts}</p> - <ul> - <li>{ts}Event Title OR Event ID (a unique integer assigned by CiviEvent, displayed in the Manage Events listing){/ts}</li> - <li>{ts}Participant Status (ie. Registered, Attended, Cancelled, etc.){/ts}</li> - </ul> - <p>{ts}The event's default Participant Role (usually Attendee) will be assigned if you do not include a value for role. Valid values for Status and Role can be found in the CiviEvent section of the Administer CiviCRM screen. You can also import Fee Level, Registration Date and any other standard or custom Participant fields.{/ts}</p> -<h1>{ts}Contact Records for Event Participants{/ts}</h1> - <p>{ts}Participant import requires that each person, household or organization already exists as a contact record in your CiviCRM database. If you need to import participant information for contact records which haven't been added to CiviCRM yet - you will do this in 2 steps. First, use <strong>Import Contacts</strong> to add the contact records. If possible, include a unique 'External ID' for each new contact which you can then use to match participant info such as event registration to the corresponding contact record. Then return to this screen and import the participant records.{/ts}</p> -<h1>{ts}Matching Participant Data to Contacts{/ts}</h1> - <p>{ts}Participant import files must contain data needed to <strong>match the participant to a contact record in your CiviCRM database</strong>. This 'matching' can be handled in several different ways:{/ts}</p> - <ul> - <li>{ts}Include the data fields used for contact 'matching' based on your configured <strong>Unsupervised Duplicate Matching</strong> rules. For the default duplicate matching rules, you would include a column in each row with the contributors' Email Address.{/ts}</li> - <li>{ts}If you've stored a unique <strong>External Identifier</strong> for each contact in CiviCRM, you can include that value as a column in your import file. Participant data will then be matched to contact records using their External ID. Please note that you must use an "On Duplicate Entries" setting of "Skip" or "No Duplicate Checking" to be able to upload using the External ID field.{/ts}</li> - <li>{ts}You can include a column with each contact's <strong>Internal Contact ID</strong>. This is the unique ID assigned by CiviCRM which is displayed at the bottom of the Contact Summary screen - and can be exported.{/ts}</li> - </ul> - <p> - {ts}Save the CSV file with your participant data and 'contact matching' data to your local hard drive (or an accessible drive on your network) - and you are now ready for step 1 (Upload Data).{/ts} - </p> -{/htxt} - -{htxt id="id-onDuplicate-title"} +{htxt id="dupes-title"} {ts}Matching to Contacts for Inserts and Updates{/ts} {/htxt} -{htxt id="id-onDuplicate"} +{htxt id="dupes"} <p>{ts}For each import, you can either INSERT new event registration (participant) records, or UPDATE existing records. You can not do both types of operations in a single import session.{/ts}</p> <p>{ts}If you are INSERTING new participant records, you will need to include a column in your data file containing the values used to link the event registration to an existing contact. You can use the 'Internal Contact ID', an 'External Identifier' (if you are using those in your contact records), OR the property defined in your Unsupervised Duplicate Matching rule (which is Email Address by default).{/ts}</p> <p>{ts}If you are UPDATING existing participants, you will need to include a column containing the unique CiviCRM-assigned participant ID to match to the existing participant record.{/ts}</p> diff --git a/civicrm/templates/CRM/Event/Page/Tab.tpl b/civicrm/templates/CRM/Event/Page/Tab.tpl index 2f059efdaaa1ac98d57f32bc83a04b4715a7b7d3..5d511a57bb529f48910c3642b96d6931e9008ba9 100644 --- a/civicrm/templates/CRM/Event/Page/Tab.tpl +++ b/civicrm/templates/CRM/Event/Page/Tab.tpl @@ -7,7 +7,7 @@ | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} -{if $action eq 1 or $action eq 2 or $action eq 8} {* add, update or view *} +{if $action eq 1 or $action eq 2 or $action eq 8} {* add, update or delete *} {include file="CRM/Event/Form/Participant.tpl"} {elseif $action eq 4} {include file="CRM/Event/Form/ParticipantView.tpl"} diff --git a/civicrm/templates/CRM/Export/Form/Select.tpl b/civicrm/templates/CRM/Export/Form/Select.tpl index 06a37cb30ce59d55c87cb8a839fcf9fa461ea063..f23a9336f9861ace641e3b8952d33e617b94fa2f 100644 --- a/civicrm/templates/CRM/Export/Form/Select.tpl +++ b/civicrm/templates/CRM/Export/Form/Select.tpl @@ -68,11 +68,6 @@ </table> <div class="clear"> </div> </div> - - <div class="content crm-content-mergeSameHousehold"> - {$form.merge_same_household.html} - </div> - <br/> <div class="label crm-label-postalMailingExport">{$form.postal_mailing_export.label}</div> <div class="content crm-content-postalMailingExport"> {$form.postal_mailing_export.html} diff --git a/civicrm/templates/CRM/Form/attachment.tpl b/civicrm/templates/CRM/Form/attachment.tpl index 152ea3fcfb2d5e3098fa22fc0b2ddd06ba17360b..0c7ef9f9981bef582d70730d61c96652b108dacc 100644 --- a/civicrm/templates/CRM/Form/attachment.tpl +++ b/civicrm/templates/CRM/Form/attachment.tpl @@ -46,7 +46,7 @@ <tr> <td class="label">{$form.attachFile_1.label}</td> <td>{$form.attachFile_1.html} {$form.attachDesc_1.html}<a href="#" class="crm-hover-button crm-clear-attachment" style="visibility: hidden;" title="{ts}Clear{/ts}"><i class="crm-i fa-times" aria-hidden="true"></i></a> - <div class="description">{ts}Browse to the <strong>file</strong> you want to upload.{/ts}{if $maxAttachments GT 1} {ts 1=$maxAttachments}You can have a maximum of %1 attachment(s).{/ts}{/if} {ts 1=$config->maxFileSize}Each file must be less than %1M in size. You can also add a short description.{/ts}</div> + <div class="description">{if $maxAttachments GT 1} {ts 1=$maxAttachments}You can have a maximum of %1 attachment(s).{/ts}{/if} {ts 1=$config->maxFileSize}Each file must be less than %1M in size. You can also add a short description.{/ts}</div> </td> </tr> {if $form.tag_1} diff --git a/civicrm/templates/CRM/Friend/Form/Friend.tpl b/civicrm/templates/CRM/Friend/Form/Friend.tpl index 8d79bb433b3d51c624a82d16f78a4465bd1204ca..31ff89aded17e3ed40a9bb198cb853be24520974 100644 --- a/civicrm/templates/CRM/Friend/Form/Friend.tpl +++ b/civicrm/templates/CRM/Friend/Form/Friend.tpl @@ -48,10 +48,7 @@ {include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_tell_friend' field='intro' id=$friendId} {/if} </td> - <td>{$form.intro.html}<br /> - <span class="description">{ts 1=$enduser}This message is displayed to the %1 at the top of the Tell a Friend form. You may include HTML tags to add formatting or links.{/ts} - </span> - </td> + <td>{$form.intro.html}</td> </tr> <tr class="crm-friend-manage-form-block-suggested_message"> <td class="label">{$form.suggested_message.label} @@ -59,10 +56,7 @@ {include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_tell_friend' field='suggested_message' id=$friendId} {/if} </td> - <td>{$form.suggested_message.html}<br /> - <span class="description">{ts 1=$enduser}Provides the %1 with suggested text for their personalized message to their friends.{/ts} - </span> - </td> + <td>{$form.suggested_message.html}</td> </tr> <tr class="crm-friend-manage-form-block-general_link"> <td class="label">{$form.general_link.label}</td> @@ -83,10 +77,7 @@ {include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_tell_friend' field='thankyou_text' id=$friendId} {/if} </td> - <td>{$form.tf_thankyou_text.html}<br /> - <span class="description">{ts 1=$enduser}Your message thanking the %1 for helping to spread the word. You may include HTML tags to add formatting or links.{/ts} - </span> - </td> + <td>{$form.tf_thankyou_text.html}</td> </tr> </table> </div> diff --git a/civicrm/templates/CRM/Import/Form/DataSource.tpl b/civicrm/templates/CRM/Import/Form/DataSource.tpl index 38366a2dd21448d4b41b736ecdc159913b6e242f..aa85adc053d01b1710d924af0a2820f583614182 100644 --- a/civicrm/templates/CRM/Import/Form/DataSource.tpl +++ b/civicrm/templates/CRM/Import/Form/DataSource.tpl @@ -20,7 +20,6 @@ {/if} <div class="help"> {ts 1=$importEntity 2= $importEntities}The %1 Import Wizard allows you to easily upload %2 from other applications into CiviCRM.{/ts} - {ts}Files to be imported must be in the 'comma-separated-values' format (CSV) and must contain data needed to match an existing contact in your CiviCRM database.{/ts} {help id='upload'} </div> <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> @@ -39,7 +38,7 @@ {/if} <tr class="crm-import-datasource-form-block-dataSource"> <td class="label">{$form.dataSource.label}</td> - <td>{$form.dataSource.html} {help id='data-source-selection'}</td> + <td>{$form.dataSource.html} {help id='data-source-selection' file='CRM/Contact/Import/Form/DataSource'}</td> </tr> </table> </div> @@ -53,7 +52,7 @@ {if array_key_exists('contactType', $form)} <tr class="crm-import-uploadfile-from-block-contactType"> <td class="label">{$form.contactType.label}</td> - <td>{$form.contactType.html}{help id='contact-type'}<br /> + <td>{$form.contactType.html} {help id='contact-type' file='CRM/Contact/Import/Form/DataSource'}<br /> {if $importEntity !== 'Contact'} <span class="description"> {ts 1=$importEntities}Select 'Individual' if you are importing %1 made by individual persons.{/ts} @@ -89,9 +88,6 @@ </tr> {/if} <tr class="crm-import-uploadfile-form-block-date">{include file="CRM/Core/Date.tpl"}</tr> - <tr> - <td></td><td class="description">{ts}Select the format that is used for date fields in your import data.{/ts}</td> - </tr> {if array_key_exists('doGeocodeAddress', $form)} <tr class="crm-import-datasource-form-block-doGeocodeAddress"> @@ -115,9 +111,7 @@ {if array_key_exists('savedMapping', $form)} <tr class="crm-import-uploadfile-form-block-savedMapping"> <td class="label"><label for="savedMapping">{$form.savedMapping.label}</label></td> - <td>{$form.savedMapping.html}<br /> - {if !$form.savedMapping.frozen}<span class="description">{ts}If you want to use a previously saved import field mapping - select it here.{/ts}</span>{/if} - </td> + <td>{$form.savedMapping.html}</td> </tr> {/if} </table> diff --git a/civicrm/templates/CRM/Mailing/Form/Optout.tpl b/civicrm/templates/CRM/Mailing/Form/Optout.tpl index e5286a508a2691cf6570bc28519e04a201155e93..8444003a92aa3de70a20e6703362640952581b89 100644 --- a/civicrm/templates/CRM/Mailing/Form/Optout.tpl +++ b/civicrm/templates/CRM/Mailing/Form/Optout.tpl @@ -10,17 +10,10 @@ <div class="crm-block crm-form-block crm-miscellaneous-form-block"> <p>{ts}You are requesting to opt out this email address from all mailing lists:{/ts}</p> - <h3>{$email_masked}</h3> - - <p> - {ts}If this is not your email address, there is no need to do anything. You have <strong>not</strong> been added to any mailing lists.{/ts} - {ts}If this is your email address and you <strong>wish to opt out</strong> please click the <strong>Opt Out</strong> button to confirm.{/ts} - </p> - + <p><strong>{$email_masked}</strong></p> + <p>{ts}If this is your email address and you <strong>wish to opt out</strong> please click the <strong>Opt Out</strong> button to confirm.{/ts}</p> <div class="crm-submit-buttons"> {include file="CRM/common/formButtons.tpl" location="bottom"} </div> - <br/> </div> - diff --git a/civicrm/templates/CRM/Mailing/Form/Unsubscribe.tpl b/civicrm/templates/CRM/Mailing/Form/Unsubscribe.tpl index 8cf750653016d43ff606161078d46e5ed65cfb0c..8dfedfa7dbe5d609b6ac1cdb8af866704efc93c1 100644 --- a/civicrm/templates/CRM/Mailing/Form/Unsubscribe.tpl +++ b/civicrm/templates/CRM/Mailing/Form/Unsubscribe.tpl @@ -23,9 +23,8 @@ </table> <div class="crm-block crm-form-block crm-miscellaneous-form-block"> <p>{ts}You are requesting to unsubscribe this email address:{/ts}</p> - <h3>{$email_masked}</h3> + <p><strong>{$email_masked}</strong></p> <p> - {ts}If this is not your email address, there is no need to do anything. You have <strong>not</strong> been added to any mailing lists.{/ts} {ts}If this is your email address and you <strong>wish to unsubscribe</strong> please click the <strong>Unsubscribe</strong> button to confirm.{/ts} </p> <div class="crm-submit-buttons"> diff --git a/civicrm/templates/CRM/Mailing/Page/Report.tpl b/civicrm/templates/CRM/Mailing/Page/Report.tpl index c264a2b2dba04321e052c9fa78218ac118ce17ea..a7bf50da864c80ea028a92f1a030659dd6898f30 100644 --- a/civicrm/templates/CRM/Mailing/Page/Report.tpl +++ b/civicrm/templates/CRM/Mailing/Page/Report.tpl @@ -9,60 +9,56 @@ *} <fieldset> <legend>{ts}Delivery Summary{/ts}</legend> -{if $report.jobs.0.start_date} - {strip} - <table class="crm-info-panel"> - <tr><td class="label"><a href="{$report.event_totals.links.queue}">{ts}Intended Recipients{/ts}</a></td> - <td>{$report.event_totals.queue}</td> - <td>{$report.event_totals.actionlinks.queue}</td></tr> - <tr><td class="label"><a href="{$report.event_totals.links.delivered}">{ts}Successful Deliveries{/ts}</a></td> - <td>{$report.event_totals.delivered} ({$report.event_totals.delivered_rate|string_format:"%0.2f"}%)</td> - <td>{$report.event_totals.actionlinks.delivered}</td></tr> - {if $report.mailing.open_tracking} - <tr><td class="label"><a href="{$report.event_totals.links.opened}&distinct=1">{ts}Unique Opens{/ts}</a></td> - <td>{$report.event_totals.opened} ({$report.event_totals.opened_rate|string_format:"%0.2f"}%)</td> - <td>{$report.event_totals.actionlinks.opened_unique}</td></tr> - <tr><td class="label"><a href="{$report.event_totals.links.opened}">{ts}Total Opens{/ts}</a></td> - <td>{$report.event_totals.total_opened}</td> - <td>{$report.event_totals.actionlinks.opened}</td></tr> - {/if} - {if $report.mailing.url_tracking} - <tr><td class="label"><a href="{$report.event_totals.links.clicks}">{ts}Click-throughs{/ts}</a></td> - <td>{$report.event_totals.url} ({$report.event_totals.clickthrough_rate|string_format:"%0.2f"}%)</td> - <td>{$report.event_totals.actionlinks.clicks}</td></tr> - {/if} - <tr><td class="label"><a href="{$report.event_totals.links.forward}">{ts}Forwards{/ts}</a></td> - <td>{$report.event_totals.forward}</td> - <td>{$report.event_totals.actionlinks.forward}</td></tr> - <tr><td class="label"><a href="{$report.event_totals.links.reply}">{ts}Replies{/ts}</a></td> - <td>{$report.event_totals.reply}</td> - <td>{$report.event_totals.actionlinks.reply}</td></tr> - <tr><td class="label"><a href="{$report.event_totals.links.bounce}">{ts}Bounces{/ts}</a></td> - <td>{$report.event_totals.bounce} ({$report.event_totals.bounce_rate|string_format:"%0.2f"}%)</td> - <td>{$report.event_totals.actionlinks.bounce}</td></tr> - <tr><td class="label"><a href="{$report.event_totals.links.unsubscribe}">{ts}Unsubscribe Requests{/ts}</a></td> - <td>{$report.event_totals.unsubscribe} ({$report.event_totals.unsubscribe_rate|string_format:"%0.2f"}%)</td> - <td>{$report.event_totals.actionlinks.unsubscribe}</td></tr> - <tr><td class="label"><a href="{$report.event_totals.links.optout}">{ts}Opt-out Requests{/ts}</a></td> - <td>{$report.event_totals.optout} ({$report.event_totals.optout_rate|string_format:"%0.2f"}%)</td> - <td>{$report.event_totals.actionlinks.optout}</td></tr> - <tr><td class="label">{ts}Scheduled Date{/ts}</td> - <td colspan=2>{$report.jobs.0.scheduled_date}</td></tr> - <tr><td class="label">{ts}Status{/ts}</td> - <td colspan=2>{$report.jobs.0.status}</td></tr> - <tr><td class="label">{ts}Start Date{/ts}</td> - <td colspan=2>{$report.jobs.0.start_date}</td></tr> - <tr><td class="label">{ts}End Date{/ts}</td> - <td colspan=2>{$report.jobs.0.end_date}</td></tr> - </table> - {/strip} -{else} - <div class="messages status no-popup"> - {ts}<strong>Delivery has not yet begun for this mailing.</strong> If the scheduled delivery date and time is past, ask the system administrator or technical support contact for your site to verify that the automated mailer task ('cron job') is running - and how frequently.{/ts} {docURL page="user/advanced-configuration/email-system-configuration"} - </div> +{if !$report.jobs.0.start_date} + <div class="messages status no-popup"> + {ts}<strong>Delivery has not yet begun for this mailing.</strong> If the scheduled delivery date and time is past, ask the system administrator or technical support contact for your site to verify that the automated mailer task ('cron job') is running - and how frequently.{/ts} {docURL page="user/advanced-configuration/email-system-configuration"} + </div> +{/if} +<table class="crm-info-panel"> + <tr><td class="label"><a href="{$report.event_totals.links.queue}">{ts}Intended Recipients{/ts}</a></td> + <td>{$report.event_totals.queue}</td> + <td>{$report.event_totals.actionlinks.queue}</td></tr> + <tr><td class="label"><a href="{$report.event_totals.links.delivered}">{ts}Successful Deliveries{/ts}</a></td> + <td>{$report.event_totals.delivered} ({$report.event_totals.delivered_rate|string_format:"%0.2f"}%)</td> + <td>{$report.event_totals.actionlinks.delivered}</td></tr> +{if $report.mailing.open_tracking} + <tr><td class="label"><a href="{$report.event_totals.links.opened}&distinct=1">{ts}Unique Opens{/ts}</a></td> + <td>{$report.event_totals.opened} ({$report.event_totals.opened_rate|string_format:"%0.2f"}%)</td> + <td>{$report.event_totals.actionlinks.opened_unique}</td></tr> + <tr><td class="label"><a href="{$report.event_totals.links.opened}">{ts}Total Opens{/ts}</a></td> + <td>{$report.event_totals.total_opened}</td> + <td>{$report.event_totals.actionlinks.opened}</td></tr> {/if} +{if $report.mailing.url_tracking} + <tr><td class="label"><a href="{$report.event_totals.links.clicks}">{ts}Click-throughs{/ts}</a></td> + <td>{$report.event_totals.url} ({$report.event_totals.clickthrough_rate|string_format:"%0.2f"}%)</td> + <td>{$report.event_totals.actionlinks.clicks}</td></tr> +{/if} +<tr><td class="label"><a href="{$report.event_totals.links.forward}">{ts}Forwards{/ts}</a></td> + <td>{$report.event_totals.forward}</td> + <td>{$report.event_totals.actionlinks.forward}</td></tr> +<tr><td class="label"><a href="{$report.event_totals.links.reply}">{ts}Replies{/ts}</a></td> + <td>{$report.event_totals.reply}</td> + <td>{$report.event_totals.actionlinks.reply}</td></tr> +<tr><td class="label"><a href="{$report.event_totals.links.bounce}">{ts}Bounces{/ts}</a></td> + <td>{$report.event_totals.bounce} ({$report.event_totals.bounce_rate|string_format:"%0.2f"}%)</td> + <td>{$report.event_totals.actionlinks.bounce}</td></tr> +<tr><td class="label"><a href="{$report.event_totals.links.unsubscribe}">{ts}Unsubscribe Requests{/ts}</a></td> + <td>{$report.event_totals.unsubscribe} ({$report.event_totals.unsubscribe_rate|string_format:"%0.2f"}%)</td> + <td>{$report.event_totals.actionlinks.unsubscribe}</td></tr> +<tr><td class="label"><a href="{$report.event_totals.links.optout}">{ts}Opt-out Requests{/ts}</a></td> + <td>{$report.event_totals.optout} ({$report.event_totals.optout_rate|string_format:"%0.2f"}%)</td> + <td>{$report.event_totals.actionlinks.optout}</td></tr> +<tr><td class="label">{ts}Scheduled Date{/ts}</td> + <td colspan=2>{$report.jobs.0.scheduled_date}</td></tr> +<tr><td class="label">{ts}Status{/ts}</td> + <td colspan=2>{$report.jobs.0.status}</td></tr> +<tr><td class="label">{ts}Start Date{/ts}</td> + <td colspan=2>{$report.jobs.0.start_date}</td></tr> +<tr><td class="label">{ts}End Date{/ts}</td> + <td colspan=2>{$report.jobs.0.end_date}</td></tr> +</table> </fieldset> - <fieldset> <legend>{ts}Recipients{/ts}</legend> {if $report.group.include|@count} @@ -149,7 +145,7 @@ {/if} <fieldset> -<legend>{ts}Content / Components{/ts}</legend> +<legend>{ts}Content{/ts}</legend> {strip} <table class="crm-info-panel"> {if $report.mailing.body_text} diff --git a/civicrm/templates/CRM/Member/Form/Membership.tpl b/civicrm/templates/CRM/Member/Form/Membership.tpl index 7f8203b0a01a66061b0037ebb880b2d8de8bbb78..a5a39ff270f97c88e9c2e0ee30d14060d938fc07 100644 --- a/civicrm/templates/CRM/Member/Form/Membership.tpl +++ b/civicrm/templates/CRM/Member/Form/Membership.tpl @@ -177,7 +177,7 @@ <tr id="send-receipt" class="crm-membership-form-block-send_receipt"> <td class="label">{$form.send_receipt.label}</td> <td> - {$form.send_receipt.html}<br /> + {$form.send_receipt.html} <span class="description"> {ts 1=$emailExists}Automatically email a membership confirmation and receipt to %1? OR if the payment is from a different contact, this email will only go to them.{/ts} <span class="auto-renew-text">{ts}For auto-renewing memberships the emails are sent when each payment is received{/ts}</span> @@ -188,7 +188,7 @@ <tr id="email-receipt" style="display:none;"> <td class="label">{$form.send_receipt.label}</td> <td> - {$form.send_receipt.html}<br /> + {$form.send_receipt.html} <span class="description"> {ts}Automatically email a membership confirmation and receipt to {/ts}<span id="email-address"></span>? {ts}OR if the payment is from a different contact, this email will only go to them.{/ts} <span class="auto-renew-text">{ts}For auto-renewing memberships the emails are sent when each payment is received{/ts}</span> diff --git a/civicrm/templates/CRM/Member/Form/MembershipBlock.hlp b/civicrm/templates/CRM/Member/Form/MembershipBlock.hlp index ca0dc6715a93f323af1ff52f590227b3df934987..26b507c5638188d7eeb6d8c9922cd77e2928fd8e 100644 --- a/civicrm/templates/CRM/Member/Form/MembershipBlock.hlp +++ b/civicrm/templates/CRM/Member/Form/MembershipBlock.hlp @@ -7,6 +7,21 @@ | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} +{htxt id="id-member_price_set_id-title"} + {ts}Membership Price Set{/ts} +{/htxt} +{htxt id="id-member_price_set_id"} +{ts}Price sets allow you to configure more complex membership signup and renewal options, including allowing constituents to sign up for multiple memberships at the same time.{/ts} +{/htxt} + + +{htxt id="id-is-required-title"} + {ts}Require Membership Signup{/ts} +{/htxt} +{htxt id="id-is-required"} +{ts}If checked, user must signup for one of the displayed membership options before continuing.{/ts} +{/htxt} + {htxt id="id-separate-pay-title"} {ts}Separate Payment{/ts} {/htxt} diff --git a/civicrm/templates/CRM/Member/Form/MembershipBlock.tpl b/civicrm/templates/CRM/Member/Form/MembershipBlock.tpl index 9bf956c4352d10586665b411e1c8a1d0ba96a11d..0974ef3d2375d243790191122d294811a1135b6a 100644 --- a/civicrm/templates/CRM/Member/Form/MembershipBlock.tpl +++ b/civicrm/templates/CRM/Member/Form/MembershipBlock.tpl @@ -16,58 +16,44 @@ <div class="crm-submit-buttons">{include file="CRM/common/formButtons.tpl" location="top"}</div> <table class="form-layout-compressed"> <tr class="crm-member-membershipblock-form-block-member_is_active"> - <td class="label"></td><td class="html-adjust">{$form.member_is_active.html} {$form.member_is_active.label}<br /> - <span class="description">{ts}Include a Membership Signup section in this Online Contribution page?{/ts}</span></td> + <td class="label"></td><td class="html-adjust">{$form.member_is_active.html} {$form.member_is_active.label}</td> </tr> </table> <div id="memberFields"> <table class="form-layout-compressed"> <tr class="crm-member-membershipblock-form-block-new_title"> <td class="label">{$form.new_title.label} - {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_membership_block' field='new_title' id=$membershipBlockId}{/if}</td><td>{$form.new_title.html}<br /> - <span class="description">{ts}Membership section title - for new member signups.{/ts}</span></td> + {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_membership_block' field='new_title' id=$membershipBlockId}{/if}</td><td>{$form.new_title.html}</td> </tr> <tr class="crm-member-membershipblock-form-block-new_text"> <td class="label">{$form.new_text.label} {if $action == 2}<br />{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_membership_block' field='new_text' id=$membershipBlockId}{/if} </td> - <td>{$form.new_text.html}<br /> - <span class="description">{ts}Membership section introductory text - for new member signups.{/ts}<br /></span><br /></td> + <td>{$form.new_text.html}</td> </tr> <tr class="crm-member-membershipblock-form-block-renewal_title"> <td class="label">{$form.renewal_title.label} - {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_membership_block' field='renewal_title' id=$membershipBlockId}{/if}</td><td>{$form.renewal_title.html}<br /> - <span class="description">{ts}Membership section title - displayed to renewing members.{/ts}</span></td> + {if $action == 2}{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_membership_block' field='renewal_title' id=$membershipBlockId}{/if}</td><td>{$form.renewal_title.html}</td> </tr> <tr class="crm-member-membershipblock-form-block-renewal_text"> <td class="label">{$form.renewal_text.label} {if $action == 2}<br />{include file='CRM/Core/I18n/Dialog.tpl' table='civicrm_membership_block' field='renewal_text' id=$membershipBlockId}{/if} </td> - <td>{$form.renewal_text.html}<br /> - <span class="description">{ts}Membership section introductory text - displayed to renewing members.{/ts}</span><br /></td> + <td>{$form.renewal_text.html}</td> </tr> <tr class="crm-member-membershipblock-form-block-member_price_set_id"> - <td class="label">{$form.member_price_set_id.label}</td> - <td> - {if $price eq false} - {capture assign=adminPriceSetsURL}{crmURL p="civicrm/admin/price" q="reset=1"}{/capture} - <div class="status message">{ts 1=$adminPriceSetsURL}No Membership Price Sets have been configured / enabled for your site. Price sets allow you to configure more complex membership signup and renewal options, including allowing constituents to sign up for multiple memberships at the same time. Click <a href='%1'>here</a> if you want to configure price sets for your site.{/ts}</div> - {else} - {$form.member_price_set_id.html} - {/if} - </td> + <td class="label">{$form.member_price_set_id.label} {help id="id-member_price_set_id"}</td> + <td>{$form.member_price_set_id.html}<br /> + {if $isQuick} + <div id="quickConfigConvertMessage" class="description">{ts}Click <a id='memQuickconfig' href='#'>here</a> if you want to configure the Membership Types below as part of a Price Set, with the added flexibility and complexity that entails.{/ts}</div> + {/if} + </td> </tr> - {if $isQuick} - <tr id="quickConfigConvertMessage"> - <td></td> - <td><div class="status message">{ts}Click <a id='memQuickconfig' href='#'>here</a> if you want to configure the Membership Types below as part of a Price Set, with the added flexibility and complexity that entails.{/ts}</div></td> - </tr> - {/if} - <tr id="membership_type-label" class="crm-member-membershipblock-form-block-membership_type_label"> + <tr id="membership_type-label" class="crm-member-membershipblock-form-block-membership_type_label"> <td class="label">{$form.membership_type_label.label}</td> <td>{$form.membership_type_label.html}</td> - </tr> - <tr id="membership_type-block" class="crm-member-membershipblock-form-block-membership_type"> + </tr> + <tr id="membership_type-block" class="crm-member-membershipblock-form-block-membership_type"> <td class="label">{$form.membership_type.label}</td> <td> {assign var="count" value="1"} @@ -100,16 +86,13 @@ </td> </tr> <tr id="requiredSignup" class="crm-member-membershipblock-form-block-is_required"> - <td class="label"></td><td class="html-adjust">{$form.is_required.html} {$form.is_required.label}<br /> - <span class="description">{ts}If checked, user must signup for one of the displayed membership options before continuing.{/ts}</span></td> + <td class="label"></td><td class="html-adjust">{$form.is_required.html} {$form.is_required.label} {help id="id-is-required"}</td> </tr> <tr id="separatePayment" class="crm-member-membershipblock-form-block-is_separate_payment"> - <td class="label"></td><td class="html-adjust">{$form.is_separate_payment.html} {$form.is_separate_payment.label} {help id="id-separate-pay"}<br /> - <span class="description">{ts}Check this box if you are including both Membership Signup/Renewal AND a Contribution Amount section, AND you want the membership fee to be charged separately from any additional contribution amount.{/ts}</span></td> + <td class="label"></td><td class="html-adjust">{$form.is_separate_payment.html} {$form.is_separate_payment.label} {help id="id-separate-pay"}</td> </tr> <tr id="displayFee" class="crm-member-membershipblock-form-block-display_min_fee"> - <td class="label"></td><td class="html-adjust">{$form.display_min_fee.html} {$form.display_min_fee.label} {help id="id-display-fee"}<br /> - <span class="description">{ts}Display the membership fee along with the membership name and description for each membership option?{/ts}</span></td> + <td class="label"></td><td class="html-adjust">{$form.display_min_fee.html} {$form.display_min_fee.label} {help id="id-display-fee"}</td> </tr> </table> diff --git a/civicrm/templates/CRM/Member/Form/MembershipCommon.tpl b/civicrm/templates/CRM/Member/Form/MembershipCommon.tpl index ae2e4eb1d09f669cf1452e37f6f4a745f7a6a849..e38588928ca19487dfdd11d59b0943aa6168a4dc 100644 --- a/civicrm/templates/CRM/Member/Form/MembershipCommon.tpl +++ b/civicrm/templates/CRM/Member/Form/MembershipCommon.tpl @@ -23,8 +23,7 @@ <tr class="crm-{$formClass}-form-block-total_amount"> <td class="label">{$form.total_amount.label}</td> - <td>{$form.total_amount.html}<br /> - <span class="description">{ts}Membership payment amount. A contribution record will be created for this amount.{/ts}</span><div class="totaltaxAmount"></div></td> + <td>{$form.total_amount.html}</td> </tr> <tr class="crm-{$formClass}-form-block-receive_date"> <td class="label">{$form.receive_date.label}</td> @@ -32,9 +31,7 @@ </tr> <tr class="crm-{$formClass}-form-block-financial_type_id"> <td class="label">{$form.financial_type_id.label}</td> - <td>{$form.financial_type_id.html}<br/> - <span class="description">{ts}Select the appropriate financial type for this payment.{/ts}</span> - </td> + <td>{$form.financial_type_id.html}</td> </tr> <tr class="crm-{$formClass}-form-block-payment_instrument_id"> <td class="label">{$form.payment_instrument_id.label}<span class='marker'>*</span></td> @@ -70,8 +67,7 @@ {/if} <tr class="crm-member-{$formClass}-form-block-financial_type_id"> <td class="label">{$form.financial_type_id.label}</td> - <td>{$form.financial_type_id.html}<br/> - <span class="description">{ts}Select the appropriate financial type for this payment.{/ts}</span></td> + <td>{$form.financial_type_id.html}</td> </tr> <tr class="crm-{$formClass}-form-block-total_amount"> <td class="label">{$form.total_amount.label}</td> diff --git a/civicrm/templates/CRM/Member/Form/MembershipRenewal.tpl b/civicrm/templates/CRM/Member/Form/MembershipRenewal.tpl index a8e00e02b44509e8d08b449685470c55b17d780c..d2a14193579886c289e4c91e566805f410e22e28 100644 --- a/civicrm/templates/CRM/Member/Form/MembershipRenewal.tpl +++ b/civicrm/templates/CRM/Member/Form/MembershipRenewal.tpl @@ -68,8 +68,7 @@ </tr> <tr class="crm-member-membershiprenew-form-block-membership_status"> <td class="label">{ts}Membership Status{/ts}</td> - <td class="html-adjust"> {$membershipStatus}<br/> - <span class="description">{ts}Status of this membership.{/ts}</span></td> + <td class="html-adjust"> {$membershipStatus}</td> </tr> <tr class="crm-member-membershiprenew-form-block-end_date"> <td class="label">{ts}Membership Expiration Date{/ts}</td> @@ -77,29 +76,21 @@ </tr> <tr class="crm-member-membershiprenew-form-block-renewal_date"> <td class="label">{$form.renewal_date.label}</td> - <td>{$form.renewal_date.html}</td> - </tr> - <tr id="defaultNumTerms" class="crm-member-membershiprenew-form-block-default-num_terms"> - <td colspan="2" class="description"> - {ts}Renewal extends Membership Expiration Date by one membership period{/ts} - <a id="changeTermsLink" href='#' - onclick='changeNumTerms(); return false;'>{ts}change{/ts}</a> + <td>{$form.renewal_date.html} + <div id="defaultNumTerms" class="crm-member-membershiprenew-form-block-default-num_terms description"> + {ts}Renewal extends Membership Expiration Date by one membership period{/ts} + <a id="changeTermsLink" href='#' onclick='changeNumTerms(); return false;'>{ts}change{/ts}</a> + </div> </td> </tr> <tr id="changeNumTerms" class="crm-member-membershiprenew-form-block-change-num_terms"> <td class="label">{$form.num_terms.label}</td> - <td>{$form.num_terms.html|crmAddClass:two} {ts}membership periods{/ts}<br/> - <span - class="description">{ts}Extend the Membership Expiration Date by this many membership periods. Make sure the appropriate corresponding fee is entered below.{/ts}</span> - </td> + <td>{$form.num_terms.html|crmAddClass:two} {ts}membership periods{/ts}</td> </tr> {if $accessContribution and ! $membershipMode} <tr class="crm-member-membershiprenew-form-block-record_contribution"> <td class="label">{$form.record_contribution.label}</td> - <td class="html-adjust">{$form.record_contribution.html}<br/> - <span - class="description">{ts}Check this box to enter payment information. You will also be able to generate a customized receipt.{/ts}</span> - </td> + <td class="html-adjust">{$form.record_contribution.html}</td> </tr> <tr id="recordContribution" class="crm-member-membershiprenew-form-block-membership_renewal"> <td colspan="2"> @@ -112,7 +103,7 @@ <table class="form-layout"> <tr class="crm-{$formClass}-form-block-send_receipt"> <td class="label">{$form.send_receipt.label}</td> - <td>{$form.send_receipt.html}<br/> + <td>{$form.send_receipt.html} <span class="description">{ts 1=$emailExists}Automatically email a membership confirmation and receipt to %1?{/ts}</span> </td> </tr> @@ -122,9 +113,11 @@ </tr> <tr id="notice" class="crm-member-membershiprenew-form-block-receipt_text"> <td class="label">{$form.receipt_text.label}</td> - <td><span - class="description">{ts}Enter a message you want included at the beginning of the emailed receipt. EXAMPLE: 'Thanks for supporting our organization with your membership.'{/ts}</span><br/> - {$form.receipt_text.html|crmAddClass:huge}</td> + <td>{$form.receipt_text.html|crmAddClass:huge}<br /> + <span class="description"> + {ts}Enter a message you want included at the beginning of the emailed receipt.{/ts} + </span> + </td> </tr> </table> {/if} diff --git a/civicrm/templates/CRM/Member/Form/MembershipType.tpl b/civicrm/templates/CRM/Member/Form/MembershipType.tpl index 8be9e23fd9c7fa9a8484d8d9cd937c2be3e4cf07..a263d77f4212b6228ca17255a721a98a5d04186b 100644 --- a/civicrm/templates/CRM/Member/Form/MembershipType.tpl +++ b/civicrm/templates/CRM/Member/Form/MembershipType.tpl @@ -69,13 +69,11 @@ <tr class="crm-membership-type-form-block-relationship_type_id"> <td class="label">{$form.relationship_type_id.label}</td> <td> - {if !$membershipRecordsExists} - {$form.relationship_type_id.html} - <br /> - {else} - {$form.relationship_type_id.html}<div class="status message">{ts}You cannot modify relationship type because there are membership records associated with this membership type.{/ts}</div> - {/if} + {$form.relationship_type_id.html}<br /> <span class="description">{ts}Memberships can be automatically granted to related contacts by selecting a Relationship Type.{/ts} {help id="rel-type" file="CRM/Member/Page/MembershipType.hlp"}</span> + {if $membershipRecordsExists} + <div class="status message">{ts}There are membership records associated with this membership type. Changing this setting will not automatically update existing memberships (and those that would inherit a membership), which may cause inconsistent results.{/ts}</div> + {/if} </td> </tr> <tr id="maxRelated" class="crm-membership-type-form-block-max_related"> diff --git a/civicrm/templates/CRM/Member/Form/MembershipView.tpl b/civicrm/templates/CRM/Member/Form/MembershipView.tpl index 442b0f7a6a444317d60ab7f4856f053f2557378a..b495f9ea350e316ffb4633e097110c2cf7c4fec9 100644 --- a/civicrm/templates/CRM/Member/Form/MembershipView.tpl +++ b/civicrm/templates/CRM/Member/Form/MembershipView.tpl @@ -45,7 +45,7 @@ <tr><td class="label">{ts}Max related{/ts}</td><td>{$max_related}</td></tr> {/if} <tr><td class="label">{ts}Status{/ts}</td><td>{$status} {if $is_override}({ts}Overridden{/ts}){/if}</td></tr> - <tr><td class="label">{ts}Source{/ts}</td><td>{$source}</td></tr> + <tr><td class="label">{ts}Membership Source{/ts}</td><td>{$source}</td></tr> {if $campaign}<tr><td class="label">{ts}Campaign{/ts}</td><td>{$campaign}</td></tr>{/if} <tr><td class="label">{ts}Member Since{/ts}</td><td>{$join_date|crmDate}</td></tr> <tr><td class="label">{ts}Membership Start Date{/ts}</td><td>{$start_date|crmDate}</td></tr> diff --git a/civicrm/templates/CRM/Member/Form/Task/Print.tpl b/civicrm/templates/CRM/Member/Form/Task/Print.tpl index 35755fc3efd83e3c0c122601d5194f7fb6e79f3f..1bb80a8d83524ee88cea9e8513c4c36c5c7b790c 100644 --- a/civicrm/templates/CRM/Member/Form/Task/Print.tpl +++ b/civicrm/templates/CRM/Member/Form/Task/Print.tpl @@ -22,7 +22,7 @@ <th>{ts}Member Since{/ts}</th> <th>{ts}Membership Start Date{/ts}</th> <th>{ts}Membership Expiration Date{/ts}</th> - <th>{ts}Source{/ts}</th> + <th>{ts}Membership Source{/ts}</th> <th>{ts}Status{/ts}</th> </tr> {foreach from=$rows item=row} diff --git a/civicrm/templates/CRM/Member/Form/Task/SearchTaskHookSample.tpl b/civicrm/templates/CRM/Member/Form/Task/SearchTaskHookSample.tpl index f639568e3e2fe6ad7805aa2a80f74a1642e1e85e..31a1e228d979646ec05796ad8a48964ccb87e805 100644 --- a/civicrm/templates/CRM/Member/Form/Task/SearchTaskHookSample.tpl +++ b/civicrm/templates/CRM/Member/Form/Task/SearchTaskHookSample.tpl @@ -12,7 +12,7 @@ <th>{ts}Display Name{/ts}</th> <th>{ts}Membership Start Date{/ts}</th> <th>{ts}Membership Expiration Date{/ts}</th> - <th>{ts}Source{/ts}</th> + <th>{ts}Membership Source{/ts}</th> </tr> {foreach from=$rows item=row} diff --git a/civicrm/templates/CRM/Member/Import/Form/DataSource.hlp b/civicrm/templates/CRM/Member/Import/Form/DataSource.hlp index 6cc9097a92a913c430398262a660c20f8b4e4980..19cc34dd52eea2f9de5bbca53c0e5f21eec68662 100644 --- a/civicrm/templates/CRM/Member/Import/Form/DataSource.hlp +++ b/civicrm/templates/CRM/Member/Import/Form/DataSource.hlp @@ -7,33 +7,10 @@ | and copyright information, see https://civicrm.org/licensing | +--------------------------------------------------------------------+ *} -{htxt id="upload-title"} - {ts}Import File Format{/ts} -{/htxt} -{htxt id="upload"} -<p> - {ts}Files to be imported must be in the 'comma-separated-values' format (CSV). Most applications will allow you to export records in CSV format. Consult the documentation for your application if you're not sure how to do this.{/ts} -</p> -<h1>{ts}Contact Records for Members{/ts}</h1> -<p> - {ts}Membership import requires that each person, household or organization already exists as a contact record in your CiviCRM database. If you need to import memberships for contact records which haven't been added to CiviCRM yet - you will do this in 2 steps. First, use <strong>Import Contacts</strong> to add the contact records. If possible, include a unique 'External ID' for each new contact which you can then use to match memberships to contacts. Then return to this screen and import the membership records.{/ts} -</p> -<h1>{ts}Matching Memberships to Contacts{/ts}</h1> -<p>{ts}Membership import files must contain data needed to <strong>match the membership to the contact record</strong>. This 'matching' can be handled in several different ways:{/ts}</p> - <ul> - <li>{ts}Include the data fields used for contact 'matching' based on your configured <strong>Unsupervised Duplicate Matching</strong> rules. For the default duplicate matching rules, you would include a column in each row with the contributors' Email Address.{/ts}</li> - <li>{ts}If you've stored a unique <strong>External Identifier</strong> for each contact in CiviCRM, you can include that value as a column in your import file. Memberships will then be matched to contact records using their External ID.{/ts}</li> - <li>{ts}You can include a column with each contact's <strong>Internal Contact ID</strong>. This is the unique ID assigned by CiviCRM which is displayed at the bottom of the Contact Summary screen - and can be exported.{/ts}</li> - </ul> -<p> - {ts}Save the CSV file with your membership data and 'contact matching' data to your local hard drive (or an accessible drive on your network) - and you are now ready for step 1 (Upload Data).{/ts} -</p> -{/htxt} - -{htxt id="id-onDuplicate-title"} +{htxt id="dupes-title"} {ts}Matching to Contacts for Inserts and Updates{/ts} {/htxt} -{htxt id="id-onDuplicate"} +{htxt id="dupes"} <p>{ts}For each import, you can either INSERT new membership records, or UPDATE existing records. You can not do both types of operations in a single import session.{/ts}</p> <p>{ts}If you are INSERTING new membership records, you will need to include a column in your data file containing the values used to link the membership to an existing contact. You can use the 'Internal Contact ID', an 'External Identifier' (if you are using those in your contact records), OR the property defined in your Unsupervised Duplicate Matching rule (which is Email Address by default).{/ts}</p> <p>{ts}If you are UPDATING existing memberships, you will need to include a column containing the unique CiviCRM-assigned membership ID to match to the existing membership records.{/ts}</p> diff --git a/civicrm/templates/CRM/Member/Page/Tab.tpl b/civicrm/templates/CRM/Member/Page/Tab.tpl index a54f9de1911cabf721abe884a4ca0035645327da..f8b5a5988c2eeb38d29d8b3d6ab4a235546c486d 100644 --- a/civicrm/templates/CRM/Member/Page/Tab.tpl +++ b/civicrm/templates/CRM/Member/Page/Tab.tpl @@ -50,7 +50,7 @@ <th>{ts}Membership Start Date{/ts}</th> <th>{ts}Membership Expiration Date{/ts}</th> <th>{ts}Status{/ts}</th> - <th>{ts}Source{/ts}</th> + <th>{ts}Membership Source{/ts}</th> <th>{ts}Auto-renew{/ts}</th> <th>{ts}Related{/ts}</th> <th></th> @@ -101,7 +101,7 @@ <th>{ts}Membership Start Date{/ts}</th> <th>{ts}Membership Expiration Date{/ts}</th> <th>{ts}Status{/ts}</th> - <th>{ts}Source{/ts}</th> + <th>{ts}Membership Source{/ts}</th> <th>{ts}Auto-renew{/ts}</th> <th></th> </tr> diff --git a/civicrm/templates/CRM/Pledge/Form/Pledge.hlp b/civicrm/templates/CRM/Pledge/Form/Pledge.hlp new file mode 100644 index 0000000000000000000000000000000000000000..ea9d237e301434d95ff469bf685d4d4cc2101ddb --- /dev/null +++ b/civicrm/templates/CRM/Pledge/Form/Pledge.hlp @@ -0,0 +1,22 @@ +{* + +--------------------------------------------------------------------+ + | Copyright CiviCRM LLC. All rights reserved. | + | | + | This work is published under the GNU AGPLv3 license with some | + | permitted exceptions and without any warranty. For full license | + | and copyright information, see https://civicrm.org/licensing | + +--------------------------------------------------------------------+ +*} +{htxt id='id-financial_type_id-title'} + {ts}Financial Type{/ts} +{/htxt} +{htxt id='id-financial_type_id'} +{ts}Sets the default financial type for payments against this pledge.{/ts} +{/htxt} + +{htxt id='id-contribution_page_id-title'} + {ts}Self-service Payments Page{/ts} +{/htxt} +{htxt id='id-contribution_page_id'} +{ts}Select an Online Contribution page that the user can access to make self-service pledge payments. (Only Online Contribution pages configured to include the Pledge option are listed.){/ts} +{/htxt} diff --git a/civicrm/templates/CRM/Pledge/Form/Pledge.tpl b/civicrm/templates/CRM/Pledge/Form/Pledge.tpl index b14178a7100918c3b4eceefd6213303722459244..df3640751c78df0c6d1b0d8c468059bf50acd277 100644 --- a/civicrm/templates/CRM/Pledge/Form/Pledge.tpl +++ b/civicrm/templates/CRM/Pledge/Form/Pledge.tpl @@ -60,23 +60,20 @@ </tr> <tr class="crm-pledge-form-block-frequency_day"> <td class="label nowrap">{$form.frequency_day.label}</td> - <td>{$form.frequency_day.html} {ts}day of the period{/ts}<br /> - <span class="description">{ts}This applies to weekly, monthly and yearly payments.{/ts}</span> + <td>{$form.frequency_day.html} {ts}day of the period{/ts} </td> </tr> <tr class="crm-pledge-form-block-create_date"> <td class="label">{$form.create_date.label}</td> <td> - {$form.create_date.html}<br /> - <span class="description">{ts}Date when pledge was made by the contributor.{/ts}</span> + {$form.create_date.html} </td> </tr> <tr class="crm-pledge-form-block-start_date"> <td class="label">{$form.start_date.label}</td> <td> - {$form.start_date.html}<br /> - <span class="description">{ts}Date of first pledge payment.{/ts}</span> + {$form.start_date.html} </td> </tr> @@ -84,7 +81,7 @@ {if !empty($form.is_acknowledge)} <tr class="crm-pledge-form-block-is_acknowledge"> <td class="label">{$form.is_acknowledge.label}</td> - <td>{$form.is_acknowledge.html}<br /> + <td>{$form.is_acknowledge.html} <span class="description">{ts 1=$email}Automatically email an acknowledgment of this pledge to %1?{/ts}</span> </td> </tr> @@ -93,7 +90,8 @@ <tr id="acknowledgment-receipt" style="display:none;"> <td class="label">{$form.is_acknowledge.label}</td> <td> - {$form.is_acknowledge.html} <span class="description">{ts 1='<span id="email-address"></span>'}Automatically email an acknowledgment of this pledge to %1?{/ts}</span> + {$form.is_acknowledge.html} + <span class="description">{ts 1='<span id="email-address"></span>'}Automatically email an acknowledgment of this pledge to %1?{/ts}</span> </td> </tr> {/if} @@ -104,15 +102,13 @@ <tr id="acknowledgeDate"> <td class="label" class="crm-pledge-form-block-acknowledge_date">{$form.acknowledge_date.label}</td> <td> - {$form.acknowledge_date.html}<br /> - <span class="description">{ts}Date when an acknowledgment of the pledge was sent.{/ts}</span> + {$form.acknowledge_date.html} </td> </tr> <tr class="crm-pledge-form-block-financial_type_id"> - <td class="label">{$form.financial_type_id.label}</td> - <td>{$form.financial_type_id.html}<br /> - <span class="description">{ts}Sets the default financial type for payments against this pledge.{/ts}</span> - </td> + <td class="label">{$form.financial_type_id.label} {help id='id-financial_type_id'} +</td> + <td>{$form.financial_type_id.html}</td> </tr> {* CRM-7362 --add campaign *} @@ -120,10 +116,8 @@ campaignTrClass="crm-pledge-form-block-campaign_id"} <tr class="crm-pledge-form-block-contribution_page_id"> - <td class="label">{$form.contribution_page_id.label}</td> - <td>{$form.contribution_page_id.html}<br /> - <span class="description">{ts}Select an Online Contribution page that the user can access to make self-service pledge payments. (Only Online Contribution pages configured to include the Pledge option are listed.){/ts}</span> - </td> + <td class="label">{$form.contribution_page_id.label} {help id='id-contribution_page_id'}</td> + <td>{$form.contribution_page_id.html}</td> </tr> <tr class="crm-pledge-form-block-status"> diff --git a/civicrm/templates/CRM/Price/Form/PriceSet.tpl b/civicrm/templates/CRM/Price/Form/PriceSet.tpl index 9eabeaf89ae114f9b538bf51871d1d6468d0c1d6..13c626c008d347db2e54e49270af9630df305798 100644 --- a/civicrm/templates/CRM/Price/Form/PriceSet.tpl +++ b/civicrm/templates/CRM/Price/Form/PriceSet.tpl @@ -27,7 +27,7 @@ {foreach from=$priceSet.fields item=element key=field_id} {* Skip 'Admin' visibility price fields WHEN this tpl is used in online registration unless user has administer CiviCRM permission. *} - {if $element.visibility EQ 'public' || ($element.visibility EQ 'admin' && $adminFld EQ true) || $context eq 'standalone' || $context eq 'advanced' || $context eq 'search' || $context eq 'participant' || $context eq 'dashboard' || $action eq 1024} + {if $element.visibility EQ 'public' || ($element.visibility EQ 'admin' && $adminFld EQ true) || $context eq 'standalone' || $context eq 'advanced' || $context eq 'search' || $context eq 'participant' || $context eq 'dashboard' } {if $element.help_pre}<span class="content description">{$element.help_pre}</span><br />{/if} <div class="crm-section {$element.name}-section crm-price-field-id-{$field_id}"> {if ($element.html_type eq 'CheckBox' || $element.html_type == 'Radio') && $element.options_per_line} diff --git a/civicrm/templates/CRM/Report/Form/Layout/Table.tpl b/civicrm/templates/CRM/Report/Form/Layout/Table.tpl index 871a7b97ed6d97b9976307d2f6f49603a20457c0..c95d9a3d08bd48b7ea8d00a9db959331656953ba 100644 --- a/civicrm/templates/CRM/Report/Form/Layout/Table.tpl +++ b/civicrm/templates/CRM/Report/Form/Layout/Table.tpl @@ -44,8 +44,8 @@ {if !$sections} {* section headers and sticky headers aren't playing nice yet *} <thead class="sticky"> <tr> - {$tableHeader} - </tr> + {$tableHeader|smarty:nodefaults} + </tr> </thead> {/if} diff --git a/civicrm/templates/CRM/Report/Form/Statistics.tpl b/civicrm/templates/CRM/Report/Form/Statistics.tpl index 104f95466aeb4a0c82068a031015f4553aef9ca2..e4625d9ab4898109f0118f84866aea10295f6fba 100644 --- a/civicrm/templates/CRM/Report/Form/Statistics.tpl +++ b/civicrm/templates/CRM/Report/Form/Statistics.tpl @@ -40,7 +40,7 @@ {if $row.type eq 1024} {$row.value|crmMoney|escape} {elseif $row.type eq 2} - {$row.value|escape} + {$row.value|purify} {else} {$row.value|crmNumberFormat|escape} {/if} diff --git a/civicrm/templates/CRM/common/footer.tpl b/civicrm/templates/CRM/common/footer.tpl index 0e0adf7dfb3ca7a5c38e39b9d113c5047d8d5a06..9e492606093ac9b00e82f688cc738859eef8f543 100644 --- a/civicrm/templates/CRM/common/footer.tpl +++ b/civicrm/templates/CRM/common/footer.tpl @@ -14,18 +14,17 @@ {/if} <div class="crm-footer" id="civicrm-footer"> - {crmVersion assign=version} - {ts}Powered by CiviCRM{/ts} <a href="https://download.civicrm.org/about/{$version}" rel="external" target="_blank">{$version}</a>. {if $footer_status_severity} - <span class="status{if $footer_status_severity gt 3} crm-error{elseif $footer_status_severity gt 2} crm-warning{else} crm-ok{/if}"> + <span class="status{if $footer_status_severity gt 3} crm-error{elseif $footer_status_severity gt 2} crm-warning{else} crm-ok{/if}"> <a href="{crmURL p='civicrm/a/#/status'}">{$footer_status_message}</a> - </span> + </span> + {elseif call_user_func(array('CRM_Core_Permission','check'), 'administer CiviCRM')} + <span class="status crm-status-none"> + <a href="{crmURL p='civicrm/a/#/status'}">{ts}System Status{/ts}</a> + </span> {/if} - {ts 1='href="http://www.gnu.org/licenses/agpl-3.0.html" rel="external" target="_blank"'}CiviCRM is openly available under the <a %1>GNU AGPL License</a>.{/ts}<br/> - <a href="https://civicrm.org/download" rel="external" target="_blank">{ts}Download CiviCRM.{/ts}</a> - <a href="https://lab.civicrm.org/groups/dev/-/issues" rel="external" target="_blank">{ts}View issues and report bugs.{/ts}</a> - {capture assign=docUrlText}{ts}Online documentation.{/ts}{/capture} - {docURL page="" text=$docUrlText} + {crmVersion assign=version} + {ts 1='href="http://www.gnu.org/licenses/agpl-3.0.html" rel="external" target="_blank"' 2='href="https://civicrm.org/" rel="external" target="_blank"' 3=$version}Powered by <a %2>CiviCRM</a> %3, free and open source <a %1>AGPLv3</a> software.{/ts}<br/> </div> {include file="CRM/common/notifications.tpl"} {/if} diff --git a/civicrm/vendor/autoload.php b/civicrm/vendor/autoload.php index 5ba656ee61d78abde9d3ffb5397209480132733e..262de456075be146e2ef64cd31f9e60d2cd9edf7 100644 --- a/civicrm/vendor/autoload.php +++ b/civicrm/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit1b9e192d5e7805a9da3e259135567f71::getLoader(); +return ComposerAutoloaderInite6b1ce1a2cab093218eb2f74131ef39d::getLoader(); diff --git a/civicrm/vendor/composer/autoload_real.php b/civicrm/vendor/composer/autoload_real.php index eb64d0b2aaf731f9a17aa08479d04f6ce7273c8e..4e296470e9d3f73780a4f60be15d3bb2f11c0399 100644 --- a/civicrm/vendor/composer/autoload_real.php +++ b/civicrm/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit1b9e192d5e7805a9da3e259135567f71 +class ComposerAutoloaderInite6b1ce1a2cab093218eb2f74131ef39d { private static $loader; @@ -24,9 +24,9 @@ class ComposerAutoloaderInit1b9e192d5e7805a9da3e259135567f71 require __DIR__ . '/platform_check.php'; - spl_autoload_register(array('ComposerAutoloaderInit1b9e192d5e7805a9da3e259135567f71', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInite6b1ce1a2cab093218eb2f74131ef39d', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); - spl_autoload_unregister(array('ComposerAutoloaderInit1b9e192d5e7805a9da3e259135567f71', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInite6b1ce1a2cab093218eb2f74131ef39d', 'loadClassLoader')); $includePaths = require __DIR__ . '/include_paths.php'; $includePaths[] = get_include_path(); @@ -36,7 +36,7 @@ class ComposerAutoloaderInit1b9e192d5e7805a9da3e259135567f71 if ($useStaticLoader) { require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit1b9e192d5e7805a9da3e259135567f71::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInite6b1ce1a2cab093218eb2f74131ef39d::getInitializer($loader)); } else { $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { @@ -57,12 +57,12 @@ class ComposerAutoloaderInit1b9e192d5e7805a9da3e259135567f71 $loader->register(true); if ($useStaticLoader) { - $includeFiles = Composer\Autoload\ComposerStaticInit1b9e192d5e7805a9da3e259135567f71::$files; + $includeFiles = Composer\Autoload\ComposerStaticInite6b1ce1a2cab093218eb2f74131ef39d::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequire1b9e192d5e7805a9da3e259135567f71($fileIdentifier, $file); + composerRequiree6b1ce1a2cab093218eb2f74131ef39d($fileIdentifier, $file); } return $loader; @@ -74,7 +74,7 @@ class ComposerAutoloaderInit1b9e192d5e7805a9da3e259135567f71 * @param string $file * @return void */ -function composerRequire1b9e192d5e7805a9da3e259135567f71($fileIdentifier, $file) +function composerRequiree6b1ce1a2cab093218eb2f74131ef39d($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; diff --git a/civicrm/vendor/composer/autoload_static.php b/civicrm/vendor/composer/autoload_static.php index 06e32adf4f24e403c026b3069ab32af836da38da..676eff21af16ef1577329854b5d367c0bd683f7f 100644 --- a/civicrm/vendor/composer/autoload_static.php +++ b/civicrm/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit1b9e192d5e7805a9da3e259135567f71 +class ComposerStaticInite6b1ce1a2cab093218eb2f74131ef39d { public static $files = array ( 'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php', @@ -729,11 +729,11 @@ class ComposerStaticInit1b9e192d5e7805a9da3e259135567f71 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit1b9e192d5e7805a9da3e259135567f71::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit1b9e192d5e7805a9da3e259135567f71::$prefixDirsPsr4; - $loader->prefixesPsr0 = ComposerStaticInit1b9e192d5e7805a9da3e259135567f71::$prefixesPsr0; - $loader->fallbackDirsPsr0 = ComposerStaticInit1b9e192d5e7805a9da3e259135567f71::$fallbackDirsPsr0; - $loader->classMap = ComposerStaticInit1b9e192d5e7805a9da3e259135567f71::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInite6b1ce1a2cab093218eb2f74131ef39d::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInite6b1ce1a2cab093218eb2f74131ef39d::$prefixDirsPsr4; + $loader->prefixesPsr0 = ComposerStaticInite6b1ce1a2cab093218eb2f74131ef39d::$prefixesPsr0; + $loader->fallbackDirsPsr0 = ComposerStaticInite6b1ce1a2cab093218eb2f74131ef39d::$fallbackDirsPsr0; + $loader->classMap = ComposerStaticInite6b1ce1a2cab093218eb2f74131ef39d::$classMap; }, null, ClassLoader::class); } diff --git a/civicrm/vendor/composer/installed.php b/civicrm/vendor/composer/installed.php index dad30a74c82e7eecca42728b05c06b58def5bec4..b62838ddfc1578cb1c205b205968866ed87ad5c7 100644 --- a/civicrm/vendor/composer/installed.php +++ b/civicrm/vendor/composer/installed.php @@ -1,11 +1,11 @@ <?php return array( 'root' => array( - 'pretty_version' => '5.62.x-dev', - 'version' => '5.62.9999999.9999999-dev', + 'pretty_version' => '5.63.x-dev', + 'version' => '5.63.9999999.9999999-dev', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), - 'reference' => 'b789bc645d5ad62ec0a565b582ca108a2e0367da', + 'reference' => '7e82548a658390a534fff211c51bd2d7e815eef6', 'name' => 'civicrm/civicrm-core', 'dev' => true, ), @@ -38,12 +38,12 @@ 'dev_requirement' => false, ), 'civicrm/civicrm-core' => array( - 'pretty_version' => '5.62.x-dev', - 'version' => '5.62.9999999.9999999-dev', + 'pretty_version' => '5.63.x-dev', + 'version' => '5.63.9999999.9999999-dev', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), - 'reference' => 'b789bc645d5ad62ec0a565b582ca108a2e0367da', + 'reference' => '7e82548a658390a534fff211c51bd2d7e815eef6', 'dev_requirement' => false, ), 'civicrm/civicrm-cxn-rpc' => array( diff --git a/civicrm/xml/schema/Campaign/Campaign.xml b/civicrm/xml/schema/Campaign/Campaign.xml index 6efbca7fd7fa25129538e20f6f1592b2375411d7..bf0cb108e54f110f028e067779f52fa58bc89cc2 100644 --- a/civicrm/xml/schema/Campaign/Campaign.xml +++ b/civicrm/xml/schema/Campaign/Campaign.xml @@ -50,7 +50,7 @@ <name>UI_name</name> <fieldName>name</fieldName> <unique>true</unique> - <add>5.61</add> + <add>5.63</add> </index> <field> <name>title</name> @@ -127,9 +127,9 @@ <add>3.3</add> </field> <index> - <name>UI_campaign_type_id</name> + <name>index_campaign_type_id</name> <fieldName>campaign_type_id</fieldName> - <add>3.3</add> + <add>5.63</add> </index> <field> @@ -149,9 +149,9 @@ <add>3.3</add> </field> <index> - <name>UI_campaign_status_id</name> + <name>index_status_id</name> <fieldName>status_id</fieldName> - <add>3.3</add> + <add>5.63</add> </index> <field> @@ -233,12 +233,15 @@ <field> <name>created_date</name> <type>datetime</type> + <default>CURRENT_TIMESTAMP</default> + <readonly>true</readonly> <title>Campaign Created Date</title> <comment>Date and time that Campaign was created.</comment> <add>3.3</add> <html> <type>Select Date</type> <formatType>activityDateTime</formatType> + <label>Created Date</label> </html> </field> diff --git a/civicrm/xml/schema/Contact/Group.xml b/civicrm/xml/schema/Contact/Group.xml index e6c3362620949229793a8c379855df8802adbd8e..704d14f78aad4b5d9914770e54ef014a2f23e72e 100644 --- a/civicrm/xml/schema/Contact/Group.xml +++ b/civicrm/xml/schema/Contact/Group.xml @@ -176,14 +176,15 @@ <title>Next Group Refresh Time</title> <required>false</required> <readonly>true</readonly> - <comment>Date and time when we need to refresh the cache next.</comment> + <deprecated>true</deprecated> + <comment>Unused deprecated column.</comment> <add>4.3</add> </field> <field> <name>parents</name> <type>text</type> <title>Group Parents</title> - <comment>IDs of the parent(s)</comment> + <comment>List of parent groups</comment> <add>2.1</add> <serialize>COMMA</serialize> <pseudoconstant> @@ -195,15 +196,28 @@ </pseudoconstant> <html> <type>EntityRef</type> - <label>Parent Group(s)</label> + <label>Parent Groups</label> </html> </field> <field> <name>children</name> <type>text</type> <title>Group Children</title> - <comment>IDs of the child(ren)</comment> + <comment>List of child groups (calculated)</comment> <add>2.1</add> + <serialize>COMMA</serialize> + <readonly>true</readonly> + <pseudoconstant> + <table>civicrm_group</table> + <keyColumn>id</keyColumn> + <nameColumn>name</nameColumn> + <labelColumn>title</labelColumn> + <prefetch>FALSE</prefetch> + </pseudoconstant> + <html> + <type>EntityRef</type> + <label>Child Groups</label> + </html> </field> <field> <name>is_hidden</name> diff --git a/civicrm/xml/schema/Contribute/Contribution.xml b/civicrm/xml/schema/Contribute/Contribution.xml index c5d470abee1225e3b14e9a993be19667f27da3d8..99089cd2fd2c8988cb9c08a4f707eaed54d3f22f 100644 --- a/civicrm/xml/schema/Contribute/Contribution.xml +++ b/civicrm/xml/schema/Contribute/Contribution.xml @@ -88,6 +88,7 @@ <pseudoconstant> <table>civicrm_contribution_page</table> <keyColumn>id</keyColumn> + <nameColumn>name</nameColumn> <labelColumn>title</labelColumn> </pseudoconstant> <html> @@ -127,12 +128,11 @@ </index> <field> <name>receive_date</name> - <title>Date Received</title> + <title>Contribution Date</title> <type>datetime</type> <import>true</import> <headerPattern>/receive(.?date)?/i</headerPattern> <dataPattern>/^\d{4}-?\d{2}-?\d{2} ?(\d{2}:?\d{2}:?(\d{2})?)?$/</dataPattern> - <comment>Date contribution was received - not necessarily the creation date of the record</comment> <add>1.3</add> <html> <type>Select Date</type> diff --git a/civicrm/xml/schema/Contribute/ContributionPage.xml b/civicrm/xml/schema/Contribute/ContributionPage.xml index 41580a76fa1194a81390baa1c903eafe8d4ec848..d1067e82653ab4d766f0eb8a333cc8550fe40e12 100644 --- a/civicrm/xml/schema/Contribute/ContributionPage.xml +++ b/civicrm/xml/schema/Contribute/ContributionPage.xml @@ -9,6 +9,11 @@ <log>true</log> <component>CiviContribute</component> <labelField>title</labelField> + <paths> + <add>civicrm/admin/contribute/add?reset=1&action=add</add> + <update>civicrm/admin/contribute/settings?reset=1&action=update&id=[id]</update> + <delete>civicrm/admin/contribute?reset=1&action=delete&id=[id]</delete> + </paths> <field> <name>id</name> <title>Contribution Page ID</title> @@ -26,12 +31,41 @@ </primaryKey> <field> <name>title</name> - <title>Contribution Page Title</title> + <title>Page Name</title> <type>varchar</type> <length>255</length> <localizable>true</localizable> + <required>true</required> <comment>Contribution Page title. For top of page display</comment> <add>1.3</add> + <html> + <type>Text</type> + </html> + </field> + <field> + <name>frontend_title</name> + <title>Public Title</title> + <type>varchar</type> + <length>255</length> + <localizable>true</localizable> + <required>true</required> + <comment>Contribution Page Public title</comment> + <html> + <type>Text</type> + </html> + <add>5.20</add> + </field> + <field> + <name>name</name> + <title>Unique Name</title> + <comment>Unique name for identifying contribution page</comment> + <required>true</required> + <type>varchar</type> + <length>255</length> + <html> + <type>Text</type> + </html> + <add>5.63</add> </field> <field> <name>intro_text</name> @@ -493,18 +527,10 @@ <comment>if true - billing block is required for online contribution page</comment> <add>4.6</add> </field> - <field> - <name>frontend_title</name> - <title>Public Title</title> - <type>varchar</type> - <length>255</length> - <localizable>true</localizable> - <default>NULL</default> - <comment>Contribution Page Public title</comment> - <html> - <type>Text</type> - </html> - <add>5.20</add> - <uniqueName>contribution_page_frontend_title</uniqueName> - </field> + <index> + <name>UI_name</name> + <fieldName>name</fieldName> + <unique>true</unique> + <add>2.1</add> + </index> </table> diff --git a/civicrm/xml/schema/Contribute/ContributionProduct.xml b/civicrm/xml/schema/Contribute/ContributionProduct.xml index 202324429d255dd5159f2a4dae8dee28ce849fa2..7b86c9e2eb9f8df7befb5249c317f1bd99ff7a1f 100644 --- a/civicrm/xml/schema/Contribute/ContributionProduct.xml +++ b/civicrm/xml/schema/Contribute/ContributionProduct.xml @@ -42,6 +42,7 @@ <required>true</required> <html> <label>Contribution</label> + <type>EntityRef</type> </html> <add>1.4</add> </field> diff --git a/civicrm/xml/schema/Contribute/ContributionSoft.xml b/civicrm/xml/schema/Contribute/ContributionSoft.xml index 6d081ca1ebb6b60e3c4f233ca7352d05c6d61ef5..57c75d21b382dfd5bc2a9fc2f5bb7832ad787365 100644 --- a/civicrm/xml/schema/Contribute/ContributionSoft.xml +++ b/civicrm/xml/schema/Contribute/ContributionSoft.xml @@ -36,6 +36,7 @@ <comment>FK to contribution table.</comment> <html> <label>Contribution</label> + <type>EntityRef</type> </html> <add>2.2</add> </field> diff --git a/civicrm/xml/schema/Core/Country.xml b/civicrm/xml/schema/Core/Country.xml index 73d19515872256898827e4f10816e7bcefeb4ad9..3d7cf123eb9a21d90f1a16e88324d3cc92514dfe 100644 --- a/civicrm/xml/schema/Core/Country.xml +++ b/civicrm/xml/schema/Core/Country.xml @@ -90,6 +90,7 @@ <comment>Foreign key to civicrm_worldregion.id.</comment> <html> <label>World Region</label> + <type>Select</type> </html> <add>1.8</add> <localize_context>country</localize_context> diff --git a/civicrm/xml/schema/Core/Discount.xml b/civicrm/xml/schema/Core/Discount.xml index 34e8505335d704471eb261cabc242be86cde9c02..c1113add761a36df4b3451ffbeb207120574b036 100644 --- a/civicrm/xml/schema/Core/Discount.xml +++ b/civicrm/xml/schema/Core/Discount.xml @@ -64,6 +64,7 @@ <comment>FK to civicrm_price_set</comment> <html> <label>Price Set</label> + <type>Select</type> </html> <add>4.3</add> </field> diff --git a/civicrm/xml/schema/Core/Job.xml b/civicrm/xml/schema/Core/Job.xml index ad0b5588210bf2ec8a1e55a97639067d2b14b2b4..03214aa401c678893f3307eb0d753ba7f1b60935 100644 --- a/civicrm/xml/schema/Core/Job.xml +++ b/civicrm/xml/schema/Core/Job.xml @@ -10,7 +10,7 @@ <paths> <add>civicrm/admin/job/add?reset=1&action=add</add> <delete>civicrm/admin/job/edit?reset=1&action=delete&id=[id]</delete> - <update>civicrm/admin/job/edit?reset=1&action=edit&id=[id]</update> + <update>civicrm/admin/job/edit?reset=1&action=update&id=[id]</update> </paths> <field> <name>id</name> @@ -40,6 +40,7 @@ <comment>Which Domain is this scheduled job for</comment> <html> <label>Domain</label> + <type>Select</type> </html> <add>4.1</add> </field> diff --git a/civicrm/xml/schema/Core/MappingField.xml b/civicrm/xml/schema/Core/MappingField.xml index 10cf1c4d542dfd03a7b0924f85ec8c763ba33c17..bed5a58e2ac7f9f05efde4451b0a790a7075b3b6 100644 --- a/civicrm/xml/schema/Core/MappingField.xml +++ b/civicrm/xml/schema/Core/MappingField.xml @@ -74,6 +74,7 @@ <comment>Location type of this mapping, if required</comment> <html> <label>Location type</label> + <type>Select</type> </html> <add>1.2</add> <pseudoconstant> diff --git a/civicrm/xml/schema/Core/Menu.xml b/civicrm/xml/schema/Core/Menu.xml index 4ead8036c8124fa2248e3a98a036e4f02dc5970a..30a22d2e6eaa87e5cffce30aaf9023d7996025bf 100644 --- a/civicrm/xml/schema/Core/Menu.xml +++ b/civicrm/xml/schema/Core/Menu.xml @@ -33,6 +33,7 @@ <comment>Which Domain is this menu item for</comment> <html> <label>Domain</label> + <type>Select</type> </html> <add>3.0</add> </field> diff --git a/civicrm/xml/schema/Core/MessageTemplate.xml b/civicrm/xml/schema/Core/MessageTemplate.xml index ffeddfe3022da35b07066cfa559e1b8628a3bb97..a67839a281b50f9bcdf23e5906c9133d84eee76a 100644 --- a/civicrm/xml/schema/Core/MessageTemplate.xml +++ b/civicrm/xml/schema/Core/MessageTemplate.xml @@ -141,6 +141,9 @@ <optionGroupName>pdf_format</optionGroupName> <keyColumn>id</keyColumn> </pseudoconstant> + <html> + <type>Select</type> + </html> <add>3.4</add> </field> </table> diff --git a/civicrm/xml/schema/Core/OpenID.xml b/civicrm/xml/schema/Core/OpenID.xml index f5b9c1c54cd28473626a48843a81e8ea7c337dcc..d7687868cc96c5e787a595a95bd2a7e9a8606301 100644 --- a/civicrm/xml/schema/Core/OpenID.xml +++ b/civicrm/xml/schema/Core/OpenID.xml @@ -47,6 +47,10 @@ <labelColumn>display_name</labelColumn> </pseudoconstant> <comment>Which Location does this email belong to.</comment> + <html> + <label>Location Type</label> + <type>Select</type> + </html> <add>2.0</add> </field> <index> diff --git a/civicrm/xml/schema/Event/ParticipantPayment.xml b/civicrm/xml/schema/Event/ParticipantPayment.xml index fa8437a7249d75ed299bad48d6b68a1913ff2b2c..ec837b0589775b64a3b104c3455e88ba539ee45a 100644 --- a/civicrm/xml/schema/Event/ParticipantPayment.xml +++ b/civicrm/xml/schema/Event/ParticipantPayment.xml @@ -47,6 +47,7 @@ <comment>FK to contribution table.</comment> <html> <label>Contribution</label> + <type>EntityRef</type> </html> <add>2.0</add> </field> diff --git a/civicrm/xml/schema/Mailing/Mailing.xml b/civicrm/xml/schema/Mailing/Mailing.xml index ab5cd6aac4d2bc01839e249ce341e6abff4d9824..d6f30e66b9026fbc363ce41e01aeb46b8575dd40 100644 --- a/civicrm/xml/schema/Mailing/Mailing.xml +++ b/civicrm/xml/schema/Mailing/Mailing.xml @@ -13,6 +13,8 @@ <paths> <add>civicrm/a/#/mailing/new</add> <update>civicrm/a/#/mailing/[id]</update> + <view>civicrm/mailing/report?mid=[id]&reset=1</view> + <preview>civicrm/mailing/view?id=[id]&reset=1</preview> </paths> <field> <name>id</name> diff --git a/civicrm/xml/schema/Member/Membership.xml b/civicrm/xml/schema/Member/Membership.xml index f2ed08d0ea1e4027454ac1dd1197fdf5ee6a07d8..bc838f694891aa36096198bd2266461fa3c3b388 100644 --- a/civicrm/xml/schema/Member/Membership.xml +++ b/civicrm/xml/schema/Member/Membership.xml @@ -133,7 +133,7 @@ <field> <name>source</name> <uniqueName>membership_source</uniqueName> - <title>Source</title> + <title>Membership Source</title> <import>true</import> <headerPattern>/^(member(ship?))?source$/i</headerPattern> <type>varchar</type> diff --git a/civicrm/xml/schema/Member/MembershipPayment.xml b/civicrm/xml/schema/Member/MembershipPayment.xml index f0859fd34843e99e7ff1a61b1a198394981f0352..f9c6e7778bc441b0c8d1411d48930b4073784695 100644 --- a/civicrm/xml/schema/Member/MembershipPayment.xml +++ b/civicrm/xml/schema/Member/MembershipPayment.xml @@ -47,6 +47,7 @@ <comment>FK to contribution table.</comment> <html> <label>Contribution</label> + <type>EntityRef</type> </html> <add>2.0</add> </field> diff --git a/civicrm/xml/schema/Pledge/PledgePayment.xml b/civicrm/xml/schema/Pledge/PledgePayment.xml index 314b4da9d0b0ca4e5294b1cb9b9f80d24f4a1e39..337e0dfdc8444ce61c1604b1a4a8a92b6d08b973 100644 --- a/civicrm/xml/schema/Pledge/PledgePayment.xml +++ b/civicrm/xml/schema/Pledge/PledgePayment.xml @@ -49,6 +49,7 @@ <comment>FK to contribution table.</comment> <html> <label>Contribution</label> + <type>EntityRef</type> </html> <add>2.1</add> </field> diff --git a/civicrm/xml/schema/Price/LineItem.xml b/civicrm/xml/schema/Price/LineItem.xml index f53364ebcbc8efdfeba3bd553c787eb25cb6a29a..d34c93dfbdeaa531f8b14313f2797aa2234c59e4 100644 --- a/civicrm/xml/schema/Price/LineItem.xml +++ b/civicrm/xml/schema/Price/LineItem.xml @@ -54,6 +54,7 @@ <comment>FK to civicrm_contribution</comment> <html> <label>Contribution</label> + <type>EntityRef</type> </html> <add>4.5</add> </field> @@ -77,6 +78,7 @@ <!-- changed to not required in 4.3 in order to change ON DELETE CASCADE FK constraint to SET NULL --> <html> <label>Price Field</label> + <type>Select</type> </html> <add>1.7</add> </field> diff --git a/civicrm/xml/templates/civicrm_country.tpl b/civicrm/xml/templates/civicrm_country.tpl index 93dd53524984b5bb9fbcfc155dbcd1a5a4a7efa7..50ecfaaea10852ff00a26e26978f87a0550d3aaa 100644 --- a/civicrm/xml/templates/civicrm_country.tpl +++ b/civicrm/xml/templates/civicrm_country.tpl @@ -262,7 +262,6 @@ INSERT INTO civicrm_country (id, name,iso_code,region_id,is_province_abbreviated INSERT INTO civicrm_country (id, name,iso_code,region_id,is_province_abbreviated) VALUES("1235", "Wallis and Futuna", "WF", "4", "0"); INSERT INTO civicrm_country (id, name,iso_code,region_id,is_province_abbreviated) VALUES("1236", "Western Sahara", "EH", "3", "0"); INSERT INTO civicrm_country (id, name,iso_code,region_id,is_province_abbreviated) VALUES("1237", "Yemen", "YE", "3", "0"); -INSERT INTO civicrm_country (id, name,iso_code,region_id,is_province_abbreviated) VALUES("1238", "Serbia and Montenegro", "CS", "1", "0"); INSERT INTO civicrm_country (id, name,iso_code,region_id,is_province_abbreviated) VALUES("1239", "Zambia", "ZM", "5", "0"); INSERT INTO civicrm_country (id, name,iso_code,region_id,is_province_abbreviated) VALUES("1240", "Zimbabwe", "ZW", "5", "0"); INSERT INTO civicrm_country (id, name,iso_code,region_id,is_province_abbreviated) VALUES("1241", "Ã…land Islands", "AX", "1", "0"); diff --git a/civicrm/xml/templates/civicrm_data.tpl b/civicrm/xml/templates/civicrm_data.tpl index a9020076bacd16414437b9e49409e5a27b80f4e8..6905e93538ae7522691f3be91331de90cc9b72aa 100644 --- a/civicrm/xml/templates/civicrm_data.tpl +++ b/civicrm/xml/templates/civicrm_data.tpl @@ -43,1654 +43,74 @@ VALUES INSERT INTO civicrm_domain (name, version, contact_id) VALUES (@domainName, '2.2', @contactID); SELECT @domainID := id FROM civicrm_domain where name = 'Default Domain Name'; --- Sample location types --- CRM-9120 for legacy reasons we are continuing to translate the 'name', but this --- field is used mainly as an ID, and display_name will be shown to the user, but --- we have not yet finished modifying all places where the 'name' is shown. -INSERT INTO civicrm_location_type( name, display_name, vcard_name, description, is_reserved, is_active, is_default ) VALUES( '{ts escape="sql"}Home{/ts}', '{ts escape="sql"}Home{/ts}', 'HOME', '{ts escape="sql"}Place of residence{/ts}', 0, 1, 1 ); -INSERT INTO civicrm_location_type( name, display_name, vcard_name, description, is_reserved, is_active ) VALUES( '{ts escape="sql"}Work{/ts}', '{ts escape="sql"}Work{/ts}', 'WORK', '{ts escape="sql"}Work location{/ts}', 0, 1 ); -INSERT INTO civicrm_location_type( name, display_name, vcard_name, description, is_reserved, is_active ) VALUES( '{ts escape="sql"}Main{/ts}', '{ts escape="sql"}Main{/ts}', NULL, '{ts escape="sql"}Main office location{/ts}', 0, 1 ); -INSERT INTO civicrm_location_type( name, display_name, vcard_name, description, is_reserved, is_active ) VALUES( '{ts escape="sql"}Other{/ts}', '{ts escape="sql"}Other{/ts}', NULL, '{ts escape="sql"}Other location{/ts}', 0, 1 ); --- the following location must stay with the untranslated Billing name, CRM-2064 -INSERT INTO civicrm_location_type( name, display_name, vcard_name, description, is_reserved, is_active ) VALUES( 'Billing', '{ts escape="sql"}Billing{/ts}', NULL, '{ts escape="sql"}Billing Address location{/ts}', 1, 1 ); +{php}echo (include "sql/civicrm_data/civicrm_location_type.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_relationship_type.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_tag.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_mailing_component.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_financial_type.sqldata.php")->toSQL();{/php} +{php} + $optionGroups = include 'sql/civicrm_data/civicrm_option_group.php'; + $laterGroups = ['encounter_medium', 'soft_credit_type', 'recent_items_providers']; + foreach ($optionGroups as $groupName => $group) { + if (!in_array($groupName, $laterGroups)) { + echo $group->toSQL(); + } + } +{/php} --- Sample relationship types -INSERT INTO civicrm_relationship_type( name_a_b,label_a_b, name_b_a,label_b_a, description, contact_type_a, contact_type_b, is_reserved ) - VALUES( 'Child of', '{ts escape="sql"}Child of{/ts}', 'Parent of', '{ts escape="sql"}Parent of{/ts}', '{ts escape="sql"}Parent/child relationship.{/ts}', 'Individual', 'Individual', 0 ), - ( 'Spouse of', '{ts escape="sql"}Spouse of{/ts}', 'Spouse of', '{ts escape="sql"}Spouse of{/ts}', '{ts escape="sql"}Spousal relationship.{/ts}', 'Individual', 'Individual', 0 ), - ( 'Partner of', '{ts escape="sql"}Partner of{/ts}', 'Partner of', '{ts escape="sql"}Partner of{/ts}', '{ts escape="sql"}Partner relationship.{/ts}', 'Individual', 'Individual', 0 ), - ( 'Sibling of', '{ts escape="sql"}Sibling of{/ts}', 'Sibling of', '{ts escape="sql"}Sibling of{/ts}', '{ts escape="sql"}Sibling relationship.{/ts}', 'Individual','Individual', 0 ), - ( 'Employee of', '{ts escape="sql"}Employee of{/ts}', 'Employer of', '{ts escape="sql"}Employer of{/ts}', '{ts escape="sql"}Employment relationship.{/ts}','Individual','Organization', 1 ), - ( 'Volunteer for', '{ts escape="sql"}Volunteer for{/ts}', 'Volunteer is', '{ts escape="sql"}Volunteer is{/ts}', '{ts escape="sql"}Volunteer relationship.{/ts}','Individual','Organization', 0 ), - ( 'Head of Household for', '{ts escape="sql"}Head of Household for{/ts}', 'Head of Household is', '{ts escape="sql"}Head of Household is{/ts}', '{ts escape="sql"}Head of household.{/ts}','Individual','Household', 1 ), - ( 'Household Member of', '{ts escape="sql"}Household Member of{/ts}', 'Household Member is', '{ts escape="sql"}Household Member is{/ts}', '{ts escape="sql"}Household membership.{/ts}','Individual','Household', 1 ); - --- Relationship Types for CiviCase -INSERT INTO civicrm_relationship_type( name_a_b,label_a_b, name_b_a,label_b_a, description, contact_type_a, contact_type_b, is_reserved ) - VALUES( 'Case Coordinator is', 'Case Coordinator is', 'Case Coordinator', 'Case Coordinator', 'Case Coordinator', 'Individual', 'Individual', 0 ); -INSERT INTO civicrm_relationship_type( name_a_b,label_a_b, name_b_a,label_b_a, description, contact_type_a, contact_type_b, is_reserved ) - VALUES( 'Supervised by', 'Supervised by', 'Supervisor', 'Supervisor', 'Immediate workplace supervisor', 'Individual', 'Individual', 0 ); - - --- Sample Tags -INSERT INTO civicrm_tag( name, description, parent_id,used_for ) - VALUES - ( '{ts escape="sql"}Non-profit{/ts}', '{ts escape="sql"}Any not-for-profit organization.{/ts}', NULL,'civicrm_contact'), - ( '{ts escape="sql"}Company{/ts}', '{ts escape="sql"}For-profit organization.{/ts}', NULL,'civicrm_contact'), - ( '{ts escape="sql"}Government Entity{/ts}', '{ts escape="sql"}Any governmental entity.{/ts}', NULL,'civicrm_contact'), - ( '{ts escape="sql"}Major Donor{/ts}', '{ts escape="sql"}High-value supporter of our organization.{/ts}', NULL,'civicrm_contact'), - ( '{ts escape="sql"}Volunteer{/ts}', '{ts escape="sql"}Active volunteers.{/ts}', NULL,'civicrm_contact' ); - -{capture assign=subgroup}{ldelim}subscribe.group{rdelim}{/capture} -{capture assign=suburl}{ldelim}subscribe.url{rdelim}{/capture} -{capture assign=welgroup}{ldelim}welcome.group{rdelim}{/capture} -{capture assign=unsubgroup}{ldelim}unsubscribe.group{rdelim}{/capture} -{capture assign=actresub}{ldelim}action.resubscribe{rdelim}{/capture} -{capture assign=actresuburl}{ldelim}action.resubscribeUrl{rdelim}{/capture} -{capture assign=resubgroup}{ldelim}resubscribe.group{rdelim}{/capture} -{capture assign=actunsub}{ldelim}action.unsubscribe{rdelim}{/capture} -{capture assign=actunsuburl}{ldelim}action.unsubscribeUrl{rdelim}{/capture} -{capture assign=domname}{ldelim}domain.name{rdelim}{/capture} - --- sample CiviCRM mailing components -INSERT INTO civicrm_mailing_component - (name,component_type,subject,body_html,body_text,is_default,is_active) -VALUES - ('{ts escape="sql"}Mailing Header{/ts}','Header','{ts escape="sql"}Descriptive Title for this Header{/ts}','{ts escape="sql"}Sample Header for HTML formatted content.{/ts}','{ts escape="sql"}Sample Header for TEXT formatted content.{/ts}',1,1), - ('{ts escape="sql"}Mailing Footer{/ts}','Footer','{ts escape="sql"}Descriptive Title for this Footer.{/ts}','{ts escape="sql"}Sample Footer for HTML formatted content<br/><a href="{ldelim}action.optOutUrl{rdelim}">Unsubscribe</a> <br/> {ldelim}domain.address{rdelim}{/ts}','{ts escape="sql"}to unsubscribe: {ldelim}action.optOutUrl{rdelim} -{ldelim}domain.address{rdelim}{/ts}',1,1), - ('{ts escape="sql"}Subscribe Message{/ts}','Subscribe','{ts escape="sql"}Subscription Confirmation Request{/ts}','{ts escape="sql" 1=$subgroup 2=$suburl}You have a pending subscription to the %1 mailing list. To confirm this subscription, reply to this email or click <a href="%2">here</a>.{/ts}','{ts escape="sql" 1=$subgroup 2=$suburl}You have a pending subscription to the %1 mailing list. To confirm this subscription, reply to this email or click on this link: %2{/ts}',1,1), - ('{ts escape="sql"}Welcome Message{/ts}','Welcome','{ts escape="sql"}Your Subscription has been Activated{/ts}','{ts escape="sql" 1=$welgroup}Welcome. Your subscription to the %1 mailing list has been activated.{/ts}','{ts escape="sql" 1=$welgroup}Welcome. Your subscription to the %1 mailing list has been activated.{/ts}',1,1), - ('{ts escape="sql"}Unsubscribe Message{/ts}','Unsubscribe','{ts escape="sql"}Un-subscribe Confirmation{/ts}','{ts escape="sql" 1=$unsubgroup 2=$actresub 3=$actresuburl}You have been un-subscribed from the following groups: %1. You can re-subscribe by mailing %2 or clicking <a href="%3">here</a>.{/ts}','{ts escape="sql" 1=$unsubgroup 2=$actresub 3=$actresuburl}You have been un-subscribed from the following groups: %1. You can re-subscribe by mailing %2 or clicking %3{/ts}',1,1), - ('{ts escape="sql"}Resubscribe Message{/ts}','Resubscribe','{ts escape="sql"}Re-subscribe Confirmation{/ts}','{ts escape="sql" 1=$resubgroup 2=$actunsub 3=$actunsuburl}You have been re-subscribed to the following groups: %1. You can un-subscribe by mailing %2 or clicking <a href="%3">here</a>.{/ts}','{ts escape="sql" 1=$resubgroup 2=$actunsub 3=$actunsuburl}You have been re-subscribed to the following groups: %1. You can un-subscribe by mailing %2 or clicking %3{/ts}',1,1), - ('{ts escape="sql"}Opt-out Message{/ts}','OptOut','{ts escape="sql"}Opt-out Confirmation{/ts}','{ts escape="sql" 1=$domname}Your email address has been removed from %1 mailing lists.{/ts}','{ts escape="sql" 1=$domname}Your email address has been removed from %1 mailing lists.{/ts}',1,1), - ('{ts escape="sql"}Auto-responder{/ts}','Reply','{ts escape="sql"}Please Send Inquiries to Our Contact Email Address{/ts}','{ts escape="sql"}This is an automated reply from an un-attended mailbox. Please send any inquiries to the contact email address listed on our web-site.{/ts}','{ts escape="sql"}This is an automated reply from an un-attended mailbox. Please send any inquiries to the contact email address listed on our web-site.{/ts}',1,1); - - --- contribution types -INSERT INTO - civicrm_financial_type(name, is_reserved, is_active, is_deductible) -VALUES - ( '{ts escape="sql"}Donation{/ts}' , 0, 1, 1 ), - ( '{ts escape="sql"}Member Dues{/ts}' , 0, 1, 1 ), - ( '{ts escape="sql"}Campaign Contribution{/ts}', 0, 1, 0 ), - ( '{ts escape="sql"}Event Fee{/ts}' , 0, 1, 0 ); - --- option groups and values for 'preferred communication methods' , 'activity types', 'gender', etc. - -INSERT INTO - `civicrm_option_group` (`name`, `title`, `data_type`, `is_reserved`, `is_active`, `is_locked`, `option_value_fields`, `description`) -VALUES - ('preferred_communication_method', '{ts escape="sql"}Preferred Communication Method{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('activity_type' , '{ts escape="sql"}Activity Type{/ts}' , 'Integer', 1, 1, 0, 'name,label,description,icon', - '{ts escape="sql"}Activities track interactions with contacts. Some activity types are reserved for use by automated processes, others can be freely configured.{/ts}'), - ('gender' , '{ts escape="sql"}Gender{/ts}' , 'Integer', 1, 1, 0, 'name,label,description', - '{ts escape="sql"}CiviCRM is pre-configured with standard options for individual gender (Male, Female, Other). Modify these options as needed for your installation.{/ts}'), - ('instant_messenger_service' , '{ts escape="sql"}Instant Messenger (IM) screen-names{/ts}', NULL, 1, 1, 0, 'name,label,description', - '{ts escape="sql"}Commonly-used messaging apps are listed here. Administrators may define as many additional providers as needed.{/ts}'), - ('mobile_provider' , '{ts escape="sql"}Mobile Phone Providers{/ts}' , NULL, 1, 1, 0, 'name,label,description', - '{ts escape="sql"}When recording mobile phone numbers for contacts, it may be useful to include the Mobile Phone Service Provider (e.g. Cingular, Sprint, etc.). CiviCRM is installed with the most commonly encountered service providers. Administrators may define as many additional providers as needed.{/ts}'), - ('individual_prefix' , '{ts escape="sql"}Individual contact prefixes{/ts}' , NULL, 1, 1, 0, 'name,label,description', - '{ts escape="sql"}CiviCRM is pre-configured with standard options for individual contact prefixes (Ms., Mr., Dr. etc.). Customize these options and add new ones as needed for your installation.{/ts}'), - ('individual_suffix' , '{ts escape="sql"}Individual contact suffixes{/ts}' , NULL, 1, 1, 0, 'name,label,description', - '{ts escape="sql"}CiviCRM is pre-configured with standard options for individual contact name suffixes (Jr., Sr., II etc.). Customize these options and add new ones as needed for your installation.{/ts}'), - ('acl_role' , '{ts escape="sql"}ACL Role{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('accept_creditcard' , '{ts escape="sql"}Accepted Credit Cards{/ts}' , NULL, 1, 1, 0, 'name,label,description', - '{ts escape="sql"}The following credit card options will be offered to contributors using Online Contribution pages. You will need to verify which cards are accepted by your chosen Payment Processor and update these entries accordingly.{/ts}{ts escape="sql"}IMPORTANT: These options do not control credit card/payment method choices for sites and/or contributors using the PayPal Express service (e.g. where billing information is collected on the Payment Processor\'s website).{/ts}'), - ('payment_instrument' , '{ts escape="sql"}Payment Methods{/ts}' , 'Integer', 1, 1, 0, 'name,label,description', - '{ts escape="sql"}You may choose to record the payment method used for each contribution and fee. Reserved payment methods are required - you may modify their labels but they can not be deleted (e.g. Check, Credit Card, Debit Card). If your site requires additional payment methods, you can add them here. You can associate each payment method with a Financial Account which specifies where the payment is going (e.g. a bank account for checks and cash).{/ts}'), - ('contribution_status' , '{ts escape="sql"}Contribution Status{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('pcp_status' , '{ts escape="sql"}PCP Status{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('pcp_owner_notify' , '{ts escape="sql"}PCP owner notifications{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('participant_role' , '{ts escape="sql"}Participant Role{/ts}' , 'Integer', 1, 1, 0, 'name,label,description', - '{ts escape="sql"}Define participant roles for events here (e.g. Attendee, Host, Speaker...). You can then assign roles and search for participants by role.{/ts}'), - ('event_type' , '{ts escape="sql"}Event Type{/ts}' , 'Integer', 1, 1, 0, 'name,label,description', - '{ts escape="sql"}Use Event Types to categorize your events. Event feeds can be filtered by Event Type and participant searches can use Event Type as a criteria.{/ts}'), - ('contact_view_options' , '{ts escape="sql"}Contact View Options{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('contact_smart_group_display' , '{ts escape="sql"}Contact Smart Group View Options{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('contact_edit_options' , '{ts escape="sql"}Contact Edit Options{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('advanced_search_options' , '{ts escape="sql"}Advanced Search Options{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('user_dashboard_options' , '{ts escape="sql"}User Dashboard Options{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('address_options' , '{ts escape="sql"}Addressing Options{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('group_type' , '{ts escape="sql"}Group Type{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('custom_search' , '{ts escape="sql"}Custom Search{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('activity_status' , '{ts escape="sql"}Activity Status{/ts}' , 'Integer', 1, 1, 0, 'name,label,description,color', NULL), - ('case_type' , '{ts escape="sql"}Case Type{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('case_status' , '{ts escape="sql"}Case Status{/ts}' , NULL, 1, 1, 0, 'name,label,description,color', NULL), - ('participant_listing' , '{ts escape="sql"}Participant Listing{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('safe_file_extension' , '{ts escape="sql"}Safe File Extension{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('from_email_address' , '{ts escape="sql"}From Email Address{/ts}' , NULL, 1, 1, 0, 'name,label,description', - '{ts escape="sql"}By default, CiviCRM uses the primary email address of the logged in user as the FROM address when sending emails to contacts. However, you can use this page to define one or more general Email Addresses that can be selected as an alternative. EXAMPLE: "Client Services" <clientservices@example.org>.{/ts}'), - ('mapping_type' , '{ts escape="sql"}Mapping Type{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('wysiwyg_editor' , '{ts escape="sql"}WYSIWYG Editor{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('recur_frequency_units' , '{ts escape="sql"}Recurring Frequency Units{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('phone_type' , '{ts escape="sql"}Phone Type{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('custom_data_type' , '{ts escape="sql"}Custom Data Type{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('visibility' , '{ts escape="sql"}Visibility{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('mail_protocol' , '{ts escape="sql"}Mail Protocol{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('priority' , '{ts escape="sql"}Priority{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('redaction_rule' , '{ts escape="sql"}Redaction Rule{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('report_template' , '{ts escape="sql"}Report Template{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('email_greeting' , '{ts escape="sql"}Email Greeting Type{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('postal_greeting' , '{ts escape="sql"}Postal Greeting Type{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('addressee' , '{ts escape="sql"}Addressee Type{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('contact_autocomplete_options' , '{ts escape="sql"}Autocomplete Contact Search{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('contact_reference_options' , '{ts escape="sql"}Contact Reference Autocomplete Options{/ts}', NULL, 1, 1, 1, 'name,label,description', NULL), - ('website_type' , '{ts escape="sql"}Website Type{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('tag_used_for' , '{ts escape="sql"}Tag Used For{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('note_used_for' , '{ts escape="sql"}Note Used For{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('currencies_enabled' , '{ts escape="sql"}Currencies Enabled{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('event_badge' , '{ts escape="sql"}Event Name Badge{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('note_privacy' , '{ts escape="sql"}Privacy levels for notes{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('campaign_type' , '{ts escape="sql"}Campaign Type{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('campaign_status' , '{ts escape="sql"}Campaign Status{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('system_extensions' , '{ts escape="sql"}CiviCRM Extensions{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('mail_approval_status' , '{ts escape="sql"}CiviMail Approval Status{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('engagement_index' , '{ts escape="sql"}Engagement Index{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('cg_extend_objects' , '{ts escape="sql"}Objects a custom group extends to{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('paper_size' , '{ts escape="sql"}Paper Size{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('pdf_format' , '{ts escape="sql"}PDF Page Format{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('label_format' , '{ts escape="sql"}Mailing Label Format{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('activity_contacts' , '{ts escape="sql"}Activity Contacts{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('account_relationship' , '{ts escape="sql"}Account Relationship{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('event_contacts' , '{ts escape="sql"}Event Recipients{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('conference_slot' , '{ts escape="sql"}Conference Slot{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('batch_type' , '{ts escape="sql"}Batch Type{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('batch_mode' , '{ts escape="sql"}Batch Mode{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('batch_status' , '{ts escape="sql"}Batch Status{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('sms_api_type' , '{ts escape="sql"}Api Type{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('sms_provider_name' , '{ts escape="sql"}Sms Provider Internal Name{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('auto_renew_options' , '{ts escape="sql"}Auto Renew Options{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('financial_account_type' , '{ts escape="sql"}Financial Account Type{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('financial_item_status' , '{ts escape="sql"}Financial Item Status{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('label_type' , '{ts escape="sql"}Label Type{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('name_badge' , '{ts escape="sql"}Name Badge Format{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('communication_style' , '{ts escape="sql"}Communication Style{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('msg_mode' , '{ts escape="sql"}Message Mode{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('contact_date_reminder_options' , '{ts escape="sql"}Contact Date Reminder Options{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('wysiwyg_presets' , '{ts escape="sql"}WYSIWYG Editor Presets{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('relative_date_filters' , '{ts escape="sql"}Relative Date Filters{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('pledge_status' , '{ts escape="sql"}Pledge Status{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('contribution_recur_status' , '{ts escape="sql"}Recurring Contribution Status{/ts}' , NULL, 1, 1, 1, 'name,label,description', NULL), - ('environment' , '{ts escape="sql"}Environment{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('activity_default_assignee' , '{ts escape="sql"}Activity default assignee{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('entity_batch_extends' , '{ts escape="sql"}Entity Batch Extends{/ts}' , NULL, 1, 1, 0, 'name,label,description', NULL), - ('file_type' , '{ts escape="sql"}File Type{/ts}' , 'Integer', 1, 1, 0, 'name,label,description', NULL); - -SELECT @option_group_id_pcm := max(id) from civicrm_option_group where name = 'preferred_communication_method'; -SELECT @option_group_id_act := max(id) from civicrm_option_group where name = 'activity_type'; -SELECT @option_group_id_gender := max(id) from civicrm_option_group where name = 'gender'; -SELECT @option_group_id_IMProvider := max(id) from civicrm_option_group where name = 'instant_messenger_service'; -SELECT @option_group_id_mobileProvider := max(id) from civicrm_option_group where name = 'mobile_provider'; -SELECT @option_group_id_prefix := max(id) from civicrm_option_group where name = 'individual_prefix'; -SELECT @option_group_id_suffix := max(id) from civicrm_option_group where name = 'individual_suffix'; -SELECT @option_group_id_aclRole := max(id) from civicrm_option_group where name = 'acl_role'; -SELECT @option_group_id_acc := max(id) from civicrm_option_group where name = 'accept_creditcard'; -SELECT @option_group_id_pi := max(id) from civicrm_option_group where name = 'payment_instrument'; -SELECT @option_group_id_cs := max(id) from civicrm_option_group where name = 'contribution_status'; -SELECT @option_group_id_pcp := max(id) from civicrm_option_group where name = 'pcp_status'; -SELECT @option_group_id_pcpOwnerNotify := max(id) from civicrm_option_group where name = 'pcp_owner_notify'; -SELECT @option_group_id_pRole := max(id) from civicrm_option_group where name = 'participant_role'; -SELECT @option_group_id_etype := max(id) from civicrm_option_group where name = 'event_type'; -SELECT @option_group_id_cvOpt := max(id) from civicrm_option_group where name = 'contact_view_options'; -SELECT @option_group_id_csgOpt := max(id) from civicrm_option_group where name = 'contact_smart_group_display'; -SELECT @option_group_id_ceOpt := max(id) from civicrm_option_group where name = 'contact_edit_options'; -SELECT @option_group_id_asOpt := max(id) from civicrm_option_group where name = 'advanced_search_options'; -SELECT @option_group_id_udOpt := max(id) from civicrm_option_group where name = 'user_dashboard_options'; -SELECT @option_group_id_adOpt := max(id) from civicrm_option_group where name = 'address_options'; -SELECT @option_group_id_gType := max(id) from civicrm_option_group where name = 'group_type'; -SELECT @option_group_id_csearch := max(id) from civicrm_option_group where name = 'custom_search'; -SELECT @option_group_id_acs := max(id) from civicrm_option_group where name = 'activity_status'; -SELECT @option_group_id_ct := max(id) from civicrm_option_group where name = 'case_type'; -SELECT @option_group_id_cas := max(id) from civicrm_option_group where name = 'case_status'; -SELECT @option_group_id_pl := max(id) from civicrm_option_group where name = 'participant_listing'; -SELECT @option_group_id_sfe := max(id) from civicrm_option_group where name = 'safe_file_extension'; -SELECT @option_group_id_mt := max(id) from civicrm_option_group where name = 'mapping_type'; -SELECT @option_group_id_we := max(id) from civicrm_option_group where name = 'wysiwyg_editor'; -SELECT @option_group_id_fu := max(id) from civicrm_option_group where name = 'recur_frequency_units'; -SELECT @option_group_id_pht := max(id) from civicrm_option_group where name = 'phone_type'; -SELECT @option_group_id_fma := max(id) from civicrm_option_group where name = 'from_email_address'; -SELECT @option_group_id_cdt := max(id) from civicrm_option_group where name = 'custom_data_type'; -SELECT @option_group_id_vis := max(id) from civicrm_option_group where name = 'visibility'; -SELECT @option_group_id_mp := max(id) from civicrm_option_group where name = 'mail_protocol'; -SELECT @option_group_id_priority := max(id) from civicrm_option_group where name = 'priority'; -SELECT @option_group_id_rr := max(id) from civicrm_option_group where name = 'redaction_rule'; -SELECT @option_group_id_emailGreeting := max(id) from civicrm_option_group where name = 'email_greeting'; -SELECT @option_group_id_postalGreeting := max(id) from civicrm_option_group where name = 'postal_greeting'; -SELECT @option_group_id_addressee := max(id) from civicrm_option_group where name = 'addressee'; -SELECT @option_group_id_report := max(id) from civicrm_option_group where name = 'report_template'; -SELECT @option_group_id_acsOpt := max(id) from civicrm_option_group where name = 'contact_autocomplete_options'; -SELECT @option_group_id_acConRef := max(id) from civicrm_option_group where name = 'contact_reference_options'; -SELECT @option_group_id_website := max(id) from civicrm_option_group where name = 'website_type'; -SELECT @option_group_id_tuf := max(id) from civicrm_option_group where name = 'tag_used_for'; -SELECT @option_group_id_nuf := max(id) from civicrm_option_group where name = 'note_used_for'; -SELECT @option_group_id_currency := max(id) from civicrm_option_group where name = 'currencies_enabled'; -SELECT @option_group_id_eventBadge := max(id) from civicrm_option_group where name = 'event_badge'; -SELECT @option_group_id_notePrivacy := max(id) from civicrm_option_group where name = 'note_privacy'; -SELECT @option_group_id_campaignType := max(id) from civicrm_option_group where name = 'campaign_type'; -SELECT @option_group_id_campaignStatus := max(id) from civicrm_option_group where name = 'campaign_status'; -SELECT @option_group_id_extensions := max(id) from civicrm_option_group where name = 'system_extensions'; -SELECT @option_group_id_mail_approval_status := max(id) from civicrm_option_group where name = 'mail_approval_status'; -SELECT @option_group_id_engagement_index := max(id) from civicrm_option_group where name = 'engagement_index'; -SELECT @option_group_id_cgeo := max(id) from civicrm_option_group where name = 'cg_extend_objects'; -SELECT @option_group_id_paperSize := max(id) from civicrm_option_group where name = 'paper_size'; -SELECT @option_group_id_label := max(id) from civicrm_option_group where name = 'label_format'; -SELECT @option_group_id_aco := max(id) from civicrm_option_group where name = 'activity_contacts'; -SELECT @option_group_id_arel := max(id) from civicrm_option_group where name = 'account_relationship'; -SELECT @option_group_id_ere := max(id) from civicrm_option_group where name = 'event_contacts'; -SELECT @option_group_id_conference_slot := max(id) from civicrm_option_group where name = 'conference_slot'; -SELECT @option_group_id_batch_type := max(id) from civicrm_option_group where name = 'batch_type'; -SELECT @option_group_id_batch_status := max(id) from civicrm_option_group where name = 'batch_status'; -SELECT @option_group_id_batch_mode := max(id) from civicrm_option_group where name = 'batch_mode'; -SELECT @option_group_id_sms_api_type := max(id) from civicrm_option_group where name = 'sms_api_type'; -SELECT @option_group_id_sms_provider_name := max(id) from civicrm_option_group where name = 'sms_provider_name'; -SELECT @option_group_id_aro := max(id) from civicrm_option_group where name = 'auto_renew_options'; -SELECT @option_group_id_fat := max(id) from civicrm_option_group where name = 'financial_account_type'; -SELECT @option_group_id_financial_item_status := max(id) from civicrm_option_group where name = 'financial_item_status'; -SELECT @option_group_id_label_type := max(id) from civicrm_option_group where name = 'label_type'; -SELECT @option_group_id_name_badge := max(id) from civicrm_option_group where name = 'name_badge'; -SELECT @option_group_id_communication_style := max(id) from civicrm_option_group where name = 'communication_style'; -SELECT @option_group_id_msg_mode := max(id) from civicrm_option_group where name = 'msg_mode'; -SELECT @option_group_id_contactDateMode := max(id) from civicrm_option_group where name = 'contact_date_reminder_options'; -SELECT @option_group_id_date_filter := max(id) from civicrm_option_group where name = 'relative_date_filters'; -SELECT @option_group_id_wysiwyg_presets := max(id) from civicrm_option_group where name = 'wysiwyg_presets'; -SELECT @option_group_id_ps := max(id) from civicrm_option_group where name = 'pledge_status'; -SELECT @option_group_id_crs := max(id) from civicrm_option_group where name = 'contribution_recur_status'; -SELECT @option_group_id_env := max(id) from civicrm_option_group where name = 'environment'; -SELECT @option_group_id_default_assignee := max(id) from civicrm_option_group where name = 'activity_default_assignee'; -SELECT @option_group_id_entity_batch_extends := max(id) from civicrm_option_group where name = 'entity_batch_extends'; -SELECT @option_group_id_pdf_format := max(id) from civicrm_option_group where name = 'pdf_format'; - -SELECT @contributeCompId := max(id) FROM civicrm_component where name = 'CiviContribute'; -SELECT @eventCompId := max(id) FROM civicrm_component where name = 'CiviEvent'; -SELECT @memberCompId := max(id) FROM civicrm_component where name = 'CiviMember'; -SELECT @pledgeCompId := max(id) FROM civicrm_component where name = 'CiviPledge'; -SELECT @caseCompId := max(id) FROM civicrm_component where name = 'CiviCase'; -SELECT @campaignCompId := max(id) FROM civicrm_component where name = 'CiviCampaign'; -SELECT @mailCompId := max(id) FROM civicrm_component where name = 'CiviMail'; - -INSERT INTO - `civicrm_option_value` (`option_group_id`, `label`, `value`, `name`, `grouping`, `filter`, `is_default`, `weight`, `description`, `is_optgroup`, `is_reserved`, `is_active`, `component_id`, `visibility_id`, `icon`) -VALUES - (@option_group_id_pcm, '{ts escape="sql"}Phone{/ts}', 1, 'Phone', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pcm, '{ts escape="sql"}Email{/ts}', 2, 'Email', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pcm, '{ts escape="sql"}Postal Mail{/ts}', 3, 'Postal Mail', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pcm, '{ts escape="sql"}SMS{/ts}', 4, 'SMS', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pcm, '{ts escape="sql"}Fax{/ts}', 5, 'Fax', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_act, '{ts escape="sql"}Meeting{/ts}', 1, 'Meeting', NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, 'fa-slideshare'), - (@option_group_id_act, '{ts escape="sql"}Phone Call{/ts}', 2, 'Phone Call', NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, 'fa-phone'), - (@option_group_id_act, '{ts escape="sql"}Email{/ts}', 3, 'Email', NULL, 1, 0, 3, '{ts escape="sql"}Email sent.{/ts}', 0, 1, 1, NULL, NULL, 'fa-envelope-o'), - (@option_group_id_act, '{ts escape="sql"}Outbound SMS{/ts}', 4, 'SMS', NULL, 1, 0, 4, '{ts escape="sql"}Text message (SMS) sent.{/ts}', 0, 1, 1, NULL, NULL, 'fa-mobile'), - (@option_group_id_act, '{ts escape="sql"}Event Registration{/ts}', 5, 'Event Registration', NULL, 1, 0, 5, '{ts escape="sql"}Online or offline event registration.{/ts}', 0, 1, 1, @eventCompId, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Contribution{/ts}', 6, 'Contribution', NULL, 1, 0, 6, '{ts escape="sql"}Online or offline contribution.{/ts}', 0, 1, 1, @contributeCompId, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Membership Signup{/ts}', 7, 'Membership Signup', NULL, 1, 0, 7, '{ts escape="sql"}Online or offline membership signup.{/ts}', 0, 1, 1, @memberCompId, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Membership Renewal{/ts}', 8, 'Membership Renewal', NULL, 1, 0, 8, '{ts escape="sql"}Online or offline membership renewal.{/ts}', 0, 1, 1, @memberCompId, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Tell a Friend{/ts}', 9, 'Tell a Friend', NULL, 1, 0, 9, '{ts escape="sql"}Send information about a contribution campaign or event to a friend.{/ts}', 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Pledge Acknowledgment{/ts}', 10, 'Pledge Acknowledgment', NULL, 1, 0, 10, '{ts escape="sql"}Send Pledge Acknowledgment.{/ts}', 0, 1, 1, @pledgeCompId, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Pledge Reminder{/ts}', 11, 'Pledge Reminder', NULL, 1, 0, 11, '{ts escape="sql"}Send Pledge Reminder.{/ts}', 0, 1, 1, @pledgeCompId, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Inbound Email{/ts}', 12, 'Inbound Email', NULL, 1, 0, 12, '{ts escape="sql"}Inbound Email.{/ts}', 0, 1, 1, NULL, NULL, NULL), - --- Activity Types for case activities - (@option_group_id_act, '{ts escape="sql"}Open Case{/ts}', 13, 'Open Case', NULL, 0, 0, 13, '', 0, 1, 1, @caseCompId, NULL, 'fa-folder-open-o'), - (@option_group_id_act, '{ts escape="sql"}Follow up{/ts}', 14, 'Follow up', NULL, 0, 0, 14, '', 0, 1, 1, @caseCompId, NULL, 'fa-share-square-o'), - (@option_group_id_act, '{ts escape="sql"}Change Case Type{/ts}', 15, 'Change Case Type', NULL, 0, 0, 15, '', 0, 1, 1, @caseCompId, NULL, 'fa-random'), - (@option_group_id_act, '{ts escape="sql"}Change Case Status{/ts}', 16, 'Change Case Status', NULL, 0, 0, 16, '', 0, 1, 1, @caseCompId, NULL, 'fa-pencil-square-o'), - (@option_group_id_act, '{ts escape="sql"}Change Case Subject{/ts}',53, 'Change Case Subject',NULL, 0, 0, 53, '', 0, 1, 1, @caseCompId, NULL, 'fa-pencil-square-o'), - (@option_group_id_act, '{ts escape="sql"}Change Custom Data{/ts}', 33, 'Change Custom Data', NULL, 0, 0, 33, '', 0, 1, 1, @caseCompId, NULL, 'fa-table'), - - (@option_group_id_act, '{ts escape="sql"}Membership Renewal Reminder{/ts}', 17, 'Membership Renewal Reminder', NULL, 1, 0, 17, '{ts escape="sql"}offline membership renewal reminder.{/ts}', 0, 1, 1, @memberCompId, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Change Case Start Date{/ts}', 18, 'Change Case Start Date', NULL, 0, 0, 18, '', 0, 1, 1, @caseCompId, NULL , 'fa-calendar'), - (@option_group_id_act, '{ts escape="sql"}Bulk Email{/ts}', 19, 'Bulk Email', NULL, 1, 0, 19, '{ts escape="sql"}Bulk Email Sent.{/ts}', 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Assign Case Role{/ts}', 20, 'Assign Case Role', NULL,0, 0, 20, '', 0, 1, 1, @caseCompId, NULL, 'fa-user-plus'), - (@option_group_id_act, '{ts escape="sql"}Remove Case Role{/ts}', 21, 'Remove Case Role', NULL,0, 0, 21, '', 0, 1, 1, @caseCompId, NULL, 'fa-user-times'), - (@option_group_id_act, '{ts escape="sql"}Print/Merge Document{/ts}', 22, 'Print PDF Letter', NULL, 0, 0, 22, '{ts escape="sql"}Export letters and other printable documents.{/ts}', 0, 1, 1, NULL, NULL, 'fa-file-pdf-o'), - (@option_group_id_act, '{ts escape="sql"}Merge Case{/ts}', 23, 'Merge Case', NULL, 0, 0, 23, '', 0, 1, 1, @caseCompId, NULL , 'fa-compress'), - (@option_group_id_act, '{ts escape="sql"}Reassigned Case{/ts}', 24, 'Reassigned Case', NULL, 0, 0, 24, '', 0, 1, 1, @caseCompId, NULL , 'fa-user-circle-o'), - (@option_group_id_act, '{ts escape="sql"}Link Cases{/ts}', 25, 'Link Cases', NULL, 0, 0, 25, '', 0, 1, 1, @caseCompId, NULL , 'fa-link'), - (@option_group_id_act, '{ts escape="sql"}Change Case Tags{/ts}', 26, 'Change Case Tags', NULL,0, 0, 26, '', 0, 1, 1, @caseCompId, NULL, 'fa-tags'), - (@option_group_id_act, '{ts escape="sql"}Add Client To Case{/ts}', 27, 'Add Client To Case', NULL,0, 0, 26, '', 0, 1, 1, @caseCompId, NULL, 'fa-users'), - --- Activity Types for CiviCampaign - (@option_group_id_act, '{ts escape="sql"}Survey{/ts}', 28, 'Survey', NULL,0, 0, 27, '', 0, 1, 1, @campaignCompId, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Canvass{/ts}', 29, 'Canvass', NULL,0, 0, 28, '', 0, 1, 1, @campaignCompId, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}PhoneBank{/ts}', 30, 'PhoneBank', NULL,0, 0, 29, '', 0, 1, 1, @campaignCompId, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}WalkList{/ts}', 31, 'WalkList', NULL,0, 0, 30, '', 0, 1, 1, @campaignCompId, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Petition Signature{/ts}', 32, 'Petition', NULL,0, 0, 31, '', 0, 1, 1, @campaignCompId, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Mass SMS{/ts}', 34, 'Mass SMS', NULL, 1, 0, 34, '{ts escape="sql"}Mass SMS{/ts}', 0, 1, 1, NULL, NULL, NULL), - --- Additional Membership-related Activity Types - (@option_group_id_act, '{ts escape="sql"}Change Membership Status{/ts}', 35, 'Change Membership Status', NULL, 1, 0, 35, '{ts escape="sql"}Change Membership Status.{/ts}', 0, 1, 1, @memberCompId, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Change Membership Type{/ts}', 36, 'Change Membership Type', NULL, 1, 0, 36, '{ts escape="sql"}Change Membership Type.{/ts}', 0, 1, 1, @memberCompId, NULL, NULL), - - (@option_group_id_act, '{ts escape="sql"}Cancel Recurring Contribution{/ts}', 37, 'Cancel Recurring Contribution', NULL,1, 0, 37, '', 0, 1, 1, @contributeCompId, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Update Recurring Contribution Billing Details{/ts}', 38, 'Update Recurring Contribution Billing Details', NULL,1, 0, 38, '', 0, 1, 1, @contributeCompId, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Update Recurring Contribution{/ts}', 39, 'Update Recurring Contribution', NULL,1, 0, 39, '', 0, 1, 1, @contributeCompId, NULL, NULL), - - (@option_group_id_act, '{ts escape="sql"}Reminder Sent{/ts}', 40, 'Reminder Sent', NULL, 1, 0, 40, '', 0, 1, 1, NULL, NULL, NULL), - - -- Activity Types for Financial Transactions Batch - (@option_group_id_act, '{ts escape="sql"}Export Accounting Batch{/ts}', 41, 'Export Accounting Batch', NULL, 1, 0, 41, 'Export Accounting Batch', 0, 1, 1, @contributeCompId, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Create Batch{/ts}', 42, 'Create Batch', NULL, 1, 0, 42, 'Create Batch', 0, 1, 1, @contributeCompId, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Edit Batch{/ts}', 43, 'Edit Batch', NULL, 1, 0, 43, 'Edit Batch', 0, 1, 1, @contributeCompId, NULL, NULL), - --- new sms options - (@option_group_id_act, '{ts escape="sql"}SMS delivery{/ts}', 44, 'SMS delivery', NULL, 1, 0, 44, '{ts escape="sql"}SMS delivery{/ts}', 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Inbound SMS{/ts}', 45, 'Inbound SMS', NULL, 1, 0, 45, '{ts escape="sql"}Inbound SMS{/ts}', 0, 1, 1, NULL, NULL, NULL), - - - -- Activity types for particial payment - (@option_group_id_act, '{ts escape="sql"}Payment{/ts}', 46, 'Payment', NULL, 1, 0, 46, '{ts escape="sql"}Additional payment recorded for event or membership fee.{/ts}', 0, 1, 1, @contributeCompId, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Refund{/ts}', 47, 'Refund', NULL, 1, 0, 47, '{ts escape="sql"}Refund recorded for event or membership fee.{/ts}', 0, 1, 1, @contributeCompId, NULL, NULL), - - -- for selection changes - (@option_group_id_act, '{ts escape="sql"}Change Registration{/ts}', 48, 'Change Registration', NULL, 1, 0, 48, '{ts escape="sql"}Changes to an existing event registration.{/ts}', 0, 1, 1, @eventCompId, NULL, NULL), - -- for Print or Email Contribution Invoices - (@option_group_id_act, '{ts escape="sql"}Downloaded Invoice{/ts}', 49, 'Downloaded Invoice', NULL, 1, 0, 49, '{ts escape="sql"}Downloaded Invoice.{/ts}',0, 1, 1, NULL, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Emailed Invoice{/ts}', 50, 'Emailed Invoice', NULL, 1, 0, 50, '{ts escape="sql"}Emailed Invoice.{/ts}',0, 1, 1, NULL, NULL, NULL), - - -- for manual contact merge - (@option_group_id_act, '{ts escape="sql"}Contact Merged{/ts}', 51, 'Contact Merged', NULL, 1, 0, 51, '{ts escape="sql"}Contact Merged{/ts}',0, 1, 1, NULL, NULL, NULL), - (@option_group_id_act, '{ts escape="sql"}Contact Deleted by Merge{/ts}', 52, 'Contact Deleted by Merge', NULL, 1, 0, 52, '{ts escape="sql"}Contact was merged into another contact{/ts}',0, 1, 1, NULL, NULL, NULL), - - -- Activity Type for failed payment - (@option_group_id_act, 'Failed Payment', 54, 'Failed Payment', NULL, 1, 0, 54, 'Failed Payment', 0, 1, 1, @contributeCompId, NULL, NULL), - - (@option_group_id_gender, '{ts escape="sql"}Female{/ts}', 1, 'Female', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_gender, '{ts escape="sql"}Male{/ts}', 2, 'Male', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_gender, '{ts escape="sql"}Other{/ts}', 3, 'Other', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_IMProvider, 'Yahoo', 1, 'Yahoo', NULL, 0, NULL, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_IMProvider, 'MSN', 2, 'Msn', NULL, 0, NULL, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_IMProvider, 'AIM', 3, 'Aim', NULL, 0, NULL, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_IMProvider, 'GTalk', 4, 'Gtalk', NULL, 0, NULL, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_IMProvider, 'Jabber',5, 'Jabber',NULL, 0, NULL, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_IMProvider, 'Skype', 6, 'Skype', NULL, 0, NULL, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_mobileProvider, 'Sprint' , 1, 'Sprint' , NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_mobileProvider, 'Verizon' , 2, 'Verizon' , NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_mobileProvider, 'Cingular', 3, 'Cingular', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_prefix, '{ts escape="sql"}Mrs.{/ts}', 1, 'Mrs.', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_prefix, '{ts escape="sql"}Ms.{/ts}', 2, 'Ms.', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_prefix, '{ts escape="sql"}Mr.{/ts}', 3, 'Mr.', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_prefix, '{ts escape="sql"}Dr.{/ts}', 4, 'Dr.', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_suffix, '{ts escape="sql"}Jr.{/ts}', 1, 'Jr.', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_suffix, '{ts escape="sql"}Sr.{/ts}', 2, 'Sr.', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_suffix, 'II', 3, 'II', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_suffix, 'III', 4, 'III', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_suffix, 'IV', 5, 'IV', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_suffix, 'V', 6, 'V', NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_suffix, 'VI', 7, 'VI', NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_suffix, 'VII', 8, 'VII', NULL, 0, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_aclRole, '{ts escape="sql"}Administrator{/ts}', 1, 'Admin', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_aclRole, '{ts escape="sql"}Authenticated{/ts}', 2, 'Auth' , NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - - (@option_group_id_acc, 'Visa' , 1, 'Visa' , NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acc, 'MasterCard', 2, 'MasterCard', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acc, 'Amex' , 3, 'Amex' , NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acc, 'Discover' , 4, 'Discover' , NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_pi, '{ts escape="sql"}Credit Card{/ts}', 1, 'Credit Card', NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_pi, '{ts escape="sql"}Debit Card{/ts}', 2, 'Debit Card', NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_pi, '{ts escape="sql"}Cash{/ts}', 3, 'Cash', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pi, '{ts escape="sql"}Check{/ts}', 4, 'Check', NULL, 0, 1, 4, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_pi, '{ts escape="sql"}EFT{/ts}', 5, 'EFT', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_cs, '{ts escape="sql"}Completed{/ts}' , 1, 'Completed' , NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cs, '{ts escape="sql"}Pending{/ts}' , 2, 'Pending' , NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cs, '{ts escape="sql"}Cancelled{/ts}' , 3, 'Cancelled' , NULL, 0, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cs, '{ts escape="sql"}Failed{/ts}' , 4, 'Failed' , NULL, 0, 0, 4, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cs, '{ts escape="sql"}Refunded{/ts}' , 7, 'Refunded' , NULL, 0, 0, 7, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cs, '{ts escape="sql"}Partially paid{/ts}', 8, 'Partially paid', NULL, 0, 0, 8, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cs, '{ts escape="sql"}Pending refund{/ts}', 9, 'Pending refund', NULL, 0, 0, 9, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cs, '{ts escape="sql"}Chargeback{/ts}', 10, 'Chargeback', NULL, 0, 0, 10, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cs, '{ts escape="sql"}Template{/ts}' , 11, 'Template', NULL, 0, 0, 11, '{ts escape="sql"}Status for contribution records which represent a template for a recurring contribution rather than an actual contribution. This status is transitional, to ensure that said contributions don\'t appear in reports. The is_template field is the preferred way to find and filter these contributions.{/ts}', 0, 1, 1, NULL, NULL, NULL), - - (@option_group_id_pcp, '{ts escape="sql"}Waiting Review{/ts}', 1, 'Waiting Review', NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_pcp, '{ts escape="sql"}Approved{/ts}' , 2, 'Approved' , NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_pcp, '{ts escape="sql"}Not Approved{/ts}' , 3, 'Not Approved' , NULL, 0, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - - (@option_group_id_pcpOwnerNotify, '{ts escape="sql"}Owner chooses whether to receive notifications{/ts}', 1, 'owner_chooses', NULL, 0, 1, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_pcpOwnerNotify, '{ts escape="sql"}Notifications are sent to ALL owners{/ts}' , 2, 'all_owners' , NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_pcpOwnerNotify, '{ts escape="sql"}Notifications are NOT available{/ts}' , 3, 'no_notifications' , NULL, 0, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - - (@option_group_id_pRole, '{ts escape="sql"}Attendee{/ts}', 1, 'Attendee', NULL, 1, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pRole, '{ts escape="sql"}Volunteer{/ts}', 2, 'Volunteer', NULL, 1, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pRole, '{ts escape="sql"}Host{/ts}', 3, 'Host', NULL, 1, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pRole, '{ts escape="sql"}Speaker{/ts}', 4, 'Speaker', NULL, 1, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_etype, '{ts escape="sql"}Conference{/ts}', 1, 'Conference', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_etype, '{ts escape="sql"}Exhibition{/ts}', 2, 'Exhibition', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_etype, '{ts escape="sql"}Fundraiser{/ts}', 3, 'Fundraiser', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_etype, '{ts escape="sql"}Meeting{/ts}', 4, 'Meeting', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_etype, '{ts escape="sql"}Performance{/ts}',5, 'Performance', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_etype, '{ts escape="sql"}Workshop{/ts}', 6, 'Workshop', NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - --- note that these are not ts'ed since they are used for logic in most cases and not display --- they are used for display only in the prefernces field settings - (@option_group_id_cvOpt, '{ts escape="sql"}Activities{/ts}' , 1, 'activity', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, '{ts escape="sql"}Relationships{/ts}', 2, 'rel', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, '{ts escape="sql"}Groups{/ts}' , 3, 'group', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, '{ts escape="sql"}Notes{/ts}' , 4, 'note', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, '{ts escape="sql"}Tags{/ts}' , 5, 'tag', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, '{ts escape="sql"}Change Log{/ts}' , 6, 'log', NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, '{ts escape="sql"}Contributions{/ts}', 7, 'CiviContribute', NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, '{ts escape="sql"}Memberships{/ts}' , 8, 'CiviMember', NULL, 0, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, '{ts escape="sql"}Events{/ts}' , 9, 'CiviEvent', NULL, 0, 0, 9, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, '{ts escape="sql"}Cases{/ts}' , 10, 'CiviCase', NULL, 0, 0, 10, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, '{ts escape="sql"}Pledges{/ts}' , 13, 'CiviPledge', NULL, 0, 0, 13, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cvOpt, '{ts escape="sql"}Mailings{/ts}' , 14, 'CiviMail', NULL, 0, 0, 14, NULL, 0, 0, 1, NULL, NULL, NULL), - - - (@option_group_id_csgOpt, '{ts escape="sql"}Show Smart Groups on Demand{/ts}',1, 'showondemand', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csgOpt, '{ts escape="sql"}Always Show Smart Groups{/ts}', 2, 'alwaysshow', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csgOpt, '{ts escape="sql"}Hide Smart Groups{/ts}' , 3, 'hide', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_ceOpt, '{ts escape="sql"}Custom Data{/ts}' , 1, 'CustomData', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, '{ts escape="sql"}Address{/ts}' , 2, 'Address', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, '{ts escape="sql"}Communication Preferences{/ts}', 3, 'CommunicationPreferences', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, '{ts escape="sql"}Notes{/ts}' , 4, 'Notes', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, '{ts escape="sql"}Demographics{/ts}' , 5, 'Demographics', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, '{ts escape="sql"}Tags and Groups{/ts}' , 6, 'TagsAndGroups', NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, '{ts escape="sql"}Email{/ts}' , 7, 'Email', NULL, 1, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, '{ts escape="sql"}Phone{/ts}' , 8, 'Phone', NULL, 1, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, '{ts escape="sql"}Instant Messenger{/ts}' , 9, 'IM', NULL, 1, 0, 9, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, '{ts escape="sql"}Open ID{/ts}' , 10, 'OpenID', NULL, 1, 0, 10, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, '{ts escape="sql"}Website{/ts}' , 11, 'Website', NULL, 1, 0, 11, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, '{ts escape="sql"}Prefix{/ts}' , 12, 'Prefix', NULL, 2, 0, 12, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, '{ts escape="sql"}Formal Title{/ts}' , 13, 'Formal Title', NULL, 2, 0, 13, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, '{ts escape="sql"}First Name{/ts}' , 14, 'First Name', NULL, 2, 0, 14, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, '{ts escape="sql"}Middle Name{/ts}' , 15, 'Middle Name', NULL, 2, 0, 15, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, '{ts escape="sql"}Last Name{/ts}' , 16, 'Last Name', NULL, 2, 0, 16, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_ceOpt, '{ts escape="sql"}Suffix{/ts}' , 17, 'Suffix', NULL, 2, 0, 17, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_asOpt, '{ts escape="sql"}Address Fields{/ts}' , 1, 'location', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, '{ts escape="sql"}Custom Fields{/ts}' , 2, 'custom', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, '{ts escape="sql"}Activities{/ts}' , 3, 'activity', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, '{ts escape="sql"}Relationships{/ts}' , 4, 'relationship', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, '{ts escape="sql"}Notes{/ts}' , 5, 'notes', NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, '{ts escape="sql"}Change Log{/ts}' , 6, 'changeLog', NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, '{ts escape="sql"}Contributions{/ts}' , 7, 'CiviContribute', NULL, 0, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, '{ts escape="sql"}Memberships{/ts}' , 8, 'CiviMember', NULL, 0, 0, 9, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, '{ts escape="sql"}Events{/ts}' , 9, 'CiviEvent', NULL, 0, 0, 10, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, '{ts escape="sql"}Cases{/ts}' , 10, 'CiviCase', NULL, 0, 0, 11, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, '{ts escape="sql"}Demographics{/ts}' , 13, 'demographics', NULL, 0, 0, 15, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, '{ts escape="sql"}Pledges{/ts}' , 15, 'CiviPledge', NULL, 0, 0, 17, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, '{ts escape="sql"}Contact Type{/ts}' , 16, 'contactType', NULL, 0, 0, 18, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, '{ts escape="sql"}Groups{/ts}' , 17, 'groups', NULL, 0, 0, 19, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, '{ts escape="sql"}Tags{/ts}' , 18, 'tags', NULL, 0, 0, 20, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_asOpt, '{ts escape="sql"}Mailing{/ts}' , 19, 'CiviMail', NULL, 0, 0, 21, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_udOpt, '{ts escape="sql"}Groups{/ts}' , 1, 'Groups', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_udOpt, '{ts escape="sql"}Contributions{/ts}' , 2, 'CiviContribute', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_udOpt, '{ts escape="sql"}Memberships{/ts}' , 3, 'CiviMember', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_udOpt, '{ts escape="sql"}Events{/ts}' , 4, 'CiviEvent', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_udOpt, '{ts escape="sql"}My Contacts / Organizations{/ts}', 5, 'Permissioned Orgs', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_udOpt, '{ts escape="sql"}Pledges{/ts}' , 7, 'CiviPledge', NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_udOpt, '{ts escape="sql"}Personal Campaign Pages{/ts}' , 8, 'PCP', NULL, 0, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_udOpt, '{ts escape="sql"}Assigned Activities{/ts}' , 9, 'Assigned Activities', NULL, 0, 0, 9, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_udOpt, '{ts escape="sql"}Invoices / Credit Notes{/ts}' , 10, 'Invoices / Credit Notes', NULL, 0, 0, 10, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_acsOpt, '{ts escape="sql"}Email Address{/ts}' , 2, 'email' , NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acsOpt, '{ts escape="sql"}Phone{/ts}' , 3, 'phone' , NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acsOpt, '{ts escape="sql"}Street Address{/ts}' , 4, 'street_address', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acsOpt, '{ts escape="sql"}City{/ts}' , 5, 'city' , NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acsOpt, '{ts escape="sql"}State/Province{/ts}' , 6, 'state_province', NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acsOpt, '{ts escape="sql"}Country{/ts}' , 7, 'country' , NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acsOpt, '{ts escape="sql"}Postal Code{/ts}' , 8, 'postal_code' , NULL, 0, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_acConRef, '{ts escape="sql"}Email Address{/ts}' , 2, 'email' , NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acConRef, '{ts escape="sql"}Phone{/ts}' , 3, 'phone' , NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acConRef, '{ts escape="sql"}Street Address{/ts}' , 4, 'street_address', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acConRef, '{ts escape="sql"}City{/ts}' , 5, 'city' , NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acConRef, '{ts escape="sql"}State/Province{/ts}' , 6, 'state_province', NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acConRef, '{ts escape="sql"}Country{/ts}' , 7, 'country' , NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acConRef, '{ts escape="sql"}Postal Code{/ts}' , 8, 'postal_code' , NULL, 0, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_adOpt, '{ts escape="sql"}Street Address{/ts}' , 1, 'street_address', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, '{ts escape="sql"}Supplemental Address 1{/ts}' , 2, 'supplemental_address_1', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, '{ts escape="sql"}Supplemental Address 2{/ts}' , 3, 'supplemental_address_2', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, '{ts escape="sql"}Supplemental Address 3{/ts}' , 4, 'supplemental_address_3', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, '{ts escape="sql"}City{/ts}' , 5, 'city' , NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, '{ts escape="sql"}Postal Code{/ts}' , 6, 'postal_code' , NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, '{ts escape="sql"}Postal Code Suffix{/ts}', 7, 'postal_code_suffix', NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, '{ts escape="sql"}County{/ts}' , 8, 'county' , NULL, 0, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, '{ts escape="sql"}State/Province{/ts}' , 9, 'state_province', NULL, 0, 0, 9, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, '{ts escape="sql"}Country{/ts}' , 10, 'country' , NULL, 0, 0, 10, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, '{ts escape="sql"}Latitude{/ts}' , 11, 'geo_code_1' , NULL, 0, 0, 11, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, '{ts escape="sql"}Longitude{/ts}' , 12, 'geo_code_2', NULL, 0, 0, 12, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, '{ts escape="sql"}Address Name{/ts}' , 13, 'address_name', NULL, 0, 0, 13, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_adOpt, '{ts escape="sql"}Street Address Parsing{/ts}', 14, 'street_address_parsing', NULL, 0, 0, 14, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_gType, '{ts escape="sql"}Access Control{/ts}', 1, 'Access Control', NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_gType, '{ts escape="sql"}Mailing List{/ts}', 2, 'Mailing List', NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_Sample' , 1, 'CRM_Contact_Form_Search_Custom_Sample' , NULL, 0, 0, 1, '{ts escape="sql"}Household Name and State{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_ContributionAggregate', 2, 'CRM_Contact_Form_Search_Custom_ContributionAggregate', NULL, 0, 0, 2, '{ts escape="sql"}Contribution Aggregate{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_Group' , 4, 'CRM_Contact_Form_Search_Custom_Group' , NULL, 0, 0, 4, '{ts escape="sql"}Include / Exclude Search{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_PostalMailing' , 5, 'CRM_Contact_Form_Search_Custom_PostalMailing', NULL, 0, 0, 5, '{ts escape="sql"}Postal Mailing{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_Proximity' , 6, 'CRM_Contact_Form_Search_Custom_Proximity', NULL, 0, 0, 6, '{ts escape="sql"}Proximity Search{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_EventAggregate' , 7, 'CRM_Contact_Form_Search_Custom_EventAggregate', NULL, 0, 0, 7, '{ts escape="sql"}Event Aggregate{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_ActivitySearch' , 8, 'CRM_Contact_Form_Search_Custom_ActivitySearch', NULL, 0, 0, 8, '{ts escape="sql"}Activity Search{/ts}', 0, 0, 0, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_PriceSet' , 9, 'CRM_Contact_Form_Search_Custom_PriceSet', NULL, 0, 0, 9, '{ts escape="sql"}Price Set Details for Event Participants{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_ZipCodeRange' ,10, 'CRM_Contact_Form_Search_Custom_ZipCodeRange', NULL, 0, 0, 10, '{ts escape="sql"}Zip Code Range{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_DateAdded' ,11, 'CRM_Contact_Form_Search_Custom_DateAdded', NULL, 0, 0, 11, '{ts escape="sql"}Date Added to CiviCRM{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_MultipleValues' ,12, 'CRM_Contact_Form_Search_Custom_MultipleValues', NULL, 0, 0, 12, '{ts escape="sql"}Custom Group Multiple Values Listing{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_ContribSYBNT' ,13, 'CRM_Contact_Form_Search_Custom_ContribSYBNT', NULL, 0, 0, 13, '{ts escape="sql"}Contributions made in Year X and not Year Y{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_TagContributions' ,14, 'CRM_Contact_Form_Search_Custom_TagContributions', NULL, 0, 0, 14, '{ts escape="sql"}Find Contribution Amounts by Tag{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_csearch , 'CRM_Contact_Form_Search_Custom_FullText' ,15, 'CRM_Contact_Form_Search_Custom_FullText', NULL, 0, 0, 15, '{ts escape="sql"}Full-text Search{/ts}', 0, 0, 1, NULL, NULL, NULL), - --- report templates - (@option_group_id_report , '{ts escape="sql"}Constituent Report (Summary){/ts}', 'contact/summary', 'CRM_Report_Form_Contact_Summary', NULL, 0, 0, 1, '{ts escape="sql"}Provides a list of address and telephone information for constituent records in your system.{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Constituent Report (Detail){/ts}', 'contact/detail', 'CRM_Report_Form_Contact_Detail', NULL, 0, 0, 2, '{ts escape="sql"}Provides contact-related information on contributions, memberships, events and activities.{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Activity Details Report{/ts}', 'activity', 'CRM_Report_Form_Activity', NULL, 0, 0, 3, '{ts escape="sql"}Provides a list of constituent activity including activity statistics for one/all contacts during a given date range(required){/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Walk / Phone List Report{/ts}', 'walklist', 'CRM_Report_Form_Walklist_Walklist', NULL, 0, 0, 4, '{ts escape="sql"}Provides a detailed report for your walk/phonelist for targeted contacts{/ts}', 0, 0, 0, NULL, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Current Employer Report{/ts}', 'contact/currentEmployer', 'CRM_Report_Form_Contact_CurrentEmployer', NULL, 0, 0, 5, '{ts escape="sql"}Provides detail list of employer employee relationships along with employment details Ex Join Date{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Contribution Summary Report{/ts}', 'contribute/summary', 'CRM_Report_Form_Contribute_Summary', NULL, 0, 0, 6, '{ts escape="sql"}Groups and totals contributions by criteria including contact, time period, financial type, contributor location, etc.{/ts}', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Contribution Detail Report{/ts}', 'contribute/detail', 'CRM_Report_Form_Contribute_Detail', NULL, 0, 0, 7, '{ts escape="sql"}Lists specific contributions by criteria including contact, time period, financial type, contributor location, etc. Contribution summary report points to this report for contribution details.{/ts}', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Repeat Contributions Report{/ts}', 'contribute/repeat', 'CRM_Report_Form_Contribute_Repeat', NULL, 0, 0, 8, '{ts escape="sql"}Given two date ranges, shows contacts who contributed in both the date ranges with the amount contributed in each and the percentage increase / decrease.{/ts}', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Contributions by Organization Report{/ts}', 'contribute/organizationSummary', 'CRM_Report_Form_Contribute_OrganizationSummary', NULL, 0, 0, 9, '{ts escape="sql"}Displays a detailed list of contributions grouped by organization, which includes contributions made by employees for the organisation.{/ts}', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Contributions by Household Report{/ts}', 'contribute/householdSummary', 'CRM_Report_Form_Contribute_HouseholdSummary', NULL, 0, 0, 10, '{ts escape="sql"}Displays a detailed list of contributions grouped by household which includes contributions made by members of the household.{/ts}', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Top Donors Report{/ts}', 'contribute/topDonor', 'CRM_Report_Form_Contribute_TopDonor', NULL, 0, 0, 11, '{ts escape="sql"}Provides a list of the top donors during a time period you define. You can include as many donors as you want (for example, top 100 of your donors).{/ts}', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}SYBUNT Report{/ts}', 'contribute/sybunt', 'CRM_Report_Form_Contribute_Sybunt', NULL, 0, 0, 12, '{ts escape="sql"}SYBUNT means some year(s) but not this year. Provides a list of constituents who donated at some time in the history of your organization but did not donate during the time period you specify.{/ts}', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}LYBUNT Report{/ts}', 'contribute/lybunt', 'CRM_Report_Form_Contribute_Lybunt', NULL, 0, 0, 13, '{ts escape="sql"}LYBUNT means last year but not this year. Provides a list of constituents who donated last year but did not donate during the time period you specify as the current year.{/ts}', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Soft Credit Report{/ts}', 'contribute/softcredit', 'CRM_Report_Form_Contribute_SoftCredit', NULL, 0, 0, 14, '{ts escape="sql"}Shows contributions made by contacts that have been soft-credited to other contacts.{/ts}', 0, 0, 1,@contributeCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Membership Report (Summary){/ts}', 'member/summary', 'CRM_Report_Form_Member_Summary', NULL, 0, 0, 15, '{ts escape="sql"}Provides a summary of memberships by type and Member Since.{/ts}', 0, 0, 1, @memberCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Membership Report (Detail){/ts}', 'member/detail', 'CRM_Report_Form_Member_Detail', NULL, 0, 0, 16, '{ts escape="sql"}Provides a list of members along with their membership status and membership details (Member Since, Membership Start Date, Membership Expiration Date). Can also display contributions (payments) associated with each membership.{/ts}', 0, 0, 1, @memberCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Membership Report (Lapsed){/ts}', 'member/lapse', 'CRM_Report_Form_Member_Lapse', NULL, 0, 0, 17, '{ts escape="sql"}Provides a list of memberships that lapsed or will lapse before the date you specify.{/ts}', 0, 0, 1, @memberCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Event Participant Report (List){/ts}', 'event/participantListing', 'CRM_Report_Form_Event_ParticipantListing', NULL, 0, 0, 18, '{ts escape="sql"}Provides lists of participants for an event.{/ts}', 0, 0, 1, @eventCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Event Income Report (Summary){/ts}', 'event/summary', 'CRM_Report_Form_Event_Summary', NULL, 0, 0, 19, '{ts escape="sql"}Provides an overview of event income. You can include key information such as event ID, registration, attendance, and income generated to help you determine the success of an event.{/ts}', 0, 0, 1, @eventCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Event Income Report (Detail){/ts}', 'event/income', 'CRM_Report_Form_Event_Income', NULL, 0, 0, 20, '{ts escape="sql"}Helps you to analyze the income generated by an event. The report can include details by participant type, status and payment method.{/ts}', 0, 0, 1, @eventCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Pledge Detail Report{/ts}', 'pledge/detail', 'CRM_Report_Form_Pledge_Detail', NULL, 0, 0, 21, '{ts escape="sql"}List of pledges including amount pledged, pledge status, next payment date, balance due, total amount paid etc.{/ts}', 0, 0, 1, @pledgeCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Pledged but not Paid Report{/ts}', 'pledge/pbnp', 'CRM_Report_Form_Pledge_Pbnp', NULL, 0, 0, 22, '{ts escape="sql"}Pledged but not Paid Report{/ts}', 0, 0, 1, @pledgeCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Relationship Report{/ts}', 'contact/relationship', 'CRM_Report_Form_Contact_Relationship', NULL, 0, 0, 23, '{ts escape="sql"}Relationship Report{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Case Summary Report{/ts}', 'case/summary', 'CRM_Report_Form_Case_Summary', NULL, 0, 0, 24, '{ts escape="sql"}Provides a summary of cases and their duration by date range, status, staff member and / or case role.{/ts}', 0, 0, 1, @caseCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Case Time Spent Report{/ts}', 'case/timespent', 'CRM_Report_Form_Case_TimeSpent', NULL, 0, 0, 25, '{ts escape="sql"}Aggregates time spent on case and / or non-case activities by activity type and contact.{/ts}', 0, 0, 1, @caseCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Contact Demographics Report{/ts}', 'case/demographics', 'CRM_Report_Form_Case_Demographics', NULL, 0, 0, 26, '{ts escape="sql"}Demographic breakdown for case clients (and or non-case contacts) in your database. Includes custom contact fields.{/ts}', 0, 0, 1, @caseCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Database Log Report{/ts}', 'contact/log', 'CRM_Report_Form_Contact_Log', NULL, 0, 0, 27, '{ts escape="sql"}Log of contact and activity records created or updated in a given date range.{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Activity Summary Report{/ts}', 'activitySummary', 'CRM_Report_Form_ActivitySummary', NULL, 0, 0, 28, '{ts escape="sql"}Shows activity statistics by type / date{/ts}', 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_report, '{ts escape="sql"}Bookkeeping Transactions Report{/ts}', 'contribute/bookkeeping', 'CRM_Report_Form_Contribute_Bookkeeping', NULL, 0, 0, 29, '{ts escape="sql"}Shows Bookkeeping Transactions Report{/ts}', 0, 0, 1, 2, NULL, NULL), - (@option_group_id_report, '{ts escape="sql"}Participant list Count Report{/ts}', 'event/participantlist', 'CRM_Report_Form_Event_ParticipantListCount', NULL, 0, 0, 31, '{ts escape="sql"}Shows the Participant list with Participant Count.{/ts}', 0, 0, 1, @eventCompId, NULL, NULL), - (@option_group_id_report, '{ts escape="sql"}Income Count Summary Report{/ts}', 'event/incomesummary', 'CRM_Report_Form_Event_IncomeCountSummary', NULL, 0, 0, 32, '{ts escape="sql"}Shows the Income Summary of events with Count.{/ts}', 0, 0, 1, @eventCompId, NULL, NULL), - (@option_group_id_report, '{ts escape="sql"}Case Detail Report{/ts}', 'case/detail', 'CRM_Report_Form_Case_Detail', NULL, 0, 0, 33, '{ts escape="sql"}Case Details{/ts}', 0, 0, 1, @caseCompId, NULL, NULL), - (@option_group_id_report, '{ts escape="sql"}Mail Bounce Report{/ts}', 'Mailing/bounce', 'CRM_Report_Form_Mailing_Bounce', NULL, 0, 0, 34, '{ts escape="sql"}Bounce Report for mailings{/ts}', 0, 0, 1, @mailCompId, NULL, NULL), - (@option_group_id_report, '{ts escape="sql"}Mail Summary Report{/ts}', 'Mailing/summary', 'CRM_Report_Form_Mailing_Summary', NULL, 0, 0, 35, '{ts escape="sql"}Summary statistics for mailings{/ts}', 0, 0, 1, @mailCompId, NULL, NULL), - (@option_group_id_report, '{ts escape="sql"}Mail Opened Report{/ts}', 'Mailing/opened', 'CRM_Report_Form_Mailing_Opened', NULL, 0, 0, 36, '{ts escape="sql"}Display contacts who opened emails from a mailing{/ts}', 0, 0, 1, @mailCompId, NULL, NULL), - (@option_group_id_report, '{ts escape="sql"}Mail Click-Through Report{/ts}', 'Mailing/clicks', 'CRM_Report_Form_Mailing_Clicks', NULL, 0, 0, 37, '{ts escape="sql"}Display clicks from each mailing{/ts}', 0, 0, 1, @mailCompId, NULL, NULL), - (@option_group_id_report, '{ts escape="sql"}Contact Logging Report (Summary){/ts}', 'logging/contact/summary', 'CRM_Report_Form_Contact_LoggingSummary', NULL, 0, 0, 38, '{ts escape="sql"}Contact modification report for the logging infrastructure (summary).{/ts}', 0, 0, 0, NULL, NULL, NULL), - (@option_group_id_report, '{ts escape="sql"}Contact Logging Report (Detail){/ts}', 'logging/contact/detail', 'CRM_Report_Form_Contact_LoggingDetail', NULL, 0, 0, 39, '{ts escape="sql"}Contact modification report for the logging infrastructure (detail).{/ts}', 0, 0, 0, NULL, NULL, NULL), - (@option_group_id_report, '{ts escape="sql"}Survey Report (Detail){/ts}', 'survey/detail', 'CRM_Report_Form_Campaign_SurveyDetails', NULL, 0, 0, 43, '{ts escape="sql"}Detailed report for canvassing, phone-banking, walk lists or other surveys.{/ts}', 0, 0, 1, @campaignCompId, NULL, NULL), - (@option_group_id_report, '{ts escape="sql"}Personal Campaign Page Report{/ts}', 'contribute/pcp', 'CRM_Report_Form_Contribute_PCP', NULL, 0, 0, 44, '{ts escape="sql"}Summarizes amount raised and number of contributors for each Personal Campaign Page.{/ts}', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Pledge Summary Report{/ts}', 'pledge/summary', 'CRM_Report_Form_Pledge_Summary', NULL, 0, 0, 45, '{ts escape="sql"}Groups and totals pledges by criteria including contact, time period, pledge status, location, etc.{/ts}', 0, 0, 1, @pledgeCompId, NULL, NULL), - (@option_group_id_report , '{ts escape="sql"}Contribution Aggregate by Relationship{/ts}', 'contribute/history', 'CRM_Report_Form_Contribute_History', NULL, 0, 0, 46, '{ts escape="sql"}List contact's donation history, grouped by year, along with contributions attributed to any of the contact's related contacts.{/ts}', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report, '{ts escape="sql"}Mail Detail Report{/ts}', 'mailing/detail', 'CRM_Report_Form_Mailing_Detail', NULL, 0, 0, 47, '{ts escape="sql"}Provides reporting on Intended and Successful Deliveries, Unsubscribes and Opt-outs, Replies and Forwards.{/ts}', 0, 0, 1, @mailCompId, NULL, NULL), - (@option_group_id_report, '{ts escape="sql"}Contribution and Membership Details{/ts}', 'member/contributionDetail', 'CRM_Report_Form_Member_ContributionDetail', NULL, 0, 0, 48, '{ts escape="sql"}Contribution details for any type of contribution, plus associated membership information for contributions which are in payment for memberships.{/ts}', 0, 0, 1, @memberCompId, NULL, NULL), - (@option_group_id_report, '{ts escape="sql"}Recurring Contributions Report{/ts}', 'contribute/recur', 'CRM_Report_Form_Contribute_Recur', NULL, 0, 0, 49, '{ts escape="sql"}Provides information about the status of recurring contributions{/ts}', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report, '{ts escape="sql"}Recurring Contributions Summary{/ts}', 'contribute/recursummary', 'CRM_Report_Form_Contribute_RecurSummary', NULL, 0, 0, 49, '{ts escape="sql"}Provides simple summary for each payment instrument for which there are recurring contributions (e.g. Credit Card, Standing Order, Direct Debit, etc., NULL), showing within a given date range.{/ts}', 0, 0, 1, @contributeCompId, NULL, NULL), - (@option_group_id_report, '{ts escape="sql"}Deferred Revenue Details{/ts}', 'contribute/deferredrevenue', 'CRM_Report_Form_Contribute_DeferredRevenue', NULL, 0, 0, 50, '{ts escape="sql"}Deferred Revenue Details Report{/ts}', 0, 0, 1, @contributeCompId, NULL, NULL), - - (@option_group_id_acs, '{ts escape="sql"}Scheduled{/ts}', 1, 'Scheduled', NULL, 0, 1, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_acs, '{ts escape="sql"}Completed{/ts}', 2, 'Completed', NULL, 1, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_acs, '{ts escape="sql"}Cancelled{/ts}', 3, 'Cancelled', NULL, 2, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_acs, '{ts escape="sql"}Left Message{/ts}', 4, 'Left Message', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acs, '{ts escape="sql"}Unreachable{/ts}', 5, 'Unreachable', NULL, 2, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acs, '{ts escape="sql"}Not Required{/ts}', 6, 'Not Required', NULL, 2, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acs, '{ts escape="sql"}Available{/ts}', 7, 'Available', NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_acs, '{ts escape="sql"}No-show{/ts}', 8, 'No_show', NULL, 2, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_cas, '{ts escape="sql"}Ongoing{/ts}' , 1, 'Open' , 'Opened', 0, 1, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cas, '{ts escape="sql"}Resolved{/ts}', 2, 'Closed', 'Closed', 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_cas, '{ts escape="sql"}Urgent{/ts}' , 3, 'Urgent', 'Opened', 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_pl, '{ts escape="sql"}Name Only{/ts}' , 1, 'Name Only' , NULL, 0, 0, 1, 'CRM_Event_Page_ParticipantListing_Name', 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_pl, '{ts escape="sql"}Name and Email{/ts}', 2, 'Name and Email' , NULL, 0, 0, 2, 'CRM_Event_Page_ParticipantListing_NameAndEmail', 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_pl, '{ts escape="sql"}Name, Status and Register Date{/ts}' , 3, 'Name, Status and Register Date', NULL, 0, 0, 3, 'CRM_Event_Page_ParticipantListing_NameStatusAndDate', 0, 1, 1, NULL, NULL, NULL), - - (@option_group_id_sfe, 'jpg', 1, 'jpg', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'jpeg', 2, 'jpeg', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'png', 3, 'png', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'gif', 4, 'gif', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'txt', 5, 'txt', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'pdf', 6, 'pdf', NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'doc', 7, 'doc', NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'xls', 8, 'xls', NULL, 0, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'rtf', 9, 'rtf', NULL, 0, 0, 9, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'csv', 10, 'csv', NULL, 0, 0, 10, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'ppt', 11, 'ppt', NULL, 0, 0, 11, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'docx', 12, 'docx', NULL, 0, 0, 12, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'xlsx', 13, 'xlsx', NULL, 0, 0, 13, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'odt', 14, 'odt', NULL, 0, 0, 14, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'ics', 15, 'ics', NULL, 0, 0, 15, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_sfe, 'pptx', 16, 'pptx', NULL, 0, 0, 16, NULL, 0, 0, 1, NULL, NULL, NULL), - - (@option_group_id_we, '{ts escape="sql"}Textarea{/ts}', 1, 'Textarea', NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_we, '{ts escape="sql"}CKEditor 4{/ts}', 2, 'CKEditor', NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - - (@option_group_id_mt, '{ts escape="sql"}Search Builder{/ts}', 1, 'Search Builder', NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, '{ts escape="sql"}Import Contact{/ts}', 2, 'Import Contact', NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, '{ts escape="sql"}Import Activity{/ts}', 3, 'Import Activity', NULL, 0, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, '{ts escape="sql"}Import Contribution{/ts}', 4, 'Import Contribution', NULL, 0, 0, 4, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, '{ts escape="sql"}Import Membership{/ts}', 5, 'Import Membership', NULL, 0, 0, 5, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, '{ts escape="sql"}Import Participant{/ts}', 6, 'Import Participant', NULL, 0, 0, 6, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, '{ts escape="sql"}Export Contact{/ts}', 7, 'Export Contact', NULL, 0, 0, 7, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, '{ts escape="sql"}Export Contribution{/ts}', 8, 'Export Contribution', NULL, 0, 0, 8, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, '{ts escape="sql"}Export Membership{/ts}', 9, 'Export Membership', NULL, 0, 0, 9, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, '{ts escape="sql"}Export Participant{/ts}', 10, 'Export Participant', NULL, 0, 0, 10, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, '{ts escape="sql"}Export Pledge{/ts}', 11, 'Export Pledge', NULL, 0, 0, 11, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, '{ts escape="sql"}Export Case{/ts}', 12, 'Export Case', NULL, 0, 0, 12, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_mt, '{ts escape="sql"}Export Activity{/ts}', 14, 'Export Activity', NULL, 0, 0, 14, NULL, 0, 1, 1, NULL, NULL, NULL), - - (@option_group_id_fu, '{ts escape="sql"}day{/ts}' , 'day' , 'day', NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_fu, '{ts escape="sql"}week{/ts}' , 'week' , 'week', NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_fu, '{ts escape="sql"}month{/ts}' , 'month', 'month', NULL, 0, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_fu, '{ts escape="sql"}year{/ts}' , 'year' , 'year', NULL, 0, 0, 4, NULL, 0, 1, 1, NULL, NULL, NULL), - --- phone types. - (@option_group_id_pht, '{ts escape="sql"}Phone{/ts}' , 1, 'Phone' , NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pht, '{ts escape="sql"}Mobile{/ts}', 2, 'Mobile' , NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pht, '{ts escape="sql"}Fax{/ts}' , 3, 'Fax' , NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pht, '{ts escape="sql"}Pager{/ts}' , 4, 'Pager' , NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_pht, '{ts escape="sql"}Voicemail{/ts}' , 5, 'Voicemail' , NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - --- custom data types. - (@option_group_id_cdt, '{ts escape="sql"}Participants (Role){/ts}', '1', 'ParticipantRole', 'role_id', 0, 0, 1, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_cdt, '{ts escape="sql"}Participants (Event Name){/ts}', '2', 'ParticipantEventName', 'event_id', 0, 0, 2, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_cdt, '{ts escape="sql"}Participants (Event Type){/ts}', '3', 'ParticipantEventType', 'event_id.event_type_id', 0, 0, 3, NULL, 0, 0, 1, NULL, NULL , NULL), - --- visibility. - (@option_group_id_vis, 'Public', 1, 'public', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_vis, 'Admin', 2, 'admin', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL , NULL), - --- mail protocol. - (@option_group_id_mp, 'IMAP', 1, 'IMAP', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_mp, 'Maildir', 2, 'Maildir', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_mp, 'POP3', 3, 'POP3', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_mp, 'Localdir', 4, 'Localdir', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL , NULL), - --- priority - (@option_group_id_priority, '{ts escape="sql"}Urgent{/ts}', 1, 'Urgent', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_priority, '{ts escape="sql"}Normal{/ts}', 2, 'Normal', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_priority, '{ts escape="sql"}Low{/ts}', 3, 'Low', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - --- redaction rule FIXME: should this be in sample data instead? - (@option_group_id_rr, 'Vancouver', 'city_', 'city_', NULL, 0, 0, 1, NULL, 0, 0, 0, NULL, NULL, NULL), - (@option_group_id_rr, '{literal}/(19|20)(\\d{2})-(\\d{1,2})-(\\d{1,2})/{/literal}', 'date_', 'date_', NULL, 1, 0, 2, NULL, 0, 0, 0, NULL, NULL, NULL), - --- email greeting. - (@option_group_id_emailGreeting, '{literal}Dear {contact.first_name}{/literal}', 1, '{literal}Dear {contact.first_name}{/literal}', NULL, 1, 1, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_emailGreeting, '{literal}Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}{/literal}', 2, '{literal}Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}{/literal}', NULL, 1, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_emailGreeting, '{literal}Dear {contact.prefix_id:label} {contact.last_name}{/literal}', 3, '{literal}Dear {contact.prefix_id:label} {contact.last_name}{/literal}', NULL, 1, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_emailGreeting, '{literal}Customized{/literal}', 4, '{literal}Customized{/literal}', NULL, 0, 0, 4, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_emailGreeting, '{literal}Dear {contact.household_name}{/literal}', 5, '{literal}Dear {contact.household_name}{/literal}', NULL, 2, 1, 5, NULL, 0, 0, 1, NULL, NULL, NULL), --- postal greeting. - (@option_group_id_postalGreeting, '{literal}Dear {contact.first_name}{/literal}', 1, '{literal}Dear {contact.first_name}{/literal}', NULL, 1, 1, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_postalGreeting, '{literal}Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}{/literal}', 2, '{literal}Dear {contact.prefix_id:label} {contact.first_name} {contact.last_name}{/literal}', NULL, 1, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_postalGreeting, '{literal}Dear {contact.prefix_id:label} {contact.last_name}{/literal}', 3, '{literal}Dear {contact.prefix_id:label} {contact.last_name}{/literal}', NULL, 1, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_postalGreeting, '{literal}Customized{/literal}', 4, '{literal}Customized{/literal}', NULL, 0, 0, 4, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_postalGreeting, '{literal}Dear {contact.household_name}{/literal}', 5, '{literal}Dear {contact.household_name}{/literal}', NULL, 2, 1, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - --- addressee - (@option_group_id_addressee, '{literal}{contact.prefix_id:label}{ }{contact.first_name}{ }{contact.middle_name}{ }{contact.last_name}{ }{contact.suffix_id:label}{/literal}', '1', '{literal}{contact.prefix_id:label}{ }{contact.first_name}{ }{contact.middle_name}{ }{contact.last_name}{ }{contact.suffix_id:label}{/literal}', NULL , '1', '1', '1', NULL , '0', '0', '1', NULL , NULL, NULL), - (@option_group_id_addressee, '{literal}{contact.household_name}{/literal}', '2', '{literal}{contact.household_name}{/literal}', NULL , '2', '1', '2', NULL , '0', '0', '1', NULL , NULL, NULL), - (@option_group_id_addressee, '{literal}{contact.organization_name}{/literal}', '3', '{literal}{contact.organization_name}{/literal}', NULL , '3', '1', '3', NULL , '0', '0', '1', NULL , NULL, NULL), - (@option_group_id_addressee, '{literal}Customized{/literal}', '4', '{literal}Customized{/literal}', NULL , 0 , '0', '4', NULL , '0', '1', '1', NULL , NULL, NULL), - --- website type - (@option_group_id_website, 'Work', 1, 'Work', NULL, 0, 1, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'Main', 2, 'Main', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'Facebook', 3, 'Facebook', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'Instagram', 5, 'Instagram', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'LinkedIn', 6, 'LinkedIn', NULL, 0, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'MySpace', 7, 'MySpace', NULL, 0, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'Pinterest', 8, 'Pinterest', NULL, 0, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'SnapChat', 9, 'SnapChat', NULL, 0, 0, 9, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'Tumblr', 10, 'Tumblr', NULL, 0, 0, 10, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'Twitter', 11, 'Twitter', NULL, 0, 0, 11, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_website, 'Vine', 12, 'Vine ', NULL, 0, 0, 12, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Tag used for - (@option_group_id_tuf, '{ts escape="sql"}Contacts{/ts}', 'civicrm_contact', 'Contact', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_tuf, '{ts escape="sql"}Activities{/ts}', 'civicrm_activity', 'Activity', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_tuf, '{ts escape="sql"}Cases{/ts}', 'civicrm_case', 'Case', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_tuf, '{ts escape="sql"}Attachments{/ts}', 'civicrm_file', 'File', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Note used for - (@option_group_id_nuf, '{ts escape="sql"}Contacts{/ts}', 'civicrm_contact', 'Contact', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_nuf, '{ts escape="sql"}Relationships{/ts}', 'civicrm_relationship', 'Relationship', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_nuf, '{ts escape="sql"}Participants{/ts}', 'civicrm_participant', 'Participant', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_nuf, '{ts escape="sql"}Contributions{/ts}', 'civicrm_contribution', 'Contribution', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Available currencies. - (@option_group_id_currency, 'USD ($)', 'USD', 'USD', NULL, 0, 1, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_currency, 'CAD ($)', 'CAD', 'CAD', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_currency, 'EUR (€)', 'EUR', 'EUR', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_currency, 'GBP (£)', 'GBP', 'GBP', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_currency, 'JPY (Â¥)', 'JPY', 'JPY', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - --- event name badges - (@option_group_id_eventBadge, '{ts escape="sql"}Name Only{/ts}' , 1, 'CRM_Event_Badge_Simple' , NULL, 0, 0, 1, '{ts escape="sql"}Simple Event Name Badge{/ts}', 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_eventBadge, '{ts escape="sql"}Name Tent{/ts}' , 2, 'CRM_Event_Badge_NameTent', NULL, 0, 0, 2, '{ts escape="sql"}Name Tent{/ts}', 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_eventBadge , '{ts escape="sql"}With Logo{/ts}' , 3, 'CRM_Event_Badge_Logo' , NULL, 0, 0, 3, '{ts escape="sql"}You can set your own background image{/ts}', 0, 1, 1, NULL, NULL , NULL), - (@option_group_id_eventBadge , '{ts escape="sql"}5395 with Logo{/ts}', 4, 'CRM_Event_Badge_Logo5395', NULL, 0, 0, 4, '{ts escape="sql"}Avery 5395 compatible labels with logo (4 up by 2, 59.2mm x 85.7mm){/ts}', 0, 1, 1, NULL, NULL , NULL), - --- note privacy levels - (@option_group_id_notePrivacy, '{ts escape="sql"}None{/ts}', 0, 'None', NULL, 0, 1, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_notePrivacy, '{ts escape="sql"}Author Only{/ts}', 1, 'Author Only', NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - --- Compaign Types - (@option_group_id_campaignType, '{ts escape="sql"}Direct Mail{/ts}', 1, 'Direct Mail', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_campaignType, '{ts escape="sql"}Referral Program{/ts}', 2, 'Referral Program', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_campaignType, '{ts escape="sql"}Constituent Engagement{/ts}', 3, 'Constituent Engagement', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Campaign Status - (@option_group_id_campaignStatus, '{ts escape="sql"}Planned{/ts}', 1, 'Planned', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_campaignStatus, '{ts escape="sql"}In Progress{/ts}', 2, 'In Progress', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_campaignStatus, '{ts escape="sql"}Completed{/ts}', 3, 'Completed', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_campaignStatus, '{ts escape="sql"}Cancelled{/ts}', 4, 'Cancelled', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Engagement Level - (@option_group_id_engagement_index, '{ts escape="sql"}1{/ts}', 1, '1', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_engagement_index, '{ts escape="sql"}2{/ts}', 2, '2', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_engagement_index, '{ts escape="sql"}3{/ts}', 3, '3', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_engagement_index, '{ts escape="sql"}4{/ts}', 4, '4', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL , NULL), - (@option_group_id_engagement_index, '{ts escape="sql"}5{/ts}', 5, '5', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL , NULL), - --- Paper Sizes - (@option_group_id_paperSize, '{ts escape="sql"}Letter{/ts}', '{literal}{"metric":"in","width":8.5,"height":11}{/literal}', 'letter', NULL, NULL, 1, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}Legal{/ts}', '{literal}{"metric":"in","width":8.5,"height":14}{/literal}', 'legal', NULL, NULL, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}Ledger{/ts}', '{literal}{"metric":"in","width":17,"height":11}{/literal}', 'ledger', NULL, NULL, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}Tabloid{/ts}', '{literal}{"metric":"in","width":11,"height":17}{/literal}', 'tabloid', NULL, NULL, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}Executive{/ts}', '{literal}{"metric":"in","width":7.25,"height":10.5}{/literal}', 'executive', NULL, NULL, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}Folio{/ts}', '{literal}{"metric":"in","width":8.5,"height":13}{/literal}', 'folio', NULL, NULL, 0, 6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}Envelope #9{/ts}', '{literal}{"metric":"pt","width":638.93,"height":278.93}{/literal}', 'envelope-9', NULL, NULL, 0, 7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}Envelope #10{/ts}', '{literal}{"metric":"pt","width":684,"height":297}{/literal}', 'envelope-10', NULL, NULL, 0, 8, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}Envelope #11{/ts}', '{literal}{"metric":"pt","width":747,"height":324}{/literal}', 'envelope-11', NULL, NULL, 0, 9, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}Envelope #12{/ts}', '{literal}{"metric":"pt","width":792,"height":342}{/literal}', 'envelope-12', NULL, NULL, 0, 10, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}Envelope #14{/ts}', '{literal}{"metric":"pt","width":828,"height":360}{/literal}', 'envelope-14', NULL, NULL, 0, 11, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}Envelope ISO B4{/ts}', '{literal}{"metric":"pt","width":1000.63,"height":708.66}{/literal}', 'envelope-b4', NULL, NULL, 0, 12, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}Envelope ISO B5{/ts}', '{literal}{"metric":"pt","width":708.66,"height":498.9}{/literal}', 'envelope-b5', NULL, NULL, 0, 13, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}Envelope ISO B6{/ts}', '{literal}{"metric":"pt","width":498.9,"height":354.33}{/literal}', 'envelope-b6', NULL, NULL, 0, 14, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}Envelope ISO C3{/ts}', '{literal}{"metric":"pt","width":1298.27,"height":918.42}{/literal}', 'envelope-c3', NULL, NULL, 0, 15, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}Envelope ISO C4{/ts}', '{literal}{"metric":"pt","width":918.42,"height":649.13}{/literal}', 'envelope-c4', NULL, NULL, 0, 16, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}Envelope ISO C5{/ts}', '{literal}{"metric":"pt","width":649.13,"height":459.21}{/literal}', 'envelope-c5', NULL, NULL, 0, 17, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}Envelope ISO C6{/ts}', '{literal}{"metric":"pt","width":459.21,"height":323.15}{/literal}', 'envelope-c6', NULL, NULL, 0, 18, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}Envelope ISO DL{/ts}', '{literal}{"metric":"pt","width":623.622,"height":311.811}{/literal}', 'envelope-dl', NULL, NULL, 0, 19, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO A0{/ts}', '{literal}{"metric":"pt","width":2383.94,"height":3370.39}{/literal}', 'a0', NULL, NULL, 0, 20, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO A1{/ts}', '{literal}{"metric":"pt","width":1683.78,"height":2383.94}{/literal}', 'a1', NULL, NULL, 0, 21, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO A2{/ts}', '{literal}{"metric":"pt","width":1190.55,"height":1683.78}{/literal}', 'a2', NULL, NULL, 0, 22, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO A3{/ts}', '{literal}{"metric":"pt","width":841.89,"height":1190.55}{/literal}', 'a3', NULL, NULL, 0, 23, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO A4{/ts}', '{literal}{"metric":"pt","width":595.28,"height":841.89}{/literal}', 'a4', NULL, NULL, 0, 24, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO A5{/ts}', '{literal}{"metric":"pt","width":419.53,"height":595.28}{/literal}', 'a5', NULL, NULL, 0, 25, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO A6{/ts}', '{literal}{"metric":"pt","width":297.64,"height":419.53}{/literal}', 'a6', NULL, NULL, 0, 26, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO A7{/ts}', '{literal}{"metric":"pt","width":209.76,"height":297.64}{/literal}', 'a7', NULL, NULL, 0, 27, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO A8{/ts}', '{literal}{"metric":"pt","width":147.4,"height":209.76}{/literal}', 'a8', NULL, NULL, 0, 28, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO A9{/ts}', '{literal}{"metric":"pt","width":104.88,"height":147.4}{/literal}', 'a9', NULL, NULL, 0, 29, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO A10{/ts}', '{literal}{"metric":"pt","width":73.7,"height":104.88}{/literal}', 'a10', NULL, NULL, 0, 30, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO B0{/ts}', '{literal}{"metric":"pt","width":2834.65,"height":4008.19}{/literal}', 'b0', NULL, NULL, 0, 31, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO B1{/ts}', '{literal}{"metric":"pt","width":2004.09,"height":2834.65}{/literal}', 'b1', NULL, NULL, 0, 32, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO B2{/ts}', '{literal}{"metric":"pt","width":1417.32,"height":2004.09}{/literal}', 'b2', NULL, NULL, 0, 33, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO B3{/ts}', '{literal}{"metric":"pt","width":1000.63,"height":1417.32}{/literal}', 'b3', NULL, NULL, 0, 34, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO B4{/ts}', '{literal}{"metric":"pt","width":708.66,"height":1000.63}{/literal}', 'b4', NULL, NULL, 0, 35, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO B5{/ts}', '{literal}{"metric":"pt","width":498.9,"height":708.66}{/literal}', 'b5', NULL, NULL, 0, 36, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO B6{/ts}', '{literal}{"metric":"pt","width":354.33,"height":498.9}{/literal}', 'b6', NULL, NULL, 0, 37, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO B7{/ts}', '{literal}{"metric":"pt","width":249.45,"height":354.33}{/literal}', 'b7', NULL, NULL, 0, 38, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO B8{/ts}', '{literal}{"metric":"pt","width":175.75,"height":249.45}{/literal}', 'b8', NULL, NULL, 0, 39, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO B9{/ts}', '{literal}{"metric":"pt","width":124.72,"height":175.75}{/literal}', 'b9', NULL, NULL, 0, 40, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO B10{/ts}', '{literal}{"metric":"pt","width":87.87,"height":124.72}{/literal}', 'b10', NULL, NULL, 0, 41, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO C0{/ts}', '{literal}{"metric":"pt","width":2599.37,"height":3676.54}{/literal}', 'c0', NULL, NULL, 0, 42, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO C1{/ts}', '{literal}{"metric":"pt","width":1836.85,"height":2599.37}{/literal}', 'c1', NULL, NULL, 0, 43, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO C2{/ts}', '{literal}{"metric":"pt","width":1298.27,"height":1836.85}{/literal}', 'c2', NULL, NULL, 0, 44, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO C3{/ts}', '{literal}{"metric":"pt","width":918.43,"height":1298.27}{/literal}', 'c3', NULL, NULL, 0, 45, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO C4{/ts}', '{literal}{"metric":"pt","width":649.13,"height":918.43}{/literal}', 'c4', NULL, NULL, 0, 46, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO C5{/ts}', '{literal}{"metric":"pt","width":459.21,"height":649.13}{/literal}', 'c5', NULL, NULL, 0, 47, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO C6{/ts}', '{literal}{"metric":"pt","width":323.15,"height":459.21}{/literal}', 'c6', NULL, NULL, 0, 48, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO C7{/ts}', '{literal}{"metric":"pt","width":229.61,"height":323.15}{/literal}', 'c7', NULL, NULL, 0, 49, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO C8{/ts}', '{literal}{"metric":"pt","width":161.57,"height":229.61}{/literal}', 'c8', NULL, NULL, 0, 50, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO C9{/ts}', '{literal}{"metric":"pt","width":113.39,"height":161.57}{/literal}', 'c9', NULL, NULL, 0, 51, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO C10{/ts}', '{literal}{"metric":"pt","width":79.37,"height":113.39}{/literal}', 'c10', NULL, NULL, 0, 52, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO RA0{/ts}', '{literal}{"metric":"pt","width":2437.8,"height":3458.27}{/literal}', 'ra0', NULL, NULL, 0, 53, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO RA1{/ts}', '{literal}{"metric":"pt","width":1729.13,"height":2437.8}{/literal}', 'ra1', NULL, NULL, 0, 54, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO RA2{/ts}', '{literal}{"metric":"pt","width":1218.9,"height":1729.13}{/literal}', 'ra2', NULL, NULL, 0, 55, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO RA3{/ts}', '{literal}{"metric":"pt","width":864.57,"height":1218.9}{/literal}', 'ra3', NULL, NULL, 0, 56, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO RA4{/ts}', '{literal}{"metric":"pt","width":609.45,"height":864.57}{/literal}', 'ra4', NULL, NULL, 0, 57, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO SRA0{/ts}', '{literal}{"metric":"pt","width":2551.18,"height":3628.35}{/literal}', 'sra0', NULL, NULL, 0, 58, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO SRA1{/ts}', '{literal}{"metric":"pt","width":1814.17,"height":2551.18}{/literal}', 'sra1', NULL, NULL, 0, 59, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO SRA2{/ts}', '{literal}{"metric":"pt","width":1275.59,"height":1814.17}{/literal}', 'sra2', NULL, NULL, 0, 60, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO SRA3{/ts}', '{literal}{"metric":"pt","width":907.09,"height":1275.59}{/literal}', 'sra3', NULL, NULL, 0, 61, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_paperSize, '{ts escape="sql"}ISO SRA4{/ts}', '{literal}{"metric":"pt","width":637.8,"height":907.09}{/literal}', 'sra4', NULL, NULL, 0, 62, NULL, 0, 0, 1, NULL, NULL, NULL), - --- activity_contacts - (@option_group_id_aco, '{ts escape="sql"}Activity Assignees{/ts}', 1, 'Activity Assignees', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_aco, '{ts escape="sql"}Activity Source{/ts}', 2, 'Activity Source', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_aco, '{ts escape="sql"}Activity Targets{/ts}', 3, 'Activity Targets', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - --- pdf_format - (@option_group_id_pdf_format, '{ts escape="sql"}Invoice PDF Format{/ts}', '{literal}{"metric":"px","margin_top":10,"margin_bottom":0,"margin_left":65,"margin_right":0}{/literal}', 'default_invoice_pdf_format', NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - --- financial_account_type --- grouping field is specific to Quickbooks for mapping to .iif format - (@option_group_id_fat, '{ts escape="sql"}Asset{/ts}', 1, 'Asset', NULL, 0, 0, 1, 'Things you own', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_fat, '{ts escape="sql"}Liability{/ts}', 2, 'Liability', NULL, 0, 0, 2, 'Things you owe, like a grant still to be disbursed', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_fat, '{ts escape="sql"}Revenue{/ts}', 3, 'Revenue', NULL, 0, 1, 3, 'Income from contributions and sales of tickets and memberships', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_fat, '{ts escape="sql"}Cost of Sales{/ts}', 4, 'Cost of Sales', NULL, 0, 0, 4, 'Costs incurred to get revenue, e.g. premiums for donations, dinner for a fundraising dinner ticket', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_fat, '{ts escape="sql"}Expenses{/ts}', 5, 'Expenses', NULL, 0, 0, 5, 'Things that are paid for that are consumable, e.g. grants disbursed', 0, 1, 1, 2, NULL, NULL), - --- account_relationship - (@option_group_id_arel, '{ts escape="sql"}Income Account is{/ts}', 1, 'Income Account is', NULL, 0, 1, 1, 'Income Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, '{ts escape="sql"}Credit/Contra Revenue Account is{/ts}', 2, 'Credit/Contra Revenue Account is', NULL, 0, 0, 2, 'Credit/Contra Revenue Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, '{ts escape="sql"}Accounts Receivable Account is{/ts}', 3, 'Accounts Receivable Account is', NULL, 0, 0, 3, 'Accounts Receivable Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, '{ts escape="sql"}Credit Liability Account is{/ts}', 4, 'Credit Liability Account is', NULL, 0, 0, 4, 'Credit Liability Account is', 0, 1, 0, 2, NULL, NULL), - (@option_group_id_arel, '{ts escape="sql"}Expense Account is{/ts}', 5, 'Expense Account is', NULL, 0, 0, 5, 'Expense Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, '{ts escape="sql"}Asset Account is{/ts}', 6, 'Asset Account is', NULL, 0, 0, 6, 'Asset Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, '{ts escape="sql"}Cost of Sales Account is{/ts}', 7, 'Cost of Sales Account is', NULL, 0, 0, 7, 'Cost of Sales Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, '{ts escape="sql"}Premiums Inventory Account is{/ts}', 8, 'Premiums Inventory Account is', NULL, 0, 0, 8, 'Premiums Inventory Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, '{ts escape="sql"}Discounts Account is{/ts}', 9, 'Discounts Account is', NULL, 0, 0, 9, 'Discounts Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, '{ts escape="sql"}Sales Tax Account is{/ts}', 10, 'Sales Tax Account is', NULL, 0, 0, 10, 'Sales Tax Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, '{ts escape="sql"}Chargeback Account is{/ts}', 11, 'Chargeback Account is', NULL, 0, 0, 11, 'Chargeback Account is', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_arel, '{ts escape="sql"}Deferred Revenue Account is{/ts}', 12, 'Deferred Revenue Account is', NULL, 0, 0, 12, 'Deferred Revenue Account is', 0, 1, 1, 2, NULL, NULL), - --- event_contacts - (@option_group_id_ere, '{ts escape="sql"}Participant Role{/ts}', 1, 'participant_role', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - --- default conference slots - (@option_group_id_conference_slot, '{ts escape="sql"}Morning Sessions{/ts}', 1, 'Morning Sessions', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_conference_slot, '{ts escape="sql"}Evening Sessions{/ts}', 2, 'Evening Sessions', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - --- default batch types - (@option_group_id_batch_type, '{ts escape="sql"}Contribution{/ts}', 1, 'Contribution', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_batch_type, '{ts escape="sql"}Membership{/ts}', 2, 'Membership', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_batch_type, '{ts escape="sql"}Pledge Payment{/ts}', 3, 'Pledge Payment', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - --- default batch statuses - (@option_group_id_batch_status, '{ts escape="sql"}Open{/ts}', 1, 'Open', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_batch_status, '{ts escape="sql"}Closed{/ts}', 2, 'Closed', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_batch_status, '{ts escape="sql"}Data Entry{/ts}', 3, 'Data Entry', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_batch_status, '{ts escape="sql"}Reopened{/ts}', 4, 'Reopened', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_batch_status, '{ts escape="sql"}Exported{/ts}', 5, 'Exported', NULL, 0, 0, 5, NULL, 0, 0, 1, NULL, NULL, NULL), - --- default batch modes - (@option_group_id_batch_mode, '{ts escape="sql"}Manual Batch{/ts}', 1, 'Manual Batch', NULL, 0, 0, 1, 'Manual Batch', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_batch_mode, '{ts escape="sql"}Automatic Batch{/ts}', 2, 'Automatic Batch', NULL, 0, 0, 2, 'Automatic Batch', 0, 1, 1, 2, NULL, NULL), - --- Financial Item Status - (@option_group_id_financial_item_status, '{ts escape="sql"}Paid{/ts}', 1, 'Paid', NULL, 0, 0, 1, 'Paid', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_financial_item_status, '{ts escape="sql"}Partially paid{/ts}', 2, 'Partially paid', NULL, 0, 0, 2, 'Partially paid', 0, 1, 1, 2, NULL, NULL), - (@option_group_id_financial_item_status, '{ts escape="sql"}Unpaid{/ts}', 3, 'Unpaid', NULL, 0, 0, 1, 'Unpaid', 0, 1, 1, 2, NULL, NULL), - --- sms_api_type - (@option_group_id_sms_api_type, 'http', 1, 'http', NULL, NULL, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_sms_api_type, 'xml', 2, 'xml', NULL, NULL, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_sms_api_type, 'smtp', 3, 'smtp', NULL, NULL, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - --- auto renew options - (@option_group_id_aro, '{ts escape="sql"}Renewal Reminder (non-auto-renew memberships only){/ts}', 1, 'Renewal Reminder (non-auto-renew memberships only)', NULL, 0, NULL, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_aro, '{ts escape="sql"}Auto-renew Memberships Only{/ts}', 2, 'Auto-renew Memberships Only', NULL, 0, NULL, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_aro, '{ts escape="sql"}Reminder for Both{/ts}', 3, 'Reminder for Both', NULL, 0, NULL, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Label Type - (@option_group_id_label_type, '{ts escape="sql"}Event Badge{/ts}', 1, 'Event Badge', NULL, 0, NULL, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Name Label format - (@option_group_id_name_badge, '{ts escape="sql"}Avery 5395{/ts}', '{literal}{"name":"Avery 5395","paper-size":"a4","metric":"mm","lMargin":15,"tMargin":26,"NX":2,"NY":4,"SpaceX":10,"SpaceY":5,"width":83,"height":57,"font-size":12,"orientation":"portrait","font-name":"helvetica","font-style":"","lPadding":3,"tPadding":3}{/literal}', 'Avery 5395', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_name_badge, '{ts escape="sql"}A6 Badge Portrait 150x106{/ts}', '{literal}{"paper-size":"a4","orientation":"landscape","font-name":"times","font-size":6,"font-style":"","NX":2,"NY":1,"metric":"mm","lMargin":25,"tMargin":27,"SpaceX":0,"SpaceY":35,"width":106,"height":150,"lPadding":5,"tPadding":5}{/literal}', 'A6 Badge Portrait 150x106', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_name_badge, '{ts escape="sql"}Fattorini Name Badge 100x65{/ts}', '{literal}{"paper-size":"a4","orientation":"portrait","font-name":"times","font-size":6,"font-style":"","NX":2,"NY":4,"metric":"mm","lMargin":6,"tMargin":19,"SpaceX":0,"SpaceY":0,"width":100,"height":65,"lPadding":0,"tPadding":0}{/literal}', 'Fattorini Name Badge 100x65', NULL, 0, 0, 3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_name_badge, '{ts escape="sql"}Hanging Badge 3-3/4" x 4-3"/4{/ts}', '{literal}{"paper-size":"a4","orientation":"portrait","font-name":"times","font-size":6,"font-style":"","NX":2,"NY":2,"metric":"mm","lMargin":10,"tMargin":28,"SpaceX":0,"SpaceY":0,"width":96,"height":121,"lPadding":5,"tPadding":5}{/literal}', 'Hanging Badge 3-3/4" x 4-3"/4', NULL, 0, 0, 4, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Mailing Label Formats - (@option_group_id_label, '{ts escape="sql"}Avery 3475{/ts}', '{literal}{"paper-size":"a4","orientation":"portrait","font-name":"dejavusans","font-size":10,"font-style":"","metric":"mm","lMargin":0,"tMargin":5,"NX":3,"NY":8,"SpaceX":0,"SpaceY":0,"width":70,"height":36,"lPadding":5.08,"tPadding":5.08}{/literal}', '3475', 'Avery', NULL, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, '{ts escape="sql"}Avery 5160{/ts}', '{literal}{"paper-size":"letter","orientation":"portrait","font-name":"dejavusans","font-size":8,"font-style":"","metric":"in","lMargin":0.21975,"tMargin":0.5,"NX":3,"NY":10,"SpaceX":0.14,"SpaceY":0,"width":2.5935,"height":1,"lPadding":0.20,"tPadding":0.20}{/literal}', '5160', 'Avery', NULL, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, '{ts escape="sql"}Avery 5161{/ts}', '{literal}{"paper-size":"letter","orientation":"portrait","font-name":"dejavusans","font-size":8,"font-style":"","metric":"in","lMargin":0.175,"tMargin":0.5,"NX":2,"NY":10,"SpaceX":0.15625,"SpaceY":0,"width":4,"height":1,"lPadding":0.20,"tPadding":0.20}{/literal}', '5161', 'Avery', NULL, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, '{ts escape="sql"}Avery 5162{/ts}', '{literal}{"paper-size":"letter","orientation":"portrait","font-name":"dejavusans","font-size":8,"font-style":"","metric":"in","lMargin":0.1525,"tMargin":0.88,"NX":2,"NY":7,"SpaceX":0.195,"SpaceY":0,"width":4,"height":1.33,"lPadding":0.20,"tPadding":0.20}{/literal}', '5162', 'Avery', NULL, 0, 4, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, '{ts escape="sql"}Avery 5163{/ts}', '{literal}{"paper-size":"letter","orientation":"portrait","font-name":"dejavusans","font-size":8,"font-style":"","metric":"in","lMargin":0.18,"tMargin":0.5,"NX":2,"NY":5,"SpaceX":0.14,"SpaceY":0,"width":4,"height":2,"lPadding":0.20,"tPadding":0.20}{/literal}', '5163', 'Avery', NULL, 0, 5, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, '{ts escape="sql"}Avery 5164{/ts}', '{literal}{"paper-size":"letter","orientation":"portrait","font-name":"dejavusans","font-size":12,"font-style":"","metric":"in","lMargin":0.156,"tMargin":0.5,"NX":2,"NY":3,"SpaceX":0.1875,"SpaceY":0,"width":4,"height":3.33,"lPadding":0.20,"tPadding":0.20}{/literal}', '5164', 'Avery', NULL, 0, 6, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, '{ts escape="sql"}Avery 8600{/ts}', '{literal}{"paper-size":"letter","orientation":"portrait","font-name":"dejavusans","font-size":8,"font-style":"","metric":"mm","lMargin":7.1,"tMargin":19,"NX":3,"NY":10,"SpaceX":9.5,"SpaceY":3.1,"width":66.6,"height":25.4,"lPadding":5.08,"tPadding":5.08}{/literal}', '8600', 'Avery', NULL, 0, 7, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, '{ts escape="sql"}Avery L7160{/ts}', '{literal}{"paper-size":"a4","orientation":"portrait","font-name":"dejavusans","font-size":9,"font-style":"","metric":"in","lMargin":0.28,"tMargin":0.6,"NX":3,"NY":7,"SpaceX":0.1,"SpaceY":0,"width":2.5,"height":1.5,"lPadding":0.20,"tPadding":0.20}{/literal}', 'L7160', 'Avery', NULL, 0, 8, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, '{ts escape="sql"}Avery L7161{/ts}', '{literal}{"paper-size":"a4","orientation":"portrait","font-name":"dejavusans","font-size":9,"font-style":"","metric":"in","lMargin":0.28,"tMargin":0.35,"NX":3,"NY":6,"SpaceX":0.1,"SpaceY":0,"width":2.5,"height":1.83,"lPadding":0.20,"tPadding":0.20}{/literal}', 'L7161', 'Avery', NULL, 0, 9, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, '{ts escape="sql"}Avery L7162{/ts}', '{literal}{"paper-size":"a4","orientation":"portrait","font-name":"dejavusans","font-size":9,"font-style":"","metric":"in","lMargin":0.18,"tMargin":0.51,"NX":2,"NY":8,"SpaceX":0.1,"SpaceY":0,"width":3.9,"height":1.33,"lPadding":0.20,"tPadding":0.20}{/literal}', 'L7162', 'Avery', NULL, 0, 10, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_label, '{ts escape="sql"}Avery L7163{/ts}', '{literal}{"paper-size":"a4","orientation":"portrait","font-name":"dejavusans","font-size":9,"font-style":"","metric":"in","lMargin":0.18,"tMargin":0.6,"NX":2,"NY":7,"SpaceX":0.1,"SpaceY":0,"width":3.9,"height":1.5,"lPadding":0.20,"tPadding":0.20}{/literal}', 'L7163', 'Avery', NULL, 0, 11, NULL, 0, 1, 1, NULL, NULL, NULL), - --- Communication Styles - (@option_group_id_communication_style, '{ts escape="sql"}Formal{/ts}' , 1, 'formal' , NULL, 0, 1, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_communication_style, '{ts escape="sql"}Familiar{/ts}', 2, 'familiar', NULL, 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL), - --- Message Mode -(@option_group_id_msg_mode, '{ts escape="sql"}Email{/ts}', 'Email', 'Email', NULL, 0, 1, 1, NULL, 0, 1, 1, NULL, NULL, NULL), -(@option_group_id_msg_mode, '{ts escape="sql"}SMS{/ts}', 'SMS', 'SMS', NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), -(@option_group_id_msg_mode, '{ts escape="sql"}User Preference{/ts}', 'User_Preference', 'User Preference', NULL, 0, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - --- Reminder Options for Contact Date Fields -(@option_group_id_contactDateMode, '{ts escape="sql"}Actual date only{/ts}', '1', 'Actual date only', NULL, NULL, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), -(@option_group_id_contactDateMode, '{ts escape="sql"}Each anniversary{/ts}', '2', 'Each anniversary', NULL, NULL, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - --- WYSIWYG Editor Presets -(@option_group_id_wysiwyg_presets, '{ts escape="sql"}Default{/ts}', '1', 'default', NULL, NULL, 1, 1, NULL, 0, 1, 1, NULL, NULL, NULL), -(@option_group_id_wysiwyg_presets, '{ts escape="sql"}CiviMail{/ts}', '2', 'civimail', NULL, NULL, 0, 2, NULL, 0, 1, 1, @mailCompId, NULL, NULL), -(@option_group_id_wysiwyg_presets, '{ts escape="sql"}CiviEvent{/ts}', '3', 'civievent', NULL, NULL, 0, 3, NULL, 0, 1, 1, @eventCompId, NULL, NULL), - --- Environment -(@option_group_id_env, '{ts escape="sql"}Production{/ts}', 'Production', 'Production', NULL, NULL, 1, 1, 'Production Environment', 0, 1, 1, NULL, NULL, NULL), -(@option_group_id_env, '{ts escape="sql"}Staging{/ts}', 'Staging', 'Staging', NULL, NULL, 0, 2, 'Staging Environment', 0, 1, 1, NULL, NULL, NULL), -(@option_group_id_env, '{ts escape="sql"}Development{/ts}', 'Development', 'Development', NULL, NULL, 0, 3, 'Development Environment', 0, 1, 1, NULL, NULL, NULL), +-- CRM-6138 +{include file='languages.tpl'} --- Relative Date Filters - (@option_group_id_date_filter, '{ts escape="sql"}Today{/ts}', 'this.day', 'this.day', NULL, NULL, 0,1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}This week{/ts}', 'this.week', 'this.week', NULL, NULL, 0,2, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}This calendar month{/ts}', 'this.month', 'this.month', NULL, NULL, 0,3, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}This quarter{/ts}', 'this.quarter', 'this.quarter', NULL, NULL, 0,4, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}This fiscal year{/ts}', 'this.fiscal_year', 'this.fiscal_year', NULL, NULL, 0,5, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}This calendar year{/ts}', 'this.year', 'this.year', NULL, NULL, 0,6, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Yesterday{/ts}', 'previous.day', 'previous.day', NULL, NULL, 0,7, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Previous week{/ts}', 'previous.week', 'previous.week', NULL, NULL, 0,8, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Previous calendar month{/ts}', 'previous.month', 'previous.month', NULL, NULL, 0,9, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Previous quarter{/ts}', 'previous.quarter', 'previous.quarter', NULL, NULL, 0,10, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Previous fiscal year{/ts}', 'previous.fiscal_year', 'previous.fiscal_year', NULL, NULL, 0,11, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Previous calendar year{/ts}', 'previous.year', 'previous.year', NULL, NULL, 0,12, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Last 7 days including today{/ts}', 'ending.week', 'ending.week', NULL, NULL, 0,13, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Last 30 days including today{/ts}', 'ending_30.day', 'ending.month', NULL, NULL, 0,14, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Last 60 days including today{/ts}', 'ending_60.day', 'ending_2.month', NULL, NULL, 0,15, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Last 90 days including today{/ts}', 'ending_90.day', 'ending.quarter', NULL, NULL, 0,16, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Last 12 months including today{/ts}', 'ending.year', 'ending.year', NULL, NULL, 0,17, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Last 2 years including today{/ts}', 'ending_2.year', 'ending_2.year', NULL, NULL, 0,18, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Last 3 years including today{/ts}', 'ending_3.year', 'ending_3.year', NULL, NULL, 0,19, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Tomorrow{/ts}', 'starting.day', 'starting.day', NULL, NULL, 0,20, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Next week{/ts}', 'next.week', 'next.week', NULL, NULL, 0,21, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Next calendar month{/ts}', 'next.month', 'next.month', NULL, NULL, 0,22, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Next quarter{/ts}', 'next.quarter', 'next.quarter', NULL, NULL, 0,23, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Next fiscal year{/ts}', 'next.fiscal_year', 'next.fiscal_year', NULL, NULL, 0,24, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Next calendar year{/ts}', 'next.year', 'next.year', NULL, NULL, 0,25, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Next 7 days including today{/ts}', 'starting.week', 'starting.week', NULL, NULL, 0,26, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Next 30 days including today{/ts}', 'starting.month', 'starting.month', NULL, NULL, 0,27, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Next 60 days including today{/ts}', 'starting_2.month', 'starting_2.month', NULL, NULL, 0,28, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Next 90 days including today{/ts}', 'starting.quarter', 'starting.quarter', NULL, NULL, 0,29, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Next 12 months including today{/ts}', 'starting.year', 'starting.year', NULL, NULL, 0,30, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Current week to-date{/ts}', 'current.week', 'current.week', NULL, NULL, 0,31, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Current calendar month to-date{/ts}', 'current.month', 'current.month', NULL, NULL, 0,32, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Current quarter to-date{/ts}', 'current.quarter', 'current.quarter', NULL, NULL, 0,33, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Current calendar year to-date{/ts}', 'current.year', 'current.year', NULL, NULL, 0,34, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}To end of yesterday{/ts}', 'earlier.day', 'earlier.day', NULL, NULL, 0,35, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}To end of previous week{/ts}', 'earlier.week', 'earlier.week', NULL, NULL, 0,36, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}To end of previous calendar month{/ts}', 'earlier.month', 'earlier.month', NULL, NULL, 0,37, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}To end of previous quarter{/ts}', 'earlier.quarter', 'earlier.quarter', NULL, NULL, 0,38, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}To end of previous calendar year{/ts}', 'earlier.year', 'earlier.year', NULL, NULL, 0,39, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}From start of current day{/ts}', 'greater.day', 'greater.day', NULL, NULL, 0,40, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}From start of current week{/ts}', 'greater.week', 'greater.week', NULL, NULL, 0,41, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}From start of current calendar month{/ts}', 'greater.month', 'greater.month', NULL, NULL, 0,42, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}From start of current quarter{/ts}', 'greater.quarter', 'greater.quarter', NULL, NULL, 0,43, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}From start of current calendar year{/ts}', 'greater.year', 'greater.year', NULL, NULL, 0,44, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}To end of current week{/ts}', 'less.week', 'less.week', NULL, NULL, 0,45, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}To end of current calendar month{/ts}', 'less.month', 'less.month', NULL, NULL, 0,46, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}To end of current quarter{/ts}', 'less.quarter', 'less.quarter', NULL, NULL, 0,47, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}To end of current calendar year{/ts}', 'less.year', 'less.year', NULL, NULL, 0,48, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Previous 2 days{/ts}', 'previous_2.day', 'previous_2.day', NULL, NULL, 0,49, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Previous 2 weeks{/ts}', 'previous_2.week', 'previous_2.week', NULL, NULL, 0,50, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Previous 2 calendar months{/ts}', 'previous_2.month', 'previous_2.month', NULL, NULL, 0,51, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Previous 2 quarters{/ts}', 'previous_2.quarter', 'previous_2.quarter', NULL, NULL, 0,52, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Previous 2 calendar years{/ts}', 'previous_2.year', 'previous_2.year', NULL, NULL, 0,53, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Previous 2 fiscal years{/ts}', 'previous_2.fiscal_year', 'previous_2.fiscal_year', NULL, NULL, 0,54, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Day prior to yesterday{/ts}', 'previous_before.day', 'previous_before.day', NULL, NULL, 0,55, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Week prior to previous week{/ts}', 'previous_before.week', 'previous_before.week', NULL, NULL, 0,56, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Month prior to previous calendar month{/ts}', 'previous_before.month', 'previous_before.month', NULL, NULL, NULL,57, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Quarter prior to previous quarter{/ts}', 'previous_before.quarter', 'previous_before.quarter', NULL, NULL, 0,58, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Year prior to previous calendar year{/ts}', 'previous_before.year', 'previous_before.year', NULL, NULL, 0,59, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}Fiscal year prior to previous fiscal year{/ts}', 'previous_before.fiscal_year', 'previous_before.fiscal_year', NULL, NULL, 0,60, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}From end of previous week{/ts}', 'greater_previous.week', 'greater_previous.week', NULL, NULL, 0,61, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}From end of previous calendar month{/ts}', 'greater_previous.month', 'greater_previous.month', NULL, NULL, 0,62, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}From end of previous quarter{/ts}', 'greater_previous.quarter', 'greater_previous.quarter', NULL, NULL, 0,63, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_date_filter, '{ts escape="sql"}From end of previous calendar year{/ts}', 'greater_previous.year', 'greater_previous.year', NULL, NULL, 0,64, NULL, 0, 0, 1, NULL, NULL, NULL), +{php}echo (include "sql/civicrm_data/civicrm_option_group/encounter_medium.sqldata.php")->toSQL();{/php} --- Pledge Status - (@option_group_id_ps, '{ts escape="sql"}Completed{/ts}' , 1, 'Completed' , NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_ps, '{ts escape="sql"}Pending{/ts}' , 2, 'Pending' , NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_ps, '{ts escape="sql"}Cancelled{/ts}' , 3, 'Cancelled' , NULL, 0, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_ps, '{ts escape="sql"}In Progress{/ts}', 5, 'In Progress', NULL, 0, 0, 4, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_ps, '{ts escape="sql"}Overdue{/ts}' , 6, 'Overdue' , NULL, 0, 0, 5, NULL, 0, 1, 1, NULL, NULL, NULL), +{php}echo (include "sql/civicrm_data/civicrm_membership_status.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_preferences_date.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_payment_processor_type.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_dedupe_rule/IndividualSupervised.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_dedupe_rule/OrganizationSupervised.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_dedupe_rule/HouseholdSupervised.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_dedupe_rule/IndividualUnsupervised.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_dedupe_rule/OrganizationUnsupervised.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_dedupe_rule/HouseholdUnsupervised.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_dedupe_rule/IndividualGeneral.sqldata.php")->toSQL();{/php} --- Contribution Recur Status - (@option_group_id_crs, '{ts escape="sql"}Completed{/ts}' , 1, 'Completed' , NULL, 0, 0, 1, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_crs, '{ts escape="sql"}Pending{/ts}' , 2, 'Pending' , NULL, 0, 0, 2, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_crs, '{ts escape="sql"}Cancelled{/ts}' , 3, 'Cancelled' , NULL, 0, 0, 3, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_crs, '{ts escape="sql"}Failed{/ts}' , 4, 'Failed' , NULL, 0, 0, 4, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_crs, '{ts escape="sql"}In Progress{/ts}', 5, 'In Progress', NULL, 0, 0, 5, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_crs, '{ts escape="sql"}Overdue{/ts}' , 6, 'Overdue' , NULL, 0, 0, 6, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_crs, '{ts escape="sql"}Processing{/ts}' , 7, 'Processing' , NULL, 0, 0, 7, NULL, 0, 1, 1, NULL, NULL, NULL), - (@option_group_id_crs, '{ts escape="sql"}Failing{/ts}' , 8, 'Failing' , NULL, 0, 0, 8, NULL, 0, 1, 1, NULL, NULL, NULL), +{php}echo (include "sql/civicrm_data/civicrm_county.sqldata.php")->toSQL();{/php} --- CiviCase - Activity Assignee Default --- (`option_group_id`, `label`, `value`, `name`, `grouping`, `filter`, `is_default`, `weight`, `description`, `is_optgroup`, `is_reserved`, `is_active`, `component_id`, `visibility_id`, `icon`) -(@option_group_id_default_assignee, '{ts escape="sql"}None{/ts}', '1', 'NONE', NULL, 0, 1, 1, NULL, 0, 0, 1, NULL, NULL, NULL), -(@option_group_id_default_assignee, '{ts escape="sql"}By relationship to case client{/ts}', '2', 'BY_RELATIONSHIP', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), -(@option_group_id_default_assignee, '{ts escape="sql"}Specific contact{/ts}', '3', 'SPECIFIC_CONTACT', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), -(@option_group_id_default_assignee, '{ts escape="sql"}User creating the case{/ts}', '4', 'USER_CREATING_THE_CASE', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), +-- Bounce classification patterns +{php}echo (include "sql/civicrm_data/civicrm_mailing_bounce_type/AOL.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_mailing_bounce_type/Away.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_mailing_bounce_type/Dns.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_mailing_bounce_type/Host.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_mailing_bounce_type/Inactive.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_mailing_bounce_type/Invalid.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_mailing_bounce_type/Loop.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_mailing_bounce_type/Quota.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_mailing_bounce_type/Relay.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_mailing_bounce_type/Spam.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_mailing_bounce_type/Syntax.sqldata.php")->toSQL();{/php} + +{php}echo (include "sql/civicrm_data/civicrm_uf_group.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_uf_join.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_uf_field.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_participant_status_type.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_action_mapping.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_contact_type.sqldata.php")->toSQL();{/php} --- Entity Batch options --- (`option_group_id`, `label`, `value`, `name`, `grouping`, `filter`, `is_default`, `weight`, `description`, `is_optgroup`, `is_reserved`, `is_active`, `component_id`, `visibility_id`, `icon`) -(@option_group_id_entity_batch_extends, '{ts escape="sql"}Financial Transactions{/ts}', 'civicrm_financial_trxn', 'civicrm_financial_trxn', NULL, 0, 1, 1, NULL, 0, 0, 1, @contributeCompId, NULL, NULL); +{include file='civicrm_msg_template.tpl'} +{php}echo (include "sql/civicrm_data/civicrm_job.sqldata.php")->toSQL();{/php} -- financial accounts +SELECT @option_group_id_fat := max(id) from civicrm_option_group where name = 'financial_account_type'; SELECT @opval := value FROM civicrm_option_value WHERE name = 'Revenue' and option_group_id = @option_group_id_fat; SELECT @opexp := value FROM civicrm_option_value WHERE name = 'Expenses' and option_group_id = @option_group_id_fat; SELECT @opAsset := value FROM civicrm_option_value WHERE name = 'Asset' and option_group_id = @option_group_id_fat; SELECT @opLiability := value FROM civicrm_option_value WHERE name = 'Liability' and option_group_id = @option_group_id_fat; SELECT @opCost := value FROM civicrm_option_value WHERE name = 'Cost of Sales' and option_group_id = @option_group_id_fat; +{php}echo (include "sql/civicrm_data/civicrm_financial_account.sqldata.php")->toSQL();{/php} -INSERT INTO - `civicrm_financial_account` (`name`, `contact_id`, `financial_account_type_id`, `description`, `accounting_code`, `account_type_code`, `is_reserved`, `is_active`, `is_deductible`, `is_default`) -VALUES - ( '{ts escape="sql"}Donation{/ts}' , @contactID, @opval, 'Default account for donations', '4200', 'INC', 0, 1, 1, 1 ), - ( '{ts escape="sql"}Member Dues{/ts}' , @contactID, @opval, 'Default account for membership sales', '4400', 'INC', 0, 1, 1, 0 ), - ( '{ts escape="sql"}Campaign Contribution{/ts}', @contactID, @opval, 'Sample account for recording payments to a campaign', '4100', 'INC', 0, 1, 0, 0 ), - ( '{ts escape="sql"}Event Fee{/ts}' , @contactID, @opval, 'Default account for event ticket sales', '4300', 'INC', 0, 1, 0, 0 ), - ( '{ts escape="sql"}Banking Fees{/ts}' , @contactID, @opexp, 'Payment processor fees and manually recorded banking fees', '5200', 'EXP', 0, 1, 0, 1 ), - ( '{ts escape="sql"}Deposit Bank Account{/ts}' , @contactID, @opAsset, 'All manually recorded cash and cheques go to this account', '1100', 'BANK', 0, 1, 0, 1 ), - ( '{ts escape="sql"}Accounts Receivable{/ts}' , @contactID, @opAsset, 'Amounts to be received later (eg pay later event revenues)', '1200', 'AR', 0, 1, 0, 0 ), - ( '{ts escape="sql"}Accounts Payable{/ts}' , @contactID, @opLiability, 'Amounts to be paid out such as grants and refunds', '2200', 'AP', 0, 1, 0, 1 ), - ( '{ts escape="sql"}Premiums{/ts}' , @contactID, @opCost, 'Account to record cost of premiums provided to payors', '5100', 'COGS', 0, 1, 0, 1 ), - ( '{ts escape="sql"}Premiums inventory{/ts}' , @contactID, @opAsset, 'Account representing value of premiums inventory', '1375', 'OCASSET', 0, 1, 0, 0 ), - ( '{ts escape="sql"}Discounts{/ts}' , @contactID, @opval, 'Contra-revenue account for amounts discounted from sales', '4900', 'INC', 0, 1, 0, 0 ), - ( '{ts escape="sql"}Payment Processor Account{/ts}', @contactID, @opAsset, 'Account to record payments into a payment processor merchant account', '1150', 'BANK', 0, 1, 0, 0), - ( '{ts escape="sql"}Deferred Revenue - Event Fee{/ts}', @contactID, @opLiability, 'Event revenue to be recognized in future months when the events occur', '2730', 'OCLIAB', 0, 1, 0, 0), - ( '{ts escape="sql"}Deferred Revenue - Member Dues{/ts}', @contactID, @opLiability, 'Membership revenue to be recognized in future months', '2740', 'OCLIAB', 0, 1, 0, 0 -); - --- Now insert option values which require domainID --- - -INSERT INTO - `civicrm_option_value` (`option_group_id`, `label`, `value`, `name`, `grouping`, `filter`, `is_default`, `weight`, `description`, `is_optgroup`, `is_reserved`, `is_active`, `component_id`, `domain_id`, `visibility_id`) -VALUES --- from email address. - (@option_group_id_fma, '"FIXME" <info@EXAMPLE.ORG>', '1', '"FIXME" <info@EXAMPLE.ORG>', NULL, 0, 1, 1, '{ts escape="sql"}Default domain email address and from name.{/ts}', 0, 0, 1, NULL, @domainID, NULL ), - --- Mail Approval Status Preferences - (@option_group_id_mail_approval_status, '{ts escape="sql"}Approved{/ts}' , 1, 'Approved', NULL, 0, 1, 1, NULL, 0, 1, 1, @mailCompId, @domainID, NULL), - (@option_group_id_mail_approval_status, '{ts escape="sql"}Rejected{/ts}' , 2, 'Rejected', NULL, 0, 0, 2, NULL, 0, 1, 1, @mailCompId, @domainID, NULL), - (@option_group_id_mail_approval_status, '{ts escape="sql"}None{/ts}' , 3, 'None', NULL, 0, 0, 3, NULL, 0, 1, 1, @mailCompId, @domainID, NULL), - --- custom group objects - (@option_group_id_cgeo, '{ts escape="sql"}Survey{/ts}', 'Survey', 'civicrm_survey', NULL, 0, 0, 1, NULL, 0, 0, 1, NULL, NULL, NULL), - (@option_group_id_cgeo, '{ts escape="sql"}Cases{/ts}', 'Case', 'civicrm_case', 'case_type_id', 0, 0, 2, NULL, 0, 0, 1, NULL, NULL, NULL); - --- CRM-6138 -{include file='languages.tpl'} - --- /******************************************************* --- * --- * Encounter Medium Option Values (for case activities) --- * --- *******************************************************/ -INSERT INTO `civicrm_option_group` (name, title, description, is_reserved, is_active) - VALUES ('encounter_medium', 'Encounter Medium', 'Encounter medium for case activities (e.g. In Person, By Phone, etc.)', 1, 1); -SELECT @option_group_id_medium := max(id) from civicrm_option_group where name = 'encounter_medium'; -INSERT INTO - `civicrm_option_value` (`option_group_id`, `label`, `value`, `name`, `grouping`, `filter`, `is_default`, `weight`, `description`, `is_optgroup`, `is_reserved`, `is_active`) -VALUES - (@option_group_id_medium, '{ts escape="sql"}In Person{/ts}', 1, 'in_person', NULL, 0, 0, 1, NULL, 0, 1, 1), - (@option_group_id_medium, '{ts escape="sql"}Phone{/ts}', 2, 'phone', NULL, 0, 1, 2, NULL, 0, 1, 1), - (@option_group_id_medium, '{ts escape="sql"}Email{/ts}', 3, 'email', NULL, 0, 0, 3, NULL, 0, 1, 1), - (@option_group_id_medium, '{ts escape="sql"}Fax{/ts}', 4, 'fax', NULL, 0, 0, 4, NULL, 0, 1, 1), - (@option_group_id_medium, '{ts escape="sql"}Letter Mail{/ts}', 5, 'letter_mail', NULL, 0, 0, 5, NULL, 0, 1, 1); - --- sample membership status entries -INSERT INTO - civicrm_membership_status(name, label, start_event, start_event_adjust_unit, start_event_adjust_interval, end_event, end_event_adjust_unit, end_event_adjust_interval, is_current_member, is_admin, weight, is_default, is_active, is_reserved) -VALUES - ('New', '{ts escape="sql"}New{/ts}', 'join_date', null, null,'join_date','month',3, 1, 0, 1, 0, 1, 0), - ('Current', '{ts escape="sql"}Current{/ts}', 'start_date', null, null,'end_date', null, null, 1, 0, 2, 1, 1, 0), - ('Grace', '{ts escape="sql"}Grace{/ts}', 'end_date', null, null,'end_date','month', 1, 1, 0, 3, 0, 1, 0), - ('Expired', '{ts escape="sql"}Expired{/ts}', 'end_date', 'month', 1, null, null, null, 0, 0, 4, 0, 1, 0), - ('Pending', '{ts escape="sql"}Pending{/ts}', 'join_date', null, null,'join_date',null,null, 0, 0, 5, 0, 1, 1), - ('Cancelled', '{ts escape="sql"}Cancelled{/ts}', 'join_date', null, null,'join_date',null,null, 0, 0, 6, 0, 1, 1), - ('Deceased', '{ts escape="sql"}Deceased{/ts}', null, null, null, null, null, null, 0, 1, 7, 0, 1, 1); - - -INSERT INTO `civicrm_preferences_date` - (name, start, end, date_format, time_format, description) -VALUES - ( 'activityDate' , 20, 10, '', '', '{ts escape="sql"}Date for relationships. activities. contributions: receive, receipt, cancel. membership: join, start, renew. case: start, end.{/ts}' ), - ( 'activityDateTime', 20, 10, '', 1, '{ts escape="sql"}Date and time for activity: scheduled. participant: registered.{/ts}' ), - ( 'birth' , 100, 0, '', '', '{ts escape="sql"}Birth and deceased dates. Only year, month and day fields are supported.{/ts}' ), - ( 'creditCard' , 0, 10, 'M Y', '', '{ts escape="sql"}Month and year only for credit card expiration.{/ts}' ), - ( 'custom' , 20, 20, '', '', '{ts escape="sql"}Uses date range passed in by form field. Can pass in a posix date part parameter. Start and end offsets defined here are ignored.{/ts}'), - ( 'mailing' , 0, 1, '', '', '{ts escape="sql"}Date and time. Used for scheduling mailings.{/ts}' ), - ( 'searchDate' , 20, 20, '', '', '{ts escape="sql"}Used in search forms.{/ts}' ); - - --- various processor options --- --- Table structure for table `civicrm_payment_processor_type` --- - -INSERT INTO `civicrm_payment_processor_type` - (name, title, description, is_active, is_default, user_name_label, password_label, signature_label, subject_label, class_name, url_site_default, url_api_default, url_recur_default, url_button_default, url_site_test_default, url_api_test_default, url_recur_test_default, url_button_test_default, billing_mode, is_recur ) -VALUES - ('PayPal_Standard', '{ts escape="sql"}PayPal - Website Payments Standard{/ts}', NULL,1,0,'{ts escape="sql"}Merchant Account Email{/ts}',NULL,NULL,NULL,'Payment_PayPalImpl','https://www.paypal.com/',NULL,'https://www.paypal.com/',NULL,'https://www.sandbox.paypal.com/',NULL,'https://www.sandbox.paypal.com/',NULL,4,1), - ('PayPal', '{ts escape="sql"}PayPal - Website Payments Pro{/ts}', NULL,1,0,'{ts escape="sql"}User Name{/ts}','{ts escape="sql"}Password{/ts}','{ts escape="sql"}Signature{/ts}',NULL,'Payment_PayPalImpl','https://www.paypal.com/','https://api-3t.paypal.com/','https://www.paypal.com/','https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif','https://www.sandbox.paypal.com/','https://api-3t.sandbox.paypal.com/','https://www.sandbox.paypal.com/','https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif',3, 1), - ('PayPal_Express', '{ts escape="sql"}PayPal - Express{/ts}', NULL,1,0,'{ts escape="sql"}User Name{/ts}','{ts escape="sql"}Password{/ts}','{ts escape="sql"}Signature{/ts}',NULL,'Payment_PayPalImpl','https://www.paypal.com/','https://api-3t.paypal.com/',NULL,'https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif','https://www.sandbox.paypal.com/','https://api-3t.sandbox.paypal.com/',NULL,'https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif',2, 1), - ('AuthNet', '{ts escape="sql"}Authorize.Net{/ts}', NULL,1,0,'{ts escape="sql"}API Login{/ts}','{ts escape="sql"}Payment Key{/ts}','{ts escape="sql"}MD5 Hash{/ts}',NULL,'Payment_AuthorizeNet','https://secure2.authorize.net/gateway/transact.dll',NULL,'https://api2.authorize.net/xml/v1/request.api',NULL,'https://test.authorize.net/gateway/transact.dll',NULL,'https://apitest.authorize.net/xml/v1/request.api',NULL,1,1), - ('PayJunction', '{ts escape="sql"}PayJunction{/ts}', NULL,0,0,'User Name','Password',NULL,NULL,'Payment_PayJunction','https://payjunction.com/quick_link',NULL,NULL,NULL,'https://www.payjunctionlabs.com/quick_link',NULL,NULL,NULL,1,1), - ('Dummy', '{ts escape="sql"}Dummy Payment Processor{/ts}',NULL,1,1,'{ts escape="sql"}User Name{/ts}',NULL,NULL,NULL,'Payment_Dummy',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,1,1), - ('Realex', '{ts escape="sql"}Realex Payment{/ts}', NULL,0,0,'Merchant ID', 'Password', NULL, 'Account', 'Payment_Realex', 'https://epage.payandshop.com/epage.cgi', NULL, NULL, NULL, 'https://epage.payandshop.com/epage-remote.cgi', NULL, NULL, NULL, 1, 0), - ('FirstData', '{ts escape="sql"}FirstData (aka linkpoint){/ts}', '{ts escape="sql"}FirstData (aka linkpoint){/ts}', 0, 0, 'Store name', 'certificate path', NULL, NULL, 'Payment_FirstData', 'https://secure.linkpt.net', NULL, NULL, NULL, 'https://staging.linkpt.net', NULL, NULL, NULL, 1, 0); - - --- the fuzzy default dedupe rules --- IndividualSupervised uses hard-coded optimized query (CRM_Dedupe_BAO_QueryBuilder_IndividualSupervised) -INSERT INTO civicrm_dedupe_rule_group (contact_type, threshold, used, name, title, is_reserved) -VALUES ('Individual', 20, 'Supervised', 'IndividualSupervised', '{ts escape="sql"}Name and Email (reserved){/ts}', 1); - -SELECT @drgid := MAX(id) FROM civicrm_dedupe_rule_group; -INSERT INTO civicrm_dedupe_rule (dedupe_rule_group_id, rule_table, rule_field, rule_weight) -VALUES (@drgid, 'civicrm_contact', 'first_name', 5), - (@drgid, 'civicrm_contact', 'last_name', 7), - (@drgid, 'civicrm_email' , 'email', 10); - -INSERT INTO civicrm_dedupe_rule_group (contact_type, threshold, used, name, title, is_reserved) -VALUES ('Organization', 10, 'Supervised', 'OrganizationSupervised', '{ts escape="sql"}Name and Email{/ts}', 0); - -SELECT @drgid := MAX(id) FROM civicrm_dedupe_rule_group; -INSERT INTO civicrm_dedupe_rule (dedupe_rule_group_id, rule_table, rule_field, rule_weight) -VALUES (@drgid, 'civicrm_contact', 'organization_name', 10), - (@drgid, 'civicrm_email' , 'email', 10); - -INSERT INTO civicrm_dedupe_rule_group (contact_type, threshold, used, name, title, is_reserved) -VALUES ('Household', 10, 'Supervised', 'HouseholdSupervised', '{ts escape="sql"}Name and Email{/ts}', 0); - -SELECT @drgid := MAX(id) FROM civicrm_dedupe_rule_group; -INSERT INTO civicrm_dedupe_rule (dedupe_rule_group_id, rule_table, rule_field, rule_weight) -VALUES (@drgid, 'civicrm_contact', 'household_name', 10), - (@drgid, 'civicrm_email' , 'email', 10); - --- the strict dedupe rules --- IndividualUnsupervised uses hard-coded optimized query (CRM_Dedupe_BAO_QueryBuilder_IndividualUnsupervised) -INSERT INTO civicrm_dedupe_rule_group (contact_type, threshold, used, name, title, is_reserved) -VALUES ('Individual', 10, 'Unsupervised', 'IndividualUnsupervised', '{ts escape="sql"}Email (reserved){/ts}', 1); - -SELECT @drgid := MAX(id) FROM civicrm_dedupe_rule_group; -INSERT INTO civicrm_dedupe_rule (dedupe_rule_group_id, rule_table, rule_field, rule_weight) -VALUES (@drgid, 'civicrm_email', 'email', 10); - -INSERT INTO civicrm_dedupe_rule_group (contact_type, threshold, used, name, title, is_reserved) -VALUES ('Organization', 10, 'Unsupervised', 'OrganizationUnsupervised', '{ts escape="sql"}Name and Email{/ts}', 0); - -SELECT @drgid := MAX(id) FROM civicrm_dedupe_rule_group; -INSERT INTO civicrm_dedupe_rule (dedupe_rule_group_id, rule_table, rule_field, rule_weight) -VALUES (@drgid, 'civicrm_contact', 'organization_name', 10), - (@drgid, 'civicrm_email' , 'email', 10); - -INSERT INTO civicrm_dedupe_rule_group (contact_type, threshold, used, name, title, is_reserved) -VALUES ('Household', 10, 'Unsupervised', 'HouseholdUnsupervised', '{ts escape="sql"}Name and Email{/ts}', 0); - -SELECT @drgid := MAX(id) FROM civicrm_dedupe_rule_group; -INSERT INTO civicrm_dedupe_rule (dedupe_rule_group_id, rule_table, rule_field, rule_weight) -VALUES (@drgid, 'civicrm_contact', 'household_name', 10), - (@drgid, 'civicrm_email' , 'email', 10); - --- IndividualGeneral uses hard-coded optimized query (CRM_Dedupe_BAO_QueryBuilder_IndividualGeneral) -INSERT INTO civicrm_dedupe_rule_group (contact_type, threshold, used, name, title, is_reserved) -VALUES ('Individual', 15, 'General', 'IndividualGeneral', '{ts escape="sql"}Name and Address (reserved){/ts}', 1); - -SELECT @drgid := MAX(id) FROM civicrm_dedupe_rule_group; -INSERT INTO civicrm_dedupe_rule (dedupe_rule_group_id, rule_table, rule_field, rule_weight) -VALUES (@drgid, 'civicrm_contact', 'first_name', '5'), - (@drgid, 'civicrm_contact', 'last_name', '5'), - (@drgid, 'civicrm_address', 'street_address', '5'), - (@drgid, 'civicrm_contact', 'middle_name', '1'), - (@drgid, 'civicrm_contact', 'suffix_id', '1'); - --- Sample counties (state-province and country lists defined in a separate tpl files) -INSERT INTO civicrm_county (name, state_province_id) VALUES ('Alameda', 1004); -INSERT INTO civicrm_county (name, state_province_id) VALUES ('Contra Costa', 1004); -INSERT INTO civicrm_county (name, state_province_id) VALUES ('Marin', 1004); -INSERT INTO civicrm_county (name, state_province_id) VALUES ('San Francisco', 1004); -INSERT INTO civicrm_county (name, state_province_id) VALUES ('San Mateo', 1004); -INSERT INTO civicrm_county (name, state_province_id) VALUES ('Santa Clara', 1004); - --- Bounce classification patterns -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('AOL', '{ts escape="sql"}AOL Terms of Service complaint{/ts}', 1); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'AOL'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, 'Client TOS Notification'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Away', '{ts escape="sql"}Recipient is on vacation{/ts}', 30); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Away'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, '(be|am)? (out of|away from) (the|my)? (office|computer|town)'), - (@bounceTypeID, 'i am on vacation'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Dns', '{ts escape="sql"}Unable to resolve recipient domain{/ts}', 3); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Dns'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, 'name(server entry| lookup failure)'), - (@bounceTypeID, 'no (mail server|matches to nameserver query|dns entries)'), - (@bounceTypeID, 'reverse dns entry'), - (@bounceTypeID, 'Host or domain name not found'), - (@bounceTypeID, 'Unable to resolve MX record for'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Host', '{ts escape="sql"}Unable to deliver to destintation mail server{/ts}', 3); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Host'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, '(unknown|not local) host'), - (@bounceTypeID, 'all hosts have been failing'), - (@bounceTypeID, 'allowed rcpthosts'), - (@bounceTypeID, 'connection (refused|timed out)'), - (@bounceTypeID, 'not connected'), - (@bounceTypeID, 'couldn\'t find any host named'), - (@bounceTypeID, 'error involving remote host'), - (@bounceTypeID, 'host unknown'), - (@bounceTypeID, 'invalid host name'), - (@bounceTypeID, 'isn\'t in my control/locals file'), - (@bounceTypeID, 'local configuration error'), - (@bounceTypeID, 'not a gateway'), - (@bounceTypeID, 'server is (down or unreachable|not responding)'), - (@bounceTypeID, 'too many connections'), - (@bounceTypeID, 'unable to connect'), - (@bounceTypeID, 'lost connection'), - (@bounceTypeID, 'conversation with [^ ]* timed out while'), - (@bounceTypeID, 'server requires authentication'), - (@bounceTypeID, 'authentication (is )?required'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Inactive', '{ts escape="sql"}User account is no longer active{/ts}', 1); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Inactive'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, '(my )?e-?mail( address)? has changed'), - (@bounceTypeID, 'account (inactive|expired|deactivated)'), - (@bounceTypeID, 'account is locked'), - (@bounceTypeID, 'changed \w+( e-?mail)? address'), - (@bounceTypeID, 'deactivated mailbox'), - (@bounceTypeID, 'disabled or discontinued'), - (@bounceTypeID, 'inactive user'), - (@bounceTypeID, 'is inactive on this domain'), - (@bounceTypeID, 'mail receiving disabled'), - (@bounceTypeID, 'mail( ?)address is administrative?ly disabled'), - (@bounceTypeID, 'mailbox (temporarily disabled|currently suspended)'), - (@bounceTypeID, 'no longer (accepting mail|on server|in use|with|employed|on staff|works for|using this account)'), - (@bounceTypeID, 'not accepting (mail|messages)'), - (@bounceTypeID, 'please use my new e-?mail address'), - (@bounceTypeID, 'this address no longer accepts mail'), - (@bounceTypeID, 'user account suspended'), - (@bounceTypeID, 'account that you tried to reach is disabled'), - (@bounceTypeID, 'User banned'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Invalid', '{ts escape="sql"}Email address is not valid{/ts}', 1); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Invalid'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, '(user|recipient( name)?) is not recognized'), - (@bounceTypeID, '554 delivery error'), - (@bounceTypeID, 'address does not exist'), - (@bounceTypeID, 'address(es)?( you (entered|specified))? (could|was)( not|n.t)( be)? found'), - (@bounceTypeID, 'address(ee)? (unknown|invalid)'), - (@bounceTypeID, 'bad destination'), - (@bounceTypeID, 'badly formatted address'), - (@bounceTypeID, 'can\'t open mailbox for'), - (@bounceTypeID, 'cannot deliver'), - (@bounceTypeID, 'delivery to the following recipient(s)? failed'), - (@bounceTypeID, 'destination addresses were unknown'), - (@bounceTypeID, 'did not reach the following recipient'), - (@bounceTypeID, 'does not exist'), - (@bounceTypeID, 'does not like recipient'), - (@bounceTypeID, 'does not specify a valid notes mail file'), - (@bounceTypeID, 'illegal alias'), - (@bounceTypeID, 'invalid (mailbox|(e-?mail )?address|recipient|final delivery)'), - (@bounceTypeID, 'invalid( or unknown)?( virtual)? user'), - (@bounceTypeID, '(mail )?delivery (to this user )?is not allowed'), - (@bounceTypeID, 'mailbox (not found|unavailable|name not allowed)'), - (@bounceTypeID, 'message could not be forwarded'), - (@bounceTypeID, 'missing or malformed local(-| )part'), - (@bounceTypeID, 'no e-?mail address registered'), - (@bounceTypeID, 'no such (mail drop|mailbox( \\w+)?|(e-?mail )?address|recipient|(local )?user|person)( here)?'), - (@bounceTypeID, 'no mailbox (here )?by that name'), - (@bounceTypeID, 'not (listed in|found in directory|known at this site|our customer)'), - (@bounceTypeID, 'not a valid( (user|mailbox))?'), - (@bounceTypeID, 'not present in directory entry'), - (@bounceTypeID, 'recipient (does not exist|(is )?unknown|rejected|denied|not found)'), - (@bounceTypeID, 'this user doesn\'t have a yahoo.com address'), - (@bounceTypeID, 'unavailable to take delivery of the message'), - (@bounceTypeID, 'unavailable mailbox'), - (@bounceTypeID, 'unknown (local( |-)part|recipient|address error)'), - (@bounceTypeID, 'unknown( or illegal)? user( account)?'), - (@bounceTypeID, 'unrecognized recipient'), - (@bounceTypeID, 'unregistered address'), - (@bounceTypeID, 'user (unknown|(does not|doesn\'t) exist)'), - (@bounceTypeID, 'user doesn\'t have an? \w+ account'), - (@bounceTypeID, 'user(\'s e-?mail name is)? not found'), - (@bounceTypeID, '^Validation failed for:'), - (@bounceTypeID, '5.1.0 Address rejected'), - (@bounceTypeID, 'no valid recipients?'), - (@bounceTypeID, 'RecipNotFound'), - (@bounceTypeID, 'no one at this address'), - (@bounceTypeID, 'misconfigured forwarding address'), - (@bounceTypeID, 'account is not allowed'), - (@bounceTypeID, 'Address .<[^>]*>. not known here'), - (@bounceTypeID, '{literal}Recipient address rejected: ([a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,}{/literal}'), - (@bounceTypeID, 'Non sono riuscito a trovare l.indirizzo e-mail'), - (@bounceTypeID, 'nadie con esta direcci..?n'), - (@bounceTypeID, 'ni bilo mogo..?e najti prejemnikovega e-po..?tnega naslova'), - (@bounceTypeID, 'Elektronski naslov (je ukinjen|ne obstaja)'), - (@bounceTypeID, 'nepravilno nastavljen predal'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Loop', '{ts escape="sql"}Mail routing error{/ts}', 3); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Loop'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, '(mail( forwarding)?|routing).loop'), - (@bounceTypeID, 'excessive recursion'), - (@bounceTypeID, 'loop detected'), - (@bounceTypeID, 'maximum hop count exceeded'), - (@bounceTypeID, 'message was forwarded more than the maximum allowed times'), - (@bounceTypeID, 'too many (hops|recursive forwards)'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Quota', '{ts escape="sql"}User inbox is full{/ts}', 3); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Quota'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, '(disk(space)?|over the allowed|exceed(ed|s)?|storage) quota'), - (@bounceTypeID, '522_mailbox_full'), - (@bounceTypeID, 'exceeds allowed message count'), - (@bounceTypeID, 'file too large'), - (@bounceTypeID, 'full mailbox'), - (@bounceTypeID, '(mail|in)(box|folder) ((for user \\w+ )?is )?full'), - (@bounceTypeID, 'mailbox (has exceeded|is over) the limit'), - (@bounceTypeID, 'mailbox( exceeds allowed)? size'), - (@bounceTypeID, 'no space left for this user'), - (@bounceTypeID, 'over\\s?quota'), - (@bounceTypeID, 'quota (for the mailbox )?has been exceeded'), - (@bounceTypeID, 'quota ?(usage|violation|exceeded)'), - (@bounceTypeID, 'recipient storage full'), - (@bounceTypeID, 'not able to receive more mail'), - (@bounceTypeID, 'doesn.t have enough disk space left'), - (@bounceTypeID, 'exceeded storage allocation'), - (@bounceTypeID, 'running out of disk space'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Relay', '{ts escape="sql"}Unable to reach destination mail server{/ts}', 3); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Relay'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, 'cannot find your hostname'), - (@bounceTypeID, 'ip name lookup'), - (@bounceTypeID, 'not configured to relay mail'), - (@bounceTypeID, 'relay(ing)? (not permitted|(access )?denied)'), - (@bounceTypeID, 'relayed mail to .+? not allowed'), - (@bounceTypeID, 'sender ip must resolve'), - (@bounceTypeID, 'unable to relay'), - (@bounceTypeID, 'No route to host'), - (@bounceTypeID, 'Network is unreachable'), - (@bounceTypeID, 'unrouteable address'), - (@bounceTypeID, 'We don.t handle mail for'), - (@bounceTypeID, 'we do not relay'), - (@bounceTypeID, 'Rejected by next-hop'), - (@bounceTypeID, 'not permitted to( *550)? relay through this server'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Spam', '{ts escape="sql"}Message caught by a content filter{/ts}', 1); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Spam'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, '(bulk( e-?mail)|content|attachment blocking|virus|mail system) filters?'), - (@bounceTypeID, '(hostile|questionable|unacceptable) content'), - (@bounceTypeID, 'address .+? has not been verified'), - (@bounceTypeID, 'anti-?spam (polic\w+|software)'), - (@bounceTypeID, 'anti-?virus gateway has detected'), - (@bounceTypeID, 'blacklisted'), - (@bounceTypeID, 'blocked message'), - (@bounceTypeID, 'content control'), - (@bounceTypeID, 'delivery not authorized'), - (@bounceTypeID, 'does not conform to our e-?mail policy'), - (@bounceTypeID, 'excessive spam content'), - (@bounceTypeID, 'message looks suspicious'), - (@bounceTypeID, 'open relay'), - (@bounceTypeID, 'sender was rejected'), - (@bounceTypeID, 'spam(check| reduction software| filters?)'), - (@bounceTypeID, 'blocked by a user configured filter'), - (@bounceTypeID, '(detected|rejected) (as|due to) spam'), - (@bounceTypeID, 'X-HmXmrOriginalRecipient'), - (@bounceTypeID, 'Client host .[^ ]*. blocked'), - (@bounceTypeID, 'automatic(ally-generated)? messages are not accepted'), - (@bounceTypeID, 'denied by policy'), - (@bounceTypeID, 'has no corresponding reverse \\(PTR\\) address'), - (@bounceTypeID, 'has a policy that( [^ ]*)? prohibited the mail that you sent'), - (@bounceTypeID, 'is likely unsolicited mail'), - (@bounceTypeID, 'Local Policy Violation'), - (@bounceTypeID, 'ni bilo mogo..?e dostaviti zaradi varnostnega pravilnika'), - (@bounceTypeID, 'abuse report'); - -INSERT INTO civicrm_mailing_bounce_type - (name, description, hold_threshold) - VALUES ('Syntax', '{ts escape="sql"}Error in SMTP transaction{/ts}', 3); - -SELECT @bounceTypeID := max(id) FROM civicrm_mailing_bounce_type WHERE name = 'Syntax'; -INSERT INTO civicrm_mailing_bounce_pattern - (bounce_type_id, pattern) - VALUES - (@bounceTypeID, 'nonstandard smtp line terminator'), - (@bounceTypeID, 'syntax error in from address'), - (@bounceTypeID, 'unknown smtp code'); - --- add sample and reserved profiles - -INSERT INTO civicrm_uf_group - (id, name, group_type, title, is_cms_user, is_reserved, help_post) VALUES - (1, 'name_and_address', 'Individual,Contact', '{ts escape="sql"}Name and Address{/ts}', 0, 0, NULL), - (2, 'supporter_profile', 'Individual,Contact', '{ts escape="sql"}Supporter Profile{/ts}', 2, 0, '<p><strong>{ts escape="sql"}The information you provide will NOT be shared with any third party organisations.{/ts}</strong></p><p>{ts escape="sql"}Thank you for getting involved in our campaign!{/ts}</p>'), - (3, 'participant_status', 'Participant', '{ts escape="sql"}Participant Status{/ts}', 0, 1, NULL), - (4, 'new_individual', 'Individual,Contact', '{ts escape="sql"}New Individual{/ts}' , 0, 1, NULL), - (5, 'new_organization', 'Organization,Contact','{ts escape="sql"}New Organization{/ts}' , 0, 1, NULL), - (6, 'new_household', 'Household,Contact', '{ts escape="sql"}New Household{/ts}' , 0, 1, NULL), - (7, 'summary_overlay', 'Contact', '{ts escape="sql"}Summary Overlay{/ts}' , 0, 1, NULL), - (8, 'shared_address', 'Contact', '{ts escape="sql"}Shared Address{/ts}' , 0, 1, NULL), - (9, 'on_behalf_organization', 'Contact,Organization','{ts escape="sql"}On Behalf Of Organization{/ts}', 0, 1, NULL), - (10, 'contribution_batch_entry', 'Contribution', '{ts escape="sql"}Contribution Bulk Entry{/ts}' , 0, 1, NULL), - (11, 'membership_batch_entry', 'Membership', '{ts escape="sql"}Membership Bulk Entry{/ts}' , 0, 1, NULL), - (12, 'event_registration', 'Individual,Contact', '{ts escape="sql"}Your Registration Info{/ts}', 0, 0, NULL), - (13, 'honoree_individual', 'Individual,Contact', '{ts escape="sql"}Honoree Individual{/ts}', 0, 1, NULL); - - -INSERT INTO civicrm_uf_join - (is_active,module,entity_table,entity_id,weight,uf_group_id) -VALUES - (1, 'User Registration',NULL, NULL,1,1), - (1, 'User Account', NULL, NULL, 1, 1), - (1, 'Profile', NULL, NULL, 1, 1), - (1, 'Profile', NULL, NULL, 2, 2), - (1, 'Profile', NULL, NULL, 11, 12); - -INSERT INTO civicrm_uf_field - ( uf_group_id, field_name, is_required, is_reserved, weight, visibility, in_selector, is_searchable, location_type_id, label, field_type, help_post, phone_type_id ) VALUES - ( 1, 'first_name', 1, 0, 1, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}First Name{/ts}', 'Individual', NULL, NULL), - ( 1, 'last_name', 1, 0, 2, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Last Name{/ts}', 'Individual', NULL, NULL), - ( 1, 'street_address', 0, 0, 3, 'User and User Admin Only', 0, 0, 1, '{ts escape="sql"}Street Address (Home){/ts}', 'Contact', NULL, NULL), - ( 1, 'city', 0, 0, 4, 'User and User Admin Only', 0, 0, 1, '{ts escape="sql"}City (Home){/ts}', 'Contact', NULL, NULL), - ( 1, 'postal_code', 0, 0, 5, 'User and User Admin Only', 0, 0, 1, '{ts escape="sql"}Postal Code (Home){/ts}', 'Contact', NULL, NULL), - ( 1, 'country', 0, 0, 6, 'User and User Admin Only', 0, 0, 1, '{ts escape="sql"}Country (Home){/ts}', 'Contact', NULL, NULL), - ( 1, 'state_province', 0, 0, 7, 'User and User Admin Only', 0, 0, 1, '{ts escape="sql"}State (Home){/ts}', 'Contact', NULL, NULL), - ( 2, 'first_name', 1, 0, 1, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}First Name{/ts}', 'Individual', NULL, NULL), - ( 2, 'last_name', 1, 0, 2, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Last Name{/ts}', 'Individual', NULL, NULL), - ( 2, 'email', 1, 0, 3, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Email Address{/ts}', 'Contact', NULL, NULL), - ( 3, 'participant_status', 1, 1, 1, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Participant Status{/ts}', 'Participant', NULL, NULL), - ( 4, 'first_name', 1, 0, 1, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}First Name{/ts}', 'Individual', NULL, NULL), - ( 4, 'last_name', 1, 0, 2, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Last Name{/ts}', 'Individual', NULL, NULL), - ( 4, 'email', 0, 0, 3, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Email Address{/ts}', 'Contact', NULL, NULL), - ( 5, 'organization_name', 1, 0, 2, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Organization Name{/ts}', 'Organization', NULL, NULL), - ( 5, 'email', 0, 0, 3, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Email Address{/ts}', 'Contact', NULL, NULL), - ( 6, 'household_name', 1, 0, 2, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Household Name{/ts}', 'Household', NULL, NULL), - ( 6, 'email', 0, 0, 3, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Email Address{/ts}', 'Contact', NULL, NULL), - ( 7, 'phone', 1, 0, 1, 'User and User Admin Only', 0, 0, 1, '{ts escape="sql"}Home Phone{/ts}', 'Contact', NULL, 1 ), - ( 7, 'phone', 1, 0, 2, 'User and User Admin Only', 0, 0, 1, '{ts escape="sql"}Home Mobile{/ts}', 'Contact', NULL, 2 ), - ( 7, 'street_address', 1, 0, 3, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Primary Address{/ts}', 'Contact', NULL, NULL), - ( 7, 'city', 1, 0, 4, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}City{/ts}', 'Contact', NULL, NULL), - ( 7, 'state_province', 1, 0, 5, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}State{/ts}', 'Contact', NULL, NULL), - ( 7, 'postal_code', 1, 0, 6, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Postal Code{/ts}', 'Contact', NULL, NULL), - ( 7, 'email', 1, 0, 7, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Primary Email{/ts}', 'Contact', NULL, NULL), - ( 7, 'group', 1, 0, 8, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Groups{/ts}', 'Contact', NULL, NULL), - ( 7, 'tag', 1, 0, 9, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Tags{/ts}', 'Contact', NULL, NULL), - ( 7, 'gender_id', 1, 0, 10, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Gender{/ts}', 'Individual', NULL, NULL), - ( 7, 'birth_date', 1, 0, 11, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Date of Birth{/ts}', 'Individual', NULL, NULL), - ( 8, 'street_address', 1, 1, 1, 'User and User Admin Only', 0, 0, 1, '{ts escape="sql"}Street Address (Home){/ts}', 'Contact', NULL, NULL), - ( 8, 'city', 1, 1, 2, 'User and User Admin Only', 0, 0, 1, '{ts escape="sql"}City (Home){/ts}', 'Contact', NULL, NULL), - ( 8, 'postal_code', 0, 0, 3, 'User and User Admin Only', 0, 0, 1, '{ts escape="sql"}Postal Code (Home){/ts}', 'Contact', NULL, NULL), - ( 8, 'country', 0, 0, 4, 'User and User Admin Only', 0, 0, 1, '{ts escape="sql"}Country (Home){/ts}', 'Contact', NULL, NULL), - ( 8, 'state_province', 0, 0, 5, 'User and User Admin Only', 0, 0, 1, '{ts escape="sql"}State (Home){/ts}', 'Contact', NULL, NULL), - ( 9, 'organization_name', 1, 0, 1, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Organization Name{/ts}', 'Organization', NULL, NULL), - ( 9, 'phone', 1, 0, 2, 'User and User Admin Only', 0, 0, 3, '{ts escape="sql"}Phone (Main) {/ts}', 'Contact', NULL, 1), - ( 9, 'email', 1, 0, 3, 'User and User Admin Only', 0, 0, 3, '{ts escape="sql"}Email (Main) {/ts}', 'Contact', NULL, NULL), - ( 9, 'street_address', 1, 0, 4, 'User and User Admin Only', 0, 0, 3, '{ts escape="sql"}Street Address{/ts}', 'Contact', NULL, NULL), - ( 9, 'city', 1, 0, 5, 'User and User Admin Only', 0, 0, 3, '{ts escape="sql"}City{/ts}', 'Contact', NULL, NULL), - ( 9, 'postal_code', 1, 0, 6, 'User and User Admin Only', 0, 0, 3, '{ts escape="sql"}Postal Code{/ts}', 'Contact', NULL, NULL), - ( 9, 'country', 1, 0, 7, 'User and User Admin Only', 0, 0, 3, '{ts escape="sql"}Country{/ts}', 'Contact', NULL, NULL), - ( 9, 'state_province', 1, 0, 8, 'User and User Admin Only', 0, 0, 3, '{ts escape="sql"}State/Province{/ts}', 'Contact', NULL, NULL), - ( 10, 'financial_type', 0, 1, 1, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Financial Type{/ts}', 'Contribution', NULL, NULL ), - ( 10, 'total_amount', 0, 1, 2, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Amount{/ts}', 'Contribution', NULL, NULL ), - ( 10, 'contribution_status_id', 1, 1, 3, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Status{/ts}', 'Contribution', NULL, NULL ), - ( 10, 'receive_date', 1, 1, 4, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Received{/ts}', 'Contribution', NULL, NULL ), - ( 10, 'contribution_source', 0, 0, 5, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Source{/ts}', 'Contribution', NULL, NULL ), - ( 10, 'payment_instrument', 0, 0, 6, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Payment Method{/ts}', 'Contribution', NULL, NULL ), - ( 10, 'contribution_check_number', 0, 0, 7, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Check Number{/ts}', 'Contribution', NULL, NULL ), - ( 10, 'send_receipt', 0, 0, 8, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Send Receipt{/ts}', 'Contribution', NULL, NULL ), - ( 10, 'invoice_id', 0, 0, 9, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Invoice ID{/ts}', 'Contribution', NULL, NULL ), - ( 10, 'soft_credit', 0, 0, 10, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Soft Credit{/ts}', 'Contribution', NULL, NULL ), - ( 10, 'soft_credit_type', 0, 0, 11, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Soft Credit Type{/ts}', 'Contribution', NULL, NULL ), - ( 11, 'membership_type', 1, 1, 1, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Membership Type{/ts}', 'Membership', NULL, NULL ), - ( 11, 'membership_join_date', 1, 1, 2, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Member Since{/ts}', 'Membership', NULL, NULL ), - ( 11, 'membership_start_date', 0, 1, 3, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Start Date{/ts}', 'Membership', NULL, NULL ), - ( 11, 'membership_end_date', 0, 1, 4, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}End Date{/ts}', 'Membership', NULL, NULL ), - ( 11, 'membership_source', 0, 0, 5, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Source{/ts}', 'Membership', NULL, NULL ), - ( 11, 'send_receipt', 0, 0, 6, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Send Receipt{/ts}', 'Membership', NULL, NULL ), - ( 11, 'financial_type', 0, 1, 7, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Financial Type{/ts}', 'Membership', NULL, NULL ), - ( 11, 'total_amount', 0, 1, 8, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Amount{/ts}', 'Membership', NULL, NULL ), - ( 11, 'receive_date', 1, 1, 9, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Received{/ts}', 'Membership', NULL, NULL ), - ( 11, 'payment_instrument', 0, 0, 10, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Payment Method{/ts}', 'Membership', NULL, NULL ), - ( 11, 'contribution_check_number', 0, 0, 11, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Check Number{/ts}', 'Membership', NULL, NULL ), - ( 11, 'contribution_status_id', 1, 1, 12, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Payment Status{/ts}', 'Membership', NULL, NULL ), - ( 11, 'soft_credit', 0, 0, 13, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Soft Credit{/ts}', 'Membership', NULL, NULL ), - ( 11, 'soft_credit_type', 0, 0, 14, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Soft Credit Type{/ts}', 'Membership', NULL, NULL ), - ( 12, 'first_name', 1, 0, 1, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}First Name{/ts}', 'Individual', NULL, NULL), - ( 12, 'last_name', 1, 0, 2, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Last Name{/ts}', 'Individual', NULL, NULL), - ( 12, 'email', 1, 0, 3, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Email Address{/ts}', 'Contact', NULL, NULL), - ( 13, 'prefix_id', 0, 1, 1, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Individual Prefix{/ts}', 'Individual', NULL, NULL), - ( 13, 'first_name', 1, 1, 2, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}First Name{/ts}', 'Individual', NULL, NULL), - ( 13, 'last_name', 1, 1, 3, 'User and User Admin Only', 0, 0, NULL, '{ts escape="sql"}Last Name{/ts}', 'Individual', NULL, NULL), - ( 13, 'email', 0, 1, 4, 'User and User Admin Only', 0, 0, 1, '{ts escape="sql"}Email Address{/ts}', 'Contact', NULL, NULL); - - -INSERT INTO civicrm_participant_status_type - (id, name, label, class, is_reserved, is_active, is_counted, weight, visibility_id) VALUES - (1, 'Registered', '{ts escape="sql"}Registered{/ts}', 'Positive', 1, 1, 1, 1, 1 ), - (2, 'Attended', '{ts escape="sql"}Attended{/ts}', 'Positive', 0, 1, 1, 2, 2 ), - (3, 'No-show', '{ts escape="sql"}No-show{/ts}', 'Negative', 0, 1, 0, 3, 2 ), - (4, 'Cancelled', '{ts escape="sql"}Cancelled{/ts}', 'Negative', 1, 1, 0, 4, 2 ), - (5, 'Pending from pay later', '{ts escape="sql"}Pending (pay later){/ts}', 'Pending', 1, 1, 1, 5, 2 ), - (6, 'Pending from incomplete transaction', '{ts escape="sql"}Pending (incomplete transaction){/ts}', 'Pending', 1, 1, 0, 6, 2 ), - (7, 'On waitlist', '{ts escape="sql"}On waitlist{/ts}', 'Waiting', 1, 0, 0, 7, 2 ), - (8, 'Awaiting approval', '{ts escape="sql"}Awaiting approval{/ts}', 'Waiting', 1, 0, 1, 8, 2 ), - (9, 'Pending from waitlist', '{ts escape="sql"}Pending from waitlist{/ts}', 'Pending', 1, 0, 1, 9, 2 ), - (10, 'Pending from approval', '{ts escape="sql"}Pending from approval{/ts}', 'Pending', 1, 0, 1, 10, 2 ), - (11, 'Rejected', '{ts escape="sql"}Rejected{/ts}', 'Negative', 1, 0, 0, 11, 2 ), - (12, 'Expired', '{ts escape="sql"}Expired{/ts}', 'Negative', 1, 1, 0, 12, 2 ), - (13, 'Pending in cart', '{ts escape="sql"}Pending in cart{/ts}', 'Pending', 1, 1, 0, 13, 2 ), - (14, 'Partially paid', '{ts escape="sql"}Partially paid{/ts}', 'Positive', 1, 1, 1, 14, 2 ), - (15, 'Pending refund', '{ts escape="sql"}Pending refund{/ts}', 'Positive', 1, 1, 1, 15, 2 ), - (16, 'Transferred', '{ts escape="sql"}Transferred{/ts}', 'Negative', 1, 1, 0, 16, 2); - --- CRM-8150 -INSERT INTO civicrm_action_mapping -(entity, entity_value, entity_value_label, entity_status, entity_status_label, entity_date_start, entity_date_end, entity_recipient) -VALUES -( 'civicrm_activity', 'activity_type', 'Activity Type', 'activity_status', 'Activity Status', 'activity_date_time', NULL, 'activity_contacts'), -( 'civicrm_participant', 'event_type', 'Event Type', 'civicrm_participant_status_type', 'Participant Status', 'event_start_date', 'event_end_date', 'event_contacts'), -( 'civicrm_participant', 'civicrm_event', 'Event Name', 'civicrm_participant_status_type', 'Participant Status', 'event_start_date', 'event_end_date', 'event_contacts'), -( 'civicrm_membership', 'civicrm_membership_type', 'Membership Type', 'auto_renew_options', 'Auto Renew Options', 'membership_join_date', 'membership_end_date', NULL), -( 'civicrm_participant', 'event_template', 'Event Template', 'civicrm_participant_status_type', 'Participant Status', 'event_start_date', 'event_end_date', 'event_contacts'), -( 'civicrm_contact', 'civicrm_contact', 'Date Field', 'contact_date_reminder_options', 'Annual Options', 'date_field', NULL, NULL); - -INSERT INTO `civicrm_contact_type` - (`id`, `name`, `label`,`image_URL`, `parent_id`, `is_active`,`is_reserved`, `icon`) - VALUES - ( 1, 'Individual' , '{ts escape="sql"}Individual{/ts}' , NULL, NULL, 1, 1, 'fa-user'), - ( 2, 'Household' , '{ts escape="sql"}Household{/ts}' , NULL, NULL, 1, 1, 'fa-home'), - ( 3, 'Organization', '{ts escape="sql"}Organization{/ts}', NULL, NULL, 1, 1, 'fa-building'); - -{include file='civicrm_msg_template.tpl'} - --- CRM-8358 - -INSERT INTO `civicrm_job` - ( domain_id, run_frequency, last_run, name, description, api_entity, api_action, parameters, is_active ) -VALUES - ( @domainID, 'Daily' , NULL, '{ts escape="sql" skip="true"}CiviCRM Update Check{/ts}', '{ts escape="sql" skip="true"}Checks for CiviCRM version updates. Important for keeping the database secure. Also sends anonymous usage statistics to civicrm.org to to assist in prioritizing ongoing development efforts.{/ts}', 'job', 'version_check', NULL, 1), - ( @domainID, 'Always' , NULL, '{ts escape="sql" skip="true"}Send Scheduled Mailings{/ts}', '{ts escape="sql" skip="true"}Sends out scheduled CiviMail mailings{/ts}', 'job', 'process_mailing', NULL, 0), - ( @domainID, 'Hourly' , NULL, '{ts escape="sql" skip="true"}Fetch Bounces{/ts}', '{ts escape="sql" skip="true"}Fetches bounces from mailings and writes them to mailing statistics{/ts}', 'job', 'fetch_bounces', NULL, 0), - ( @domainID, 'Hourly' , NULL, '{ts escape="sql" skip="true"}Process Inbound Emails{/ts}', '{ts escape="sql" skip="true"}Inserts activity for a contact or a case by retrieving inbound emails from a mail directory{/ts}', 'job', 'fetch_activities', NULL, 0), - ( @domainID, 'Daily' , NULL, '{ts escape="sql" skip="true"}Process Pledges{/ts}', '{ts escape="sql" skip="true"}Updates pledge records and sends out reminders{/ts}', 'job', 'process_pledge','{ts escape="sql" skip="true"}send_reminders=[1 or 0] optional- 1 to send payment reminders{/ts}', 0), - ( @domainID, 'Daily' , NULL, '{ts escape="sql" skip="true"}Geocode and Parse Addresses{/ts}', '{ts escape="sql" skip="true"}Retrieves geocodes (lat and long) and / or parses street addresses (populates street number, street name, etc.){/ts}', 'job', 'geocode', '{ts escape="sql" skip="true"}geocoding=[1 or 0] required -parse=[1 or 0] required -start=[contact ID] optional-begin with this contact ID -end=[contact ID] optional-process contacts with IDs less than this -throttle=[1 or 0] optional-1 adds five second sleep{/ts}', 0), - ( @domainID, 'Daily' , NULL, '{ts escape="sql" skip="true"}Update Greetings and Addressees{/ts}','{ts escape="sql" skip="true"}Goes through contact records and updates email and postal greetings, or addressee value{/ts}', 'job', 'update_greeting','{ts escape="sql" skip="true"}ct=[Individual or Household or Organization] required -gt=[email_greeting or postal_greeting or addressee] required -force=[0 or 1] optional-0 update contacts with null value, 1 update all -limit=Number optional-Limit the number of contacts to update{/ts}', 0), - ( @domainID, 'Daily' , NULL, '{ts escape="sql" skip="true"}Mail Reports{/ts}', '{ts escape="sql" skip="true"}Generates and sends out reports via email{/ts}', 'job', 'mail_report','{ts escape="sql" skip="true"}instanceId=[ID of report instance] required -format=[csv or print] optional-output CSV or print-friendly HTML, else PDF{/ts}', 0), - ( @domainID, 'Hourly' , NULL, '{ts escape="sql" skip="true"}Send Scheduled Reminders{/ts}', '{ts escape="sql" skip="true"}Sends out scheduled reminders via email{/ts}', 'job', 'send_reminder', NULL, 0), - ( @domainID, 'Always' , NULL, '{ts escape="sql" skip="true"}Update Participant Statuses{/ts}', '{ts escape="sql" skip="true"}Updates pending event participant statuses based on time{/ts}', 'job', 'process_participant', NULL, 0), - ( @domainID, 'Daily' , NULL, '{ts escape="sql" skip="true"}Update Membership Statuses{/ts}', '{ts escape="sql" skip="true"}Updates membership statuses. WARNING: Membership renewal reminders have been migrated to the Schedule Reminders functionality, which supports multiple renewal reminders.{/ts}', 'job', 'process_membership', NULL, 0), - ( @domainID, 'Always' , NULL, '{ts escape="sql" skip="true"}Process Survey Respondents{/ts}', '{ts escape="sql" skip="true"}Releases reserved survey respondents when they have been reserved for longer than the Release Frequency days specified for that survey.{/ts}', 'job', 'process_respondent',NULL, 0), - ( @domainID, 'Hourly' , NULL, '{ts escape="sql" skip="true"}Clean-up Temporary Data and Files{/ts}','{ts escape="sql" skip="true"}Removes temporary data and files, and clears old data from cache tables. Recommend running this job every hour to help prevent database and file system bloat.{/ts}', 'job', 'cleanup', NULL, 0), - ( @domainID, 'Always' , NULL, '{ts escape="sql" skip="true"}Send Scheduled SMS{/ts}', '{ts escape="sql" skip="true"}Sends out scheduled SMS{/ts}', 'job', 'process_sms', NULL, 0), - ( @domainID, 'Always' , NULL, '{ts escape="sql" skip="true"}Rebuild Smart Group Cache{/ts}', '{ts escape="sql" skip="true"}Rebuilds the smart group cache.{/ts}', 'job', 'group_rebuild', '{ts escape="sql" skip="true"}limit=Number optional-Limit the number of smart groups rebuild{/ts}', 0), - ( @domainID, 'Daily' , NULL, '{ts escape="sql" skip="true"}Disable expired relationships{/ts}','{ts escape="sql" skip="true"}Disables relationships that have expired (ie. those relationships whose end date is in the past).{/ts}', 'job', 'disable_expired_relationships', NULL, 0), - ( @domainID, 'Daily' , NULL, '{ts escape="sql" skip="true"}Validate Email Address from Mailings.{/ts}', '{ts escape="sql" skip="true"}Updates the reset_date on an email address to indicate that there was a valid delivery to this email address.{/ts}', 'mailing', 'update_email_resetdate', '{ts escape="sql" skip="true"}minDays, maxDays=Consider mailings that have completed between minDays and maxDays{/ts}', 0); - +SELECT @option_group_id_arel := max(id) from civicrm_option_group where name = 'account_relationship'; SELECT @option_value_rel_id := value FROM civicrm_option_value WHERE option_group_id = @option_group_id_arel AND name = 'Income Account is'; SELECT @option_value_rel_id_exp := value FROM civicrm_option_value WHERE option_group_id = @option_group_id_arel AND name = 'Expense Account is'; SELECT @option_value_rel_id_ar := value FROM civicrm_option_value WHERE option_group_id = @option_group_id_arel AND name = 'Accounts Receivable Account is'; @@ -1743,6 +163,7 @@ SELECT 'civicrm_option_value', cov.id, @option_value_rel_id_as, @financial_accou LEFT JOIN civicrm_option_value cov ON cog.id = cov.option_group_id WHERE cog.name = 'payment_instrument' AND cov.name NOT IN ('Credit Card', 'Debit Card'); +SELECT @option_group_id_pi := max(id) from civicrm_option_group where name = 'payment_instrument'; SELECT @option_value_cc_id := max(id) FROM `civicrm_option_value` WHERE `option_group_id` = @option_group_id_pi AND `name` = 'Credit Card'; SELECT @option_value_dc_id := max(id) FROM `civicrm_option_value` WHERE `option_group_id` = @option_group_id_pi AND `name` = 'Debit Card'; @@ -1768,54 +189,6 @@ SELECT @fieldID := max(id) FROM civicrm_price_field WHERE name = 'contribution_a INSERT INTO `civicrm_price_field_value` ( `price_field_id`, `name`, `label`, `amount`, `weight`, `is_default`, `is_active`, `financial_type_id`) VALUES ( @fieldID, 'contribution_amount', 'Contribution Amount', '1', '1', '0', '1', 1); --- CRM-13833 -INSERT INTO civicrm_option_group (`name`, `title`, `is_reserved`, `is_active`) VALUES ('soft_credit_type', '{ts escape="sql"}Soft Credit Types{/ts}', 1, 1); - -SELECT @option_group_id_soft_credit_type := max(id) from civicrm_option_group where name = 'soft_credit_type'; - -INSERT INTO `civicrm_option_value` (`option_group_id`, `label`, `value`, `name`, `weight`, `is_default`, `is_active`, `is_reserved`) -VALUES - (@option_group_id_soft_credit_type , '{ts escape="sql"}In Honor of{/ts}', 1, 'in_honor_of', 1, 0, 1, 1), - (@option_group_id_soft_credit_type , '{ts escape="sql"}In Memory of{/ts}', 2, 'in_memory_of', 2, 0, 1, 1), - (@option_group_id_soft_credit_type , '{ts escape="sql"}Solicited{/ts}', 3, 'solicited', 3, 1, 1, 1), - (@option_group_id_soft_credit_type , '{ts escape="sql"}Household{/ts}', 4, 'household', 4, 0, 1, 0), - (@option_group_id_soft_credit_type , '{ts escape="sql"}Workplace Giving{/ts}', 5, 'workplace', 5, 0, 1, 0), - (@option_group_id_soft_credit_type , '{ts escape="sql"}Foundation Affiliate{/ts}', 6, 'foundation_affiliate', 6, 0, 1, 0), - (@option_group_id_soft_credit_type , '{ts escape="sql"}3rd-party Service{/ts}', 7, '3rd-party_service', 7, 0, 1, 0), - (@option_group_id_soft_credit_type , '{ts escape="sql"}Donor-advised Fund{/ts}', 8, 'donor-advised_fund', 8, 0, 1, 0), - (@option_group_id_soft_credit_type , '{ts escape="sql"}Matched Gift{/ts}', 9, 'matched_gift', 9, 0, 1, 0), - (@option_group_id_soft_credit_type , '{ts escape="sql"}Personal Campaign Page{/ts}', 10, 'pcp', 10, 0, 1, 1), - (@option_group_id_soft_credit_type , '{ts escape="sql"}Gift{/ts}', 11, 'gift', 11, 0, 1, 1); - --- Auto-install core extension. --- Note this is a limited interim technique for installing core extensions - the goal is that core extensions would be installed --- in the setup routine based on their tags & using the standard extension install api. --- do not try this at home folks. -INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'sequentialcreditnotes', 'Sequential credit notes', 'Sequential credit notes', 'sequentialcreditnotes', 1); -INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'greenwich', 'Theme: Greenwich', 'Theme: Greenwich', 'greenwich', 1); -INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'eventcart', 'Event cart', 'Event cart', 'eventcart', 1); -INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'financialacls', 'Financial ACLs', 'Financial ACLs', 'financialacls', 1); -INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'recaptcha', 'reCAPTCHA', 'reCAPTCHA', 'recaptcha', 1); -INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'ckeditor4', 'CKEditor4', 'CKEditor4', 'ckeditor4', 1); -INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'legacycustomsearches', 'Custom search framework', 'Custom search framework', 'legacycustomsearches', 1); -INSERT IGNORE INTO civicrm_extension (type, full_name, name, label, file, is_active) VALUES ('module', 'org.civicrm.flexmailer', 'FlexMailer', 'FlexMailer', 'flexmailer', 1); - --- dev/core#3783 Recent Items providers -INSERT INTO civicrm_option_group (`name`, `title`, `is_reserved`, `is_active`) VALUES ('recent_items_providers', '{ts escape="sql"}Recent Items Providers{/ts}', 1, 1); - -SELECT @option_group_id_recent := max(id) from civicrm_option_group where name = 'recent_items_providers'; - -INSERT INTO civicrm_option_value (`option_group_id`, label, `value`, `name`, `grouping`, `filter`, `is_default`, `weight`, description, `is_optgroup`, `is_reserved`, `is_active`, `component_id`, `visibility_id`) - VALUES - (@option_group_id_recent, '{ts escape="sql"}Contacts{/ts}', 'Contact', 'Contact', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, '{ts escape="sql"}Relationships{/ts}', 'Relationship', 'Relationship', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, '{ts escape="sql"}Activities{/ts}', 'Activity', 'Activity', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, '{ts escape="sql"}Notes{/ts}', 'Note', 'Note', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, '{ts escape="sql"}Groups{/ts}', 'Group', 'Group', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, '{ts escape="sql"}Cases{/ts}', 'Case', 'Case', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, '{ts escape="sql"}Contributions{/ts}', 'Contribution', 'Contribution', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, '{ts escape="sql"}Participants{/ts}', 'Participant', 'Participant', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, '{ts escape="sql"}Memberships{/ts}', 'Membership', 'Membership', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, '{ts escape="sql"}Pledges{/ts}', 'Pledge', 'Pledge', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, '{ts escape="sql"}Events{/ts}', 'Event', 'Event', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL), - (@option_group_id_recent, '{ts escape="sql"}Campaigns{/ts}', 'Campaign', 'Campaign', NULL, NULL, 0, 1, '', 0, 1, 1, NULL, NULL); +{php}echo (include "sql/civicrm_data/civicrm_extension.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_option_group/soft_credit_type.sqldata.php")->toSQL();{/php} +{php}echo (include "sql/civicrm_data/civicrm_option_group/recent_items_providers.sqldata.php")->toSQL();{/php} diff --git a/civicrm/xml/templates/civicrm_navigation.tpl b/civicrm/xml/templates/civicrm_navigation.tpl index fdf300ea9b0114fc074ce8b2627bf1ff5b4b5892..a1b3807525b067325ad8f3c807a4370b80609c74 100644 --- a/civicrm/xml/templates/civicrm_navigation.tpl +++ b/civicrm/xml/templates/civicrm_navigation.tpl @@ -507,18 +507,16 @@ SET @adminHelplastID:=LAST_INSERT_ID(); INSERT INTO civicrm_navigation ( domain_id, url, label, name, permission, permission_operator, parent_id, is_active, has_separator, weight ) VALUES - ( @domainID, 'https://civicrm.org/get-started?src=iam', '{ts escape="sql" skip="true"}Get started{/ts}', 'Get started', NULL, 'AND', @adminHelplastID, '1', NULL, 1 ), - ( @domainID, 'https://civicrm.org/documentation?src=iam', '{ts escape="sql" skip="true"}Documentation{/ts}', 'Documentation', NULL, 'AND', @adminHelplastID, '1', NULL, 2 ), - ( @domainID, 'https://civicrm.org/ask-a-question?src=iam', '{ts escape="sql" skip="true"}Ask a question{/ts}', 'Ask a question', NULL, 'AND', @adminHelplastID, '1', NULL, 3 ), - ( @domainID, 'https://civicrm.org/experts?src=iam', '{ts escape="sql" skip="true"}Get expert help{/ts}', 'Get expert help', NULL, 'AND', @adminHelplastID, '1', NULL, 4 ), - ( @domainID, 'https://civicrm.org/about?src=iam', '{ts escape="sql" skip="true"}About CiviCRM{/ts}', 'About CiviCRM', NULL, 'AND', @adminHelplastID, '1', 1, 5 ), - ( @domainID, 'https://civicrm.org/register-your-site?src=iam&sid={ldelim}sid{rdelim}', '{ts escape="sql" skip="true"}Register your site{/ts}', 'Register your site', NULL, 'AND', @adminHelplastID, '1', NULL, 6 ), - ( @domainID, 'https://civicrm.org/become-a-member?src=iam&sid={ldelim}sid{rdelim}', '{ts escape="sql" skip="true"}Join CiviCRM{/ts}', 'Join CiviCRM', NULL, 'AND', @adminHelplastID, '1', NULL, 7 ); + ( @domainID, 'https://docs.civicrm.org/user/?src=iam', '{ts escape="sql" skip="true"}User Guide{/ts}', 'User Guide', NULL, 'AND', @adminHelplastID, '1', NULL, 1 ), + ( @domainID, 'https://civicrm.org/help?src=iam', '{ts escape="sql" skip="true"}Get Help{/ts}', 'Get Help', NULL, 'AND', @adminHelplastID, '1', NULL, 2 ), + ( @domainID, 'https://civicrm.org/about?src=iam', '{ts escape="sql" skip="true"}About CiviCRM{/ts}', 'About CiviCRM', NULL, 'AND', @adminHelplastID, '1', 1, 3 ), + ( @domainID, 'https://civicrm.org/register-your-site?src=iam&sid={ldelim}sid{rdelim}', '{ts escape="sql" skip="true"}Register Your Site{/ts}', 'Register Your Site', NULL, 'AND', @adminHelplastID, '1', NULL, 4 ), + ( @domainID, 'https://civicrm.org/become-a-member?src=iam&sid={ldelim}sid{rdelim}', '{ts escape="sql" skip="true"}Join CiviCRM{/ts}', 'Join CiviCRM', NULL, 'AND', @adminHelplastID, '1', NULL, 5 ); INSERT INTO civicrm_navigation ( domain_id, url, label, name, permission, permission_operator, parent_id, is_active, has_separator, weight ) VALUES - ( @domainID, NULL, '{ts escape="sql" skip="true"}Developer{/ts}', 'Developer', 'administer CiviCRM', '', @adminHelplastID, '1', 1, 8 ); + ( @domainID, NULL, '{ts escape="sql" skip="true"}Developer{/ts}', 'Developer', 'administer CiviCRM', '', @adminHelplastID, '1', 1, 6 ); SET @devellastID:=LAST_INSERT_ID(); INSERT INTO civicrm_navigation diff --git a/civicrm/xml/templates/civicrm_sample.tpl b/civicrm/xml/templates/civicrm_sample.tpl index 266052884f92563d8a5aa65e51d6581e3b24b586..412e770b51dffa83aa4de8279010771061ea5dc4 100644 --- a/civicrm/xml/templates/civicrm_sample.tpl +++ b/civicrm/xml/templates/civicrm_sample.tpl @@ -44,11 +44,11 @@ VALUES (@priceFieldID, 'other_amount', 'Other Amount', 1, 3, 1, 0, 1); INSERT INTO civicrm_contribution_page - (title,intro_text,financial_type_id,is_monetary,is_allow_other_amount,default_amount_id,min_amount,max_amount,goal_amount,thankyou_title,thankyou_text,thankyou_footer,receipt_from_name,receipt_from_email,cc_receipt,bcc_receipt,receipt_text,is_active,footer_text,amount_block_is_active,currency,is_email_receipt) + (title,frontend_title, name,intro_text,financial_type_id,is_monetary,is_allow_other_amount,default_amount_id,min_amount,max_amount,goal_amount,thankyou_title,thankyou_text,thankyou_footer,receipt_from_name,receipt_from_email,cc_receipt,bcc_receipt,receipt_text,is_active,footer_text,amount_block_is_active,currency,is_email_receipt) VALUES - ('Help Support CiviCRM!','Do you love CiviCRM? Do you use CiviCRM? Then please support CiviCRM and Contribute NOW by trying out our new online contribution features!',1,1,1,137,'10.00','10000.00','100000.00','Thanks for Your Support!','<p>Thank you for your support. Your contribution will help us build even better tools.</p><p>Please tell your friends and colleagues about CiviCRM!</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>','CiviCRM Fundraising Dept.','donationFake@civicrm.org','receipt@example.com','bcc@example.com','Your donation is tax deductible under IRS 501(c)(3) regulation. Our tax identification number is: 93-123-4567',1, NULL, 1, 'USD', 1), - ('Member Signup and Renewal', 'Members are the life-blood of our organization. If you''re not already a member - please consider signing up today. You can select the membership level the fits your budget and needs below.', 2, 1, 0, NULL, NULL, NULL, NULL, 'Thanks for Your Support!', 'Thanks for supporting our organization with your membership. You can learn more about membership benefits from our members only page.', NULL, 'Membership Department', 'memberships@civicrm.org', NULL, NULL, 'Thanks for supporting our organization with your membership. You can learn more about membership benefits from our members only page.\r\n\r\nKeep this receipt for your records.', 1, NULL, 0, 'USD', 1), - ('Pledge for CiviCRM!','Do you love CiviCRM? Do you use CiviCRM? Then please support CiviCRM and Pledge NOW by trying out our online contribution features!',1,1,1,NULL,'10.00','10000.00','100000.00','Thanks for Your Support!','<p>Thank you for your support. Your contribution will help us build even better tools like Pledge.</p><p>Please tell your friends and colleagues about CiviPledge!</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>','CiviCRM Fundraising Dept.','donationFake@civicrm.org','receipt@example.com','bcc@example.com','Your donation is tax deductible under IRS 501(c)(3) regulation. Our tax identification number is: 93-123-4567',1, NULL, 1, 'USD', 1); + ('Donate page', 'Help Support CiviCRM!','donate', 'Do you love CiviCRM? Do you use CiviCRM? Then please support CiviCRM and Contribute NOW by trying out our new online contribution features!',1,1,1,137,'10.00','10000.00','100000.00','Thanks for Your Support!','<p>Thank you for your support. Your contribution will help us build even better tools.</p><p>Please tell your friends and colleagues about CiviCRM!</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>','CiviCRM Fundraising Dept.','donationFake@civicrm.org','receipt@example.com','bcc@example.com','Your donation is tax deductible under IRS 501(c)(3) regulation. Our tax identification number is: 93-123-4567',1, NULL, 1, 'USD', 1), + ('Membership page','Member Signup and Renewal', 'membership','Members are the life-blood of our organization. If you''re not already a member - please consider signing up today. You can select the membership level the fits your budget and needs below.', 2, 1, 0, NULL, NULL, NULL, NULL, 'Thanks for Your Support!', 'Thanks for supporting our organization with your membership. You can learn more about membership benefits from our members only page.', NULL, 'Membership Department', 'memberships@civicrm.org', NULL, NULL, 'Thanks for supporting our organization with your membership. You can learn more about membership benefits from our members only page.\r\n\r\nKeep this receipt for your records.', 1, NULL, 0, 'USD', 1), + ('Pledge page', 'Pledge for CiviCRM!','pledge', 'Do you love CiviCRM? Do you use CiviCRM? Then please support CiviCRM and Pledge NOW by trying out our online contribution features!',1,1,1,NULL,'10.00','10000.00','100000.00','Thanks for Your Support!','<p>Thank you for your support. Your contribution will help us build even better tools like Pledge.</p><p>Please tell your friends and colleagues about CiviPledge!</p>','<p><a href=https://civicrm.org>Back to CiviCRM Home Page</a></p>','CiviCRM Fundraising Dept.','donationFake@civicrm.org','receipt@example.com','bcc@example.com','Your donation is tax deductible under IRS 501(c)(3) regulation. Our tax identification number is: 93-123-4567',1, NULL, 1, 'USD', 1); INSERT INTO `civicrm_tell_friend` (`entity_table`, `entity_id`, `title`, `intro`, `suggested_message`, `general_link`, `thankyou_title`, `thankyou_text`, `is_active`) diff --git a/civicrm/xml/templates/message_templates/contribution_offline_receipt_html.tpl b/civicrm/xml/templates/message_templates/contribution_offline_receipt_html.tpl index 3772ddd5eedacb2a60cfdc390c425758f943a401..f401782dc14500c68041d838af5e72ecf7ee48ff 100644 --- a/civicrm/xml/templates/message_templates/contribution_offline_receipt_html.tpl +++ b/civicrm/xml/templates/message_templates/contribution_offline_receipt_html.tpl @@ -63,7 +63,7 @@ <th>{ts}Item{/ts}</th> <th>{ts}Qty{/ts}</th> <th>{ts}Each{/ts}</th> - {if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} + {if $isShowTax && {contribution.tax_amount|boolean}} <th>{ts}Subtotal{/ts}</th> <th>{ts}Tax Rate{/ts}</th> <th>{ts}Tax Amount{/ts}</th> @@ -81,7 +81,7 @@ <td> {$line.unit_price|crmMoney:'{contribution.currency}'} </td> - {if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} + {if $isShowTax && {contribution.tax_amount|boolean}} <td> {$line.unit_price*$line.qty|crmMoney:'{contribution.currency}'} </td> @@ -107,7 +107,7 @@ </tr> {/if} - {if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} + {if $isShowTax && {contribution.tax_amount|boolean}} <tr> <td {$labelStyle}> {ts} Amount before Tax : {/ts} @@ -148,7 +148,7 @@ {if '{contribution.receive_date}'} <tr> <td {$labelStyle}> - {ts}Date Received{/ts} + {ts}Contribution Date{/ts} </td> <td {$valueStyle}> {contribution.receive_date|crmDate:"shortdate"} diff --git a/civicrm/xml/templates/message_templates/contribution_offline_receipt_text.tpl b/civicrm/xml/templates/message_templates/contribution_offline_receipt_text.tpl index 94f68e6e016a048a5b4ef8e186aaa86d89078928..e5692d06423d58a8a721d5e8f05a33f6a77cbe2b 100644 --- a/civicrm/xml/templates/message_templates/contribution_offline_receipt_text.tpl +++ b/civicrm/xml/templates/message_templates/contribution_offline_receipt_text.tpl @@ -17,21 +17,21 @@ {capture assign=ts_item}{ts}Item{/ts}{/capture} {capture assign=ts_qty}{ts}Qty{/ts}{/capture} {capture assign=ts_each}{ts}Each{/ts}{/capture} -{if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} +{if $isShowTax && {contribution.tax_amount|boolean}} {capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} {capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} {capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} {/if} {capture assign=ts_total}{ts}Total{/ts}{/capture} -{$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate} {$ts_taxAmount|string_format:"%10s"} {/if} {$ts_total|string_format:"%10s"} +{$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate} {$ts_taxAmount|string_format:"%10s"} {/if} {$ts_total|string_format:"%10s"} ---------------------------------------------------------- {foreach from=$lineItems item=line} -{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:"..."|string_format:"%-30s"} {$line.qty|string_format:"%5s"} {$line.unit_price|crmMoney:'{contribution.currency}'|string_format:"%10s"} {if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'}{$line.unit_price*$line.qty|crmMoney:'{contribution.currency}'|string_format:"%10s"} {if $line.tax_rate || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:'{contribution.currency}'|string_format:"%10s"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:'{contribution.currency}'|string_format:"%10s"} +{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:"..."|string_format:"%-30s"} {$line.qty|string_format:"%5s"} {$line.unit_price|crmMoney:'{contribution.currency}'|string_format:"%10s"} {if $isShowTax && {contribution.tax_amount|boolean}}{$line.unit_price*$line.qty|crmMoney:'{contribution.currency}'|string_format:"%10s"} {if $line.tax_rate || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:'{contribution.currency}'|string_format:"%10s"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:'{contribution.currency}'|string_format:"%10s"} {/foreach} {/if} -{if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} +{if $isShowTax && {contribution.tax_amount|boolean}} {ts}Amount before Tax{/ts} : {$formValues.total_amount-$totalTaxAmount|crmMoney:$currency} {/if} {foreach from=$taxRateBreakdown item=taxDetail key=taxRate} @@ -43,7 +43,7 @@ {/if} {ts}Total Amount{/ts} : {contribution.total_amount} {if '{contribution.receive_date}'} -{ts}Date Received{/ts}: {contribution.receive_date|crmDate:"shortdate"} +{ts}Contribution Date{/ts}: {contribution.receive_date|crmDate:"shortdate"} {/if} {if '{contribution.receipt_date}'} {ts}Receipt Date{/ts}: {contribution.receipt_date|crmDate:"shortdate"} diff --git a/civicrm/xml/templates/message_templates/contribution_online_receipt_html.tpl b/civicrm/xml/templates/message_templates/contribution_online_receipt_html.tpl index a3d4ec3f883747f3299aed88f7e8d84bfbd3bffd..127b8082a74e94830399eb4ac1e03b8979a55a03 100644 --- a/civicrm/xml/templates/message_templates/contribution_online_receipt_html.tpl +++ b/civicrm/xml/templates/message_templates/contribution_online_receipt_html.tpl @@ -33,7 +33,7 @@ </tr> </table> <table style="width:100%; max-width:500px; border: 1px solid #999; margin: 1em 0em 1em; border-collapse: collapse;"> - {if '{contribution.total_amount|raw}' !== '0.00'} + {if {contribution.total_amount|boolean}} <tr> <th {$headerStyle}> {ts}Contribution Information{/ts} @@ -48,7 +48,7 @@ <th>{ts}Item{/ts}</th> <th>{ts}Qty{/ts}</th> <th>{ts}Each{/ts}</th> - {if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} + {if $isShowTax && {contribution.tax_amount|boolean}} <th>{ts}Subtotal{/ts}</th> <th>{ts}Tax Rate{/ts}</th> <th>{ts}Tax Amount{/ts}</th> @@ -60,7 +60,7 @@ <td>{$line.title}</td> <td>{$line.qty}</td> <td>{$line.unit_price|crmMoney:$currency}</td> - {if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} + {if $isShowTax && {contribution.tax_amount|boolean}} <td>{$line.unit_price*$line.qty|crmMoney:$currency}</td> {if $line.tax_rate || $line.tax_amount != ""} <td>{$line.tax_rate|string_format:"%.2f"}%</td> @@ -79,7 +79,7 @@ </td> </tr> - {if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} + {if $isShowTax && {contribution.tax_amount|boolean}} <tr> <td {$labelStyle}> {ts} Amount before Tax : {/ts} @@ -116,7 +116,7 @@ </td> </tr> {else} - {if '{contribution.tax_amount|raw}' !== '0.00'} + {if {contribution.tax_amount|boolean}} <tr> <td {$labelStyle}> {ts}Total Tax Amount{/ts} diff --git a/civicrm/xml/templates/message_templates/contribution_online_receipt_subject.tpl b/civicrm/xml/templates/message_templates/contribution_online_receipt_subject.tpl index 052dce5bd7487c768fb4a07181a4872ca60c9ca5..43eed64b71bfb8020202ad754cb0ba875d205c87 100644 --- a/civicrm/xml/templates/message_templates/contribution_online_receipt_subject.tpl +++ b/civicrm/xml/templates/message_templates/contribution_online_receipt_subject.tpl @@ -1 +1 @@ -{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name} +{if '{contribution.contribution_status_id:name}' === 'Pending'}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name} diff --git a/civicrm/xml/templates/message_templates/contribution_online_receipt_text.tpl b/civicrm/xml/templates/message_templates/contribution_online_receipt_text.tpl index 44afc91056007bb51c6f5e95b0a0c9b5083b0785..fc41c039d6a40571c0101e74a567898e1ed65c20 100644 --- a/civicrm/xml/templates/message_templates/contribution_online_receipt_text.tpl +++ b/civicrm/xml/templates/message_templates/contribution_online_receipt_text.tpl @@ -9,7 +9,7 @@ =========================================================== {/if} -{if '{contribution.total_amount|raw}' !== '0.00'} +{if {contribution.total_amount|boolean}} =========================================================== {ts}Contribution Information{/ts} @@ -20,19 +20,19 @@ {capture assign=ts_item}{ts}Item{/ts}{/capture} {capture assign=ts_qty}{ts}Qty{/ts}{/capture} {capture assign=ts_each}{ts}Each{/ts}{/capture} -{if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} +{if $isShowTax && {contribution.tax_amount|boolean}} {capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} {capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} {capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} {/if} {capture assign=ts_total}{ts}Total{/ts}{/capture} -{$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate} {$ts_taxAmount|string_format:"%10s"} {/if} {$ts_total|string_format:"%10s"} +{$ts_item|string_format:"%-30s"} {$ts_qty|string_format:"%5s"} {$ts_each|string_format:"%10s"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate} {$ts_taxAmount|string_format:"%10s"} {/if} {$ts_total|string_format:"%10s"} ---------------------------------------------------------- {foreach from=$lineItems item=line} -{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:"..."|string_format:"%-30s"} {$line.qty|string_format:"%5s"} {$line.unit_price|crmMoney:$currency|string_format:"%10s"} {if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:"%10s"} {if $line.tax_rate || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:$currency|string_format:"%10s"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:"%10s"} +{capture assign=ts_item}{$line.title}{/capture}{$ts_item|truncate:30:"..."|string_format:"%-30s"} {$line.qty|string_format:"%5s"} {$line.unit_price|crmMoney:$currency|string_format:"%10s"} {if $isShowTax && {contribution.tax_amount|boolean}}{$line.unit_price*$line.qty|crmMoney:$currency|string_format:"%10s"} {if $line.tax_rate || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:$currency|string_format:"%10s"} {else} {/if} {/if} {$line.line_total+$line.tax_amount|crmMoney:$currency|string_format:"%10s"} {/foreach} -{if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} +{if $isShowTax && {contribution.tax_amount|boolean}} {ts}Amount before Tax:{/ts} {$amount-$totalTaxAmount|crmMoney:$currency} {foreach from=$taxRateBreakdown item=taxDetail key=taxRate} {if $taxRate == 0}{ts}No{/ts} {$taxTerm}{else}{$taxTerm} {$taxDetail.percentage}%{/if} : {$taxDetail.amount|crmMoney:'{contribution.currency}'} diff --git a/civicrm/xml/templates/message_templates/event_offline_receipt_html.tpl b/civicrm/xml/templates/message_templates/event_offline_receipt_html.tpl index 9327e01824fb270e6e0ef7b3cc9201e6e807ebec..ce5af95ca6845c0eec08dd2fa4e28310fc529a25 100644 --- a/civicrm/xml/templates/message_templates/event_offline_receipt_html.tpl +++ b/civicrm/xml/templates/message_templates/event_offline_receipt_html.tpl @@ -27,15 +27,11 @@ {/if} {if !empty($isOnWaitlist)} - <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p> - {if !empty($isPrimary)} - <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p> - {/if} + <p>{ts}You have been added to the WAIT LIST for this event.{/ts}</p> + <p>{ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts}</p> {elseif !empty($isRequireApproval)} - <p>{ts}Your registration has been submitted.{/ts}</p> - {if !empty($isPrimary)} + <p>{ts}Your registration has been submitted.{/ts}</p> <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p> - {/if} {elseif $is_pay_later} <p>{$pay_later_receipt}</p> {* FIXME: this might be text rather than HTML *} {/if} @@ -76,40 +72,65 @@ </tr> {/if} - {if !empty($location.phone.1.phone) || !empty($location.email.1.email)} + {if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}} <tr> <td colspan="2" {$labelStyle}> {ts}Event Contacts:{/ts} </td> </tr> - {foreach from=$location.phone item=phone} - {if $phone.phone} + + {if {event.loc_block_id.phone_id.phone|boolean}} <tr> <td {$labelStyle}> - {if $phone.phone_type} - {$phone.phone_type_display} + {if {event.loc_block_id.phone_id.phone_type_id|boolean}} + {event.loc_block_id.phone_id.phone_type_id:label} {else} {ts}Phone{/ts} {/if} </td> <td {$valueStyle}> - {$phone.phone} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if} + {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if} </td> </tr> {/if} - {/foreach} - {foreach from=$location.email item=eventEmail} - {if $eventEmail.email} + {if {event.loc_block_id.phone_2_id.phone|boolean}} + <tr> + <td {$labelStyle}> + {if {event.loc_block_id.phone_2_id.phone_type_id|boolean}} + {event.loc_block_id.phone_2_id.phone_type_id:label} + {else} + {ts}Phone{/ts} + {/if} + </td> + <td {$valueStyle}> + {event.loc_block_id.phone_2_id.phone} {if {event.loc_block_id.phone_2_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_2_id.phone_ext}{/if} + </td> + </tr> + {/if} + + + {if {event.loc_block_id.email_id.email|boolean}} <tr> <td {$labelStyle}> {ts}Email{/ts} </td> <td {$valueStyle}> - {$eventEmail.email} + {event.loc_block_id.email_id.email} </td> </tr> {/if} - {/foreach} + + {if {event.loc_block_id.email_2_id.email|boolean}} + <tr> + <td {$labelStyle}> + {ts}Email{/ts} + </td> + <td {$valueStyle}> + {event.loc_block_id.email_2_id.email} + </td> + </tr> + {/if} + {/if} {if !empty($event.is_public)} @@ -141,7 +162,7 @@ {/if} - {if !empty($event.is_monetary)} + {if {event.is_monetary|boolean}} <tr> <th {$headerStyle}> @@ -152,7 +173,6 @@ {if !empty($lineItem)} {foreach from=$lineItem item=value key=priceset} {if $value neq 'skip'} - {if !empty($isPrimary)} {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *} <tr> <td colspan="2" {$labelStyle}> @@ -160,7 +180,7 @@ </td> </tr> {/if} - {/if} + <tr> <td colspan="2" {$valueStyle}> <table> @@ -262,29 +282,26 @@ </td> </tr> {/if} - {if !empty($isPrimary)} - <tr> - <td {$labelStyle}> - {if isset($balanceAmount)} - {ts}Total Paid{/ts} + {if {event.is_monetary|boolean}} + {if {contribution.balance_amount|boolean}} + <tr> + <td {$labelStyle}>{ts}Total Paid{/ts}</td> + <td {$valueStyle}> + {if {contribution.paid_amount|boolean}}{contribution.paid_amount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} + </td> + </tr> + <tr> + <td {$labelStyle}>{ts}Balance{/ts}</td> + <td {$valueStyle}>{contribution.balance_amount}</td> + </tr> {else} - {ts}Total Amount{/ts} - {/if} - </td> - <td {$valueStyle}> - {if !empty($totalAmount)}{$totalAmount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} - </td> - </tr> - {if isset($balanceAmount)} - <tr> - <td {$labelStyle}> - {ts}Balance{/ts} - </td> - <td {$valueStyle}> - {$balanceAmount|crmMoney} - </td> - </tr> - {/if} + <tr> + <td {$labelStyle}>{ts}Total Amount{/ts}</td> + <td {$valueStyle}> + {if {contribution.total_amount|boolean}}{contribution.total_amount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} + </td> + </tr> + {/if} {if !empty($pricesetFieldsCount) } <tr> <td {$labelStyle}> diff --git a/civicrm/xml/templates/message_templates/event_offline_receipt_text.tpl b/civicrm/xml/templates/message_templates/event_offline_receipt_text.tpl index ffd6ab333669c38b655b1213243b7225bab2defe..6737e86f966a137ed9cd90264b7a471d10fa9f5c 100644 --- a/civicrm/xml/templates/message_templates/event_offline_receipt_text.tpl +++ b/civicrm/xml/templates/message_templates/event_offline_receipt_text.tpl @@ -8,10 +8,8 @@ {ts}You have been added to the WAIT LIST for this event.{/ts} -{if !empty($isPrimary)} {ts}If space becomes available you will receive an email with a link to a web page where you can complete your registration.{/ts} -{/if} ==========================================================={if !empty($pricesetFieldsCount) }===================={/if} {elseif !empty($isRequireApproval)} @@ -19,10 +17,8 @@ {ts}Your registration has been submitted.{/ts} -{if !empty($isPrimary)} {ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts} -{/if} ==========================================================={if !empty($pricesetFieldsCount) }===================={/if} {elseif $is_pay_later} @@ -52,20 +48,25 @@ {$location.address.1.display|strip_tags:false} {/if}{*End of isShowLocation condition*} -{if !empty($location.phone.1.phone) || !empty($location.email.1.email)} - +{if {event.loc_block_id.phone_id.phone|boolean} || {event.loc_block_id.email_id.email|boolean}} {ts}Event Contacts:{/ts} -{foreach from=$location.phone item=phone} -{if $phone.phone} -{if $phone.phone_type}{$phone.phone_type_display}{else}{ts}Phone{/ts}{/if}: {$phone.phone}{/if} {if $phone.phone_ext} {ts}ext.{/ts} {$phone.phone_ext}{/if} -{/foreach} -{foreach from=$location.email item=eventEmail} -{if $eventEmail.email} +{if {event.loc_block_id.phone_id.phone|boolean}} +{if {event.loc_block_id.phone_id.phone_type_id|boolean}}{event.loc_block_id.phone_id.phone_type_id:label}{else}{ts}Phone{/ts}{/if} {event.loc_block_id.phone_id.phone} {if {event.loc_block_id.phone_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_id.phone_ext}{/if} +{/if} -{ts}Email{/ts}: {$eventEmail.email}{/if}{/foreach} +{if {event.loc_block_id.phone_2_id.phone|boolean}} +{if {event.loc_block_id.phone_2_id.phone_type_id|boolean}}{event.loc_block_id.phone_2_id.phone_type_id:label}{else}{ts}Phone{/ts}{/if} {event.loc_block_id.phone_2_id.phone} {if {event.loc_block_id.phone_2_id.phone_ext|boolean}} {ts}ext.{/ts} {event.loc_block_id.phone_2_id.phone_ext}{/if} {/if} +{if {event.loc_block_id.email_id.email|boolean}} +{ts}Email {/ts}{event.loc_block_id.email_id.email} +{/if} +{if {event.loc_block_id.email_2_id.email|boolean}} +{ts}Email {/ts}{event.loc_block_id.email_2_id.email}{/if} +{/if} + + {if !empty($event.is_public)} {capture assign=icalFeed}{crmURL p='civicrm/event/ical' q="reset=1&id=`$event.id`" h=0 a=1 fe=1}{/capture} {ts}Download iCalendar entry for this event.{/ts} {$icalFeed} @@ -93,7 +94,7 @@ {if !empty($lineItem)}{foreach from=$lineItem item=value key=priceset} {if $value neq 'skip'} -{if !empty($isPrimary)} +{if {event.is_monetary|boolean}} {if $lineItem|@count GT 1} {* Header for multi participant registration cases. *} {ts 1=$priceset+1}Participant %1{/ts} {/if} @@ -143,12 +144,11 @@ {if $totalTaxAmount} {ts}Total Tax Amount{/ts}: {$totalTaxAmount|crmMoney:$currency} {/if} -{if !empty($isPrimary)} - -{if !empty($balanceAmount)}{ts}Total Paid{/ts}{else}{ts}Total Amount{/ts}{/if}: {if !empty($totalAmount)}{$totalAmount|crmMoney}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} +{if {event.is_monetary|boolean}} -{if !empty($balanceAmount)} -{ts}Balance{/ts}: {$balanceAmount|crmMoney} +{if {contribution.balance_amount|boolean}}{ts}Total Paid{/ts}: {if {contribution.paid_amount|boolean}}{contribution.paid_amount}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} +{ts}Balance{/ts}: {contribution.balance_amount} +{else}{ts}Total Amount{/ts}: {if {contribution.total_amount|boolean}}{contribution.total_amount}{/if} {if !empty($hookDiscount.message)}({$hookDiscount.message}){/if} {/if} {if !empty($pricesetFieldsCount) } diff --git a/civicrm/xml/templates/message_templates/event_online_receipt_html.tpl b/civicrm/xml/templates/message_templates/event_online_receipt_html.tpl index 97ec41c01af7bfb5ac43e289529eba39b63eade1..b0de224f355287efb505eeeb1cd7f32edd49f4fa 100644 --- a/civicrm/xml/templates/message_templates/event_online_receipt_html.tpl +++ b/civicrm/xml/templates/message_templates/event_online_receipt_html.tpl @@ -48,7 +48,7 @@ <p>{ts}Once your registration has been reviewed, you will receive an email with a link to a web page where you can complete the registration process.{/ts}</p> {/if} {elseif !empty($is_pay_later) && empty($isAmountzero) && empty($isAdditionalParticipant)} - <p>{if isset($pay_later_receipt)}{$pay_later_receipt}{/if}</p> {* FIXME: this might be text rather than HTML *} + <p>{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt|boolean}{/if}</p> {* FIXME: this might be text rather than HTML *} {/if} </td> diff --git a/civicrm/xml/templates/message_templates/event_online_receipt_text.tpl b/civicrm/xml/templates/message_templates/event_online_receipt_text.tpl index bacdec2bfd037e90f82666f9ddf0775f982c27cf..2153d29d15a093669077f9825a1a9c89c9a8d45f 100644 --- a/civicrm/xml/templates/message_templates/event_online_receipt_text.tpl +++ b/civicrm/xml/templates/message_templates/event_online_receipt_text.tpl @@ -34,7 +34,7 @@ ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} -{if isset($pay_later_receipt)}{$pay_later_receipt}{/if} +{if {event.pay_later_receipt|boolean}}{event.pay_later_receipt|boolean}{/if} ==========================================================={if !empty($pricesetFieldsCount)}===================={/if} {/if} diff --git a/civicrm/xml/templates/message_templates/membership_offline_receipt_html.tpl b/civicrm/xml/templates/message_templates/membership_offline_receipt_html.tpl index 3ad595fbb8127c7f3e34fd093a525fc63dcc2b04..4eed6e5ad9b5d629637d8d6f266c8e1c28e95be2 100644 --- a/civicrm/xml/templates/message_templates/membership_offline_receipt_html.tpl +++ b/civicrm/xml/templates/message_templates/membership_offline_receipt_html.tpl @@ -67,7 +67,7 @@ </td> </tr> {/if} - {if '{contribution.total_amount|raw}' !== '0.00'} + {if {contribution.total_amount|boolean}} <tr> <th {$headerStyle}> {ts}Membership Fee{/ts} @@ -91,7 +91,7 @@ <tr> <th>{ts}Item{/ts}</th> <th>{ts}Fee{/ts}</th> - {if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} + {if $isShowTax && {contribution.tax_amount|boolean}} <th>{ts}SubTotal{/ts}</th> <th>{ts}Tax Rate{/ts}</th> <th>{ts}Tax Amount{/ts}</th> @@ -106,7 +106,7 @@ <td> {$line.line_total|crmMoney} </td> - {if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} + {if $isShowTax && {contribution.tax_amount|boolean}} <td> {$line.unit_price*$line.qty|crmMoney:'{contribution.currency}'} </td> @@ -137,7 +137,7 @@ </td> </tr> - {if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} + {if $isShowTax && {contribution.tax_amount|boolean}} <tr> <td {$labelStyle}> {ts}Amount Before Tax:{/ts} @@ -154,7 +154,7 @@ {/foreach} {/if} {/if} - {if '{contribution.tax_amount|raw}' !== '0.00'} + {if {contribution.tax_amount|boolean}} <tr> <td {$labelStyle}> {ts}Total Tax Amount{/ts} @@ -175,7 +175,7 @@ {if {contribution.receive_date|boolean}} <tr> <td {$labelStyle}> - {ts}Date Received{/ts} + {ts}Contribution Date{/ts} </td> <td {$valueStyle}> {contribution.receive_date} diff --git a/civicrm/xml/templates/message_templates/membership_offline_receipt_text.tpl b/civicrm/xml/templates/message_templates/membership_offline_receipt_text.tpl index 4e91a2c32138eb10b36cbed53036c6d744d60723..dd5248f741524d0b011333b1165f66b10818c43e 100644 --- a/civicrm/xml/templates/message_templates/membership_offline_receipt_text.tpl +++ b/civicrm/xml/templates/message_templates/membership_offline_receipt_text.tpl @@ -17,7 +17,7 @@ {ts}Membership Expiration Date{/ts}: {membership.end_date|crmDate:"Full"} {/if} -{if '{contribution.total_amount|raw}' !== '0.00'} +{if {contribution.total_amount|boolean}} =========================================================== {ts}Membership Fee{/ts} @@ -28,7 +28,7 @@ {if $isShowLineItems} {capture assign=ts_item}{ts}Item{/ts}{/capture} {capture assign=ts_total}{ts}Fee{/ts}{/capture} -{if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} +{if $isShowTax && '{contribution.tax_amount|boolean}'} {capture assign=ts_subtotal}{ts}Subtotal{/ts}{/capture} {capture assign=ts_taxRate}{ts}Tax Rate{/ts}{/capture} {capture assign=ts_taxAmount}{ts}Tax Amount{/ts}{/capture} @@ -36,14 +36,14 @@ {/if} {capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture} {capture assign=ts_end_date}{ts}Membership Expiration Date{/ts}{/capture} -{$ts_item|string_format:"%-30s"} {$ts_total|string_format:"%10s"} {if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate|string_format:"%10s"} {$ts_taxAmount|string_format:"%10s"} {$ts_total|string_format:"%10s"} {/if} {$ts_start_date|string_format:"%20s"} {$ts_end_date|string_format:"%20s"} +{$ts_item|string_format:"%-30s"} {$ts_total|string_format:"%10s"} {if $isShowTax && {contribution.tax_amount|boolean}} {$ts_subtotal|string_format:"%10s"} {$ts_taxRate|string_format:"%10s"} {$ts_taxAmount|string_format:"%10s"} {$ts_total|string_format:"%10s"} {/if} {$ts_start_date|string_format:"%20s"} {$ts_end_date|string_format:"%20s"} -------------------------------------------------------------------------------------------------- {foreach from=$lineItems item=line} -{line.title} {$line.line_total|crmMoney|string_format:"%10s"} {if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} {$line.unit_price*$line.qty|crmMoney:'{contribution.currency}'|string_format:"%10s"} {if $line.tax_rate || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:'{contribution.currency}'|string_format:"%10s"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:"%10s"} {/if} {$line.membership.start_date|string_format:"%20s"} {$line.membership.end_date|string_format:"%20s"} +{line.title} {$line.line_total|crmMoney|string_format:"%10s"} {if $isShowTax && {contribution.tax_amount|boolean}} {$line.unit_price*$line.qty|crmMoney:'{contribution.currency}'|string_format:"%10s"} {if $line.tax_rate || $line.tax_amount != ""} {$line.tax_rate|string_format:"%.2f"} % {$line.tax_amount|crmMoney:'{contribution.currency}'|string_format:"%10s"} {else} {/if} {$line.line_total+$line.tax_amount|crmMoney|string_format:"%10s"} {/if} {$line.membership.start_date|string_format:"%20s"} {$line.membership.end_date|string_format:"%20s"} {/foreach} -{if $isShowTax && '{contribution.tax_amount|raw}' !== '0.00'} +{if $isShowTax && {contribution.tax_amount|boolean}} {ts}Amount before Tax:{/ts} {contribution.tax_exclusive_amount} {foreach from=$taxRateBreakdown item=taxDetail key=taxRate} @@ -53,13 +53,13 @@ -------------------------------------------------------------------------------------------------- {/if} -{if '{contribution.tax_amount|raw}' !== '0.00'} +{if {contribution.tax_amount|boolean}} {ts}Total Tax Amount{/ts}: {contribution.tax_amount} {/if} {ts}Amount{/ts}: {contribution.total_amount} {if {contribution.receive_date|boolean}} -{ts}Date Received{/ts}: {contribution.receive_date} +{ts}Contribution Date{/ts}: {contribution.receive_date} {/if} {if {contribution.payment_instrument_id|boolean}} {ts}Paid By{/ts}: {contribution.payment_instrument_id:label} diff --git a/civicrm/xml/templates/message_templates/membership_online_receipt_subject.tpl b/civicrm/xml/templates/message_templates/membership_online_receipt_subject.tpl index 052dce5bd7487c768fb4a07181a4872ca60c9ca5..43eed64b71bfb8020202ad754cb0ba875d205c87 100644 --- a/civicrm/xml/templates/message_templates/membership_online_receipt_subject.tpl +++ b/civicrm/xml/templates/message_templates/membership_online_receipt_subject.tpl @@ -1 +1 @@ -{if $is_pay_later}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name} +{if '{contribution.contribution_status_id:name}' === 'Pending'}{ts}Invoice{/ts}{else}{ts}Receipt{/ts}{/if} - {$title} - {contact.display_name} diff --git a/civicrm/xml/templates/message_templates/pcp_owner_notify_html.tpl b/civicrm/xml/templates/message_templates/pcp_owner_notify_html.tpl index 0620c96d5750f44b538c478220480419adf15dab..e24d5a4257d0e3e9aef81939e504183c676a5611 100644 --- a/civicrm/xml/templates/message_templates/pcp_owner_notify_html.tpl +++ b/civicrm/xml/templates/message_templates/pcp_owner_notify_html.tpl @@ -19,7 +19,7 @@ {/if} </p> <table id="crm-event_receipt" style="font-family: Arial, Verdana, sans-serif; text-align: left; width:100%; max-width:700px; padding:0; margin:0; border:0px;"> - <tr><td>{ts}Received{/ts}:</td><td> {$receive_date|crmDate}</td></tr> + <tr><td>{ts}Contribution Date{/ts}:</td><td> {$receive_date|crmDate}</td></tr> <tr><td>{ts}Amount{/ts}:</td><td> {$total_amount|crmMoney:$currency}</td></tr> <tr><td>{ts}Name{/ts}:</td><td> {$donors_display_name}</td></tr> <tr><td>{ts}Email{/ts}:</td><td> {$donors_email}</td></tr> diff --git a/civicrm/xml/templates/message_templates/pcp_owner_notify_text.tpl b/civicrm/xml/templates/message_templates/pcp_owner_notify_text.tpl index a07dab6c351fdf3a1d0a6bbb3518ecae79e11846..89f3dea5f3f7eaa7800564bd35f6ec0367a0407a 100644 --- a/civicrm/xml/templates/message_templates/pcp_owner_notify_text.tpl +++ b/civicrm/xml/templates/message_templates/pcp_owner_notify_text.tpl @@ -13,7 +13,7 @@ {ts}The donor's name has been added to your honor roll unless they asked not to be included.{/ts} {/if} -{ts}Received{/ts}: {$receive_date|crmDate} +{ts}Contribution Date{/ts}: {$receive_date|crmDate} {ts}Amount{/ts}: {$total_amount|crmMoney:$currency} diff --git a/civicrm/xml/version.xml b/civicrm/xml/version.xml index 53a0d836537f3e84ece369e728369191b1070b61..f13e5aba121f4e588180d8d7762e4061ae828f09 100644 --- a/civicrm/xml/version.xml +++ b/civicrm/xml/version.xml @@ -1,4 +1,4 @@ <?xml version="1.0" encoding="iso-8859-1" ?> <version> - <version_no>5.62.1</version_no> + <version_no>5.63.0</version_no> </version> diff --git a/includes/admin-pages/civicrm.page.error.php b/includes/admin-pages/civicrm.page.error.php index 20106f0f660b22a21dc02983b13b0bd59ed2d5a4..ceda45cc059cac78e6f0a7df322e785404e52f44 100644 --- a/includes/admin-pages/civicrm.page.error.php +++ b/includes/admin-pages/civicrm.page.error.php @@ -66,7 +66,7 @@ class CiviCRM_For_WordPress_Admin_Page_Error { $this->add_menu_items($logo, $position); // Add our meta boxes. - add_action('add_meta_boxes', [$this, 'meta_boxes_error_add']); + add_action('civicrm/page/error/add_meta_boxes', [$this, 'meta_boxes_error_add']); } @@ -177,7 +177,7 @@ class CiviCRM_For_WordPress_Admin_Page_Error { * * @param str $screen_id The ID of the current screen. */ - do_action('add_meta_boxes', $screen->id, NULL); + do_action('civicrm/page/error/add_meta_boxes', $screen->id); // Grab columns. $columns = (1 == $screen->get_columns() ? '1' : '2'); diff --git a/includes/admin-pages/civicrm.page.integration.php b/includes/admin-pages/civicrm.page.integration.php index 511bf6f70537b2d3b861294ace0a3b2fd5706dea..5de94eaf743db58f4ea33f515be83a8df4516686 100644 --- a/includes/admin-pages/civicrm.page.integration.php +++ b/includes/admin-pages/civicrm.page.integration.php @@ -89,7 +89,7 @@ class CiviCRM_For_WordPress_Admin_Page_Integration { add_action('admin_menu', [$this, 'add_menu_items'], 9); // Add our meta boxes. - add_action('add_meta_boxes', [$this, 'meta_boxes_integration_add']); + add_action('civicrm/page/integration/add_meta_boxes', [$this, 'meta_boxes_integration_add']); } @@ -201,7 +201,7 @@ class CiviCRM_For_WordPress_Admin_Page_Integration { * * @param str $screen_id The ID of the current screen. */ - do_action('add_meta_boxes', $screen->id, NULL); + do_action('civicrm/page/integration/add_meta_boxes', $screen->id); // Get the column CSS class. $columns = absint($screen->get_columns()); diff --git a/includes/admin-pages/civicrm.page.options.php b/includes/admin-pages/civicrm.page.options.php index 24cfc03d9d05c9352e1aa96a376e266b853a3456..84eb4cbce97c9738c042a07257002221b2038bdd 100644 --- a/includes/admin-pages/civicrm.page.options.php +++ b/includes/admin-pages/civicrm.page.options.php @@ -86,7 +86,7 @@ class CiviCRM_For_WordPress_Admin_Page_Options { add_action('admin_menu', [$this, 'add_menu_items'], 9); // Add our meta boxes. - add_action('add_meta_boxes', [$this, 'meta_boxes_options_add']); + add_action('civicrm/page/options/add_meta_boxes', [$this, 'meta_boxes_options_add']); // Add AJAX handlers. add_action('wp_ajax_civicrm_basepage', [$this, 'ajax_save_basepage']); @@ -240,7 +240,7 @@ class CiviCRM_For_WordPress_Admin_Page_Options { * * @param str $screen_id The ID of the current screen. */ - do_action('add_meta_boxes', $screen->id, NULL); + do_action('civicrm/page/options/add_meta_boxes', $screen->id); // Get the column CSS class. $columns = absint($screen->get_columns()); diff --git a/readme.txt b/readme.txt index 76557b46db57f6e530094545a6baed1c394d9ff7..69e93b328c2adab43a58ae3166f5549ffce352cb 100644 --- a/readme.txt +++ b/readme.txt @@ -2,8 +2,8 @@ Contributors: needle Tags: civicrm, crm Requires at least: 4.9 -Tested up to: 6.1 -Stable tag: 5.60 +Tested up to: 6.2 +Stable tag: 5.63 License: AGPL3 License URI: http://www.gnu.org/licenses/agpl-3.0.html