]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - tests/modules/UpgradeWizard/SugarMerge/siupgrade_metadata_files/custom/modules/Accounts/metadata/searchdefs.php
Release 6.2.0
[Github/sugarcrm.git] / tests / modules / UpgradeWizard / SugarMerge / siupgrade_metadata_files / custom / modules / Accounts / metadata / searchdefs.php
1 <?php
2 /*********************************************************************************
3  * SugarCRM Community Edition is a customer relationship management program developed by
4  * SugarCRM, Inc. Copyright (C) 2004-2011 SugarCRM Inc.
5  * 
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.
12  * 
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
16  * details.
17  * 
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
21  * 02110-1301 USA.
22  * 
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.
25  * 
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.
29  * 
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  ********************************************************************************/
36
37 $searchdefs ['Accounts'] = 
38 array (
39   'layout' => 
40   array (
41     'basic_search' => 
42     array (
43       'name' => 
44       array (
45         'name' => 'name',
46         'label' => 'LBL_NAME',
47         'default' => true,
48       ),
49       'billing_address_city' => 
50       array (
51         'name' => 'billing_address_city',
52         'label' => 'LBL_BILLING_ADDRESS_CITY',
53         'default' => true,
54       ),
55       'phone_office' => 
56       array (
57         'name' => 'phone_office',
58         'label' => 'LBL_PHONE_OFFICE',
59         'default' => true,
60       ),
61       'address_street' => 
62       array (
63         'name' => 'address_street',
64         'label' => 'LBL_BILLING_ADDRESS',
65         'type' => 'name',
66         'group' => 'billing_address_street',
67         'default' => true,
68       ),
69       'website' => 
70       array (
71         'width' => '10%',
72         'label' => 'LBL_WEBSITE',
73         'default' => true,
74         'name' => 'website',
75       ),
76       'current_user_only' => 
77       array (
78         'name' => 'current_user_only',
79         'label' => 'LBL_CURRENT_USER_FILTER',
80         'type' => 'bool',
81         'default' => true,
82       ),
83     ),
84     'advanced_search' => 
85     array (
86       'name' => 
87       array (
88         'name' => 'name',
89         'label' => 'LBL_NAME',
90         'default' => true,
91         'width' => '10%',
92       ),
93       'address_street' => 
94       array (
95         'name' => 'address_street',
96         'label' => 'LBL_ANY_ADDRESS',
97         'type' => 'name',
98         'default' => true,
99         'width' => '10%',
100       ),
101       'phone' => 
102       array (
103         'name' => 'phone',
104         'label' => 'LBL_ANY_PHONE',
105         'type' => 'name',
106         'default' => true,
107         'width' => '10%',
108       ),
109       'website' => 
110       array (
111         'name' => 'website',
112         'label' => 'LBL_WEBSITE',
113         'default' => true,
114         'width' => '10%',
115       ),
116       'address_city' => 
117       array (
118         'name' => 'address_city',
119         'label' => 'LBL_CITY',
120         'type' => 'name',
121         'default' => true,
122         'width' => '10%',
123       ),
124       'email' => 
125       array (
126         'name' => 'email',
127         'label' => 'LBL_ANY_EMAIL',
128         'type' => 'name',
129         'default' => true,
130         'width' => '10%',
131       ),
132       'annual_revenue' => 
133       array (
134         'name' => 'annual_revenue',
135         'label' => 'LBL_ANNUAL_REVENUE',
136         'default' => true,
137         'width' => '10%',
138       ),
139       'address_state' => 
140       array (
141         'name' => 'address_state',
142         'label' => 'LBL_STATE',
143         'type' => 'name',
144         'default' => true,
145         'width' => '10%',
146       ),
147       'employees' => 
148       array (
149         'name' => 'employees',
150         'label' => 'LBL_EMPLOYEES',
151         'default' => true,
152         'width' => '10%',
153       ),
154       'address_postalcode' => 
155       array (
156         'name' => 'address_postalcode',
157         'label' => 'LBL_POSTAL_CODE',
158         'type' => 'name',
159         'default' => true,
160         'width' => '10%',
161       ),
162       'billing_address_country' => 
163       array (
164         'name' => 'billing_address_country',
165         'label' => 'LBL_COUNTRY',
166         'type' => 'enum',
167         'options' => 'countries_dom',
168         'default' => true,
169         'width' => '10%',
170       ),
171       'ticker_symbol' => 
172       array (
173         'name' => 'ticker_symbol',
174         'label' => 'LBL_TICKER_SYMBOL',
175         'default' => true,
176         'width' => '10%',
177       ),
178       'sic_code' => 
179       array (
180         'name' => 'sic_code',
181         'label' => 'LBL_SIC_CODE',
182         'default' => true,
183         'width' => '10%',
184       ),
185       'rating' => 
186       array (
187         'name' => 'rating',
188         'label' => 'LBL_RATING',
189         'default' => true,
190         'width' => '10%',
191       ),
192       'ownership' => 
193       array (
194         'name' => 'ownership',
195         'label' => 'LBL_OWNERSHIP',
196         'default' => true,
197         'width' => '10%',
198       ),
199       'assigned_user_id' => 
200       array (
201         'name' => 'assigned_user_id',
202         'type' => 'enum',
203         'label' => 'LBL_ASSIGNED_TO',
204         'function' => 
205         array (
206           'name' => 'get_user_array',
207           'params' => 
208           array (
209             0 => false,
210           ),
211         ),
212         'default' => true,
213         'sortable' => false,
214         'width' => '10%',
215       ),
216       'account_type' => 
217       array (
218         'name' => 'account_type',
219         'label' => 'LBL_TYPE',
220         'default' => true,
221         'sortable' => false,
222         'width' => '10%',
223       ),
224       'industry' => 
225       array (
226         'name' => 'industry',
227         'label' => 'LBL_INDUSTRY',
228         'default' => true,
229         'sortable' => false,
230         'width' => '10%',
231       ),
232     ),
233   ),
234   'templateMeta' => 
235   array (
236     'maxColumns' => '3',
237     'widths' => 
238     array (
239       'label' => '10',
240       'field' => '30',
241     ),
242   ),
243 );
244 ?>