This is an old revision of the document!


Truoble Tickets for Leads

/include/utils/EditViewUtils.php
Search:

editview_label[] = array($app_strings['COMBO_CONTACTS'],

Add “Leads” to List

Search:

		$parent_module = getSalesEntityType($value);
		if($parent_module == "Contacts")

Replace with:

		$parent_module = getSalesEntityType($value);
		if($parent_module == "Contacts" || $parent_module == "Leads")

Search:

$contact_selected = "selected";

Replace with:

                if($parent_module == "Contacts") {
			    $contact_selected = "selected";
              } else {
                  $leads_selected = "selected";
              }

Search:

              $editview_label[] = array($contact_selected,
                                      $account_selected
                                      );

Repalce with:

              $editview_label[] = array($contact_selected,
                                      $account_selected,
                                      $leads_selected
                                      );

Search:

$editview_label[] = array("Contacts","Accounts");

Replace with:

$editview_label[] = array("Contacts","Accounts", "Leads");