]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - tests/modules/UpgradeWizard/SugarMerge/od_metadata_files/custom/modules/Opportunities/metadata/listviewdefs.php
Added unit tests.
[Github/sugarcrm.git] / tests / modules / UpgradeWizard / SugarMerge / od_metadata_files / custom / modules / Opportunities / metadata / listviewdefs.php
1 <?php
2 $listViewDefs ['Opportunities'] = 
3 array (
4   'NAME' => 
5   array (
6     'width' => '30%',
7     'label' => 'LBL_LIST_OPPORTUNITY_NAME',
8     'link' => true,
9     'default' => true,
10   ),
11   'SALES_STAGE' => 
12   array (
13     'width' => '10%',
14     'label' => 'LBL_LIST_SALES_STAGE',
15     'default' => true,
16   ),
17   'LEAD_SOURCE' => 
18   array (
19     'width' => '15%',
20     'label' => 'LBL_LEAD_SOURCE',
21     'default' => true,
22   ),
23   'REQREVBAND_C' => 
24   array (
25     'width' => '10%',
26     'label' => 'LBL_REQREVBAND',
27     'default' => true,
28   ),
29   'AMOUNT_USDOLLAR' => 
30   array (
31     'width' => '50%',
32     'label' => 'LBL_LIST_AMOUNT + {$MY CUSTOMIZATION}',
33     'align' => 'right',
34     'default' => true,
35     'currency_format' => true,
36   ),
37   'AIRVOLUMEDAY_C' => 
38   array (
39     'width' => '10%',
40     'label' => 'LBL_AIRVOLUMEDAY',
41     'default' => true,
42   ),
43   'TERRITORY_C' => 
44   array (
45     'width' => '10%',
46     'label' => 'LBL_TERRITORY',
47     'default' => true,
48   ),
49   'HOTACCOUNT_C' => 
50   array (
51     'width' => '10%',
52     'label' => 'LBL_HOTACCOUNT',
53     'default' => true,
54   ),
55   'DATE_CLOSED' => 
56   array (
57     'width' => '10%',
58     'label' => 'LBL_LIST_DATE_CLOSED',
59     'default' => true,
60   ),
61   'ROE_DENIED_C' => 
62   array (
63     'width' => '10%',
64     'label' => 'LBL_ROE_DENIED',
65     'default' => true,
66   ),
67   'SSRLEAD_C' => 
68   array (
69     'type' => 'bool',
70     'default' => true,
71     'label' => 'LBL_SSRLEAD',
72     'width' => '10%',
73   ),
74   'ASSIGNED_USER_NAME' => 
75   array (
76     'width' => '5%',
77     'label' => 'LBL_LIST_ASSIGNED_USER',
78     'default' => true,
79   ),
80   'ACCOUNT_NAME' => 
81   array (
82     'width' => '20%',
83     'label' => 'LBL_LIST_ACCOUNT_NAME',
84     'id' => 'ACCOUNT_ID',
85     'module' => 'Accounts',
86     'link' => true,
87     'default' => false,
88     'sortable' => true,
89     'ACLTag' => 'ACCOUNT',
90     'contextMenu' => 
91     array (
92       'objectType' => 'sugarAccount',
93       'metaData' => 
94       array (
95         'return_module' => 'Contacts',
96         'return_action' => 'ListView',
97         'module' => 'Accounts',
98         'parent_id' => '{$ACCOUNT_ID}',
99         'parent_name' => '{$ACCOUNT_NAME}',
100         'account_id' => '{$ACCOUNT_ID}',
101         'account_name' => '{$ACCOUNT_NAME}',
102       ),
103     ),
104     'related_fields' => 
105     array (
106       0 => 'account_id',
107     ),
108   ),
109   'NEXT_STEP' => 
110   array (
111     'width' => '10%',
112     'label' => 'LBL_NEXT_STEP',
113     'default' => false,
114   ),
115   'OPPORTUNITY_TYPE' => 
116   array (
117     'width' => '10%',
118     'label' => 'LBL_TYPE',
119     'default' => false,
120   ),
121   'TEAM_NAME' => 
122   array (
123     'width' => '5%',
124     'label' => 'LBL_LIST_TEAM',
125     'default' => false,
126   ),
127   'PROBABILITY' => 
128   array (
129     'width' => '10%',
130     'label' => 'LBL_PROBABILITY',
131     'default' => false,
132   ),
133   'DATEREQUESTED_C' => 
134   array (
135     'width' => '10%',
136     'label' => 'LBL_DATEREQUESTED',
137     'default' => false,
138   ),
139   'AMOUNT' => 
140   array (
141     'width' => '10%',
142     'label' => 'LBL_AMOUNT',
143     'currency_format' => true,
144     'default' => false,
145   ),
146   'DATE_ENTERED' => 
147   array (
148     'width' => '10%',
149     'label' => 'LBL_DATE_ENTERED',
150     'default' => false,
151   ),
152   'CREATED_BY_NAME' => 
153   array (
154     'width' => '10%',
155     'label' => 'LBL_CREATED',
156     'default' => false,
157   ),
158   'MODIFIED_BY_NAME' => 
159   array (
160     'width' => '5%',
161     'label' => 'LBL_MODIFIED',
162     'default' => false,
163   ),
164 );
165 ?>