%PDF- %PDF-
Direktori : /var/www/crm/custom/modules/Leads/metadata/ |
Current File : //var/www/crm/custom/modules/Leads/metadata/editviewdefs.php |
<?php $viewdefs ['Leads'] = array ( 'EditView' => array ( 'templateMeta' => array ( 'form' => array ( 'hidden' => array ( 0 => '<input type="hidden" name="prospect_id" value="{if isset($smarty.request.prospect_id)}{$smarty.request.prospect_id}{else}{$bean->prospect_id}{/if}">', 1 => '<input type="hidden" name="account_id" value="{if isset($smarty.request.account_id)}{$smarty.request.account_id}{else}{$bean->account_id}{/if}">', 2 => '<input type="hidden" name="contact_id" value="{if isset($smarty.request.contact_id)}{$smarty.request.contact_id}{else}{$bean->contact_id}{/if}">', 3 => '<input type="hidden" name="opportunity_id" value="{if isset($smarty.request.opportunity_id)}{$smarty.request.opportunity_id}{else}{$bean->opportunity_id}{/if}">', ), 'buttons' => array ( 0 => 'SAVE', 1 => 'CANCEL', ), ), 'maxColumns' => '2', 'widths' => array ( 0 => array ( 'label' => '10', 'field' => '30', ), 1 => array ( 'label' => '10', 'field' => '30', ), ), 'javascript' => '<script type="text/javascript" language="Javascript">function copyAddressRight(form) {ldelim} form.alt_address_street.value = form.primary_address_street.value;form.alt_address_city.value = form.primary_address_city.value;form.alt_address_state.value = form.primary_address_state.value;form.alt_address_postalcode.value = form.primary_address_postalcode.value;form.alt_address_country.value = form.primary_address_country.value;return true; {rdelim} function copyAddressLeft(form) {ldelim} form.primary_address_street.value =form.alt_address_street.value;form.primary_address_city.value = form.alt_address_city.value;form.primary_address_state.value = form.alt_address_state.value;form.primary_address_postalcode.value =form.alt_address_postalcode.value;form.primary_address_country.value = form.alt_address_country.value;return true; {rdelim} </script>', 'useTabs' => false, 'tabDefs' => array ( 'LBL_CONTACT_INFORMATION' => array ( 'newTab' => false, 'panelDefault' => 'expanded', ), ), 'syncDetailEditViews' => true, ), 'panels' => array ( 'LBL_CONTACT_INFORMATION' => array ( 0 => array ( 0 => array ( 'name' => 'first_name', 'customCode' => '{html_options name="salutation" id="salutation" options=$fields.salutation.options selected=$fields.salutation.value} <input name="first_name" id="first_name" size="25" maxlength="25" type="text" value="{$fields.first_name.value}">', ), ), 1 => array ( 0 => array ( 'name' => 'account_name', 'type' => 'varchar', 'validateDependency' => false, 'customCode' => '<input name="account_name" id="EditView_account_name" {if ($fields.converted.value == 1)}disabled="true"{/if} size="30" maxlength="255" type="text" value="{$fields.account_name.value}">', ), 1 => 'phone_work', ), 2 => array ( 0 => 'phone_mobile', 1 => 'phone_fax', ), 3 => array ( 0 => array ( 'name' => 'settore_c', 'studio' => 'visible', 'label' => 'LBL_SETTORE', ), 1 => array ( 'name' => 'categoria_c', 'studio' => 'visible', 'label' => 'LBL_CATEGORIA', ), ), 4 => array ( 0 => 'website', ), 5 => array ( 0 => array ( 'name' => 'primary_address_street', 'hideLabel' => true, 'type' => 'address', 'displayParams' => array ( 'key' => 'primary', 'rows' => 2, 'cols' => 30, 'maxlength' => 150, ), ), ), 6 => array ( 0 => 'email1', ), 7 => array ( 0 => 'description', ), ), ), ), ); ?>