]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - tests/modules/UpgradeWizard/SugarMerge/metadata_files/custom/modules/Accounts/metadata/searchdefs.php
Release 6.2.0
[Github/sugarcrm.git] / tests / modules / UpgradeWizard / SugarMerge / 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         'default' => true,
47         'width' => '10%',
48       ),
49       'created_by_name' => 
50       array (
51         'type' => 'relate',
52         'link' => 'created_by_link',
53         'label' => 'LBL_CREATED',
54         'width' => '10%',
55         'default' => true,
56         'name' => 'created_by_name',
57       ),
58       'current_user_only' => 
59       array (
60         'name' => 'current_user_only',
61         'label' => 'LBL_CURRENT_USER_FILTER',
62         'type' => 'bool',
63         'default' => true,
64         'width' => '10%',
65       ),
66     ),
67     'advanced_search' => 
68     array (
69       'name' => 
70       array (
71         'name' => 'name',
72         'default' => true,
73         'width' => '10%',
74       ),
75       'website' => 
76       array (
77         'name' => 'website',
78         'default' => true,
79         'width' => '10%',
80       ),
81       'phone' => 
82       array (
83         'name' => 'phone',
84         'label' => 'LBL_ANY_PHONE',
85         'type' => 'name',
86         'default' => true,
87         'width' => '10%',
88       ),
89       'email' => 
90       array (
91         'name' => 'email',
92         'label' => 'LBL_ANY_EMAIL',
93         'type' => 'name',
94         'default' => true,
95         'width' => '10%',
96       ),
97       'address_street' => 
98       array (
99         'name' => 'address_street',
100         'label' => 'LBL_ANY_ADDRESS',
101         'type' => 'name',
102         'default' => true,
103         'width' => '10%',
104       ),
105       'address_city' => 
106       array (
107         'name' => 'address_city',
108         'label' => 'LBL_CITY',
109         'type' => 'name',
110         'default' => true,
111         'width' => '10%',
112       ),
113       'address_state' => 
114       array (
115         'name' => 'address_state',
116         'label' => 'LBL_STATE',
117         'type' => 'name',
118         'default' => true,
119         'width' => '10%',
120       ),
121       'address_postalcode' => 
122       array (
123         'name' => 'address_postalcode',
124         'label' => 'LBL_POSTAL_CODE',
125         'type' => 'name',
126         'default' => true,
127         'width' => '10%',
128       ),
129       'billing_address_country' => 
130       array (
131         'name' => 'billing_address_country',
132         'label' => 'LBL_COUNTRY',
133         'type' => 'name',
134         'options' => 'countries_dom',
135         'default' => true,
136         'width' => '10%',
137       ),
138       'account_type' => 
139       array (
140         'name' => 'account_type',
141         'default' => true,
142         'width' => '10%',
143       ),
144       'industry' => 
145       array (
146         'name' => 'industry',
147         'default' => true,
148         'width' => '10%',
149       ),
150       'assigned_user_id' => 
151       array (
152         'name' => 'assigned_user_id',
153         'type' => 'enum',
154         'label' => 'LBL_ASSIGNED_TO',
155         'function' => 
156         array (
157           'name' => 'get_user_array',
158           'params' => 
159           array (
160             0 => false,
161           ),
162         ),
163         'default' => true,
164         'width' => '10%',
165       ),
166     ),
167   ),
168   'templateMeta' => 
169   array (
170     'maxColumns' => '3',
171     'widths' => 
172     array (
173       'label' => '10',
174       'field' => '30',
175     ),
176   ),
177 );
178 ?>