]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - tests/modules/UpgradeWizard/SugarMerge/od_metadata_files/610/custom/modules/Cases/metadata/editviewdefs.php
Release 6.2.1
[Github/sugarcrm.git] / tests / modules / UpgradeWizard / SugarMerge / od_metadata_files / 610 / custom / modules / Cases / metadata / editviewdefs.php
1 <?php
2 $viewdefs ['Cases'] = 
3 array (
4   'EditView' => 
5   array (
6     'templateMeta' => 
7     array (
8       'maxColumns' => '2',
9       'widths' => 
10       array (
11         0 => 
12         array (
13           'label' => '10',
14           'field' => '30',
15         ),
16         1 => 
17         array (
18           'label' => '10',
19           'field' => '30',
20         ),
21       ),
22       'form' => 
23       array (
24         'footerTpl' => 'custom/modules/Cases/tpls/EditViewFooter.tpl',
25       ),
26       'useTabs' => false,
27     ),
28     'panels' => 
29     array (
30       'lbl_case_information' => 
31       array (
32         0 => 
33         array (
34           0 => 
35           array (
36             'name' => 'case_number',
37             'type' => 'readonly',
38           ),
39         ),
40         1 => 
41         array (
42           0 => 
43           array (
44             'name' => 'priority',
45             'comment' => 'The priority of the case',
46             'label' => 'LBL_PRIORITY',
47           ),
48           1 => 
49           array (
50             'name' => 'ticket_due_date_c',
51             'label' => 'LBL_TICKET_DUE_DATE',
52           ),
53         ),
54         2 => 
55         array (
56           0 => 
57           array (
58             'name' => 'status',
59             'comment' => 'The status of the case',
60             'label' => 'LBL_STATUS',
61           ),
62           1 => 
63           array (
64             'name' => 'account_name',
65             'comment' => 'The name of the account represented by the account_id field',
66             'label' => 'LBL_ACCOUNT_NAME',
67           ),
68         ),
69         3 => 
70         array (
71           0 => 
72           array (
73             'name' => 'type',
74             'comment' => 'The type of issue (ex: issue, feature)',
75             'label' => 'LBL_TYPE',
76           ),
77         ),
78         4 => 
79         array (
80           0 => 
81           array (
82             'name' => 'name',
83             'displayParams' => 
84             array (
85               'size' => 75,
86             ),
87           ),
88         ),
89         5 => 
90         array (
91           0 => 
92           array (
93             'name' => 'description',
94             'nl2br' => true,
95           ),
96         ),
97         6 => 
98         array (
99           0 => 
100           array (
101             'name' => 'resolution',
102             'nl2br' => true,
103           ),
104         ),
105         7 => 
106         array (
107           0 => 
108           array (
109             'name' => 'portal_viewable',
110             'customLabel' => '{if ($PORTAL_ENABLED)}{sugar_translate label="LBL_SHOW_IN_PORTAL" module="Cases"}{/if}',
111             'customCode' => ' {if ($PORTAL_ENABLED)}
112                                                                 {if $fields.portal_viewable.value == "1"}
113                                                                 {assign var="checked" value="CHECKED"}
114                                                                 {else}
115                                                                 {assign var="checked" value=""}
116                                                                         {/if}
117                                                                 <input type="hidden" name="{$fields.portal_viewable.name}" value="0"> 
118                                                                 <input type="checkbox" name="{$fields.portal_viewable.name}" value="1" tabindex="1" {$checked}>
119                                                 {/if}',
120           ),
121           1 => 
122           array (
123             'name' => 'tick_email_on_close_c',
124             'label' => 'LBL_TICK_EMAIL_ON_CLOSE',
125           ),
126         ),
127       ),
128       'LBL_PANEL_ASSIGNMENT' => 
129       array (
130         0 => 
131         array (
132           0 => 
133           array (
134             'name' => 'assigned_user_name',
135             'label' => 'LBL_ASSIGNED_TO_NAME',
136           ),
137           1 => 
138           array (
139             'name' => 'team_name',
140             'displayParams' => 
141             array (
142               'required' => true,
143             ),
144           ),
145         ),
146       ),
147       'lbl_editview_panel1' => 
148       array (
149         0 => 
150         array (
151           0 => 
152           array (
153             'name' => 'contact_c',
154             'studio' => 'visible',
155             'label' => 'LBL_CONTACT_C',
156             'displayParams' => 
157             array (
158               'call_back_function' => 'setAccountInfo',
159             ),
160           ),
161           1 => '',
162         ),
163         1 => 
164         array (
165           0 => 
166           array (
167             'name' => 'account_address_street',
168             'hideLabel' => true,
169             'type' => 'address',
170             'displayParams' => 
171             array (
172               'key' => 'account',
173               'rows' => 2,
174               'cols' => 30,
175               'maxlength' => 150,
176             ),
177           ),
178           1 => '',
179         ),
180       ),
181     ),
182   ),
183 );
184 ?>