]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - modules/Opportunities/metadata/searchdefs.php
Release 6.5.0
[Github/sugarcrm.git] / 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-2012 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'] = array(
38   'templateMeta' => 
39   array (
40     'maxColumns' => '3',
41     'maxColumnsBasic' => '4', 
42     'widths' => 
43     array (
44       'label' => '10',
45       'field' => '30',
46     ),
47   ),
48   'layout' => 
49   array (
50     'basic_search' => 
51     array (
52       'name' => 
53       array (
54         'name' => 'name',
55         'default' => true,
56         'width' => '10%',
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           array ('name' => 'open_only', 'label' => 'LBL_OPEN_ITEMS', 'type' => 'bool', 'default' => false, 'width' => '10%'),
67     ),
68     'advanced_search' => 
69     array (
70       'name' => 
71       array (
72         'name' => 'name',
73         'default' => true,
74         'width' => '10%',
75       ),
76       'account_name' => 
77       array (
78         'name' => 'account_name',
79         'default' => true,
80         'width' => '10%',
81       ),
82       'amount' => 
83       array (
84         'name' => 'amount',
85         'default' => true,
86         'width' => '10%',
87       ),
88       'assigned_user_id' => 
89       array (
90         'name' => 'assigned_user_id',
91         'type' => 'enum',
92         'label' => 'LBL_ASSIGNED_TO',
93         'function' => 
94         array (
95           'name' => 'get_user_array',
96           'params' => 
97           array (
98             0 => false,
99           ),
100         ),
101         'default' => true,
102         'width' => '10%',
103       ),
104       'sales_stage' => 
105       array (
106         'name' => 'sales_stage',
107         'default' => true,
108         'width' => '10%',
109       ),
110       'lead_source' => 
111       array (
112         'name' => 'lead_source',
113         'default' => true,
114         'width' => '10%',
115       ),
116       'date_closed' => 
117       array (
118         'name' => 'date_closed',
119         'default' => true,
120         'width' => '10%',
121       ),
122       'next_step' => 
123       array (
124         'type' => 'varchar',
125         'label' => 'LBL_NEXT_STEP',
126         'width' => '10%',
127         'default' => true,
128         'name' => 'next_step',
129       ),
130     ),
131   ),
132                                         
133 );
134 ?>