]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - tests/modules/UpgradeWizard/SugarMerge/siupgrade_metadata_files/custom/modules/Accounts/metadata/searchdefs.php
Added unit tests.
[Github/sugarcrm.git] / tests / modules / UpgradeWizard / SugarMerge / siupgrade_metadata_files / custom / modules / Accounts / metadata / searchdefs.php
1 <?php
2 $searchdefs ['Accounts'] = 
3 array (
4   'layout' => 
5   array (
6     'basic_search' => 
7     array (
8       'name' => 
9       array (
10         'name' => 'name',
11         'label' => 'LBL_NAME',
12         'default' => true,
13       ),
14       'billing_address_city' => 
15       array (
16         'name' => 'billing_address_city',
17         'label' => 'LBL_BILLING_ADDRESS_CITY',
18         'default' => true,
19       ),
20       'phone_office' => 
21       array (
22         'name' => 'phone_office',
23         'label' => 'LBL_PHONE_OFFICE',
24         'default' => true,
25       ),
26       'address_street' => 
27       array (
28         'name' => 'address_street',
29         'label' => 'LBL_BILLING_ADDRESS',
30         'type' => 'name',
31         'group' => 'billing_address_street',
32         'default' => true,
33       ),
34       'website' => 
35       array (
36         'width' => '10%',
37         'label' => 'LBL_WEBSITE',
38         'default' => true,
39         'name' => 'website',
40       ),
41       'current_user_only' => 
42       array (
43         'name' => 'current_user_only',
44         'label' => 'LBL_CURRENT_USER_FILTER',
45         'type' => 'bool',
46         'default' => true,
47       ),
48     ),
49     'advanced_search' => 
50     array (
51       'name' => 
52       array (
53         'name' => 'name',
54         'label' => 'LBL_NAME',
55         'default' => true,
56         'width' => '10%',
57       ),
58       'address_street' => 
59       array (
60         'name' => 'address_street',
61         'label' => 'LBL_ANY_ADDRESS',
62         'type' => 'name',
63         'default' => true,
64         'width' => '10%',
65       ),
66       'phone' => 
67       array (
68         'name' => 'phone',
69         'label' => 'LBL_ANY_PHONE',
70         'type' => 'name',
71         'default' => true,
72         'width' => '10%',
73       ),
74       'website' => 
75       array (
76         'name' => 'website',
77         'label' => 'LBL_WEBSITE',
78         'default' => true,
79         'width' => '10%',
80       ),
81       'address_city' => 
82       array (
83         'name' => 'address_city',
84         'label' => 'LBL_CITY',
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       'annual_revenue' => 
98       array (
99         'name' => 'annual_revenue',
100         'label' => 'LBL_ANNUAL_REVENUE',
101         'default' => true,
102         'width' => '10%',
103       ),
104       'address_state' => 
105       array (
106         'name' => 'address_state',
107         'label' => 'LBL_STATE',
108         'type' => 'name',
109         'default' => true,
110         'width' => '10%',
111       ),
112       'employees' => 
113       array (
114         'name' => 'employees',
115         'label' => 'LBL_EMPLOYEES',
116         'default' => true,
117         'width' => '10%',
118       ),
119       'address_postalcode' => 
120       array (
121         'name' => 'address_postalcode',
122         'label' => 'LBL_POSTAL_CODE',
123         'type' => 'name',
124         'default' => true,
125         'width' => '10%',
126       ),
127       'billing_address_country' => 
128       array (
129         'name' => 'billing_address_country',
130         'label' => 'LBL_COUNTRY',
131         'type' => 'enum',
132         'options' => 'countries_dom',
133         'default' => true,
134         'width' => '10%',
135       ),
136       'ticker_symbol' => 
137       array (
138         'name' => 'ticker_symbol',
139         'label' => 'LBL_TICKER_SYMBOL',
140         'default' => true,
141         'width' => '10%',
142       ),
143       'sic_code' => 
144       array (
145         'name' => 'sic_code',
146         'label' => 'LBL_SIC_CODE',
147         'default' => true,
148         'width' => '10%',
149       ),
150       'rating' => 
151       array (
152         'name' => 'rating',
153         'label' => 'LBL_RATING',
154         'default' => true,
155         'width' => '10%',
156       ),
157       'ownership' => 
158       array (
159         'name' => 'ownership',
160         'label' => 'LBL_OWNERSHIP',
161         'default' => true,
162         'width' => '10%',
163       ),
164       'assigned_user_id' => 
165       array (
166         'name' => 'assigned_user_id',
167         'type' => 'enum',
168         'label' => 'LBL_ASSIGNED_TO',
169         'function' => 
170         array (
171           'name' => 'get_user_array',
172           'params' => 
173           array (
174             0 => false,
175           ),
176         ),
177         'default' => true,
178         'sortable' => false,
179         'width' => '10%',
180       ),
181       'account_type' => 
182       array (
183         'name' => 'account_type',
184         'label' => 'LBL_TYPE',
185         'default' => true,
186         'sortable' => false,
187         'width' => '10%',
188       ),
189       'industry' => 
190       array (
191         'name' => 'industry',
192         'label' => 'LBL_INDUSTRY',
193         'default' => true,
194         'sortable' => false,
195         'width' => '10%',
196       ),
197     ),
198   ),
199   'templateMeta' => 
200   array (
201     'maxColumns' => '3',
202     'widths' => 
203     array (
204       'label' => '10',
205       'field' => '30',
206     ),
207   ),
208 );
209 ?>