init
This commit is contained in:
76
modules/Leads/metadata2/SearchFields.php
Normal file
76
modules/Leads/metadata2/SearchFields.php
Normal file
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
$searchFields['Leads'] =
|
||||
array (
|
||||
'name' => array( 'query_type'=>'default'),
|
||||
'lead_type'=> array('query_type'=>'default', 'options' => 'lead_type_dom', 'template_var' => 'ACCOUNT_TYPE_OPTIONS'),
|
||||
'industry'=> array('query_type'=>'default', 'options' => 'industry_dom', 'template_var' => 'INDUSTRY_OPTIONS'),
|
||||
'annual_revenue'=> array('query_type'=>'default'),
|
||||
'address_street'=> array('query_type'=>'default','db_field'=>array('billing_address_street','shipping_address_street')),
|
||||
'address_city'=> array('query_type'=>'default','db_field'=>array('billing_address_city','shipping_address_city'), 'vname' =>'LBL_CITY'),
|
||||
'address_state'=> array('query_type'=>'default','db_field'=>array('billing_address_state','shipping_address_state'), 'vname' =>'LBL_STATE'),
|
||||
'address_postalcode'=> array('query_type'=>'default','db_field'=>array('billing_address_postalcode','shipping_address_postalcode'), 'vname' =>'LBL_POSTAL_CODE'),
|
||||
'address_country'=> array('query_type'=>'default','db_field'=>array('billing_address_country','shipping_address_country'), 'vname' =>'LBL_COUNTRY'),
|
||||
'rating'=> array('query_type'=>'default'),
|
||||
'phone'=> array('query_type'=>'default','db_field'=>array('phone_office'),'vname' =>'LBL_ANY_PHONE'),
|
||||
'email'=> array(
|
||||
'query_type' => 'default',
|
||||
'operator' => 'subquery',
|
||||
'subquery' => 'SELECT eabr.bean_id FROM email_addr_bean_rel eabr JOIN email_addresses ea ON (ea.id = eabr.email_address_id) WHERE eabr.deleted=0 AND ea.email_address LIKE',
|
||||
'db_field' => array(
|
||||
'id',
|
||||
),
|
||||
'vname' =>'LBL_ANY_EMAIL',
|
||||
),
|
||||
'website'=> array('query_type'=>'default'),
|
||||
'ownership'=> array('query_type'=>'default'),
|
||||
'employees'=> array('query_type'=>'default'),
|
||||
'sic_code'=> array('query_type'=>'default'),
|
||||
'ticker_symbol'=> array('query_type'=>'default'),
|
||||
'current_user_only'=> array('query_type'=>'default','db_field'=>array('assigned_user_id'),'my_items'=>true, 'vname' => 'LBL_CURRENT_USER_FILTER', 'type' => 'bool'),
|
||||
'assigned_user_id'=> array('query_type'=>'default'),
|
||||
//Range Search Support
|
||||
'range_date_entered' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
|
||||
'start_range_date_entered' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
|
||||
'end_range_date_entered' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
|
||||
'range_date_modified' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
|
||||
'start_range_date_modified' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
|
||||
'end_range_date_modified' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
|
||||
//Range Search Support
|
||||
);
|
||||
?>
|
||||
61
modules/Leads/metadata2/acldefs.php
Normal file
61
modules/Leads/metadata2/acldefs.php
Normal file
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
// created: 2005-10-19 11:16:08
|
||||
$acldefs['Leads'] = array (
|
||||
'forms' =>
|
||||
array (
|
||||
'by_name' =>
|
||||
array (
|
||||
'btn1' =>
|
||||
array (
|
||||
'display_option' => 'disabled',
|
||||
'action_option' => 'list',
|
||||
'app_action' => 'EditView',
|
||||
'module' => 'Leads',
|
||||
),
|
||||
),
|
||||
),
|
||||
'form_names' =>
|
||||
array (
|
||||
'by_id' => 'by_id',
|
||||
'by_name' => 'by_name',
|
||||
'DetailView' => 'DetailView',
|
||||
'EditView' => 'EditView',
|
||||
),
|
||||
);
|
||||
?>
|
||||
84
modules/Leads/metadata2/additionalDetails.php
Normal file
84
modules/Leads/metadata2/additionalDetails.php
Normal file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
function additionalDetailsLead($fields) {
|
||||
static $mod_strings;
|
||||
global $app_strings;
|
||||
if(empty($mod_strings)) {
|
||||
global $current_language;
|
||||
$mod_strings = return_module_language($current_language, 'Leads');
|
||||
}
|
||||
$overlib_string = '';
|
||||
|
||||
if(!empty($fields['BILLING_ADDRESS_STREET']) || !empty($fields['BILLING_ADDRESS_CITY']) ||
|
||||
!empty($fields['BILLING_ADDRESS_STATE']) || !empty($fields['BILLING_ADDRESS_POSTALCODE']) ||
|
||||
!empty($fields['BILLING_ADDRESS_COUNTRY']))
|
||||
$overlib_string .= '<b>' . $mod_strings['LBL_BILLING_ADDRESS'] . '</b><br>';
|
||||
if(!empty($fields['BILLING_ADDRESS_STREET'])) $overlib_string .= $fields['BILLING_ADDRESS_STREET'] . '<br>';
|
||||
if(!empty($fields['BILLING_ADDRESS_STREET_2'])) $overlib_string .= $fields['BILLING_ADDRESS_STREET_2'] . '<br>';
|
||||
if(!empty($fields['BILLING_ADDRESS_STREET_3'])) $overlib_string .= $fields['BILLING_ADDRESS_STREET_3'] . '<br>';
|
||||
if(!empty($fields['BILLING_ADDRESS_STREET_4'])) $overlib_string .= $fields['BILLING_ADDRESS_STREET_4'] . '<br>';
|
||||
if(!empty($fields['BILLING_ADDRESS_CITY'])) $overlib_string .= $fields['BILLING_ADDRESS_CITY'] . ', ';
|
||||
if(!empty($fields['BILLING_ADDRESS_STATE'])) $overlib_string .= $fields['BILLING_ADDRESS_STATE'] . ' ';
|
||||
if(!empty($fields['BILLING_ADDRESS_POSTALCODE'])) $overlib_string .= $fields['BILLING_ADDRESS_POSTALCODE'] . ' ';
|
||||
if(!empty($fields['BILLING_ADDRESS_COUNTRY'])) $overlib_string .= $fields['BILLING_ADDRESS_COUNTRY'] . '<br>';
|
||||
|
||||
if(strlen($overlib_string) > 0 && !(strrpos($overlib_string, '<br>') == strlen($overlib_string) - 4))
|
||||
$overlib_string .= '<br>';
|
||||
|
||||
if(!empty($fields['PHONE_FAX'])) $overlib_string .= '<b>'. $mod_strings['LBL_FAX'] . '</b> <span class="phone">' . $fields['PHONE_FAX'] . '</span><br>';
|
||||
if(!empty($fields['PHONE_ALTERNATE'])) $overlib_string .= '<b>'. $mod_strings['LBL_OTHER_PHONE'] . '</b> <span class="phone">' . $fields['PHONE_ALTERNATE'] . '</span><br>';
|
||||
if(!empty($fields['WEBSITE']))
|
||||
$overlib_string .= '<a target=_blank href=http://'. $fields['WEBSITE'] . '>' . $fields['WEBSITE'] . '</a><br>';
|
||||
if(!empty($fields['INDUSTRY'])) $overlib_string .= '<b>'. $mod_strings['LBL_INDUSTRY'] . '</b> ' . $fields['INDUSTRY'] . '<br>';
|
||||
if(!empty($fields['DESCRIPTION'])) {
|
||||
$overlib_string .= '<b>'. $mod_strings['LBL_DESCRIPTION'] . '</b> ' . substr($fields['DESCRIPTION'], 0, 300);
|
||||
if(strlen($fields['DESCRIPTION']) > 300) $overlib_string .= '...';
|
||||
}
|
||||
|
||||
return array('fieldToAddTo' => 'NAME',
|
||||
'string' => $overlib_string,
|
||||
'editLink' => "index.php?action=EditView&module=Leads&return_module=Leads&record={$fields['ID']}",
|
||||
'viewLink' => "index.php?action=DetailView&module=Leads&return_module=Leads&record={$fields['ID']}");
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
||||
270
modules/Leads/metadata2/detailviewdefs.php
Normal file
270
modules/Leads/metadata2/detailviewdefs.php
Normal file
@@ -0,0 +1,270 @@
|
||||
<?php
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
$viewdefs['Leads']['DetailView'] = array(
|
||||
'templateMeta' => array('form' => array('buttons'=>array(
|
||||
0 => 'EDIT',
|
||||
1 => 'DUPLICATE',
|
||||
2 => 'DELETE',
|
||||
3 => 'FIND_DUPLICATES',
|
||||
4 => array (
|
||||
'customCode' => '<input type="submit" name="save" class="button" value="{$LBL_SAVE_TO_GOOGLE}" onclick="AddGoogleContact(); return;" />'
|
||||
)
|
||||
|
||||
)),
|
||||
'maxColumns' => '2',
|
||||
'widths' => array(
|
||||
array('label' => '10', 'field' => '30'),
|
||||
array('label' => '10', 'field' => '30')
|
||||
),
|
||||
'includes'=> array(
|
||||
array('file'=>'modules/Leads/Lead.js'),
|
||||
array('file'=>'modules/Leads/LeadDetailView.js'),
|
||||
),
|
||||
),
|
||||
'panels' =>
|
||||
array (
|
||||
'lbl_lead_information' =>
|
||||
array (
|
||||
array (
|
||||
array (
|
||||
'name' => 'name',
|
||||
'comment' => 'Name of the Company',
|
||||
'label' => 'LBL_NAME',
|
||||
'displayParams' =>
|
||||
array (
|
||||
'enableConnectors' => true,
|
||||
'module' => 'Leads',
|
||||
'connectors' =>
|
||||
array (
|
||||
0 => 'ext_rest_linkedin',
|
||||
),
|
||||
),
|
||||
),
|
||||
array (
|
||||
'name' => 'phone_office',
|
||||
'comment' => 'The office phone number',
|
||||
'label' => 'LBL_PHONE_OFFICE',
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
|
||||
array (
|
||||
'name' => 'website',
|
||||
'type' => 'link',
|
||||
'label' => 'LBL_WEBSITE',
|
||||
'displayParams' =>
|
||||
array (
|
||||
'link_target' => '_blank',
|
||||
),
|
||||
),
|
||||
array (
|
||||
'name' => 'phone_fax',
|
||||
'comment' => 'The fax phone number of this company',
|
||||
'label' => 'LBL_FAX',
|
||||
),
|
||||
),
|
||||
|
||||
array ('to_vatid', 'ecmpaymentcondition_name'),
|
||||
|
||||
array (
|
||||
array (
|
||||
'name' => 'billing_address_street',
|
||||
'label' => 'LBL_BILLING_ADDRESS',
|
||||
'type' => 'address',
|
||||
'displayParams' =>
|
||||
array (
|
||||
'key' => 'billing',
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
'name' => 'shipping_address_street',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS',
|
||||
'type' => 'address',
|
||||
'displayParams' =>
|
||||
array (
|
||||
'key' => 'shipping',
|
||||
),
|
||||
),
|
||||
),
|
||||
array ('maps'),
|
||||
|
||||
array (
|
||||
array (
|
||||
'name' => 'email1',
|
||||
'studio' => 'false',
|
||||
'label' => 'LBL_EMAIL',
|
||||
),
|
||||
),
|
||||
array (
|
||||
array (
|
||||
'name' => 'description',
|
||||
'comment' => 'Full text of the note',
|
||||
'label' => 'LBL_DESCRIPTION',
|
||||
),
|
||||
),
|
||||
|
||||
),
|
||||
|
||||
|
||||
'LBL_PANEL_DELIVERY_ADDRESSES' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'name' => 'items_list_panel',
|
||||
'allCols' => true,
|
||||
'hideLabel' => true,
|
||||
'customCode' => '{$POSITIONS}',
|
||||
),
|
||||
|
||||
),
|
||||
),
|
||||
'LBL_PANEL_ADVANCED' =>
|
||||
array (
|
||||
|
||||
array (
|
||||
array (
|
||||
'name' => 'lead_type',
|
||||
'comment' => 'The Company is of this type',
|
||||
'label' => 'LBL_TYPE',
|
||||
),
|
||||
array (
|
||||
'name' => 'industry',
|
||||
'comment' => 'The company belongs in this industry',
|
||||
'label' => 'LBL_INDUSTRY',
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
array (
|
||||
'name' => 'annual_revenue',
|
||||
'comment' => 'Annual revenue for this company',
|
||||
'label' => 'LBL_ANNUAL_REVENUE',
|
||||
),
|
||||
array (
|
||||
'name' => 'employees',
|
||||
'comment' => 'Number of employees, varchar to accomodate for both number (100) or range (50-100)',
|
||||
'label' => 'LBL_EMPLOYEES',
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
array (
|
||||
'name' => 'sic_code',
|
||||
'comment' => 'SIC code of the lead',
|
||||
'label' => 'LBL_SIC_CODE',
|
||||
),
|
||||
array (
|
||||
'name' => 'ticker_symbol',
|
||||
'comment' => 'The stock trading (ticker) symbol for the company',
|
||||
'label' => 'LBL_TICKER_SYMBOL',
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
array (
|
||||
'name' => 'parent_name',
|
||||
'label' => 'LBL_MEMBER_OF',
|
||||
),
|
||||
array (
|
||||
'name' => 'ownership',
|
||||
'comment' => '',
|
||||
'label' => 'LBL_OWNERSHIP',
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
'campaign_name',
|
||||
|
||||
array (
|
||||
'name' => 'rating',
|
||||
'comment' => 'An arbitrary rating for this company for use in comparisons with others',
|
||||
'label' => 'LBL_RATING',
|
||||
),
|
||||
),
|
||||
array (
|
||||
'',
|
||||
'ecmdeliverycondition_name',
|
||||
),
|
||||
array (
|
||||
'supplier_code',
|
||||
'iln',
|
||||
),
|
||||
array (
|
||||
array('name'=>'currency_id','label'=>'LBL_CURRENCY'), '',
|
||||
),
|
||||
),
|
||||
|
||||
'LBL_PANEL_CATEGORIES' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'name' => 'items_list_panel',
|
||||
'allCols' => true,
|
||||
'hideLabel' => true,
|
||||
'customCode' => '{$POSITIONS3}',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_PANEL_ASSIGNMENT' =>
|
||||
array (
|
||||
array (
|
||||
array (
|
||||
'name' => 'assigned_user_name',
|
||||
'label' => 'LBL_ASSIGNED_TO',
|
||||
),
|
||||
array (
|
||||
'name' => 'date_modified',
|
||||
'label' => 'LBL_DATE_MODIFIED',
|
||||
'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$fields.modified_by_name.value}',
|
||||
),
|
||||
),
|
||||
array (
|
||||
array (
|
||||
'name' => 'date_entered',
|
||||
'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$fields.created_by_name.value}',
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
);
|
||||
?>
|
||||
250
modules/Leads/metadata2/editviewdefs.php
Normal file
250
modules/Leads/metadata2/editviewdefs.php
Normal file
@@ -0,0 +1,250 @@
|
||||
<?php
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
$viewdefs['Leads']['EditView'] = array(
|
||||
'templateMeta' => array(
|
||||
'form' => array(
|
||||
'buttons' => array (
|
||||
0 => array('customCode' => '<input type="submit" name="save" class="button" value="{$LBL_SAVE}" onclick="saveItems(true);saveItems2(true);saveItems3(true);this.form.action.value=\'Save\';return check_form(\'EditView\');" />'),
|
||||
1 => 'CANCEL',
|
||||
),
|
||||
),
|
||||
'maxColumns' => '2',
|
||||
'widths' => array(
|
||||
array('label' => '10', 'field' => '30'),
|
||||
array('label' => '10', 'field' => '30'),
|
||||
),
|
||||
'includes'=> array(
|
||||
array('file'=>'modules/Leads/Lead.js'),
|
||||
array('file'=>'include/JSON.js'),
|
||||
array('file'=>'modules/Leads/Addresses.js'),
|
||||
array('file'=>'modules/Leads/Discounts.js'),
|
||||
array('file'=>'modules/Leads/Categories.js'),
|
||||
array('file'=>'modules/Leads/MyTable.js'),
|
||||
array('file'=>'modules/Leads/paramsMT.js'),
|
||||
),
|
||||
),
|
||||
|
||||
'panels' => array(
|
||||
|
||||
'lbl_lead_information' =>
|
||||
array (
|
||||
array (
|
||||
array (
|
||||
'name' => 'name',
|
||||
'label' => 'LBL_NAME',
|
||||
'displayParams' =>
|
||||
array (
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
array (
|
||||
'name' => 'phone_office',
|
||||
'label' => 'LBL_PHONE_OFFICE',
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
|
||||
array (
|
||||
'name' => 'website',
|
||||
'type' => 'link',
|
||||
'label' => 'LBL_WEBSITE',
|
||||
),
|
||||
|
||||
array (
|
||||
'name' => 'phone_fax',
|
||||
'label' => 'LBL_FAX',
|
||||
),
|
||||
),
|
||||
|
||||
array ( 'to_vatid', 'ecmpaymentcondition_name'),
|
||||
|
||||
array (
|
||||
|
||||
array (
|
||||
'name' => 'billing_address_street',
|
||||
'hideLabel' => true,
|
||||
'type' => 'address',
|
||||
'displayParams' =>
|
||||
array (
|
||||
'key' => 'billing',
|
||||
'rows' => 2,
|
||||
'cols' => 30,
|
||||
'maxlength' => 150,
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
'name' => 'shipping_address_street',
|
||||
'hideLabel' => true,
|
||||
'type' => 'address',
|
||||
'displayParams' =>
|
||||
array (
|
||||
'key' => 'shipping',
|
||||
'copy' => 'billing',
|
||||
'rows' => 2,
|
||||
'cols' => 30,
|
||||
'maxlength' => 150,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
|
||||
array (
|
||||
'name' => 'email1',
|
||||
'studio' => 'false',
|
||||
'label' => 'LBL_EMAIL',
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
|
||||
array (
|
||||
'name' => 'description',
|
||||
'label' => 'LBL_DESCRIPTION',
|
||||
),
|
||||
),
|
||||
|
||||
),
|
||||
'LBL_PANEL_DELIVERY_ADDRESSES' => array (
|
||||
array(
|
||||
array(
|
||||
'name' => 'items_list_panel',
|
||||
'allCols' => true,
|
||||
'hideLabel' => true,
|
||||
'customCode' => '
|
||||
<input type="hidden" name="position_list" id="position_list" value=\'{$POSITION_LIST}\'>
|
||||
<link rel="stylesheet" type="text/css" href="modules/Leads/MyTable.css" />
|
||||
<div style="width:100%;border: 1px solid rgb(48,192,255);background-color:white;height:{$OPT.position_table_height}px;max-height:{$OPT.position_table_height}px;overflow:auto;" id="itemsTableDIV">
|
||||
<table class="positions" style="width:100%;" id="itemsTable">
|
||||
<thead id="head">
|
||||
<tr id="tr">
|
||||
<td width="3%">{$MOD.LBL_ADDRESS_POSITION}</td>
|
||||
<td width="8%">{$MOD.LBL_ADDRESS_NAME}</td>
|
||||
<td width="20%">{$MOD.LBL_ADDRESS_STREET}</td>
|
||||
<td width="10%">{$MOD.LBL_ADDRESS_CITY}</td>
|
||||
<td width="10%">{$MOD.LBL_ADDRESS_POSTALCODE}</td>
|
||||
<td width="10%">{$MOD.LBL_ADDRESS_COUNTRY}</td>
|
||||
<td width="10%">{$MOD.LBL_ADDRESS_PHONE}</td>
|
||||
<td width="10%">{$MOD.LBL_ADDRESS_FAX}</td>
|
||||
<td width="10%"></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbody">
|
||||
</tbody>
|
||||
</table>
|
||||
</div><br>',
|
||||
)
|
||||
)
|
||||
),
|
||||
'LBL_PANEL_ADVANCED' =>
|
||||
array (
|
||||
|
||||
array (
|
||||
'lead_type',
|
||||
'industry'
|
||||
),
|
||||
|
||||
array (
|
||||
'annual_revenue',
|
||||
'employees'
|
||||
),
|
||||
|
||||
array (
|
||||
'sic_code',
|
||||
'ticker_symbol'
|
||||
),
|
||||
|
||||
array (
|
||||
'parent_name',
|
||||
'ownership'
|
||||
),
|
||||
|
||||
array (
|
||||
'campaign_name',
|
||||
'rating'
|
||||
),
|
||||
array (
|
||||
'',
|
||||
'ecmdeliverycondition_name',
|
||||
),
|
||||
array (
|
||||
'supplier_code',
|
||||
'iln',
|
||||
),
|
||||
array (
|
||||
array ('name'=>'currency_id', 'label'=>'LBL_CURRENCY'), '',
|
||||
),
|
||||
),
|
||||
'LBL_PANEL_CATEGORIES' => array (
|
||||
array(
|
||||
array(
|
||||
'name' => 'items_list_panel',
|
||||
'allCols' => true,
|
||||
'hideLabel' => true,
|
||||
'customCode' => '
|
||||
<input type="hidden" name="position_list3" id="position_list3" value=\'{$POSITION_LIST3}\'>
|
||||
<link rel="stylesheet" type="text/css" href="modules/Leads/MyTable.css" />
|
||||
<div style="width:30%;border: 1px solid rgb(48,192,255);background-color:white;height:{$OPT.position_table_height}px;max-height:{$OPT.position_table_height}px;overflow:auto;" id="itemsTableDIV3">
|
||||
<table class="positions" style="width:100%;" id="itemsTable3">
|
||||
<thead id="head">
|
||||
<tr id="tr">
|
||||
<td width="90%">{$MOD.LBL_CATEGORY_NAME}</td>
|
||||
<td width="10%">{$MOD.LBL_EDITTABLE_OPTIONS}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbody">
|
||||
</tbody>
|
||||
</table>
|
||||
</div><br>',
|
||||
)
|
||||
)
|
||||
),
|
||||
'LBL_PANEL_ASSIGNMENT' =>
|
||||
array (
|
||||
|
||||
array (
|
||||
array (
|
||||
'name' => 'assigned_user_name',
|
||||
'label' => 'LBL_ASSIGNED_TO',
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
);
|
||||
?>
|
||||
38
modules/Leads/metadata2/fieldGroups.php
Normal file
38
modules/Leads/metadata2/fieldGroups.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
?>
|
||||
224
modules/Leads/metadata2/listviewdefs.php
Normal file
224
modules/Leads/metadata2/listviewdefs.php
Normal file
@@ -0,0 +1,224 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
$listViewDefs ['Leads'] =
|
||||
array (
|
||||
'NAME' =>
|
||||
array (
|
||||
'width' => '20%',
|
||||
'label' => 'LBL_LIST_ACCOUNT_NAME',
|
||||
'link' => true,
|
||||
'default' => true,
|
||||
),
|
||||
'BILLING_ADDRESS_CITY' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_LIST_CITY',
|
||||
'default' => true,
|
||||
),
|
||||
'BILLING_ADDRESS_COUNTRY' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_BILLING_ADDRESS_COUNTRY',
|
||||
'default' => true,
|
||||
),
|
||||
'PHONE_OFFICE' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_LIST_PHONE',
|
||||
'default' => true,
|
||||
),
|
||||
'ASSIGNED_USER_NAME' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_LIST_ASSIGNED_USER',
|
||||
'module' => 'Employees',
|
||||
'id' => 'ASSIGNED_USER_ID',
|
||||
'default' => true,
|
||||
),
|
||||
'ACCOUNT_TYPE' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_TYPE',
|
||||
'default' => false,
|
||||
),
|
||||
'INDUSTRY' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_INDUSTRY',
|
||||
'default' => false,
|
||||
),
|
||||
'ANNUAL_REVENUE' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_ANNUAL_REVENUE',
|
||||
'default' => false,
|
||||
),
|
||||
'PHONE_FAX' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_PHONE_FAX',
|
||||
'default' => false,
|
||||
),
|
||||
'BILLING_ADDRESS_STREET' =>
|
||||
array (
|
||||
'width' => '15%',
|
||||
'label' => 'LBL_BILLING_ADDRESS_STREET',
|
||||
'default' => false,
|
||||
),
|
||||
'BILLING_ADDRESS_STATE' =>
|
||||
array (
|
||||
'width' => '7%',
|
||||
'label' => 'LBL_BILLING_ADDRESS_STATE',
|
||||
'default' => false,
|
||||
),
|
||||
'BILLING_ADDRESS_POSTALCODE' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_BILLING_ADDRESS_POSTALCODE',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_STREET' =>
|
||||
array (
|
||||
'width' => '15%',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_STREET',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_CITY' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_CITY',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_STATE' =>
|
||||
array (
|
||||
'width' => '7%',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_STATE',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_POSTALCODE' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_POSTALCODE',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_COUNTRY' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_COUNTRY',
|
||||
'default' => false,
|
||||
),
|
||||
'RATING' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_RATING',
|
||||
'default' => false,
|
||||
),
|
||||
'PHONE_ALTERNATE' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_OTHER_PHONE',
|
||||
'default' => false,
|
||||
),
|
||||
'WEBSITE' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_WEBSITE',
|
||||
'default' => false,
|
||||
),
|
||||
'OWNERSHIP' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_OWNERSHIP',
|
||||
'default' => false,
|
||||
),
|
||||
'EMPLOYEES' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_EMPLOYEES',
|
||||
'default' => false,
|
||||
),
|
||||
'SIC_CODE' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_SIC_CODE',
|
||||
'default' => false,
|
||||
),
|
||||
'TICKER_SYMBOL' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_TICKER_SYMBOL',
|
||||
'default' => false,
|
||||
),
|
||||
'DATE_MODIFIED' =>
|
||||
array (
|
||||
'width' => '5%',
|
||||
'label' => 'LBL_DATE_MODIFIED',
|
||||
'default' => false,
|
||||
),
|
||||
'CREATED_BY_NAME' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_CREATED',
|
||||
'default' => false,
|
||||
),
|
||||
'MODIFIED_BY_NAME' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_MODIFIED',
|
||||
'default' => false,
|
||||
),
|
||||
'EMAIL1' =>
|
||||
array(
|
||||
'width' => '15%',
|
||||
'label' => 'LBL_EMAIL_ADDRESS',
|
||||
'sortable' => false,
|
||||
'link' => true,
|
||||
'customCode' => '{$EMAIL1_LINK}{$EMAIL1}</a>',
|
||||
'default' => true
|
||||
),
|
||||
'DATE_ENTERED' =>
|
||||
array (
|
||||
'width' => '5%',
|
||||
'label' => 'LBL_DATE_ENTERED',
|
||||
'default' => true,
|
||||
),
|
||||
);
|
||||
?>
|
||||
76
modules/Leads/metadata2/metadata/SearchFields.php
Normal file
76
modules/Leads/metadata2/metadata/SearchFields.php
Normal file
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
$searchFields['Accounts'] =
|
||||
array (
|
||||
'name' => array( 'query_type'=>'default'),
|
||||
'account_type'=> array('query_type'=>'default', 'options' => 'account_type_dom', 'template_var' => 'ACCOUNT_TYPE_OPTIONS'),
|
||||
'industry'=> array('query_type'=>'default', 'options' => 'industry_dom', 'template_var' => 'INDUSTRY_OPTIONS'),
|
||||
'annual_revenue'=> array('query_type'=>'default'),
|
||||
'address_street'=> array('query_type'=>'default','db_field'=>array('billing_address_street','shipping_address_street')),
|
||||
'address_city'=> array('query_type'=>'default','db_field'=>array('billing_address_city','shipping_address_city'), 'vname' =>'LBL_CITY'),
|
||||
'address_state'=> array('query_type'=>'default','db_field'=>array('billing_address_state','shipping_address_state'), 'vname' =>'LBL_STATE'),
|
||||
'address_postalcode'=> array('query_type'=>'default','db_field'=>array('billing_address_postalcode','shipping_address_postalcode'), 'vname' =>'LBL_POSTAL_CODE'),
|
||||
'address_country'=> array('query_type'=>'default','db_field'=>array('billing_address_country','shipping_address_country'), 'vname' =>'LBL_COUNTRY'),
|
||||
'rating'=> array('query_type'=>'default'),
|
||||
'phone'=> array('query_type'=>'default','db_field'=>array('phone_office'),'vname' =>'LBL_ANY_PHONE'),
|
||||
'email'=> array(
|
||||
'query_type' => 'default',
|
||||
'operator' => 'subquery',
|
||||
'subquery' => 'SELECT eabr.bean_id FROM email_addr_bean_rel eabr JOIN email_addresses ea ON (ea.id = eabr.email_address_id) WHERE eabr.deleted=0 AND ea.email_address LIKE',
|
||||
'db_field' => array(
|
||||
'id',
|
||||
),
|
||||
'vname' =>'LBL_ANY_EMAIL',
|
||||
),
|
||||
'website'=> array('query_type'=>'default'),
|
||||
'ownership'=> array('query_type'=>'default'),
|
||||
'employees'=> array('query_type'=>'default'),
|
||||
'sic_code'=> array('query_type'=>'default'),
|
||||
'ticker_symbol'=> array('query_type'=>'default'),
|
||||
'current_user_only'=> array('query_type'=>'default','db_field'=>array('assigned_user_id'),'my_items'=>true, 'vname' => 'LBL_CURRENT_USER_FILTER', 'type' => 'bool'),
|
||||
'assigned_user_id'=> array('query_type'=>'default'),
|
||||
//Range Search Support
|
||||
'range_date_entered' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
|
||||
'start_range_date_entered' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
|
||||
'end_range_date_entered' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
|
||||
'range_date_modified' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
|
||||
'start_range_date_modified' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
|
||||
'end_range_date_modified' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true),
|
||||
//Range Search Support
|
||||
);
|
||||
?>
|
||||
61
modules/Leads/metadata2/metadata/acldefs.php
Normal file
61
modules/Leads/metadata2/metadata/acldefs.php
Normal file
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
// created: 2005-10-19 11:16:08
|
||||
$acldefs['Accounts'] = array (
|
||||
'forms' =>
|
||||
array (
|
||||
'by_name' =>
|
||||
array (
|
||||
'btn1' =>
|
||||
array (
|
||||
'display_option' => 'disabled',
|
||||
'action_option' => 'list',
|
||||
'app_action' => 'EditView',
|
||||
'module' => 'Accounts',
|
||||
),
|
||||
),
|
||||
),
|
||||
'form_names' =>
|
||||
array (
|
||||
'by_id' => 'by_id',
|
||||
'by_name' => 'by_name',
|
||||
'DetailView' => 'DetailView',
|
||||
'EditView' => 'EditView',
|
||||
),
|
||||
);
|
||||
?>
|
||||
84
modules/Leads/metadata2/metadata/additionalDetails.php
Normal file
84
modules/Leads/metadata2/metadata/additionalDetails.php
Normal file
@@ -0,0 +1,84 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
function additionalDetailsAccount($fields) {
|
||||
static $mod_strings;
|
||||
global $app_strings;
|
||||
if(empty($mod_strings)) {
|
||||
global $current_language;
|
||||
$mod_strings = return_module_language($current_language, 'Accounts');
|
||||
}
|
||||
$overlib_string = '';
|
||||
|
||||
if(!empty($fields['BILLING_ADDRESS_STREET']) || !empty($fields['BILLING_ADDRESS_CITY']) ||
|
||||
!empty($fields['BILLING_ADDRESS_STATE']) || !empty($fields['BILLING_ADDRESS_POSTALCODE']) ||
|
||||
!empty($fields['BILLING_ADDRESS_COUNTRY']))
|
||||
$overlib_string .= '<b>' . $mod_strings['LBL_BILLING_ADDRESS'] . '</b><br>';
|
||||
if(!empty($fields['BILLING_ADDRESS_STREET'])) $overlib_string .= $fields['BILLING_ADDRESS_STREET'] . '<br>';
|
||||
if(!empty($fields['BILLING_ADDRESS_STREET_2'])) $overlib_string .= $fields['BILLING_ADDRESS_STREET_2'] . '<br>';
|
||||
if(!empty($fields['BILLING_ADDRESS_STREET_3'])) $overlib_string .= $fields['BILLING_ADDRESS_STREET_3'] . '<br>';
|
||||
if(!empty($fields['BILLING_ADDRESS_STREET_4'])) $overlib_string .= $fields['BILLING_ADDRESS_STREET_4'] . '<br>';
|
||||
if(!empty($fields['BILLING_ADDRESS_CITY'])) $overlib_string .= $fields['BILLING_ADDRESS_CITY'] . ', ';
|
||||
if(!empty($fields['BILLING_ADDRESS_STATE'])) $overlib_string .= $fields['BILLING_ADDRESS_STATE'] . ' ';
|
||||
if(!empty($fields['BILLING_ADDRESS_POSTALCODE'])) $overlib_string .= $fields['BILLING_ADDRESS_POSTALCODE'] . ' ';
|
||||
if(!empty($fields['BILLING_ADDRESS_COUNTRY'])) $overlib_string .= $fields['BILLING_ADDRESS_COUNTRY'] . '<br>';
|
||||
|
||||
if(strlen($overlib_string) > 0 && !(strrpos($overlib_string, '<br>') == strlen($overlib_string) - 4))
|
||||
$overlib_string .= '<br>';
|
||||
|
||||
if(!empty($fields['PHONE_FAX'])) $overlib_string .= '<b>'. $mod_strings['LBL_FAX'] . '</b> <span class="phone">' . $fields['PHONE_FAX'] . '</span><br>';
|
||||
if(!empty($fields['PHONE_ALTERNATE'])) $overlib_string .= '<b>'. $mod_strings['LBL_OTHER_PHONE'] . '</b> <span class="phone">' . $fields['PHONE_ALTERNATE'] . '</span><br>';
|
||||
if(!empty($fields['WEBSITE']))
|
||||
$overlib_string .= '<a target=_blank href=http://'. $fields['WEBSITE'] . '>' . $fields['WEBSITE'] . '</a><br>';
|
||||
if(!empty($fields['INDUSTRY'])) $overlib_string .= '<b>'. $mod_strings['LBL_INDUSTRY'] . '</b> ' . $fields['INDUSTRY'] . '<br>';
|
||||
if(!empty($fields['DESCRIPTION'])) {
|
||||
$overlib_string .= '<b>'. $mod_strings['LBL_DESCRIPTION'] . '</b> ' . substr($fields['DESCRIPTION'], 0, 300);
|
||||
if(strlen($fields['DESCRIPTION']) > 300) $overlib_string .= '...';
|
||||
}
|
||||
|
||||
return array('fieldToAddTo' => 'NAME',
|
||||
'string' => $overlib_string,
|
||||
'editLink' => "index.php?action=EditView&module=Accounts&return_module=Accounts&record={$fields['ID']}",
|
||||
'viewLink' => "index.php?action=DetailView&module=Accounts&return_module=Accounts&record={$fields['ID']}");
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
||||
310
modules/Leads/metadata2/metadata/detailviewdefs.php
Normal file
310
modules/Leads/metadata2/metadata/detailviewdefs.php
Normal file
@@ -0,0 +1,310 @@
|
||||
<?php
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
$viewdefs['Accounts']['DetailView'] = array(
|
||||
'templateMeta' => array('form' => array('buttons'=>array(
|
||||
0 => 'EDIT',
|
||||
1 => 'DUPLICATE',
|
||||
2 => 'DELETE',
|
||||
3 => 'FIND_DUPLICATES',
|
||||
4 => array (
|
||||
'customCode' => '<input type="submit" name="save" class="button" value="{$LBL_SAVE_TO_GOOGLE}" onclick="AddGoogleContact(); return;" />'
|
||||
)
|
||||
|
||||
)),
|
||||
'maxColumns' => '2',
|
||||
'widths' => array(
|
||||
array('label' => '10', 'field' => '30'),
|
||||
array('label' => '10', 'field' => '30')
|
||||
),
|
||||
'includes'=> array(
|
||||
array('file'=>'modules/Accounts/Account.js'),
|
||||
array('file'=>'modules/Accounts/AccountDetailView.js'),
|
||||
),
|
||||
),
|
||||
'panels' =>
|
||||
array (
|
||||
'lbl_account_information' =>
|
||||
array (
|
||||
array (
|
||||
array (
|
||||
'name' => 'name',
|
||||
'comment' => 'Name of the Company',
|
||||
'label' => 'LBL_NAME',
|
||||
'displayParams' =>
|
||||
array (
|
||||
'enableConnectors' => true,
|
||||
'module' => 'Accounts',
|
||||
'connectors' =>
|
||||
array (
|
||||
0 => 'ext_rest_linkedin',
|
||||
),
|
||||
),
|
||||
),
|
||||
array (
|
||||
'name' => 'phone_office',
|
||||
'comment' => 'The office phone number',
|
||||
'label' => 'LBL_PHONE_OFFICE',
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
|
||||
array (
|
||||
'name' => 'website',
|
||||
'type' => 'link',
|
||||
'label' => 'LBL_WEBSITE',
|
||||
'displayParams' =>
|
||||
array (
|
||||
'link_target' => '_blank',
|
||||
),
|
||||
),
|
||||
array (
|
||||
'name' => 'phone_fax',
|
||||
'comment' => 'The fax phone number of this company',
|
||||
'label' => 'LBL_FAX',
|
||||
),
|
||||
),
|
||||
|
||||
array ('to_vatid', 'ecmpaymentcondition_name'),
|
||||
|
||||
array (
|
||||
array (
|
||||
'name' => 'billing_address_street',
|
||||
'label' => 'LBL_BILLING_ADDRESS',
|
||||
'type' => 'address',
|
||||
'displayParams' =>
|
||||
array (
|
||||
'key' => 'billing',
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
'name' => 'shipping_address_street',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS',
|
||||
'type' => 'address',
|
||||
'displayParams' =>
|
||||
array (
|
||||
'key' => 'shipping',
|
||||
),
|
||||
),
|
||||
),
|
||||
array ('maps'),
|
||||
|
||||
array (
|
||||
array (
|
||||
'name' => 'email1',
|
||||
'studio' => 'false',
|
||||
'label' => 'LBL_EMAIL',
|
||||
),
|
||||
),
|
||||
array (
|
||||
array (
|
||||
'name' => 'description',
|
||||
'comment' => 'Full text of the note',
|
||||
'label' => 'LBL_DESCRIPTION',
|
||||
),
|
||||
),
|
||||
|
||||
),
|
||||
'LBL_SHOP_PANEL' => array (
|
||||
array(
|
||||
'shop_user',
|
||||
'ecmpricebook_name',
|
||||
),
|
||||
|
||||
),
|
||||
|
||||
'LBL_ECMPAYMENTS_PANEL' => array (
|
||||
array (
|
||||
array (
|
||||
'name' => 'saldo_nierozliczone',
|
||||
'customCode' => '{$SUMN}',
|
||||
),
|
||||
array (
|
||||
'name' => 'saldo_razem',
|
||||
'customCode' => '{$SUMR}',
|
||||
),
|
||||
),
|
||||
array(
|
||||
array (
|
||||
'name' => 'url_links_e',
|
||||
'customCode' => '{$URL_ECMPAY}',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_PANEL_DELIVERY_ADDRESSES' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'name' => 'items_list_panel',
|
||||
'allCols' => true,
|
||||
'hideLabel' => true,
|
||||
'customCode' => '{$POSITIONS}',
|
||||
),
|
||||
|
||||
),
|
||||
),
|
||||
'LBL_PANEL_ADVANCED' =>
|
||||
array (
|
||||
|
||||
array (
|
||||
array (
|
||||
'name' => 'account_type',
|
||||
'comment' => 'The Company is of this type',
|
||||
'label' => 'LBL_TYPE',
|
||||
),
|
||||
array (
|
||||
'name' => 'industry',
|
||||
'comment' => 'The company belongs in this industry',
|
||||
'label' => 'LBL_INDUSTRY',
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
array (
|
||||
'name' => 'annual_revenue',
|
||||
'comment' => 'Annual revenue for this company',
|
||||
'label' => 'LBL_ANNUAL_REVENUE',
|
||||
),
|
||||
array (
|
||||
'name' => 'employees',
|
||||
'comment' => 'Number of employees, varchar to accomodate for both number (100) or range (50-100)',
|
||||
'label' => 'LBL_EMPLOYEES',
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
array (
|
||||
'name' => 'sic_code',
|
||||
'comment' => 'SIC code of the account',
|
||||
'label' => 'LBL_SIC_CODE',
|
||||
),
|
||||
array (
|
||||
'name' => 'ticker_symbol',
|
||||
'comment' => 'The stock trading (ticker) symbol for the company',
|
||||
'label' => 'LBL_TICKER_SYMBOL',
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
array (
|
||||
'name' => 'parent_name',
|
||||
'label' => 'LBL_MEMBER_OF',
|
||||
),
|
||||
array (
|
||||
'name' => 'ownership',
|
||||
'comment' => '',
|
||||
'label' => 'LBL_OWNERSHIP',
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
'campaign_name',
|
||||
|
||||
array (
|
||||
'name' => 'rating',
|
||||
'comment' => 'An arbitrary rating for this company for use in comparisons with others',
|
||||
'label' => 'LBL_RATING',
|
||||
),
|
||||
),
|
||||
array (
|
||||
'',
|
||||
'ecmdeliverycondition_name',
|
||||
),
|
||||
array (
|
||||
'supplier_code',
|
||||
'iln',
|
||||
),
|
||||
|
||||
array (
|
||||
'auto_invoice', 'invoice_type',
|
||||
),
|
||||
array (
|
||||
array('name'=>'currency_id','label'=>'LBL_CURRENCY'), '',
|
||||
),
|
||||
),
|
||||
'LBL_PANEL_DISCOUNTS' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'name' => 'items_list_panel',
|
||||
'allCols' => true,
|
||||
'hideLabel' => true,
|
||||
'customCode' => '{$POSITIONS2}',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_PANEL_CATEGORIES' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'name' => 'items_list_panel',
|
||||
'allCols' => true,
|
||||
'hideLabel' => true,
|
||||
'customCode' => '{$POSITIONS3}',
|
||||
),
|
||||
),
|
||||
),
|
||||
'LBL_PANEL_ASSIGNMENT' =>
|
||||
array (
|
||||
array (
|
||||
array (
|
||||
'name' => 'assigned_user_name',
|
||||
'label' => 'LBL_ASSIGNED_TO',
|
||||
),
|
||||
array (
|
||||
'name' => 'date_modified',
|
||||
'label' => 'LBL_DATE_MODIFIED',
|
||||
'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$fields.modified_by_name.value}',
|
||||
),
|
||||
),
|
||||
array (
|
||||
array (
|
||||
'name' => 'date_entered',
|
||||
'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$fields.created_by_name.value}',
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
);
|
||||
?>
|
||||
284
modules/Leads/metadata2/metadata/editviewdefs.php
Normal file
284
modules/Leads/metadata2/metadata/editviewdefs.php
Normal file
@@ -0,0 +1,284 @@
|
||||
<?php
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
$viewdefs['Accounts']['EditView'] = array(
|
||||
'templateMeta' => array(
|
||||
'form' => array(
|
||||
'buttons' => array (
|
||||
0 => array('customCode' => '<input type="submit" name="save" class="button" value="{$LBL_SAVE}" onclick="saveItems(true);saveItems2(true);saveItems3(true);this.form.action.value=\'Save\';return check_form(\'EditView\');" />'),
|
||||
1 => 'CANCEL',
|
||||
),
|
||||
),
|
||||
'maxColumns' => '2',
|
||||
'widths' => array(
|
||||
array('label' => '10', 'field' => '30'),
|
||||
array('label' => '10', 'field' => '30'),
|
||||
),
|
||||
'includes'=> array(
|
||||
array('file'=>'modules/Accounts/Account.js'),
|
||||
array('file'=>'include/JSON.js'),
|
||||
array('file'=>'modules/Accounts/Addresses.js'),
|
||||
array('file'=>'modules/Accounts/Discounts.js'),
|
||||
array('file'=>'modules/Accounts/Categories.js'),
|
||||
array('file'=>'modules/Accounts/MyTable.js'),
|
||||
array('file'=>'modules/Accounts/paramsMT.js'),
|
||||
),
|
||||
),
|
||||
|
||||
'panels' => array(
|
||||
|
||||
'lbl_account_information' =>
|
||||
array (
|
||||
array (
|
||||
array (
|
||||
'name' => 'name',
|
||||
'label' => 'LBL_NAME',
|
||||
'displayParams' =>
|
||||
array (
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
array (
|
||||
'name' => 'phone_office',
|
||||
'label' => 'LBL_PHONE_OFFICE',
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
|
||||
array (
|
||||
'name' => 'website',
|
||||
'type' => 'link',
|
||||
'label' => 'LBL_WEBSITE',
|
||||
),
|
||||
|
||||
array (
|
||||
'name' => 'phone_fax',
|
||||
'label' => 'LBL_FAX',
|
||||
),
|
||||
),
|
||||
|
||||
array ( 'to_vatid', 'ecmpaymentcondition_name'),
|
||||
|
||||
array (
|
||||
|
||||
array (
|
||||
'name' => 'billing_address_street',
|
||||
'hideLabel' => true,
|
||||
'type' => 'address',
|
||||
'displayParams' =>
|
||||
array (
|
||||
'key' => 'billing',
|
||||
'rows' => 2,
|
||||
'cols' => 30,
|
||||
'maxlength' => 150,
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
'name' => 'shipping_address_street',
|
||||
'hideLabel' => true,
|
||||
'type' => 'address',
|
||||
'displayParams' =>
|
||||
array (
|
||||
'key' => 'shipping',
|
||||
'copy' => 'billing',
|
||||
'rows' => 2,
|
||||
'cols' => 30,
|
||||
'maxlength' => 150,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
|
||||
array (
|
||||
'name' => 'email1',
|
||||
'studio' => 'false',
|
||||
'label' => 'LBL_EMAIL',
|
||||
),
|
||||
),
|
||||
|
||||
array (
|
||||
|
||||
array (
|
||||
'name' => 'description',
|
||||
'label' => 'LBL_DESCRIPTION',
|
||||
),
|
||||
),
|
||||
|
||||
),
|
||||
'LBL_SHOP_PANEL' => array (
|
||||
array(
|
||||
'shop_user',
|
||||
'ecmpricebook_name',
|
||||
),
|
||||
),
|
||||
'LBL_PANEL_DELIVERY_ADDRESSES' => array (
|
||||
array(
|
||||
array(
|
||||
'name' => 'items_list_panel',
|
||||
'allCols' => true,
|
||||
'hideLabel' => true,
|
||||
'customCode' => '
|
||||
<input type="hidden" name="position_list" id="position_list" value=\'{$POSITION_LIST}\'>
|
||||
<link rel="stylesheet" type="text/css" href="modules/Accounts/MyTable.css" />
|
||||
<div style="width:100%;border: 1px solid rgb(48,192,255);background-color:white;height:{$OPT.position_table_height}px;max-height:{$OPT.position_table_height}px;overflow:auto;" id="itemsTableDIV">
|
||||
<table class="positions" style="width:100%;" id="itemsTable">
|
||||
<thead id="head">
|
||||
<tr id="tr">
|
||||
<td width="3%">{$MOD.LBL_ADDRESS_POSITION}</td>
|
||||
<td width="8%">{$MOD.LBL_ADDRESS_NAME}</td>
|
||||
<td width="20%">{$MOD.LBL_ADDRESS_STREET}</td>
|
||||
<td width="10%">{$MOD.LBL_ADDRESS_CITY}</td>
|
||||
<td width="10%">{$MOD.LBL_ADDRESS_POSTALCODE}</td>
|
||||
<td width="10%">{$MOD.LBL_ADDRESS_COUNTRY}</td>
|
||||
<td width="10%">{$MOD.LBL_ADDRESS_PHONE}</td>
|
||||
<td width="10%">{$MOD.LBL_ADDRESS_FAX}</td>
|
||||
<td width="10%"></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbody">
|
||||
</tbody>
|
||||
</table>
|
||||
</div><br>',
|
||||
)
|
||||
)
|
||||
),
|
||||
'LBL_PANEL_ADVANCED' =>
|
||||
array (
|
||||
|
||||
array (
|
||||
'account_type',
|
||||
'industry'
|
||||
),
|
||||
|
||||
array (
|
||||
'annual_revenue',
|
||||
'employees'
|
||||
),
|
||||
|
||||
array (
|
||||
'sic_code',
|
||||
'ticker_symbol'
|
||||
),
|
||||
|
||||
array (
|
||||
'parent_name',
|
||||
'ownership'
|
||||
),
|
||||
|
||||
array (
|
||||
'campaign_name',
|
||||
'rating'
|
||||
),
|
||||
array (
|
||||
'',
|
||||
'ecmdeliverycondition_name',
|
||||
),
|
||||
array (
|
||||
'supplier_code',
|
||||
'iln',
|
||||
),
|
||||
array (
|
||||
'auto_invoice', 'invoice_type',
|
||||
),
|
||||
array (
|
||||
array ('name'=>'currency_id', 'label'=>'LBL_CURRENCY'), '',
|
||||
),
|
||||
),
|
||||
'LBL_PANEL_DISCOUNTS' => array (
|
||||
array(
|
||||
array(
|
||||
'name' => 'items_list_panel',
|
||||
'allCols' => true,
|
||||
'hideLabel' => true,
|
||||
'customCode' => '
|
||||
<input type="hidden" name="position_list2" id="position_list2" value=\'{$POSITION_LIST2}\'>
|
||||
<link rel="stylesheet" type="text/css" href="modules/Accounts/MyTable.css" />
|
||||
<div style="width:30%;border: 1px solid rgb(48,192,255);background-color:white;height:{$OPT.position_table_height}px;max-height:{$OPT.position_table_height}px;overflow:auto;" id="itemsTableDIV2">
|
||||
<table class="positions" style="width:100%;" id="itemsTable2">
|
||||
<thead id="head">
|
||||
<tr id="tr">
|
||||
<td width="70%">{$MOD.LBL_PRODUCT_GROUP}</td>
|
||||
<td width="20%">{$MOD.LBL_DISCOUNT}</td>
|
||||
<td width="10%">{$MOD.LBL_EDITTABLE_OPTIONS}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbody">
|
||||
</tbody>
|
||||
</table>
|
||||
</div><br>',
|
||||
)
|
||||
)
|
||||
),
|
||||
'LBL_PANEL_CATEGORIES' => array (
|
||||
array(
|
||||
array(
|
||||
'name' => 'items_list_panel',
|
||||
'allCols' => true,
|
||||
'hideLabel' => true,
|
||||
'customCode' => '
|
||||
<input type="hidden" name="position_list3" id="position_list3" value=\'{$POSITION_LIST3}\'>
|
||||
<link rel="stylesheet" type="text/css" href="modules/Accounts/MyTable.css" />
|
||||
<div style="width:30%;border: 1px solid rgb(48,192,255);background-color:white;height:{$OPT.position_table_height}px;max-height:{$OPT.position_table_height}px;overflow:auto;" id="itemsTableDIV3">
|
||||
<table class="positions" style="width:100%;" id="itemsTable3">
|
||||
<thead id="head">
|
||||
<tr id="tr">
|
||||
<td width="90%">{$MOD.LBL_CATEGORY_NAME}</td>
|
||||
<td width="10%">{$MOD.LBL_EDITTABLE_OPTIONS}</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="tbody">
|
||||
</tbody>
|
||||
</table>
|
||||
</div><br>',
|
||||
)
|
||||
)
|
||||
),
|
||||
'LBL_PANEL_ASSIGNMENT' =>
|
||||
array (
|
||||
|
||||
array (
|
||||
array (
|
||||
'name' => 'assigned_user_name',
|
||||
'label' => 'LBL_ASSIGNED_TO',
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
);
|
||||
?>
|
||||
38
modules/Leads/metadata2/metadata/fieldGroups.php
Normal file
38
modules/Leads/metadata2/metadata/fieldGroups.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
?>
|
||||
224
modules/Leads/metadata2/metadata/listviewdefs.php
Normal file
224
modules/Leads/metadata2/metadata/listviewdefs.php
Normal file
@@ -0,0 +1,224 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
$listViewDefs ['Accounts'] =
|
||||
array (
|
||||
'NAME' =>
|
||||
array (
|
||||
'width' => '20%',
|
||||
'label' => 'LBL_LIST_ACCOUNT_NAME',
|
||||
'link' => true,
|
||||
'default' => true,
|
||||
),
|
||||
'BILLING_ADDRESS_CITY' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_LIST_CITY',
|
||||
'default' => true,
|
||||
),
|
||||
'BILLING_ADDRESS_COUNTRY' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_BILLING_ADDRESS_COUNTRY',
|
||||
'default' => true,
|
||||
),
|
||||
'PHONE_OFFICE' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_LIST_PHONE',
|
||||
'default' => true,
|
||||
),
|
||||
'ASSIGNED_USER_NAME' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_LIST_ASSIGNED_USER',
|
||||
'module' => 'Employees',
|
||||
'id' => 'ASSIGNED_USER_ID',
|
||||
'default' => true,
|
||||
),
|
||||
'ACCOUNT_TYPE' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_TYPE',
|
||||
'default' => false,
|
||||
),
|
||||
'INDUSTRY' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_INDUSTRY',
|
||||
'default' => false,
|
||||
),
|
||||
'ANNUAL_REVENUE' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_ANNUAL_REVENUE',
|
||||
'default' => false,
|
||||
),
|
||||
'PHONE_FAX' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_PHONE_FAX',
|
||||
'default' => false,
|
||||
),
|
||||
'BILLING_ADDRESS_STREET' =>
|
||||
array (
|
||||
'width' => '15%',
|
||||
'label' => 'LBL_BILLING_ADDRESS_STREET',
|
||||
'default' => false,
|
||||
),
|
||||
'BILLING_ADDRESS_STATE' =>
|
||||
array (
|
||||
'width' => '7%',
|
||||
'label' => 'LBL_BILLING_ADDRESS_STATE',
|
||||
'default' => false,
|
||||
),
|
||||
'BILLING_ADDRESS_POSTALCODE' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_BILLING_ADDRESS_POSTALCODE',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_STREET' =>
|
||||
array (
|
||||
'width' => '15%',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_STREET',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_CITY' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_CITY',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_STATE' =>
|
||||
array (
|
||||
'width' => '7%',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_STATE',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_POSTALCODE' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_POSTALCODE',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_COUNTRY' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_COUNTRY',
|
||||
'default' => false,
|
||||
),
|
||||
'RATING' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_RATING',
|
||||
'default' => false,
|
||||
),
|
||||
'PHONE_ALTERNATE' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_OTHER_PHONE',
|
||||
'default' => false,
|
||||
),
|
||||
'WEBSITE' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_WEBSITE',
|
||||
'default' => false,
|
||||
),
|
||||
'OWNERSHIP' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_OWNERSHIP',
|
||||
'default' => false,
|
||||
),
|
||||
'EMPLOYEES' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_EMPLOYEES',
|
||||
'default' => false,
|
||||
),
|
||||
'SIC_CODE' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_SIC_CODE',
|
||||
'default' => false,
|
||||
),
|
||||
'TICKER_SYMBOL' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_TICKER_SYMBOL',
|
||||
'default' => false,
|
||||
),
|
||||
'DATE_MODIFIED' =>
|
||||
array (
|
||||
'width' => '5%',
|
||||
'label' => 'LBL_DATE_MODIFIED',
|
||||
'default' => false,
|
||||
),
|
||||
'CREATED_BY_NAME' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_CREATED',
|
||||
'default' => false,
|
||||
),
|
||||
'MODIFIED_BY_NAME' =>
|
||||
array (
|
||||
'width' => '10%',
|
||||
'label' => 'LBL_MODIFIED',
|
||||
'default' => false,
|
||||
),
|
||||
'EMAIL1' =>
|
||||
array(
|
||||
'width' => '15%',
|
||||
'label' => 'LBL_EMAIL_ADDRESS',
|
||||
'sortable' => false,
|
||||
'link' => true,
|
||||
'customCode' => '{$EMAIL1_LINK}{$EMAIL1}</a>',
|
||||
'default' => true
|
||||
),
|
||||
'DATE_ENTERED' =>
|
||||
array (
|
||||
'width' => '5%',
|
||||
'label' => 'LBL_DATE_ENTERED',
|
||||
'default' => true,
|
||||
),
|
||||
);
|
||||
?>
|
||||
52
modules/Leads/metadata2/metadata/metafiles.php
Normal file
52
modules/Leads/metadata2/metadata/metafiles.php
Normal file
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
/*
|
||||
* Created on Jun 1, 2007
|
||||
*
|
||||
* To change the template for this generated file go to
|
||||
* Window - Preferences - PHPeclipse - PHP - Code Templates
|
||||
*/
|
||||
$metafiles['Accounts'] = array(
|
||||
'detailviewdefs' => 'modules/Accounts/metadata/detailviewdefs.php',
|
||||
'editviewdefs' => 'modules/Accounts/metadata/editviewdefs.php',
|
||||
'listviewdefs' => 'modules/Accounts/metadata/listviewdefs.php',
|
||||
'searchdefs' => 'modules/Accounts/metadata/searchdefs.php',
|
||||
'popupdefs' => 'modules/Accounts/metadata/popupdefs.php',
|
||||
'searchfields' => 'modules/Accounts/metadata/SearchFields.php',
|
||||
|
||||
);
|
||||
?>
|
||||
139
modules/Leads/metadata2/metadata/popupdefs.php
Normal file
139
modules/Leads/metadata2/metadata/popupdefs.php
Normal file
@@ -0,0 +1,139 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
global $mod_strings;
|
||||
|
||||
$popupMeta = array(
|
||||
'moduleMain' => 'Account',
|
||||
'varName' => 'ACCOUNT',
|
||||
'orderBy' => 'name',
|
||||
'whereClauses' => array(
|
||||
'name' => 'accounts.name',
|
||||
'billing_address_city' => 'accounts.billing_address_city',
|
||||
'phone_office' => 'accounts.phone_office'
|
||||
),
|
||||
'searchInputs' => array('name', 'billing_address_city', 'phone_office'),
|
||||
'create' => array(
|
||||
'formBase' => 'AccountFormBase.php',
|
||||
'formBaseClass' => 'AccountFormBase',
|
||||
'getFormBodyParams' => array('','','AccountSave'),
|
||||
'createButton' => 'LNK_NEW_ACCOUNT'
|
||||
),
|
||||
'listviewdefs' => array(
|
||||
'NAME' => array(
|
||||
'width' => '40',
|
||||
'label' => 'LBL_LIST_ACCOUNT_NAME',
|
||||
'link' => true,
|
||||
'default' => true,
|
||||
),
|
||||
'BILLING_ADDRESS_STREET' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_BILLING_ADDRESS_STREET',
|
||||
'default' => false,
|
||||
),
|
||||
'BILLING_ADDRESS_CITY' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_LIST_CITY',
|
||||
'default' => true,
|
||||
),
|
||||
'BILLING_ADDRESS_STATE' => array(
|
||||
'width' => '7',
|
||||
'label' => 'LBL_STATE',
|
||||
'default' => true,
|
||||
),
|
||||
'BILLING_ADDRESS_COUNTRY' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_COUNTRY',
|
||||
'default' => true,
|
||||
),
|
||||
'BILLING_ADDRESS_POSTALCODE' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_BILLING_ADDRESS_POSTALCODE',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_STREET' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_STREET',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_CITY' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_LIST_CITY',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_STATE' => array(
|
||||
'width' => '7',
|
||||
'label' => 'LBL_STATE',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_COUNTRY' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_COUNTRY',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_POSTALCODE' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_POSTALCODE',
|
||||
'default' => false,
|
||||
),
|
||||
'ASSIGNED_USER_NAME' => array(
|
||||
'width' => '2',
|
||||
'label' => 'LBL_LIST_ASSIGNED_USER',
|
||||
'default' => true,
|
||||
),
|
||||
'PHONE_OFFICE' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_LIST_PHONE',
|
||||
'default' => false
|
||||
),
|
||||
),
|
||||
'searchdefs' => array(
|
||||
'name',
|
||||
'billing_address_city',
|
||||
'billing_address_state',
|
||||
'billing_address_country',
|
||||
'email',
|
||||
array(
|
||||
'name' => 'assigned_user_id',
|
||||
'label'=>'LBL_ASSIGNED_TO',
|
||||
'type' => 'enum',
|
||||
'function' => array('name' => 'get_user_array', 'params' => array(false))
|
||||
),
|
||||
)
|
||||
);
|
||||
?>
|
||||
126
modules/Leads/metadata2/metadata/quickcreatedefs.php
Normal file
126
modules/Leads/metadata2/metadata/quickcreatedefs.php
Normal file
@@ -0,0 +1,126 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
/*********************************************************************************
|
||||
|
||||
* Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.
|
||||
* All Rights Reserved.
|
||||
* Contributor(s): ______________________________________..
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
$viewdefs ['Accounts'] =
|
||||
array (
|
||||
'QuickCreate' =>
|
||||
array (
|
||||
'templateMeta' =>
|
||||
array (
|
||||
'form' =>
|
||||
array (
|
||||
'buttons' =>
|
||||
array (
|
||||
'SAVE',
|
||||
'CANCEL',
|
||||
),
|
||||
),
|
||||
'maxColumns' => '2',
|
||||
'widths' =>
|
||||
array (
|
||||
array (
|
||||
'label' => '10',
|
||||
'field' => '30',
|
||||
),
|
||||
array (
|
||||
'label' => '10',
|
||||
'field' => '30',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
array (
|
||||
'file' => 'modules/Accounts/Account.js',
|
||||
),
|
||||
),
|
||||
),
|
||||
'panels' =>
|
||||
array (
|
||||
'default' =>
|
||||
array (
|
||||
array (
|
||||
array (
|
||||
'name' => 'name',
|
||||
'displayParams' =>
|
||||
array (
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),
|
||||
array (
|
||||
array (
|
||||
'name' => 'website',
|
||||
),
|
||||
array (
|
||||
'name' => 'phone_office',
|
||||
),
|
||||
),
|
||||
array (
|
||||
array (
|
||||
'name' => 'email1',
|
||||
),
|
||||
array (
|
||||
'name' => 'phone_fax',
|
||||
),
|
||||
),
|
||||
array (
|
||||
array (
|
||||
'name' => 'industry',
|
||||
),
|
||||
array (
|
||||
'name' => 'account_type',
|
||||
),
|
||||
),
|
||||
array (
|
||||
array (
|
||||
'name' => 'assigned_user_name',
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
?>
|
||||
177
modules/Leads/metadata2/metadata/searchdefs.php
Normal file
177
modules/Leads/metadata2/metadata/searchdefs.php
Normal file
@@ -0,0 +1,177 @@
|
||||
<?php
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
/*
|
||||
* Created on May 29, 2007
|
||||
*
|
||||
* To change the template for this generated file go to
|
||||
* Window - Preferences - PHPeclipse - PHP - Code Templates
|
||||
*/
|
||||
$searchdefs['Accounts'] = array(
|
||||
'templateMeta' => array(
|
||||
'maxColumns' => '3',
|
||||
'maxColumnsBasic' => '4',
|
||||
'widths' => array('label' => '10', 'field' => '30'),
|
||||
),
|
||||
'layout' =>
|
||||
array (
|
||||
'basic_search' =>
|
||||
array (
|
||||
'name' =>
|
||||
array (
|
||||
'name' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'to_vatid_unformated',
|
||||
'current_user_only' =>
|
||||
array (
|
||||
'name' => 'current_user_only',
|
||||
'label' => 'LBL_CURRENT_USER_FILTER',
|
||||
'type' => 'bool',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'ownership',
|
||||
|
||||
|
||||
),
|
||||
'advanced_search' =>
|
||||
array (
|
||||
'name' =>
|
||||
array (
|
||||
'name' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'website' =>
|
||||
array (
|
||||
'name' => 'website',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'phone' =>
|
||||
array (
|
||||
'name' => 'phone',
|
||||
'label' => 'LBL_ANY_PHONE',
|
||||
'type' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'email' =>
|
||||
array (
|
||||
'name' => 'email',
|
||||
'label' => 'LBL_ANY_EMAIL',
|
||||
'type' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'address_street' =>
|
||||
array (
|
||||
'name' => 'address_street',
|
||||
'label' => 'LBL_ANY_ADDRESS',
|
||||
'type' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'address_city' =>
|
||||
array (
|
||||
'name' => 'address_city',
|
||||
'label' => 'LBL_CITY',
|
||||
'type' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'address_state' =>
|
||||
array (
|
||||
'name' => 'address_state',
|
||||
'label' => 'LBL_STATE',
|
||||
'type' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'address_postalcode' =>
|
||||
array (
|
||||
'name' => 'address_postalcode',
|
||||
'label' => 'LBL_POSTAL_CODE',
|
||||
'type' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'billing_address_country' =>
|
||||
array (
|
||||
'name' => 'billing_address_country',
|
||||
'label' => 'LBL_COUNTRY',
|
||||
'type' => 'name',
|
||||
'options' => 'countries_dom',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'account_type' =>
|
||||
array (
|
||||
'name' => 'account_type',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'invoice_type',
|
||||
'industry' =>
|
||||
array (
|
||||
'name' => 'industry',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'assigned_user_id' =>
|
||||
array (
|
||||
'name' => 'assigned_user_id',
|
||||
'type' => 'enum',
|
||||
'label' => 'LBL_ASSIGNED_TO',
|
||||
'function' =>
|
||||
array (
|
||||
'name' => 'get_user_array',
|
||||
'params' =>
|
||||
array (
|
||||
0 => false,
|
||||
),
|
||||
),
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'to_vatid_unformated',
|
||||
|
||||
),
|
||||
),
|
||||
);
|
||||
?>
|
||||
66
modules/Leads/metadata2/metadata/studio.php
Normal file
66
modules/Leads/metadata2/metadata/studio.php
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
$GLOBALS['studioDefs']['Accounts'] = array(
|
||||
'LBL_DETAILVIEW'=>array(
|
||||
'template'=>'xtpl',
|
||||
'template_file'=>'modules/Accounts/DetailView.html',
|
||||
'php_file'=>'modules/Accounts/DetailView.php',
|
||||
'type'=>'DetailView',
|
||||
),
|
||||
'LBL_EDITVIEW'=>array(
|
||||
'template'=>'xtpl',
|
||||
'template_file'=>'modules/Accounts/EditView.html',
|
||||
'php_file'=>'modules/Accounts/EditView.php',
|
||||
'type'=>'EditView',
|
||||
),
|
||||
'LBL_LISTVIEW'=>array(
|
||||
'template'=>'listview',
|
||||
'meta_file'=>'modules/Accounts/listviewdefs.php',
|
||||
'type'=>'ListView',
|
||||
),
|
||||
'LBL_SEARCHFORM'=>array(
|
||||
'template'=>'xtpl',
|
||||
'template_file'=>'modules/Accounts/SearchForm.html',
|
||||
'php_file'=>'modules/Accounts/ListView.php',
|
||||
'type'=>'SearchForm',
|
||||
),
|
||||
|
||||
);
|
||||
262
modules/Leads/metadata2/metadata/subpaneldefs.php
Normal file
262
modules/Leads/metadata2/metadata/subpaneldefs.php
Normal file
@@ -0,0 +1,262 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
|
||||
$layout_defs['Accounts'] = array(
|
||||
// list of what Subpanels to show in the DetailView
|
||||
'subpanel_setup' => array(
|
||||
|
||||
'activities' => array(
|
||||
'order' => 10,
|
||||
'sort_order' => 'desc',
|
||||
'sort_by' => 'date_start',
|
||||
'title_key' => 'LBL_ACTIVITIES_SUBPANEL_TITLE',
|
||||
'type' => 'collection',
|
||||
'subpanel_name' => 'activities', //this values is not associated with a physical file.
|
||||
'header_definition_from_subpanel'=> 'meetings',
|
||||
'module'=>'Activities',
|
||||
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateTaskButton'),
|
||||
array('widget_class' => 'SubPanelTopScheduleMeetingButton'),
|
||||
array('widget_class' => 'SubPanelTopScheduleCallButton'),
|
||||
),
|
||||
|
||||
'collection_list' => array(
|
||||
'tasks' => array(
|
||||
'module' => 'Tasks',
|
||||
'subpanel_name' => 'ForActivities',
|
||||
'get_subpanel_data' => 'tasks',
|
||||
),
|
||||
'meetings' => array(
|
||||
'module' => 'Meetings',
|
||||
'subpanel_name' => 'ForActivities',
|
||||
'get_subpanel_data' => 'meetings',
|
||||
),
|
||||
'calls' => array(
|
||||
'module' => 'Calls',
|
||||
'subpanel_name' => 'ForActivities',
|
||||
'get_subpanel_data' => 'calls',
|
||||
),
|
||||
)
|
||||
),
|
||||
|
||||
'history' => array(
|
||||
'order' => 20,
|
||||
'sort_order' => 'desc',
|
||||
'sort_by' => 'date_modified',
|
||||
'title_key' => 'LBL_HISTORY_SUBPANEL_TITLE',
|
||||
'type' => 'collection',
|
||||
'subpanel_name' => 'history', //this values is not associated with a physical file.
|
||||
|
||||
'header_definition_from_subpanel'=> 'meetings',
|
||||
|
||||
'module'=>'History',
|
||||
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateNoteButton'),
|
||||
array('widget_class' => 'SubPanelTopArchiveEmailButton'),
|
||||
array('widget_class' => 'SubPanelTopSummaryButton'),
|
||||
),
|
||||
|
||||
'collection_list' => array(
|
||||
'tasks' => array(
|
||||
'module' => 'Tasks',
|
||||
'subpanel_name' => 'ForHistory',
|
||||
'get_subpanel_data' => 'tasks',
|
||||
),
|
||||
|
||||
'meetings' => array(
|
||||
'module' => 'Meetings',
|
||||
'subpanel_name' => 'ForHistory',
|
||||
'get_subpanel_data' => 'meetings',
|
||||
),
|
||||
'calls' => array(
|
||||
'module' => 'Calls',
|
||||
'subpanel_name' => 'ForHistory',
|
||||
'get_subpanel_data' => 'calls',
|
||||
),
|
||||
|
||||
'notes' => array(
|
||||
'module' => 'Notes',
|
||||
'subpanel_name' => 'ForHistory',
|
||||
'get_subpanel_data' => 'notes',
|
||||
),
|
||||
'emails' => array(
|
||||
'module' => 'Emails',
|
||||
'subpanel_name' => 'ForHistory',
|
||||
'get_subpanel_data' => 'emails',
|
||||
),
|
||||
'linkedemails' => array(
|
||||
'module' => 'Emails',
|
||||
'subpanel_name' => 'ForUnlinkedEmailHistory',
|
||||
'get_subpanel_data' => 'function:get_unlinked_email_query',
|
||||
'generate_select'=>true,
|
||||
'function_parameters' => array('return_as_array'=>'true'),
|
||||
),
|
||||
)
|
||||
),
|
||||
/*
|
||||
'documents' => array(
|
||||
'order' => 90,
|
||||
'module' => 'Documents',
|
||||
'subpanel_name' => 'default',
|
||||
'title_key' => 'aa',
|
||||
'get_subpanel_data' => 'documents',
|
||||
'top_buttons' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopButtonQuickCreate',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopSelectButton',
|
||||
'mode' => 'MultiSelect',
|
||||
),
|
||||
),
|
||||
),
|
||||
*/
|
||||
'notes' => array(
|
||||
'order' => 110,
|
||||
'module' => 'Notes',
|
||||
'sort_order' => 'asc',
|
||||
'sort_by' => 'date_entered',
|
||||
'subpanel_name' => 'default',
|
||||
'get_subpanel_data' => 'notes',
|
||||
'add_subpanel_data' => 'note_id',
|
||||
'title_key' => 'LBL_NOTES_SUBPANEL_TITLE',
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
),
|
||||
),
|
||||
'contacts' => array(
|
||||
'order' => 40,
|
||||
'module' => 'Contacts',
|
||||
'sort_order' => 'asc',
|
||||
'sort_by' => 'last_name, first_name',
|
||||
'subpanel_name' => 'ForAccounts',
|
||||
'get_subpanel_data' => 'contacts',
|
||||
'add_subpanel_data' => 'contact_id',
|
||||
'title_key' => 'LBL_CONTACTS_SUBPANEL_TITLE',
|
||||
'top_buttons' => array(
|
||||
//array('widget_class' => 'SubPanelTopCreateAccountNameButton'),
|
||||
array('widget_class' => 'SubPanelTopSelectButton', 'mode'=>'MultiSelect'),
|
||||
array('widget_class' => 'SubPanelTopCreateButton')
|
||||
),
|
||||
|
||||
),
|
||||
|
||||
'accounts' => array(
|
||||
'order' => 50,
|
||||
'sort_order' => 'asc',
|
||||
'sort_by' => 'name',
|
||||
'module' => 'Accounts',
|
||||
'subpanel_name' => 'default',
|
||||
'get_subpanel_data' => 'members',
|
||||
'add_subpanel_data' => 'member_id',
|
||||
'title_key' => 'LBL_MEMBER_ORG_SUBPANEL_TITLE',
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopButtonQuickCreate'),
|
||||
array('widget_class' => 'SubPanelTopSelectButton', 'mode'=>'MultiSelect')
|
||||
),
|
||||
),
|
||||
|
||||
'ecmquotes' => array(
|
||||
'order' => 60,
|
||||
'module' => 'EcmQuotes',
|
||||
'subpanel_name' => 'default',
|
||||
'get_subpanel_data' => 'ecmquotes',
|
||||
'add_subpanel_data' => 'ecmquote_id',
|
||||
'title_key' => 'LBL_ECMQUOTES_SUBPANEL_TITLE',
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
),
|
||||
),
|
||||
/*
|
||||
'documents' => array(
|
||||
'order' => 90,
|
||||
'module' => 'Documents',
|
||||
'subpanel_name' => 'default',
|
||||
'get_subpanel_data' => 'documents',
|
||||
'title_key' => 'Dokumenty',
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
),
|
||||
), */
|
||||
'ecmsales' => array(
|
||||
'order' => 70,
|
||||
'module' => 'EcmSales',
|
||||
'subpanel_name' => 'default',
|
||||
'get_subpanel_data' => 'ecmsales',
|
||||
//'add_subpanel_data' => 'ecmsale_id',
|
||||
'title_key' => 'LBL_ECMSALES_SUBPANEL_TITLE',
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
),
|
||||
),
|
||||
|
||||
'ecmstockdocouts' => array(
|
||||
'order' => 80,
|
||||
'module' => 'EcmStockDocOuts',
|
||||
'subpanel_name' => 'default',
|
||||
'get_subpanel_data' => 'ecmstockdocouts',
|
||||
'add_subpanel_data' => 'ecmstockdocout_id',
|
||||
'title_key' => 'Magazyn WZ',
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
),
|
||||
),
|
||||
|
||||
'ecminvoiceouts' => array(
|
||||
'order' => 5,
|
||||
'module' => 'EcmInvoiceOuts',
|
||||
'subpanel_name' => 'default',
|
||||
'get_subpanel_data' => 'ecminvoiceouts',
|
||||
'add_subpanel_data' => 'ecminvoiceout_id',
|
||||
'title_key' => 'LBL_ECMINVOICEOUTS_SUBPANEL_TITLE',
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
),
|
||||
),
|
||||
|
||||
|
||||
),
|
||||
|
||||
);
|
||||
?>
|
||||
76
modules/Leads/metadata2/metadata/subpanels/ForEmails.php
Normal file
76
modules/Leads/metadata2/metadata/subpanels/ForEmails.php
Normal file
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
$subpanel_layout = array(
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
array('widget_class' => 'SubPanelTopSelectButton', 'popup_module' => 'Accounts'),
|
||||
),
|
||||
|
||||
'where' => '',
|
||||
|
||||
'list_fields' => array(
|
||||
'name' => array(
|
||||
'vname' => 'LBL_LIST_ACCOUNT_NAME',
|
||||
'widget_class' => 'SubPanelDetailViewLink',
|
||||
'width' => '45%',
|
||||
),
|
||||
'billing_address_city' => array(
|
||||
'vname' => 'LBL_LIST_CITY',
|
||||
'width' => '27%',
|
||||
),
|
||||
'phone_office' => array(
|
||||
'vname' => 'LBL_LIST_PHONE',
|
||||
'width' => '20%',
|
||||
),
|
||||
'edit_button' => array(
|
||||
'vname' => 'LBL_EDIT_BUTTON',
|
||||
'widget_class' => 'SubPanelEditButton',
|
||||
'width' => '4%',
|
||||
),
|
||||
'remove_button' => array(
|
||||
'vname' => 'LBL_REMOVE',
|
||||
'widget_class' => 'SubPanelRemoveButton',
|
||||
'width' => '4%',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,81 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
|
||||
$subpanel_layout = array(
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
array('widget_class' => 'SubPanelTopSelectButton', 'popup_module' => 'Accounts'),
|
||||
),
|
||||
|
||||
'where' => '',
|
||||
|
||||
|
||||
'list_fields' => array(
|
||||
'name' => array(
|
||||
'vname' => 'LBL_LIST_NAME',
|
||||
'widget_class' => 'SubPanelDetailViewLink',
|
||||
'width' => '25%',
|
||||
),
|
||||
'phone_office' => array(
|
||||
'vname' => 'LBL_LIST_PHONE',
|
||||
'width' => '20%',
|
||||
),
|
||||
'email1' => array(
|
||||
'vname' => 'LBL_LIST_EMAIL',
|
||||
'widget_class' => 'SubPanelEmailLink',
|
||||
'width' => '20%',
|
||||
),
|
||||
'assigned_user_name' => array(
|
||||
'vname' => 'LBL_ASSIGNED_TO',
|
||||
'width' => '20%',
|
||||
),
|
||||
'edit_button' => array(
|
||||
'vname' => 'LBL_EDIT_BUTTON',
|
||||
'widget_class' => 'SubPanelEditButton',
|
||||
'width' => '4%',
|
||||
),
|
||||
'remove_button' => array(
|
||||
'vname' => 'LBL_REMOVE',
|
||||
'widget_class' => 'SubPanelRemoveButton',
|
||||
'width' => '4%',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
?>
|
||||
93
modules/Leads/metadata2/metadata/subpanels/default.php
Normal file
93
modules/Leads/metadata2/metadata/subpanels/default.php
Normal file
@@ -0,0 +1,93 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
|
||||
$subpanel_layout = array(
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
array('widget_class' => 'SubPanelTopSelectButton', 'popup_module' => 'Accounts'),
|
||||
),
|
||||
|
||||
'where' => '',
|
||||
|
||||
'list_fields' => array (
|
||||
'name' =>
|
||||
array (
|
||||
'vname' => 'LBL_LIST_ACCOUNT_NAME',
|
||||
'widget_class' => 'SubPanelDetailViewLink',
|
||||
'width' => '45%',
|
||||
'default' => true,
|
||||
),
|
||||
'billing_address_city' =>
|
||||
array (
|
||||
'vname' => 'LBL_LIST_CITY',
|
||||
'width' => '20%',
|
||||
'default' => true,
|
||||
),
|
||||
'billing_address_country' =>
|
||||
array (
|
||||
'type' => 'varchar',
|
||||
'vname' => 'LBL_BILLING_ADDRESS_COUNTRY',
|
||||
'width' => '7%',
|
||||
'default' => true,
|
||||
),
|
||||
'phone_office' =>
|
||||
array (
|
||||
'vname' => 'LBL_LIST_PHONE',
|
||||
'width' => '20%',
|
||||
'default' => true,
|
||||
),
|
||||
'edit_button' =>
|
||||
array (
|
||||
'vname' => 'LBL_EDIT_BUTTON',
|
||||
'widget_class' => 'SubPanelEditButton',
|
||||
'width' => '4%',
|
||||
'default' => true,
|
||||
),
|
||||
|
||||
'remove_button' =>
|
||||
array (
|
||||
'vname' => 'LBL_REMOVE',
|
||||
'widget_class' => 'SubPanelRemoveButton',
|
||||
'width' => '4%',
|
||||
'default' => true,
|
||||
),
|
||||
|
||||
)
|
||||
);
|
||||
?>
|
||||
52
modules/Leads/metadata2/metafiles.php
Normal file
52
modules/Leads/metadata2/metafiles.php
Normal file
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
/*
|
||||
* Created on Jun 1, 2007
|
||||
*
|
||||
* To change the template for this generated file go to
|
||||
* Window - Preferences - PHPeclipse - PHP - Code Templates
|
||||
*/
|
||||
$metafiles['Leads'] = array(
|
||||
'detailviewdefs' => 'modules/Leads/metadata/detailviewdefs.php',
|
||||
'editviewdefs' => 'modules/Leads/metadata/editviewdefs.php',
|
||||
'listviewdefs' => 'modules/Leads/metadata/listviewdefs.php',
|
||||
'searchdefs' => 'modules/Leads/metadata/searchdefs.php',
|
||||
'popupdefs' => 'modules/Leads/metadata/popupdefs.php',
|
||||
'searchfields' => 'modules/Leads/metadata/SearchFields.php',
|
||||
|
||||
);
|
||||
?>
|
||||
139
modules/Leads/metadata2/popupdefs.php
Normal file
139
modules/Leads/metadata2/popupdefs.php
Normal file
@@ -0,0 +1,139 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
global $mod_strings;
|
||||
|
||||
$popupMeta = array(
|
||||
'moduleMain' => 'Lead',
|
||||
'varName' => 'ACCOUNT',
|
||||
'orderBy' => 'name',
|
||||
'whereClauses' => array(
|
||||
'name' => 'leads.name',
|
||||
'billing_address_city' => 'leads.billing_address_city',
|
||||
'phone_office' => 'leads.phone_office'
|
||||
),
|
||||
'searchInputs' => array('name', 'billing_address_city', 'phone_office'),
|
||||
'create' => array(
|
||||
'formBase' => 'LeadFormBase.php',
|
||||
'formBaseClass' => 'LeadFormBase',
|
||||
'getFormBodyParams' => array('','','LeadSave'),
|
||||
'createButton' => 'LNK_NEW_ACCOUNT'
|
||||
),
|
||||
'listviewdefs' => array(
|
||||
'NAME' => array(
|
||||
'width' => '40',
|
||||
'label' => 'LBL_LIST_ACCOUNT_NAME',
|
||||
'link' => true,
|
||||
'default' => true,
|
||||
),
|
||||
'BILLING_ADDRESS_STREET' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_BILLING_ADDRESS_STREET',
|
||||
'default' => false,
|
||||
),
|
||||
'BILLING_ADDRESS_CITY' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_LIST_CITY',
|
||||
'default' => true,
|
||||
),
|
||||
'BILLING_ADDRESS_STATE' => array(
|
||||
'width' => '7',
|
||||
'label' => 'LBL_STATE',
|
||||
'default' => true,
|
||||
),
|
||||
'BILLING_ADDRESS_COUNTRY' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_COUNTRY',
|
||||
'default' => true,
|
||||
),
|
||||
'BILLING_ADDRESS_POSTALCODE' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_BILLING_ADDRESS_POSTALCODE',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_STREET' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_STREET',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_CITY' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_LIST_CITY',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_STATE' => array(
|
||||
'width' => '7',
|
||||
'label' => 'LBL_STATE',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_COUNTRY' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_COUNTRY',
|
||||
'default' => false,
|
||||
),
|
||||
'SHIPPING_ADDRESS_POSTALCODE' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_SHIPPING_ADDRESS_POSTALCODE',
|
||||
'default' => false,
|
||||
),
|
||||
'ASSIGNED_USER_NAME' => array(
|
||||
'width' => '2',
|
||||
'label' => 'LBL_LIST_ASSIGNED_USER',
|
||||
'default' => true,
|
||||
),
|
||||
'PHONE_OFFICE' => array(
|
||||
'width' => '10',
|
||||
'label' => 'LBL_LIST_PHONE',
|
||||
'default' => false
|
||||
),
|
||||
),
|
||||
'searchdefs' => array(
|
||||
'name',
|
||||
'billing_address_city',
|
||||
'billing_address_state',
|
||||
'billing_address_country',
|
||||
'email',
|
||||
array(
|
||||
'name' => 'assigned_user_id',
|
||||
'label'=>'LBL_ASSIGNED_TO',
|
||||
'type' => 'enum',
|
||||
'function' => array('name' => 'get_user_array', 'params' => array(false))
|
||||
),
|
||||
)
|
||||
);
|
||||
?>
|
||||
126
modules/Leads/metadata2/quickcreatedefs.php
Normal file
126
modules/Leads/metadata2/quickcreatedefs.php
Normal file
@@ -0,0 +1,126 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
/*********************************************************************************
|
||||
|
||||
* Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.
|
||||
* All Rights Reserved.
|
||||
* Contributor(s): ______________________________________..
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
$viewdefs ['Leads'] =
|
||||
array (
|
||||
'QuickCreate' =>
|
||||
array (
|
||||
'templateMeta' =>
|
||||
array (
|
||||
'form' =>
|
||||
array (
|
||||
'buttons' =>
|
||||
array (
|
||||
'SAVE',
|
||||
'CANCEL',
|
||||
),
|
||||
),
|
||||
'maxColumns' => '2',
|
||||
'widths' =>
|
||||
array (
|
||||
array (
|
||||
'label' => '10',
|
||||
'field' => '30',
|
||||
),
|
||||
array (
|
||||
'label' => '10',
|
||||
'field' => '30',
|
||||
),
|
||||
),
|
||||
'includes' =>
|
||||
array (
|
||||
array (
|
||||
'file' => 'modules/Leads/Lead.js',
|
||||
),
|
||||
),
|
||||
),
|
||||
'panels' =>
|
||||
array (
|
||||
'default' =>
|
||||
array (
|
||||
array (
|
||||
array (
|
||||
'name' => 'name',
|
||||
'displayParams' =>
|
||||
array (
|
||||
'required' => true,
|
||||
),
|
||||
),
|
||||
),
|
||||
array (
|
||||
array (
|
||||
'name' => 'website',
|
||||
),
|
||||
array (
|
||||
'name' => 'phone_office',
|
||||
),
|
||||
),
|
||||
array (
|
||||
array (
|
||||
'name' => 'email1',
|
||||
),
|
||||
array (
|
||||
'name' => 'phone_fax',
|
||||
),
|
||||
),
|
||||
array (
|
||||
array (
|
||||
'name' => 'industry',
|
||||
),
|
||||
array (
|
||||
'name' => 'lead_type',
|
||||
),
|
||||
),
|
||||
array (
|
||||
array (
|
||||
'name' => 'assigned_user_name',
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
?>
|
||||
177
modules/Leads/metadata2/searchdefs.php
Normal file
177
modules/Leads/metadata2/searchdefs.php
Normal file
@@ -0,0 +1,177 @@
|
||||
<?php
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
/*
|
||||
* Created on May 29, 2007
|
||||
*
|
||||
* To change the template for this generated file go to
|
||||
* Window - Preferences - PHPeclipse - PHP - Code Templates
|
||||
*/
|
||||
$searchdefs['Leads'] = array(
|
||||
'templateMeta' => array(
|
||||
'maxColumns' => '3',
|
||||
'maxColumnsBasic' => '4',
|
||||
'widths' => array('label' => '10', 'field' => '30'),
|
||||
),
|
||||
'layout' =>
|
||||
array (
|
||||
'basic_search' =>
|
||||
array (
|
||||
'name' =>
|
||||
array (
|
||||
'name' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'to_vatid_unformated',
|
||||
'current_user_only' =>
|
||||
array (
|
||||
'name' => 'current_user_only',
|
||||
'label' => 'LBL_CURRENT_USER_FILTER',
|
||||
'type' => 'bool',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'ownership',
|
||||
|
||||
|
||||
),
|
||||
'advanced_search' =>
|
||||
array (
|
||||
'name' =>
|
||||
array (
|
||||
'name' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'website' =>
|
||||
array (
|
||||
'name' => 'website',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'phone' =>
|
||||
array (
|
||||
'name' => 'phone',
|
||||
'label' => 'LBL_ANY_PHONE',
|
||||
'type' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'email' =>
|
||||
array (
|
||||
'name' => 'email',
|
||||
'label' => 'LBL_ANY_EMAIL',
|
||||
'type' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'address_street' =>
|
||||
array (
|
||||
'name' => 'address_street',
|
||||
'label' => 'LBL_ANY_ADDRESS',
|
||||
'type' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'address_city' =>
|
||||
array (
|
||||
'name' => 'address_city',
|
||||
'label' => 'LBL_CITY',
|
||||
'type' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'address_state' =>
|
||||
array (
|
||||
'name' => 'address_state',
|
||||
'label' => 'LBL_STATE',
|
||||
'type' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'address_postalcode' =>
|
||||
array (
|
||||
'name' => 'address_postalcode',
|
||||
'label' => 'LBL_POSTAL_CODE',
|
||||
'type' => 'name',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'billing_address_country' =>
|
||||
array (
|
||||
'name' => 'billing_address_country',
|
||||
'label' => 'LBL_COUNTRY',
|
||||
'type' => 'name',
|
||||
'options' => 'countries_dom',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'lead_type' =>
|
||||
array (
|
||||
'name' => 'lead_type',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'invoice_type',
|
||||
'industry' =>
|
||||
array (
|
||||
'name' => 'industry',
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'assigned_user_id' =>
|
||||
array (
|
||||
'name' => 'assigned_user_id',
|
||||
'type' => 'enum',
|
||||
'label' => 'LBL_ASSIGNED_TO',
|
||||
'function' =>
|
||||
array (
|
||||
'name' => 'get_user_array',
|
||||
'params' =>
|
||||
array (
|
||||
0 => false,
|
||||
),
|
||||
),
|
||||
'default' => true,
|
||||
'width' => '10%',
|
||||
),
|
||||
'to_vatid_unformated',
|
||||
|
||||
),
|
||||
),
|
||||
);
|
||||
?>
|
||||
66
modules/Leads/metadata2/studio.php
Normal file
66
modules/Leads/metadata2/studio.php
Normal file
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
$GLOBALS['studioDefs']['Leads'] = array(
|
||||
'LBL_DETAILVIEW'=>array(
|
||||
'template'=>'xtpl',
|
||||
'template_file'=>'modules/Leads/DetailView.html',
|
||||
'php_file'=>'modules/Leads/DetailView.php',
|
||||
'type'=>'DetailView',
|
||||
),
|
||||
'LBL_EDITVIEW'=>array(
|
||||
'template'=>'xtpl',
|
||||
'template_file'=>'modules/Leads/EditView.html',
|
||||
'php_file'=>'modules/Leads/EditView.php',
|
||||
'type'=>'EditView',
|
||||
),
|
||||
'LBL_LISTVIEW'=>array(
|
||||
'template'=>'listview',
|
||||
'meta_file'=>'modules/Leads/listviewdefs.php',
|
||||
'type'=>'ListView',
|
||||
),
|
||||
'LBL_SEARCHFORM'=>array(
|
||||
'template'=>'xtpl',
|
||||
'template_file'=>'modules/Leads/SearchForm.html',
|
||||
'php_file'=>'modules/Leads/ListView.php',
|
||||
'type'=>'SearchForm',
|
||||
),
|
||||
|
||||
);
|
||||
263
modules/Leads/metadata2/subpaneldefs.php
Normal file
263
modules/Leads/metadata2/subpaneldefs.php
Normal file
@@ -0,0 +1,263 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
|
||||
$layout_defs['Leads'] = array(
|
||||
// list of what Subpanels to show in the DetailView
|
||||
'subpanel_setup' => array(
|
||||
|
||||
'activities' => array(
|
||||
'order' => 10,
|
||||
'sort_order' => 'desc',
|
||||
'sort_by' => 'date_start',
|
||||
'title_key' => 'LBL_ACTIVITIES_SUBPANEL_TITLE',
|
||||
'type' => 'collection',
|
||||
'subpanel_name' => 'activities', //this values is not associated with a physical file.
|
||||
'header_definition_from_subpanel'=> 'meetings',
|
||||
'module'=>'Activities',
|
||||
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateTaskButton'),
|
||||
array('widget_class' => 'SubPanelTopScheduleMeetingButton'),
|
||||
array('widget_class' => 'SubPanelTopScheduleCallButton'),
|
||||
),
|
||||
|
||||
'collection_list' => array(
|
||||
'tasks' => array(
|
||||
'module' => 'Tasks',
|
||||
'subpanel_name' => 'ForActivities',
|
||||
'get_subpanel_data' => 'tasks',
|
||||
),
|
||||
'meetings' => array(
|
||||
'module' => 'Meetings',
|
||||
'subpanel_name' => 'ForActivities',
|
||||
'get_subpanel_data' => 'meetings',
|
||||
),
|
||||
'calls' => array(
|
||||
'module' => 'Calls',
|
||||
'subpanel_name' => 'ForActivities',
|
||||
'get_subpanel_data' => 'calls',
|
||||
),
|
||||
)
|
||||
),
|
||||
|
||||
'history' => array(
|
||||
'order' => 20,
|
||||
'sort_order' => 'desc',
|
||||
'sort_by' => 'date_modified',
|
||||
'title_key' => 'LBL_HISTORY_SUBPANEL_TITLE',
|
||||
'type' => 'collection',
|
||||
'subpanel_name' => 'history', //this values is not associated with a physical file.
|
||||
|
||||
'header_definition_from_subpanel'=> 'meetings',
|
||||
|
||||
'module'=>'History',
|
||||
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateNoteButton'),
|
||||
array('widget_class' => 'SubPanelTopArchiveEmailButton'),
|
||||
array('widget_class' => 'SubPanelTopSummaryButton'),
|
||||
),
|
||||
|
||||
'collection_list' => array(
|
||||
'tasks' => array(
|
||||
'module' => 'Tasks',
|
||||
'subpanel_name' => 'ForHistory',
|
||||
'get_subpanel_data' => 'tasks',
|
||||
),
|
||||
|
||||
'meetings' => array(
|
||||
'module' => 'Meetings',
|
||||
'subpanel_name' => 'ForHistory',
|
||||
'get_subpanel_data' => 'meetings',
|
||||
),
|
||||
'calls' => array(
|
||||
'module' => 'Calls',
|
||||
'subpanel_name' => 'ForHistory',
|
||||
'get_subpanel_data' => 'calls',
|
||||
),
|
||||
|
||||
'notes' => array(
|
||||
'module' => 'Notes',
|
||||
'subpanel_name' => 'ForHistory',
|
||||
'get_subpanel_data' => 'notes',
|
||||
),
|
||||
'emails' => array(
|
||||
'module' => 'Emails',
|
||||
'subpanel_name' => 'ForHistory',
|
||||
'get_subpanel_data' => 'emails',
|
||||
),
|
||||
'linkedemails' => array(
|
||||
'module' => 'Emails',
|
||||
'subpanel_name' => 'ForUnlinkedEmailHistory',
|
||||
'get_subpanel_data' => 'function:get_unlinked_email_query',
|
||||
'generate_select'=>true,
|
||||
'function_parameters' => array('return_as_array'=>'true'),
|
||||
),
|
||||
)
|
||||
),
|
||||
/*
|
||||
'documents' => array(
|
||||
'order' => 90,
|
||||
'module' => 'Documents',
|
||||
'subpanel_name' => 'default',
|
||||
'title_key' => 'aa',
|
||||
'get_subpanel_data' => 'documents',
|
||||
'top_buttons' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopButtonQuickCreate',
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'widget_class' => 'SubPanelTopSelectButton',
|
||||
'mode' => 'MultiSelect',
|
||||
),
|
||||
),
|
||||
),
|
||||
*/
|
||||
'notes' => array(
|
||||
'order' => 110,
|
||||
'module' => 'Notes',
|
||||
'sort_order' => 'asc',
|
||||
'sort_by' => 'date_entered',
|
||||
'subpanel_name' => 'default',
|
||||
'get_subpanel_data' => 'notes',
|
||||
'add_subpanel_data' => 'note_id',
|
||||
'title_key' => 'LBL_NOTES_SUBPANEL_TITLE',
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
),
|
||||
),
|
||||
'contacts' => array(
|
||||
'order' => 40,
|
||||
'module' => 'Contacts',
|
||||
'sort_order' => 'asc',
|
||||
'sort_by' => 'last_name, first_name',
|
||||
'subpanel_name' => 'ForLeads',
|
||||
'get_subpanel_data' => 'contacts',
|
||||
'add_subpanel_data' => 'contact_id',
|
||||
'title_key' => 'LBL_CONTACTS_SUBPANEL_TITLE',
|
||||
'top_buttons' => array(
|
||||
//array('widget_class' => 'SubPanelTopCreateLeadNameButton'),
|
||||
array('widget_class' => 'SubPanelTopSelectButton', 'mode'=>'MultiSelect'),
|
||||
array('widget_class' => 'SubPanelTopCreateButton')
|
||||
),
|
||||
|
||||
),
|
||||
|
||||
'leads' => array(
|
||||
'order' => 50,
|
||||
'sort_order' => 'asc',
|
||||
'sort_by' => 'name',
|
||||
'module' => 'Leads',
|
||||
'subpanel_name' => 'default',
|
||||
'get_subpanel_data' => 'members',
|
||||
'add_subpanel_data' => 'member_id',
|
||||
'title_key' => 'LBL_MEMBER_ORG_SUBPANEL_TITLE',
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopButtonQuickCreate'),
|
||||
array('widget_class' => 'SubPanelTopSelectButton', 'mode'=>'MultiSelect')
|
||||
),
|
||||
),
|
||||
|
||||
'ecmquotes' => array(
|
||||
'order' => 60,
|
||||
'module' => 'EcmQuotes',
|
||||
'subpanel_name' => 'default',
|
||||
'get_subpanel_data' => 'ecmquotes',
|
||||
'add_subpanel_data' => 'ecmquote_id',
|
||||
'title_key' => 'LBL_ECMQUOTES_SUBPANEL_TITLE',
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
),
|
||||
),
|
||||
/*
|
||||
'documents' => array(
|
||||
'order' => 90,
|
||||
'module' => 'Documents',
|
||||
'subpanel_name' => 'default',
|
||||
'get_subpanel_data' => 'documents',
|
||||
'title_key' => 'Dokumenty',
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
),
|
||||
), */
|
||||
/*
|
||||
'ecmsales' => array(
|
||||
'order' => 70,
|
||||
'module' => 'EcmSales',
|
||||
'subpanel_name' => 'default',
|
||||
'get_subpanel_data' => 'ecmsales',
|
||||
//'add_subpanel_data' => 'ecmsale_id',
|
||||
'title_key' => 'LBL_ECMSALES_SUBPANEL_TITLE',
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
),
|
||||
),
|
||||
|
||||
'ecmstockdocouts' => array(
|
||||
'order' => 80,
|
||||
'module' => 'EcmStockDocOuts',
|
||||
'subpanel_name' => 'default',
|
||||
'get_subpanel_data' => 'ecmstockdocouts',
|
||||
'add_subpanel_data' => 'ecmstockdocout_id',
|
||||
'title_key' => 'Magazyn WZ',
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
),
|
||||
),
|
||||
|
||||
'ecminvoiceouts' => array(
|
||||
'order' => 5,
|
||||
'module' => 'EcmInvoiceOuts',
|
||||
'subpanel_name' => 'default',
|
||||
'get_subpanel_data' => 'ecminvoiceouts',
|
||||
'add_subpanel_data' => 'ecminvoiceout_id',
|
||||
'title_key' => 'LBL_ECMINVOICEOUTS_SUBPANEL_TITLE',
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
),
|
||||
),
|
||||
|
||||
*/
|
||||
),
|
||||
|
||||
);
|
||||
?>
|
||||
76
modules/Leads/metadata2/subpanels/ForEmails.php
Normal file
76
modules/Leads/metadata2/subpanels/ForEmails.php
Normal file
@@ -0,0 +1,76 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
$subpanel_layout = array(
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
array('widget_class' => 'SubPanelTopSelectButton', 'popup_module' => 'Accounts'),
|
||||
),
|
||||
|
||||
'where' => '',
|
||||
|
||||
'list_fields' => array(
|
||||
'name' => array(
|
||||
'vname' => 'LBL_LIST_ACCOUNT_NAME',
|
||||
'widget_class' => 'SubPanelDetailViewLink',
|
||||
'width' => '45%',
|
||||
),
|
||||
'billing_address_city' => array(
|
||||
'vname' => 'LBL_LIST_CITY',
|
||||
'width' => '27%',
|
||||
),
|
||||
'phone_office' => array(
|
||||
'vname' => 'LBL_LIST_PHONE',
|
||||
'width' => '20%',
|
||||
),
|
||||
'edit_button' => array(
|
||||
'vname' => 'LBL_EDIT_BUTTON',
|
||||
'widget_class' => 'SubPanelEditButton',
|
||||
'width' => '4%',
|
||||
),
|
||||
'remove_button' => array(
|
||||
'vname' => 'LBL_REMOVE',
|
||||
'widget_class' => 'SubPanelRemoveButton',
|
||||
'width' => '4%',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
?>
|
||||
81
modules/Leads/metadata2/subpanels/ForProspectLists.php
Normal file
81
modules/Leads/metadata2/subpanels/ForProspectLists.php
Normal file
@@ -0,0 +1,81 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
|
||||
$subpanel_layout = array(
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
array('widget_class' => 'SubPanelTopSelectButton', 'popup_module' => 'Accounts'),
|
||||
),
|
||||
|
||||
'where' => '',
|
||||
|
||||
|
||||
'list_fields' => array(
|
||||
'name' => array(
|
||||
'vname' => 'LBL_LIST_NAME',
|
||||
'widget_class' => 'SubPanelDetailViewLink',
|
||||
'width' => '25%',
|
||||
),
|
||||
'phone_office' => array(
|
||||
'vname' => 'LBL_LIST_PHONE',
|
||||
'width' => '20%',
|
||||
),
|
||||
'email1' => array(
|
||||
'vname' => 'LBL_LIST_EMAIL',
|
||||
'widget_class' => 'SubPanelEmailLink',
|
||||
'width' => '20%',
|
||||
),
|
||||
'assigned_user_name' => array(
|
||||
'vname' => 'LBL_ASSIGNED_TO',
|
||||
'width' => '20%',
|
||||
),
|
||||
'edit_button' => array(
|
||||
'vname' => 'LBL_EDIT_BUTTON',
|
||||
'widget_class' => 'SubPanelEditButton',
|
||||
'width' => '4%',
|
||||
),
|
||||
'remove_button' => array(
|
||||
'vname' => 'LBL_REMOVE',
|
||||
'widget_class' => 'SubPanelRemoveButton',
|
||||
'width' => '4%',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
?>
|
||||
93
modules/Leads/metadata2/subpanels/default.php
Normal file
93
modules/Leads/metadata2/subpanels/default.php
Normal file
@@ -0,0 +1,93 @@
|
||||
<?php
|
||||
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
|
||||
/*********************************************************************************
|
||||
* SugarCRM Community Edition is a customer relationship management program developed by
|
||||
* SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it under
|
||||
* the terms of the GNU Affero General Public License version 3 as published by the
|
||||
* Free Software Foundation with the addition of the following permission added
|
||||
* to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
|
||||
* IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
|
||||
* OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
|
||||
*
|
||||
* This program 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 or write to the Free
|
||||
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*
|
||||
* You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
|
||||
* SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
|
||||
*
|
||||
* The interactive user interfaces in modified source and object code versions
|
||||
* of this program must display Appropriate Legal Notices, as required under
|
||||
* Section 5 of the GNU Affero General Public License version 3.
|
||||
*
|
||||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3,
|
||||
* these Appropriate Legal Notices must retain the display of the "Powered by
|
||||
* SugarCRM" logo. If the display of the logo is not reasonably feasible for
|
||||
* technical reasons, the Appropriate Legal Notices must display the words
|
||||
* "Powered by SugarCRM".
|
||||
********************************************************************************/
|
||||
|
||||
|
||||
|
||||
$subpanel_layout = array(
|
||||
'top_buttons' => array(
|
||||
array('widget_class' => 'SubPanelTopCreateButton'),
|
||||
array('widget_class' => 'SubPanelTopSelectButton', 'popup_module' => 'Accounts'),
|
||||
),
|
||||
|
||||
'where' => '',
|
||||
|
||||
'list_fields' => array (
|
||||
'name' =>
|
||||
array (
|
||||
'vname' => 'LBL_LIST_ACCOUNT_NAME',
|
||||
'widget_class' => 'SubPanelDetailViewLink',
|
||||
'width' => '45%',
|
||||
'default' => true,
|
||||
),
|
||||
'billing_address_city' =>
|
||||
array (
|
||||
'vname' => 'LBL_LIST_CITY',
|
||||
'width' => '20%',
|
||||
'default' => true,
|
||||
),
|
||||
'billing_address_country' =>
|
||||
array (
|
||||
'type' => 'varchar',
|
||||
'vname' => 'LBL_BILLING_ADDRESS_COUNTRY',
|
||||
'width' => '7%',
|
||||
'default' => true,
|
||||
),
|
||||
'phone_office' =>
|
||||
array (
|
||||
'vname' => 'LBL_LIST_PHONE',
|
||||
'width' => '20%',
|
||||
'default' => true,
|
||||
),
|
||||
'edit_button' =>
|
||||
array (
|
||||
'vname' => 'LBL_EDIT_BUTTON',
|
||||
'widget_class' => 'SubPanelEditButton',
|
||||
'width' => '4%',
|
||||
'default' => true,
|
||||
),
|
||||
|
||||
'remove_button' =>
|
||||
array (
|
||||
'vname' => 'LBL_REMOVE',
|
||||
'widget_class' => 'SubPanelRemoveButton',
|
||||
'width' => '4%',
|
||||
'default' => true,
|
||||
),
|
||||
|
||||
)
|
||||
);
|
||||
?>
|
||||
Reference in New Issue
Block a user