]> CyberLeo.Net >> Repos - Github/sugarcrm.git/blob - include/SugarObjects/templates/sale/metadata/listviewdefs.php
Release 6.5.0
[Github/sugarcrm.git] / include / SugarObjects / templates / sale / metadata / listviewdefs.php
1 <?php
2 /*
3  * Created on Mar 7, 2008
4  *
5  * To change the template for this generated file go to
6  * Window - Preferences - PHPeclipse - PHP - Code Templates
7  */
8  if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');
9 /*********************************************************************************
10  * SugarCRM Community Edition is a customer relationship management program developed by
11  * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
12  * 
13  * This program is free software; you can redistribute it and/or modify it under
14  * the terms of the GNU Affero General Public License version 3 as published by the
15  * Free Software Foundation with the addition of the following permission added
16  * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
17  * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
18  * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
19  * 
20  * This program is distributed in the hope that it will be useful, but WITHOUT
21  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
22  * FOR A PARTICULAR PURPOSE.  See the GNU Affero General Public License for more
23  * details.
24  * 
25  * You should have received a copy of the GNU Affero General Public License along with
26  * this program; if not, see http://www.gnu.org/licenses or write to the Free
27  * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
28  * 02110-1301 USA.
29  * 
30  * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
31  * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
32  * 
33  * The interactive user interfaces in modified source and object code versions
34  * of this program must display Appropriate Legal Notices, as required under
35  * Section 5 of the GNU Affero General Public License version 3.
36  * 
37  * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
38  * these Appropriate Legal Notices must retain the display of the "Powered by
39  * SugarCRM" logo. If the display of the logo is not reasonably feasible for
40  * technical reasons, the Appropriate Legal Notices must display the words
41  * "Powered by SugarCRM".
42  ********************************************************************************/
43
44
45 $module_name = '<module_name>';
46 $OBJECT_NAME = '<OBJECT_NAME>';
47 $listViewDefs[$module_name] = array(
48         'NAME' => array(
49                 'width'   => '30',
50                 'label'   => 'LBL_LIST_SALE_NAME',
51                 'link'    => true,
52         'default' => true),
53
54         'SALES_STAGE' => array(
55                 'width'   => '10',
56                 'label'   => 'LBL_LIST_SALE_STAGE',
57         'default' => true),
58         'AMOUNT_USDOLLAR' => array(
59                 'width'   => '10',
60                 'label'   => 'LBL_LIST_AMOUNT',
61         'align'   => 'right',
62         'default' => true,
63         'currency_format' => true,
64         ),
65     $OBJECT_NAME.'_TYPE' => array(
66         'width' => '15',
67         'label' => 'LBL_TYPE'),
68     'LEAD_SOURCE' => array(
69         'width' => '15',
70         'label' => 'LBL_LEAD_SOURCE'),
71     'NEXT_STEP' => array(
72         'width' => '10',
73         'label' => 'LBL_NEXT_STEP'),
74     'PROBABILITY' => array(
75         'width' => '10',
76         'label' => 'LBL_PROBABILITY'),
77         'DATE_CLOSED' => array(
78                 'width' => '10',
79                 'label' => 'LBL_LIST_DATE_CLOSED',
80         'default' => true),
81     'DATE_ENTERED' => array(
82         'width' => '10',
83         'label' => 'LBL_DATE_ENTERED'),
84     'CREATED_BY_NAME' => array(
85         'width' => '10',
86         'label' => 'LBL_CREATED'),
87         'ASSIGNED_USER_NAME' => array(
88                 'width' => '5',
89                 'label' => 'LBL_LIST_ASSIGNED_USER',
90                 'module' => 'Employees',
91         'id' => 'ASSIGNED_USER_ID',
92         'default' => true),
93     'MODIFIED_BY_NAME' => array(
94         'width' => '5',
95         'label' => 'LBL_MODIFIED')
96 );
97
98 ?>