]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - tests/modules/UpgradeWizard/SugarMerge/od_metadata_files/custom/modules/Accounts/metadata/detailviewdefs.php
Release 6.2.0
[Github/sugarcrm.git] / tests / modules / UpgradeWizard / SugarMerge / od_metadata_files / custom / modules / Accounts / metadata / detailviewdefs.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 $viewdefs['Accounts']['DetailView'] = array (
38   'templateMeta' => 
39   array (
40     'form' => 
41     array (
42       'buttons' => 
43       array (
44         0 => 'EDIT',
45         1 => 'DUPLICATE',
46         2 => 'DELETE',
47         3 => 'FIND_DUPLICATES',
48       ),
49     ),
50     'maxColumns' => '2',
51     'widths' => 
52     array (
53       0 => 
54       array (
55         'label' => '10',
56         'field' => '30',
57       ),
58       1 => 
59       array (
60         'label' => '10',
61         'field' => '30',
62       ),
63     ),
64     'includes' => 
65     array (
66       0 => 
67       array (
68         'file' => 'modules/Accounts/Account.js',
69       ),
70     ),
71   ),
72   'panels' => 
73   array (
74     'default' => 
75     array (
76       0 => 
77       array (
78         0 => 
79         array (
80           'name' => 'name',
81           'label' => 'LBL_NAME',
82         ),
83         1 => 
84         array (
85           'name' => 'phone_office',
86           'label' => 'LBL_PHONE_OFFICE',
87         ),
88       ),
89       1 => 
90       array (
91         0 => 
92         array (
93           'name' => 'account_type',
94           'label' => 'LBL_TYPE',
95         ),
96         1 => 
97         array (
98           'name' => 'phone_alternate',
99           'label' => 'LBL_OTHER_PHONE',
100         ),
101       ),
102       2 => 
103       array (
104         0 => 
105         array (
106           'name' => 'team_name',
107           'label' => 'LBL_TEAM',
108         ),
109         1 => 
110         array (
111           'name' => 'phone_fax',
112           'label' => 'LBL_FAX',
113         ),
114       ),
115       3 => 
116       array (
117         0 => 
118         array (
119           'name' => 'assigned_user_name',
120           'label' => 'LBL_ASSIGNED_TO',
121         ),
122         1 => 
123         array (
124           'name' => 'date_modified',
125           'label' => 'LBL_DATE_MODIFIED',
126           'customCode' => '{$fields.date_modified.value} {$APP.LBL_BY} {$fields.modified_by_name.value}',
127         ),
128       ),
129       4 => 
130       array (
131         0 => NULL,
132         1 => 
133         array (
134           'name' => 'date_entered',
135           'customCode' => '{$fields.date_entered.value} {$APP.LBL_BY} {$fields.created_by_name.value}',
136           'label' => 'LBL_DATE_ENTERED',
137         ),
138       ),
139       5 => 
140       array (
141         0 => 
142         array (
143           'name' => 'billing_address_street',
144           'label' => 'LBL_BILLING_ADDRESS',
145           'type' => 'address',
146           'displayParams' => 
147           array (
148             'key' => 'billing',
149           ),
150         ),
151         1 => 
152         array (
153           'name' => 'shipping_address_street',
154           'label' => 'LBL_SHIPPING_ADDRESS',
155           'type' => 'address',
156           'displayParams' => 
157           array (
158             'key' => 'shipping',
159           ),
160         ),
161       ),
162       6 => 
163       array (
164         0 => 
165         array (
166           'name' => 'description',
167           'label' => 'LBL_DESCRIPTION',
168         ),
169         1 => NULL,
170       ),
171       7 => 
172       array (
173         0 => 
174         array (
175           'name' => 'email1',
176           'label' => 'LBL_EMAIL',
177         ),
178         1 => 
179         array (
180           'name' => 'website',
181           'type' => 'link',
182           'label' => 'LBL_WEBSITE',
183           'displayParams' => 
184           array (
185             'link_target' => '_blank',
186           ),
187         ),
188       ),
189       8 => 
190       array (
191         0 => NULL,
192         1 => NULL,
193       ),
194       11 => 
195       array (
196         0 => 'campaign_name',
197       ),
198     ),
199   ),
200 );
201 ?>