2 /*********************************************************************************
3 * SugarCRM Community Edition is a customer relationship management program developed by
4 * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
6 * This program is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU Affero General Public License version 3 as published by the
8 * Free Software Foundation with the addition of the following permission added
9 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
10 * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
11 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
13 * This program is distributed in the hope that it will be useful, but WITHOUT
14 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15 * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
18 * You should have received a copy of the GNU Affero General Public License along with
19 * this program; if not, see http://www.gnu.org/licenses or write to the Free
20 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
24 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
26 * The interactive user interfaces in modified source and object code versions
27 * of this program must display Appropriate Legal Notices, as required under
28 * Section 5 of the GNU Affero General Public License version 3.
30 * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
31 * these Appropriate Legal Notices must retain the display of the "Powered by
32 * SugarCRM" logo. If the display of the logo is not reasonably feasible for
33 * technical reasons, the Appropriate Legal Notices must display the words
34 * "Powered by SugarCRM".
35 ********************************************************************************/
37 $viewdefs ['Accounts'] =
69 'file' => 'modules/Accounts/Account.js',
75 'lbl_account_information' =>
82 'label' => 'LBL_NAME',
90 'name' => 'phone_office',
91 'label' => 'LBL_PHONE_OFFICE',
98 'name' => 'high_prio_c',
99 'label' => 'High_Priority_Account_c',
109 'label' => 'LBL_WEBSITE',
113 'name' => 'phone_fax',
114 'label' => 'LBL_PHONE_FAX',
121 'name' => 'ticker_symbol',
122 'label' => 'LBL_TICKER_SYMBOL',
126 'name' => 'phone_alternate',
127 'label' => 'LBL_OTHER_PHONE',
134 'name' => 'parent_name',
135 'label' => 'LBL_MEMBER_OF',
142 'name' => 'employees',
143 'label' => 'LBL_EMPLOYEES',
151 'name' => 'ownership',
152 'label' => 'LBL_OWNERSHIP',
157 'label' => 'LBL_RATING',
164 'name' => 'industry',
165 'label' => 'LBL_INDUSTRY',
169 'name' => 'sic_code',
170 'label' => 'LBL_SIC_CODE',
177 'name' => 'account_type',
178 'label' => 'LBL_TYPE',
180 <select name="{$fields.account_type.name}" id="{$fields.account_type.name}" title=\'\' tabindex="0" OnChange=\'checkAccountTypeDependentDropdown({$ref_code_param})\' >
181 {if isset($fields.account_type.value) && $fields.account_type.value != \'\'}
182 {html_options options=$fields.account_type.options selected=$fields.account_type.value}
184 {html_options options=$fields.account_type.options selected=$fields.account_type.default}
187 <script src=\'custom/include/javascript/custom_javascript.js\'></script>
192 'name' => 'annual_revenue',
193 'label' => 'LBL_ANNUAL_REVENUE',
200 'name' => 'reference_code_c',
201 'label' => 'LBL_REFERENCE_CODE_C',
205 'name' => 'ref_code_expiration_c',
206 'label' => 'LBL_REF_CODE_EXPIRATION',
214 'name' => 'code_customized_by_c',
215 'label' => 'LBL_CODE_CUSTOMIZED_BY',
222 'name' => 'resell_discount',
223 'label' => 'LBL_RESELL_DISCOUNT',
227 'name' => 'Support_Service_Level_c',
228 'label' => 'Support Service Level_0',
235 'name' => 'Partner_Type_c',
236 'label' => 'partner_Type__c',
240 'name' => 'deployment_type_c',
241 'label' => 'Deployment_Type__c',
248 'name' => 'team_name',
249 'label' => 'LBL_LIST_TEAM',
256 'name' => 'renewal_contact_c',
257 'label' => 'LBL_RENEWAL_CONTACT_C',
258 'displayParams' => array('initial_filter' => '&account_name_advanced={$fields.name.value}'),
265 'name' => 'assigned_user_name',
266 'label' => 'LBL_ASSIGNED_TO',
270 'name' => 'auto_send_renewal_emails_c',
271 'label' => 'LBL_AUTO_SEND_RENEWAL_EMAILS',
281 'name' => 'customer_reference_c',
282 'label' => 'LBL_CUSTOMER_REFERENCE',
286 'name' => 'type_of_reference_c',
287 'label' => 'LBL_TYPE_OF_REFERENCE',
294 'name' => 'reference_contact_c',
295 'label' => 'LBL_REFERENCE_CONTACT',
299 'name' => 'last_used_as_reference_c',
300 'label' => 'LBL_LAST_USED_AS_REFERENCE',
308 'name' => 'reference_status_c',
309 'label' => 'LBL_REFERENCE_STATUS',
316 'name' => 'reference_notes_c',
317 'label' => 'LBL_REFERENCE_NOTES',
321 'name' => 'last_used_reference_notes_c',
322 'label' => 'LBL_LAST_USED_REFERENCE_NOTES',
332 'name' => 'training_credits_purchased_c',
333 'label' => 'Learning_Credits_Purchased__c',
337 'name' => 'remaining_training_credits_c',
338 'label' => 'Remaining_Learning_Credits__c',
345 'name' => 'training_credits_pur_date_c',
346 'label' => 'Most_Recent_Credits_Purchase_Date_c',
350 'name' => 'training_credits_exp_date_c',
351 'label' => 'Upcoming_Credits_Expiration_Date__c',
361 'name' => 'support_cases_purchased_c',
362 'label' => 'Support_Cases_Purchased__c',
366 'name' => 'remaining_support_cases_c',
367 'label' => 'Remaining_Support_Cases__c',
377 'name' => 'dce_auth_user_c',
378 'label' => 'LBL_DCE_AUTH_USER',
382 'name' => 'dce_app_id_c',
383 'label' => 'LBL_DCE_APP_ID',
390 'name' => 'dce_auth_pass_c',
391 'label' => 'LBL_DCE_AUTH_PASSWORD',
396 'lbl_address_information' =>
402 'name' => 'billing_address_street',
412 'label' => 'LBL_BILLING_ADDRESS_STREET',
416 'name' => 'shipping_address_street',
427 'label' => 'LBL_SHIPPING_ADDRESS_STREET',
431 'lbl_email_addresses' =>
438 'label' => 'LBL_EMAIL',
442 'lbl_description_information' =>
448 'name' => 'description',
454 'label' => 'LBL_DESCRIPTION',