]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Leads/metadata/listviewdefs.php
Release 6.5.0
[Github/sugarcrm.git] / modules / Leads / metadata / listviewdefs.php
1 <?php
2 if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
3 /*********************************************************************************
4  * SugarCRM Community Edition is a customer relationship management program developed by
5  * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
6  * 
7  * This program is free software; you can redistribute it and/or modify it under
8  * the terms of the GNU Affero General Public License version 3 as published by the
9  * Free Software Foundation with the addition of the following permission added
10  * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
11  * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
12  * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
13  * 
14  * This program is distributed in the hope that it will be useful, but WITHOUT
15  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
16  * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
17  * details.
18  * 
19  * You should have received a copy of the GNU Affero General Public License along with
20  * this program; if not, see http://www.gnu.org/licenses or write to the Free
21  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22  * 02110-1301 USA.
23  * 
24  * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
25  * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
26  * 
27  * The interactive user interfaces in modified source and object code versions
28  * of this program must display Appropriate Legal Notices, as required under
29  * Section 5 of the GNU Affero General Public License version 3.
30  * 
31  * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
32  * these Appropriate Legal Notices must retain the display of the "Powered by
33  * SugarCRM" logo. If the display of the logo is not reasonably feasible for
34  * technical reasons, the Appropriate Legal Notices must display the words
35  * "Powered by SugarCRM".
36  ********************************************************************************/
37
38
39
40
41 $listViewDefs ['Leads'] = 
42 array (
43   'NAME' => 
44   array (
45     'width' => '10%',
46     'label' => 'LBL_LIST_NAME',
47     'link' => true,
48     'orderBy' => 'name',
49     'default' => true,
50     'related_fields' => 
51     array (
52       0 => 'first_name',
53       1 => 'last_name',
54       2 => 'salutation',
55     ),
56   ),
57   'STATUS' => 
58   array (
59     'width' => '7%',
60     'label' => 'LBL_LIST_STATUS',
61     'default' => true,
62   ),
63   'ACCOUNT_NAME' => 
64   array (
65     'width' => '15%',
66     'label' => 'LBL_LIST_ACCOUNT_NAME',
67     'default' => true,
68     'related_fields' => 
69     array (
70       0 => 'account_id',
71     ),
72   ),
73   'PHONE_WORK' => 
74   array (
75     'width' => '15%',
76     'label' => 'LBL_LIST_PHONE',
77     'default' => true,
78   ),
79   'EMAIL1' => 
80   array (
81     'width' => '16%',
82     'label' => 'LBL_LIST_EMAIL_ADDRESS',
83     'sortable' => false,
84     'customCode' => '{$EMAIL1_LINK}{$EMAIL1}</a>',
85     'default' => true,
86   ),
87   'ASSIGNED_USER_NAME' => 
88   array (
89     'width' => '5%',
90     'label' => 'LBL_LIST_ASSIGNED_USER',
91     'module' => 'Employees',
92     'id' => 'ASSIGNED_USER_ID',
93     'default' => true,
94   ),
95   'TITLE' => 
96   array (
97     'width' => '10%',
98     'label' => 'LBL_TITLE',
99     'default' => false,
100   ),
101   'REFERED_BY' => 
102   array (
103     'width' => '10%',
104     'label' => 'LBL_REFERED_BY',
105     'default' => false,
106   ),
107   'LEAD_SOURCE' => 
108   array (
109     'width' => '10%',
110     'label' => 'LBL_LEAD_SOURCE',
111     'default' => false,
112   ),
113   'DEPARTMENT' => 
114   array (
115     'width' => '10%',
116     'label' => 'LBL_DEPARTMENT',
117     'default' => false,
118   ),
119   'DO_NOT_CALL' => 
120   array (
121     'width' => '10%',
122     'label' => 'LBL_DO_NOT_CALL',
123     'default' => false,
124   ),
125   'PHONE_HOME' => 
126   array (
127     'width' => '10%',
128     'label' => 'LBL_HOME_PHONE',
129     'default' => false,
130   ),
131   'PHONE_MOBILE' => 
132   array (
133     'width' => '10%',
134     'label' => 'LBL_MOBILE_PHONE',
135     'default' => false,
136   ),
137   'PHONE_OTHER' => 
138   array (
139     'width' => '10%',
140     'label' => 'LBL_OTHER_PHONE',
141     'default' => false,
142   ),
143   'PHONE_FAX' => 
144   array (
145     'width' => '10%',
146     'label' => 'LBL_FAX_PHONE',
147     'default' => false,
148   ),
149   'PRIMARY_ADDRESS_COUNTRY' => 
150   array (
151     'width' => '10%',
152     'label' => 'LBL_PRIMARY_ADDRESS_COUNTRY',
153     'default' => false,
154   ),
155   'PRIMARY_ADDRESS_STREET' => 
156   array (
157     'width' => '10%',
158     'label' => 'LBL_PRIMARY_ADDRESS_STREET',
159     'default' => false,
160   ),
161   'PRIMARY_ADDRESS_CITY' => 
162   array (
163     'width' => '10%',
164     'label' => 'LBL_PRIMARY_ADDRESS_CITY',
165     'default' => false,
166   ),
167   'PRIMARY_ADDRESS_STATE' => 
168   array (
169     'width' => '10%',
170     'label' => 'LBL_PRIMARY_ADDRESS_STATE',
171     'default' => false,
172   ),
173   'PRIMARY_ADDRESS_POSTALCODE' => 
174   array (
175     'width' => '10%',
176     'label' => 'LBL_PRIMARY_ADDRESS_POSTALCODE',
177     'default' => false,
178   ),
179   'ALT_ADDRESS_COUNTRY' => 
180   array (
181     'width' => '10%',
182     'label' => 'LBL_ALT_ADDRESS_COUNTRY',
183     'default' => false,
184   ),
185   'ALT_ADDRESS_STREET' => 
186   array (
187     'width' => '10%',
188     'label' => 'LBL_ALT_ADDRESS_STREET',
189     'default' => false,
190   ),
191   'ALT_ADDRESS_CITY' => 
192   array (
193     'width' => '10%',
194     'label' => 'LBL_ALT_ADDRESS_CITY',
195     'default' => false,
196   ),
197   'ALT_ADDRESS_STATE' => 
198   array (
199     'width' => '10%',
200     'label' => 'LBL_ALT_ADDRESS_STATE',
201     'default' => false,
202   ),
203   'ALT_ADDRESS_POSTALCODE' => 
204   array (
205     'width' => '10%',
206     'label' => 'LBL_ALT_ADDRESS_POSTALCODE',
207     'default' => false,
208   ),
209   'CREATED_BY' => 
210   array (
211     'width' => '10%',
212     'label' => 'LBL_CREATED',
213     'default' => false,
214   ),
215   'MODIFIED_BY_NAME' => 
216   array (
217     'width' => '5%',
218     'label' => 'LBL_MODIFIED',
219     'default' => false,
220   ),
221   'DATE_ENTERED' => 
222   array (
223     'width' => '10%',
224     'label' => 'LBL_DATE_ENTERED',
225     'default' => true,
226   ),  
227 );
228 ?>