$buttonName = $this->controller->getButtonName('submit');
if ($suppressFields && $buttonName != '_qf_Entry_next') {
- CRM_Core_Session::setStatus(ts("File or Autocomplete-Select type field(s) in the selected profile are not supported for Batch Update."), ts('Some Fields Excluded'), 'info');
+ CRM_Core_Session::setStatus(ts("File or Autocomplete-Select type field(s) in the selected profile are not supported for Update multiple records."), ts('Some Fields Excluded'), 'info');
}
}
*/
/**
- * This class provides the functionality for batch profile update.
+ * This class provides the functionality for Update multiple contacts
*/
class CRM_Contact_Form_Task_PickProfile extends CRM_Contact_Form_Task {
$values['custom_pre_id'] = $custom_pre_id;
$values['custom_post_id'] = $custom_post_ids;
- //for tasks 'Change Participant Status' and 'Batch Update Participants Via Profile' case
+ //for tasks 'Change Participant Status' and 'Update multiple Contributions' case
//and cases involving status updation through ipn
// whatever that means!
// total_amount appears to be the preferred input param & it is unclear why we support amount here
CRM_Core_Session::setStatus(ts("The maximum number of contributions you can select for Update multiple contributions is %1. You have selected %2. Please select fewer contributions from your search results and try again.", array(
1 => $this->_maxContributions,
2 => count($this->_contributionIds),
- )), ts('Batch Update Error'), 'error');
+ )), ts('Update multiple records error'), 'error');
$validate = TRUE;
}
$buttonName = $this->controller->getButtonName('submit');
if ($suppressFields && $buttonName != '_qf_Batch_next') {
- CRM_Core_Session::setStatus(ts("File or Autocomplete-Select type field(s) in the selected profile are not supported for Batch Update."), ts('Unsupported Field Type'), 'info');
+ CRM_Core_Session::setStatus(ts("File or Autocomplete-Select type field(s) in the selected profile are not supported for Update multiple participants."), ts('Unsupported Field Type'), 'info');
}
$this->addDefaultButtons(ts('Update Participant(s)'));
CRM_Core_Session::setStatus(ts("The maximum number of members you can select for Update multiple memberships is %1. You have selected %2. Please select fewer members from your search results and try again.", array(
1 => $this->_maxMembers,
2 => count($this->_memberIds),
- )), ts('Batch Update Error'), 'error');
+ )), ts('Update multiple records error'), 'error');
$validate = TRUE;
}
$profiles = CRM_Core_BAO_UFGroup::getProfiles($types, TRUE);
if (empty($profiles)) {
- CRM_Core_Session::setStatus(ts("You will need to create a Profile containing the %1 fields you want to edit before you can use Update multiple memberships. Navigate to Administer CiviCRM >> CiviCRM Profile to configure a Profile. Consult the online Administrator documentation for more information.", array(1 => $types[0])), ts('Batch Update Error'), 'error');
+ CRM_Core_Session::setStatus(ts("You will need to create a Profile containing the %1 fields you want to edit before you can use Update multiple memberships. Navigate to Administer CiviCRM >> CiviCRM Profile to configure a Profile. Consult the online Administrator documentation for more information.", array(1 => $types[0])), ts('Update multiple records error'), 'error');
CRM_Utils_System::redirect($this->_userContext);
}
{/if}
<p>{ts}Click <strong>Update Participant(s)</strong> below to save all your changes.{/ts}</p>
</div>
- <legend>{$profileTitle}</legend>
<table class="crm-copy-fields">
<thead class="sticky">
<tr class="columnheader">
$this->type('sort_name', $lastName);
$this->click('_qf_Search_refresh');
- // Batch Update Via Profile
+ // Update multiple memberships
$this->waitForElementPresent("xpath=//div[@id='search-status']/table/tbody/tr[2]/td[2]/input");
$this->click("xpath=//div[@id='search-status']/table/tbody/tr[2]/td[2]/input");
//$this->click('CIVICRM_QFID_ts_all_10');
- $this->select('task', "label=Batch Update Members Via Profile");
+ $this->select('task', "label=Update multiple memberships");
$this->waitForElementPresent('_qf_PickProfile_back-bottom');
$this->waitForElementPresent('uf_group_id');
$this->select('uf_group_id', "label={$profileTitle}");
$this->type('sort_name', "Smiths_x");
$this->click('_qf_Basic_refresh');
- // Batch Update Via Profile
+ // Update multiple contacts
$this->waitForElementPresent('CIVICRM_QFID_ts_all_4');
$this->click('CIVICRM_QFID_ts_all_4');
$this->type('sort_name', $lastName);
$this->click('_qf_Basic_refresh');
- // Batch Update Via Profile
+ // Update multiple contacts
$this->waitForElementPresent('CIVICRM_QFID_ts_all_4');
$this->click('CIVICRM_QFID_ts_all_4');
$this->type('sort_name', $lastName);
$this->click('_qf_Basic_refresh');
- // Batch Update Via Profile
+ // Update multiple contacts
$this->waitForElementPresent('CIVICRM_QFID_ts_all_4');
$this->click('CIVICRM_QFID_ts_all_4');