2 /*********************************************************************************
3 * SugarCRM Community Edition is a customer relationship management program developed by
4 * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
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.
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
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
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.
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.
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 ********************************************************************************/
60 'footerTpl' => 'custom/modules/Cases/tpls/EditViewFooter.tpl',
66 'lbl_case_information' =>
72 'name' => 'case_number',
81 'comment' => 'The priority of the case',
82 'label' => 'LBL_PRIORITY',
86 'name' => 'ticket_due_date_c',
87 'label' => 'LBL_TICKET_DUE_DATE',
95 'comment' => 'The status of the case',
96 'label' => 'LBL_STATUS',
100 'name' => 'account_name',
101 'comment' => 'The name of the account represented by the account_id field',
102 'label' => 'LBL_ACCOUNT_NAME',
110 'comment' => 'The type of issue (ex: issue, feature)',
111 'label' => 'LBL_TYPE',
129 'name' => 'description',
137 'name' => 'resolution',
145 'name' => 'portal_viewable',
146 'customLabel' => '{if ($PORTAL_ENABLED)}{sugar_translate label="LBL_SHOW_IN_PORTAL" module="Cases"}{/if}',
147 'customCode' => ' {if ($PORTAL_ENABLED)}
148 {if $fields.portal_viewable.value == "1"}
149 {assign var="checked" value="CHECKED"}
151 {assign var="checked" value=""}
153 <input type="hidden" name="{$fields.portal_viewable.name}" value="0">
154 <input type="checkbox" name="{$fields.portal_viewable.name}" value="1" tabindex="1" {$checked}>
159 'name' => 'tick_email_on_close_c',
160 'label' => 'LBL_TICK_EMAIL_ON_CLOSE',
164 'LBL_PANEL_ASSIGNMENT' =>
170 'name' => 'assigned_user_name',
171 'label' => 'LBL_ASSIGNED_TO_NAME',
175 'name' => 'team_name',
183 'lbl_editview_panel1' =>
189 'name' => 'contact_c',
190 'studio' => 'visible',
191 'label' => 'LBL_CONTACT_C',
194 'call_back_function' => 'setAccountInfo',
203 'name' => 'account_address_street',