@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | // created: 2016-02-02 15:01:27 |
| 3 | -$dictionary['Contact']['fields']['jjwg_maps_lat_c']['inline_edit']=1; |
|
| 3 | +$dictionary['Contact']['fields']['jjwg_maps_lat_c']['inline_edit'] = 1; |
|
| 4 | 4 | |
| 5 | 5 | ?> |
| 6 | 6 | \ No newline at end of file |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | // created: 2016-02-02 15:01:27 |
| 3 | -$dictionary['Contact']['fields']['jjwg_maps_lng_c']['inline_edit']=1; |
|
| 3 | +$dictionary['Contact']['fields']['jjwg_maps_lng_c']['inline_edit'] = 1; |
|
| 4 | 4 | |
| 5 | 5 | ?> |
| 6 | 6 | \ No newline at end of file |
@@ -1,9 +1,9 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -$popupMeta = array ( |
|
| 2 | +$popupMeta = array( |
|
| 3 | 3 | 'moduleMain' => 'Account', |
| 4 | 4 | 'varName' => 'ACCOUNT', |
| 5 | 5 | 'orderBy' => 'name', |
| 6 | - 'whereClauses' => array ( |
|
| 6 | + 'whereClauses' => array( |
|
| 7 | 7 | 'name' => 'accounts.name', |
| 8 | 8 | 'billing_address_city' => 'accounts.billing_address_city', |
| 9 | 9 | 'account_type' => 'accounts.account_type', |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | 'email' => 'accounts.email', |
| 14 | 14 | 'assigned_user_id' => 'accounts.assigned_user_id', |
| 15 | 15 | ), |
| 16 | - 'searchInputs' => array ( |
|
| 16 | + 'searchInputs' => array( |
|
| 17 | 17 | 0 => 'name', |
| 18 | 18 | 1 => 'billing_address_city', |
| 19 | 19 | 3 => 'account_type', |
@@ -23,76 +23,76 @@ discard block |
||
| 23 | 23 | 7 => 'email', |
| 24 | 24 | 8 => 'assigned_user_id', |
| 25 | 25 | ), |
| 26 | - 'create' => array ( |
|
| 26 | + 'create' => array( |
|
| 27 | 27 | 'formBase' => 'AccountFormBase.php', |
| 28 | 28 | 'formBaseClass' => 'AccountFormBase', |
| 29 | 29 | 'getFormBodyParams' => |
| 30 | - array ( |
|
| 30 | + array( |
|
| 31 | 31 | 0 => '', |
| 32 | 32 | 1 => '', |
| 33 | 33 | 2 => 'AccountSave', |
| 34 | 34 | ), |
| 35 | 35 | 'createButton' => 'LNK_NEW_ACCOUNT', |
| 36 | 36 | ), |
| 37 | - 'searchdefs' => array ( |
|
| 37 | + 'searchdefs' => array( |
|
| 38 | 38 | 'name' => |
| 39 | - array ( |
|
| 39 | + array( |
|
| 40 | 40 | 'name' => 'name', |
| 41 | 41 | 'width' => '10%', |
| 42 | 42 | ), |
| 43 | 43 | 'account_type' => |
| 44 | - array ( |
|
| 44 | + array( |
|
| 45 | 45 | 'type' => 'enum', |
| 46 | 46 | 'label' => 'LBL_TYPE', |
| 47 | 47 | 'width' => '10%', |
| 48 | 48 | 'name' => 'account_type', |
| 49 | 49 | ), |
| 50 | 50 | 'industry' => |
| 51 | - array ( |
|
| 51 | + array( |
|
| 52 | 52 | 'type' => 'enum', |
| 53 | 53 | 'label' => 'LBL_INDUSTRY', |
| 54 | 54 | 'width' => '10%', |
| 55 | 55 | 'name' => 'industry', |
| 56 | 56 | ), |
| 57 | 57 | 'billing_address_city' => |
| 58 | - array ( |
|
| 58 | + array( |
|
| 59 | 59 | 'name' => 'billing_address_city', |
| 60 | 60 | 'width' => '10%', |
| 61 | 61 | ), |
| 62 | 62 | 'billing_address_state' => |
| 63 | - array ( |
|
| 63 | + array( |
|
| 64 | 64 | 'name' => 'billing_address_state', |
| 65 | 65 | 'width' => '10%', |
| 66 | 66 | ), |
| 67 | 67 | 'billing_address_country' => |
| 68 | - array ( |
|
| 68 | + array( |
|
| 69 | 69 | 'name' => 'billing_address_country', |
| 70 | 70 | 'width' => '10%', |
| 71 | 71 | ), |
| 72 | 72 | 'email' => |
| 73 | - array ( |
|
| 73 | + array( |
|
| 74 | 74 | 'name' => 'email', |
| 75 | 75 | 'width' => '10%', |
| 76 | 76 | ), |
| 77 | 77 | 'assigned_user_id' => |
| 78 | - array ( |
|
| 78 | + array( |
|
| 79 | 79 | 'name' => 'assigned_user_id', |
| 80 | 80 | 'label' => 'LBL_ASSIGNED_TO', |
| 81 | 81 | 'type' => 'enum', |
| 82 | 82 | 'function' => |
| 83 | - array ( |
|
| 83 | + array( |
|
| 84 | 84 | 'name' => 'get_user_array', |
| 85 | 85 | 'params' => |
| 86 | - array ( |
|
| 86 | + array( |
|
| 87 | 87 | 0 => false, |
| 88 | 88 | ), |
| 89 | 89 | ), |
| 90 | 90 | 'width' => '10%', |
| 91 | 91 | ), |
| 92 | 92 | ), |
| 93 | - 'listviewdefs' => array ( |
|
| 93 | + 'listviewdefs' => array( |
|
| 94 | 94 | 'NAME' => |
| 95 | - array ( |
|
| 95 | + array( |
|
| 96 | 96 | 'width' => '40%', |
| 97 | 97 | 'label' => 'LBL_LIST_ACCOUNT_NAME', |
| 98 | 98 | 'link' => true, |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | 'name' => 'name', |
| 101 | 101 | ), |
| 102 | 102 | 'ACCOUNT_TYPE' => |
| 103 | - array ( |
|
| 103 | + array( |
|
| 104 | 104 | 'type' => 'enum', |
| 105 | 105 | 'label' => 'LBL_TYPE', |
| 106 | 106 | 'width' => '10%', |
@@ -108,28 +108,28 @@ discard block |
||
| 108 | 108 | 'name' => 'account_type', |
| 109 | 109 | ), |
| 110 | 110 | 'BILLING_ADDRESS_CITY' => |
| 111 | - array ( |
|
| 111 | + array( |
|
| 112 | 112 | 'width' => '10%', |
| 113 | 113 | 'label' => 'LBL_LIST_CITY', |
| 114 | 114 | 'default' => true, |
| 115 | 115 | 'name' => 'billing_address_city', |
| 116 | 116 | ), |
| 117 | 117 | 'BILLING_ADDRESS_STATE' => |
| 118 | - array ( |
|
| 118 | + array( |
|
| 119 | 119 | 'width' => '7%', |
| 120 | 120 | 'label' => 'LBL_STATE', |
| 121 | 121 | 'default' => true, |
| 122 | 122 | 'name' => 'billing_address_state', |
| 123 | 123 | ), |
| 124 | 124 | 'BILLING_ADDRESS_COUNTRY' => |
| 125 | - array ( |
|
| 125 | + array( |
|
| 126 | 126 | 'width' => '10%', |
| 127 | 127 | 'label' => 'LBL_COUNTRY', |
| 128 | 128 | 'default' => true, |
| 129 | 129 | 'name' => 'billing_address_country', |
| 130 | 130 | ), |
| 131 | 131 | 'ASSIGNED_USER_NAME' => |
| 132 | - array ( |
|
| 132 | + array( |
|
| 133 | 133 | 'width' => '2%', |
| 134 | 134 | 'label' => 'LBL_LIST_ASSIGNED_USER', |
| 135 | 135 | 'default' => true, |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); |
|
| 2 | +if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); |
|
| 3 | 3 | /********************************************************************************* |
| 4 | 4 | * SugarCRM Community Edition is a customer relationship management program developed by |
| 5 | 5 | * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); |
|
| 2 | +if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); |
|
| 3 | 3 | /********************************************************************************* |
| 4 | 4 | * SugarCRM Community Edition is a customer relationship management program developed by |
| 5 | 5 | * SugarCRM, Inc. Copyright (C) 2004-2013 SugarCRM Inc. |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | |
| 57 | 57 | parent::__construct($id, $def); |
| 58 | 58 | |
| 59 | - if(empty($def['title'])) $this->title = translate('LBL_HOMEPAGE_TITLE', 'mkt_dyntest'); |
|
| 59 | + if (empty($def['title'])) $this->title = translate('LBL_HOMEPAGE_TITLE', 'mkt_dyntest'); |
|
| 60 | 60 | |
| 61 | 61 | $this->searchFields = $dashletData['mkt_dyntestDashlet']['searchFields']; |
| 62 | 62 | $this->columns = $dashletData['mkt_dyntestDashlet']['columns']; |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | require_once('modules/mkt_dyntest/mkt_dyntest_sugar.php'); |
| 44 | 44 | class mkt_dyntest extends mkt_dyntest_sugar { |
| 45 | 45 | |
| 46 | - function __construct(){ |
|
| 46 | + function __construct() { |
|
| 47 | 47 | parent::__construct(); |
| 48 | 48 | } |
| 49 | 49 | |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * @author SalesAgility <[email protected]> |
| 23 | 23 | */ |
| 24 | 24 | |
| 25 | -$mod_strings = array ( |
|
| 25 | +$mod_strings = array( |
|
| 26 | 26 | 'LBL_ASSIGNED_TO_ID' => 'Assigned User Id', |
| 27 | 27 | 'LBL_ASSIGNED_TO_NAME' => 'Assigned to', |
| 28 | 28 | 'LBL_ID' => 'ID', |
@@ -31,11 +31,11 @@ |
||
| 31 | 31 | ), |
| 32 | 32 | |
| 33 | 33 | |
| 34 | - 'panels' =>array ( |
|
| 34 | + 'panels' =>array( |
|
| 35 | 35 | 'default' => |
| 36 | - array ( |
|
| 36 | + array( |
|
| 37 | 37 | |
| 38 | - array ( |
|
| 38 | + array( |
|
| 39 | 39 | 'name', |
| 40 | 40 | 'assigned_user_name', |
| 41 | 41 | ), |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); |
|
| 2 | +if (!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point'); |
|
| 3 | 3 | /** |
| 4 | 4 | * Advanced OpenReports, SugarCRM Reporting. |
| 5 | 5 | * @package Advanced OpenReports for SugarCRM |
@@ -24,18 +24,18 @@ discard block |
||
| 24 | 24 | */ |
| 25 | 25 | |
| 26 | 26 | $searchFields['AOR_Reports'] = |
| 27 | - array ( |
|
| 28 | - 'name' => array( 'query_type'=>'default'), |
|
| 29 | - 'current_user_only'=> array('query_type'=>'default','db_field'=>array('assigned_user_id'),'my_items'=>true, 'vname' => 'LBL_CURRENT_USER_FILTER', 'type' => 'bool'), |
|
| 27 | + array( |
|
| 28 | + 'name' => array('query_type'=>'default'), |
|
| 29 | + 'current_user_only'=> array('query_type'=>'default', 'db_field'=>array('assigned_user_id'), 'my_items'=>true, 'vname' => 'LBL_CURRENT_USER_FILTER', 'type' => 'bool'), |
|
| 30 | 30 | 'assigned_user_id'=> array('query_type'=>'default'), |
| 31 | 31 | |
| 32 | 32 | //Range Search Support |
| 33 | - 'range_date_entered' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true), |
|
| 34 | - 'start_range_date_entered' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true), |
|
| 35 | - 'end_range_date_entered' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true), |
|
| 36 | - 'range_date_modified' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true), |
|
| 37 | - 'start_range_date_modified' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true), |
|
| 38 | - 'end_range_date_modified' => array ('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true), |
|
| 33 | + 'range_date_entered' => array('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true), |
|
| 34 | + 'start_range_date_entered' => array('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true), |
|
| 35 | + 'end_range_date_entered' => array('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true), |
|
| 36 | + 'range_date_modified' => array('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true), |
|
| 37 | + 'start_range_date_modified' => array('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true), |
|
| 38 | + 'end_range_date_modified' => array('query_type' => 'default', 'enable_range_search' => true, 'is_date_field' => true), |
|
| 39 | 39 | //Range Search Support |
| 40 | 40 | ); |
| 41 | 41 | ?> |