]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - tests/modules/UpgradeWizard/SugarMerge/siupgrade_metadata_files/custom/modules/Opportunities/metadata/searchdefs.php
Added unit tests.
[Github/sugarcrm.git] / tests / modules / UpgradeWizard / SugarMerge / siupgrade_metadata_files / custom / modules / Opportunities / metadata / searchdefs.php
1 <?php
2 $searchdefs ['Opportunities'] = 
3 array (
4   'layout' => 
5   array (
6     'basic_search' => 
7     array (
8       0 => 'name',
9       1 => 'opportunity_type',
10       2 => 'account_name',
11       3 => 
12       array (
13         'name' => 'current_user_only',
14         'label' => 'LBL_CURRENT_USER_FILTER',
15         'type' => 'bool',
16       ),
17     ),
18     'advanced_search' => 
19     array (
20       'name' => 
21       array (
22         'name' => 'name',
23         'label' => 'LBL_OPPORTUNITY_NAME',
24         'default' => true,
25         'width' => '10%',
26       ),
27       'amount' => 
28       array (
29         'name' => 'amount',
30         'label' => 'LBL_AMOUNT',
31         'default' => true,
32         'currency_format' => true,
33         'width' => '10%',
34       ),
35       'account_name' => 
36       array (
37         'name' => 'account_name',
38         'label' => 'LBL_ACCOUNT_NAME',
39         'default' => true,
40         'width' => '10%',
41       ),
42       'date_closed' => 
43       array (
44         'name' => 'date_closed',
45         'label' => 'LBL_DATE_CLOSED',
46         'default' => true,
47         'width' => '10%',
48       ),
49       'opportunity_type' => 
50       array (
51         'width' => '10%',
52         'label' => 'LBL_TYPE',
53         'sortable' => false,
54         'default' => true,
55         'name' => 'opportunity_type',
56       ),
57       'lead_source' => 
58       array (
59         'name' => 'lead_source',
60         'label' => 'LBL_LEAD_SOURCE',
61         'default' => true,
62         'sortable' => false,
63         'width' => '10%',
64       ),
65       'next_step' => 
66       array (
67         'name' => 'next_step',
68         'label' => 'LBL_NEXT_STEP',
69         'default' => true,
70         'width' => '10%',
71       ),
72       'sales_stage' => 
73       array (
74         'name' => 'sales_stage',
75         'label' => 'LBL_SALES_STAGE',
76         'default' => true,
77         'sortable' => false,
78         'width' => '10%',
79       ),
80       'probability' => 
81       array (
82         'name' => 'probability',
83         'label' => 'LBL_PROBABILITY',
84         'default' => true,
85         'width' => '10%',
86       ),
87       'assigned_user_id' => 
88       array (
89         'name' => 'assigned_user_id',
90         'type' => 'enum',
91         'label' => 'LBL_ASSIGNED_TO',
92         'function' => 
93         array (
94           'name' => 'get_user_array',
95           'params' => 
96           array (
97             0 => false,
98           ),
99         ),
100         'default' => true,
101         'sortable' => false,
102         'width' => '10%',
103       ),
104       'partner_assigned_to_c' => 
105       array (
106         'width' => '10%',
107         'label' => 'Partner_Assigned_To_c',
108         'default' => true,
109         'name' => 'partner_assigned_to_c',
110       ),
111       'order_number' => 
112       array (
113         'width' => '10%',
114         'label' => 'LBL_ORDER_NUMBER',
115         'default' => true,
116         'name' => 'order_number',
117       ),
118     ),
119   ),
120   'templateMeta' => 
121   array (
122     'maxColumns' => '3',
123     'widths' => 
124     array (
125       'label' => '10',
126       'field' => '30',
127     ),
128   ),
129 );
130 ?>