* @return int
*/
public function smartGroupCreate($smartGroupParams = [], $groupParams = [], $contactType = 'Household') {
- $smartGroupParams = array_merge([
- 'formValues' => ['contact_type' => ['IN' => [$contactType]]],
- ],
- $smartGroupParams);
+ $smartGroupParams = array_merge(['form_values' => ['contact_type' => ['IN' => [$contactType]]]], $smartGroupParams);
$savedSearch = CRM_Contact_BAO_SavedSearch::create($smartGroupParams);
$groupParams['saved_search_id'] = $savedSearch->id;
[
'invoicing' => 1,
'invoice_prefix' => 'INV_',
- 'credit_notes_prefix' => 'CN_',
'due_date' => 10,
'due_date_period' => 'days',
'notes' => '',