]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - tests/modules/UpgradeWizard/SugarMerge/od_metadata_files/554/modules/Opportunities/metadata/listviewdefs.php
Added unit tests.
[Github/sugarcrm.git] / tests / modules / UpgradeWizard / SugarMerge / od_metadata_files / 554 / modules / Opportunities / metadata / listviewdefs.php
1 <?php
2
3 $listViewDefs['Opportunities'] = array(
4         'NAME' => array(
5                 'width'   => '30',  
6                 'label'   => 'LBL_LIST_OPPORTUNITY_NAME', 
7                 'link'    => true,
8         'default' => true),
9         'ACCOUNT_NAME' => array(
10                 'width'   => '20', 
11                 'label'   => 'LBL_LIST_ACCOUNT_NAME', 
12                 'id'      => 'ACCOUNT_ID',
13         'module'  => 'Accounts',
14                 'link'    => true,
15         'default' => true,
16         'sortable'=> true,
17         'ACLTag' => 'ACCOUNT',
18         'contextMenu' => array('objectType' => 'sugarAccount', 
19                                'metaData' => array('return_module' => 'Contacts', 
20                                                    'return_action' => 'ListView', 
21                                                    'module' => 'Accounts',
22                                                    'return_action' => 'ListView', 
23                                                    'parent_id' => '{$ACCOUNT_ID}', 
24                                                    'parent_name' => '{$ACCOUNT_NAME}', 
25                                                    'account_id' => '{$ACCOUNT_ID}', 
26                                                    'account_name' => '{$ACCOUNT_NAME}',
27                                                    ),
28                               ),
29         'related_fields' => array('account_id')),
30         'SALES_STAGE' => array(
31                 'width'   => '10',  
32                 'label'   => 'LBL_LIST_SALES_STAGE',
33         'default' => true), 
34         'AMOUNT_USDOLLAR' => array(
35                 'width'   => '10', 
36                 'label'   => 'LBL_LIST_AMOUNT',
37         'align'   => 'right',
38         'default' => true,
39         'currency_format' => true,
40         ),  
41     'OPPORTUNITY_TYPE' => array(
42         'width' => '15', 
43         'label' => 'LBL_TYPE'),
44     'LEAD_SOURCE' => array(
45         'width' => '15', 
46         'label' => 'LBL_LEAD_SOURCE'),
47     'NEXT_STEP' => array(
48         'width' => '10', 
49         'label' => 'LBL_NEXT_STEP'),
50     'PROBABILITY' => array(
51         'width' => '10', 
52         'label' => 'LBL_PROBABILITY'),
53         'DATE_CLOSED' => array(
54                 'width' => '10', 
55                 'label' => 'LBL_LIST_DATE_CLOSED',
56         'default' => true),
57     'DATE_ENTERED' => array(
58         'width' => '10', 
59         'label' => 'LBL_DATE_ENTERED'),
60     'CREATED_BY_NAME' => array(
61         'width' => '10', 
62         'label' => 'LBL_CREATED'),
63         'TEAM_NAME' => array(
64                 'width' => '5', 
65                 'label' => 'LBL_LIST_TEAM',
66         'default' => false),
67         'ASSIGNED_USER_NAME' => array(
68                 'width' => '5', 
69                 'label' => 'LBL_LIST_ASSIGNED_USER',
70         'default' => true),
71     'MODIFIED_BY_NAME' => array(
72         'width' => '5', 
73         'label' => 'LBL_MODIFIED')
74 );
75
76 ?>