]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - tests/modules/UpgradeWizard/SugarMerge/od_metadata_files/custom/modules/Opportunities/metadata/listviewdefs.php
Release 6.2.0
[Github/sugarcrm.git] / tests / modules / UpgradeWizard / SugarMerge / od_metadata_files / custom / modules / Opportunities / metadata / listviewdefs.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 $listViewDefs ['Opportunities'] = 
38 array (
39   'NAME' => 
40   array (
41     'width' => '30%',
42     'label' => 'LBL_LIST_OPPORTUNITY_NAME',
43     'link' => true,
44     'default' => true,
45   ),
46   'SALES_STAGE' => 
47   array (
48     'width' => '10%',
49     'label' => 'LBL_LIST_SALES_STAGE',
50     'default' => true,
51   ),
52   'LEAD_SOURCE' => 
53   array (
54     'width' => '15%',
55     'label' => 'LBL_LEAD_SOURCE',
56     'default' => true,
57   ),
58   'REQREVBAND_C' => 
59   array (
60     'width' => '10%',
61     'label' => 'LBL_REQREVBAND',
62     'default' => true,
63   ),
64   'AMOUNT_USDOLLAR' => 
65   array (
66     'width' => '50%',
67     'label' => 'LBL_LIST_AMOUNT + {$MY CUSTOMIZATION}',
68     'align' => 'right',
69     'default' => true,
70     'currency_format' => true,
71   ),
72   'AIRVOLUMEDAY_C' => 
73   array (
74     'width' => '10%',
75     'label' => 'LBL_AIRVOLUMEDAY',
76     'default' => true,
77   ),
78   'TERRITORY_C' => 
79   array (
80     'width' => '10%',
81     'label' => 'LBL_TERRITORY',
82     'default' => true,
83   ),
84   'HOTACCOUNT_C' => 
85   array (
86     'width' => '10%',
87     'label' => 'LBL_HOTACCOUNT',
88     'default' => true,
89   ),
90   'DATE_CLOSED' => 
91   array (
92     'width' => '10%',
93     'label' => 'LBL_LIST_DATE_CLOSED',
94     'default' => true,
95   ),
96   'ROE_DENIED_C' => 
97   array (
98     'width' => '10%',
99     'label' => 'LBL_ROE_DENIED',
100     'default' => true,
101   ),
102   'SSRLEAD_C' => 
103   array (
104     'type' => 'bool',
105     'default' => true,
106     'label' => 'LBL_SSRLEAD',
107     'width' => '10%',
108   ),
109   'ASSIGNED_USER_NAME' => 
110   array (
111     'width' => '5%',
112     'label' => 'LBL_LIST_ASSIGNED_USER',
113     'default' => true,
114   ),
115   'ACCOUNT_NAME' => 
116   array (
117     'width' => '20%',
118     'label' => 'LBL_LIST_ACCOUNT_NAME',
119     'id' => 'ACCOUNT_ID',
120     'module' => 'Accounts',
121     'link' => true,
122     'default' => false,
123     'sortable' => true,
124     'ACLTag' => 'ACCOUNT',
125     'contextMenu' => 
126     array (
127       'objectType' => 'sugarAccount',
128       'metaData' => 
129       array (
130         'return_module' => 'Contacts',
131         'return_action' => 'ListView',
132         'module' => 'Accounts',
133         'parent_id' => '{$ACCOUNT_ID}',
134         'parent_name' => '{$ACCOUNT_NAME}',
135         'account_id' => '{$ACCOUNT_ID}',
136         'account_name' => '{$ACCOUNT_NAME}',
137       ),
138     ),
139     'related_fields' => 
140     array (
141       0 => 'account_id',
142     ),
143   ),
144   'NEXT_STEP' => 
145   array (
146     'width' => '10%',
147     'label' => 'LBL_NEXT_STEP',
148     'default' => false,
149   ),
150   'OPPORTUNITY_TYPE' => 
151   array (
152     'width' => '10%',
153     'label' => 'LBL_TYPE',
154     'default' => false,
155   ),
156   'TEAM_NAME' => 
157   array (
158     'width' => '5%',
159     'label' => 'LBL_LIST_TEAM',
160     'default' => false,
161   ),
162   'PROBABILITY' => 
163   array (
164     'width' => '10%',
165     'label' => 'LBL_PROBABILITY',
166     'default' => false,
167   ),
168   'DATEREQUESTED_C' => 
169   array (
170     'width' => '10%',
171     'label' => 'LBL_DATEREQUESTED',
172     'default' => false,
173   ),
174   'AMOUNT' => 
175   array (
176     'width' => '10%',
177     'label' => 'LBL_AMOUNT',
178     'currency_format' => true,
179     'default' => false,
180   ),
181   'DATE_ENTERED' => 
182   array (
183     'width' => '10%',
184     'label' => 'LBL_DATE_ENTERED',
185     'default' => false,
186   ),
187   'CREATED_BY_NAME' => 
188   array (
189     'width' => '10%',
190     'label' => 'LBL_CREATED',
191     'default' => false,
192   ),
193   'MODIFIED_BY_NAME' => 
194   array (
195     'width' => '5%',
196     'label' => 'LBL_MODIFIED',
197     'default' => false,
198   ),
199 );
200 ?>