]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - tests/modules/UpgradeWizard/SugarMerge/siupgrade_metadata_files/custom/modules/Opportunities/metadata/searchdefs.php
Release 6.2.0
[Github/sugarcrm.git] / tests / modules / UpgradeWizard / SugarMerge / siupgrade_metadata_files / custom / modules / Opportunities / 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 ['Opportunities'] = 
38 array (
39   'layout' => 
40   array (
41     'basic_search' => 
42     array (
43       0 => 'name',
44       1 => 'opportunity_type',
45       2 => 'account_name',
46       3 => 
47       array (
48         'name' => 'current_user_only',
49         'label' => 'LBL_CURRENT_USER_FILTER',
50         'type' => 'bool',
51       ),
52     ),
53     'advanced_search' => 
54     array (
55       'name' => 
56       array (
57         'name' => 'name',
58         'label' => 'LBL_OPPORTUNITY_NAME',
59         'default' => true,
60         'width' => '10%',
61       ),
62       'amount' => 
63       array (
64         'name' => 'amount',
65         'label' => 'LBL_AMOUNT',
66         'default' => true,
67         'currency_format' => true,
68         'width' => '10%',
69       ),
70       'account_name' => 
71       array (
72         'name' => 'account_name',
73         'label' => 'LBL_ACCOUNT_NAME',
74         'default' => true,
75         'width' => '10%',
76       ),
77       'date_closed' => 
78       array (
79         'name' => 'date_closed',
80         'label' => 'LBL_DATE_CLOSED',
81         'default' => true,
82         'width' => '10%',
83       ),
84       'opportunity_type' => 
85       array (
86         'width' => '10%',
87         'label' => 'LBL_TYPE',
88         'sortable' => false,
89         'default' => true,
90         'name' => 'opportunity_type',
91       ),
92       'lead_source' => 
93       array (
94         'name' => 'lead_source',
95         'label' => 'LBL_LEAD_SOURCE',
96         'default' => true,
97         'sortable' => false,
98         'width' => '10%',
99       ),
100       'next_step' => 
101       array (
102         'name' => 'next_step',
103         'label' => 'LBL_NEXT_STEP',
104         'default' => true,
105         'width' => '10%',
106       ),
107       'sales_stage' => 
108       array (
109         'name' => 'sales_stage',
110         'label' => 'LBL_SALES_STAGE',
111         'default' => true,
112         'sortable' => false,
113         'width' => '10%',
114       ),
115       'probability' => 
116       array (
117         'name' => 'probability',
118         'label' => 'LBL_PROBABILITY',
119         'default' => true,
120         'width' => '10%',
121       ),
122       'assigned_user_id' => 
123       array (
124         'name' => 'assigned_user_id',
125         'type' => 'enum',
126         'label' => 'LBL_ASSIGNED_TO',
127         'function' => 
128         array (
129           'name' => 'get_user_array',
130           'params' => 
131           array (
132             0 => false,
133           ),
134         ),
135         'default' => true,
136         'sortable' => false,
137         'width' => '10%',
138       ),
139       'partner_assigned_to_c' => 
140       array (
141         'width' => '10%',
142         'label' => 'Partner_Assigned_To_c',
143         'default' => true,
144         'name' => 'partner_assigned_to_c',
145       ),
146       'order_number' => 
147       array (
148         'width' => '10%',
149         'label' => 'LBL_ORDER_NUMBER',
150         'default' => true,
151         'name' => 'order_number',
152       ),
153     ),
154   ),
155   'templateMeta' => 
156   array (
157     'maxColumns' => '3',
158     'widths' => 
159     array (
160       'label' => '10',
161       'field' => '30',
162     ),
163   ),
164 );
165 ?>