Completed
Push — console-installer ( 3d54e5...e2b50d )
by Adam
69:10 queued 48:24
created
modules/AOS_Products/metadata/SearchFields.php 1 patch
Spacing   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 // created: 2013-05-07 12:48:58
3 3
 global $current_user;
4
-$searchFields['AOS_Products'] = array (
4
+$searchFields['AOS_Products'] = array(
5 5
   'name' => 
6
-  array (
6
+  array(
7 7
     'query_type' => 'default',
8 8
   ),
9 9
   'current_user_only' => 
10
-  array (
10
+  array(
11 11
     'query_type' => 'default',
12 12
     'db_field' => 
13
-    array (
13
+    array(
14 14
       0 => 'created_by',
15 15
     ),
16 16
     'my_items' => true,
@@ -18,67 +18,67 @@  discard block
 block discarded – undo
18 18
     'type' => 'bool',
19 19
   ),
20 20
   'range_price' => 
21
-  array (
21
+  array(
22 22
     'query_type' => 'default',
23 23
     'enable_range_search' => true,
24 24
   ),
25 25
   'start_range_price' => 
26
-  array (
26
+  array(
27 27
     'query_type' => 'default',
28 28
     'enable_range_search' => true,
29 29
   ),
30 30
   'end_range_price' => 
31
-  array (
31
+  array(
32 32
     'query_type' => 'default',
33 33
     'enable_range_search' => true,
34 34
   ),
35 35
   'range_cost' => 
36
-  array (
36
+  array(
37 37
     'query_type' => 'default',
38 38
     'enable_range_search' => true,
39 39
   ),
40 40
   'start_range_cost' => 
41
-  array (
41
+  array(
42 42
     'query_type' => 'default',
43 43
     'enable_range_search' => true,
44 44
   ),
45 45
   'end_range_cost' => 
46
-  array (
46
+  array(
47 47
     'query_type' => 'default',
48 48
     'enable_range_search' => true,
49 49
   ),
50 50
   'range_date_entered' => 
51
-  array (
51
+  array(
52 52
     'query_type' => 'default',
53 53
     'enable_range_search' => true,
54 54
     'is_date_field' => true,
55 55
   ),
56 56
   'start_range_date_entered' => 
57
-  array (
57
+  array(
58 58
     'query_type' => 'default',
59 59
     'enable_range_search' => true,
60 60
     'is_date_field' => true,
61 61
   ),
62 62
   'end_range_date_entered' => 
63
-  array (
63
+  array(
64 64
     'query_type' => 'default',
65 65
     'enable_range_search' => true,
66 66
     'is_date_field' => true,
67 67
   ),
68 68
   'range_date_modified' => 
69
-  array (
69
+  array(
70 70
     'query_type' => 'default',
71 71
     'enable_range_search' => true,
72 72
     'is_date_field' => true,
73 73
   ),
74 74
   'start_range_date_modified' => 
75
-  array (
75
+  array(
76 76
     'query_type' => 'default',
77 77
     'enable_range_search' => true,
78 78
     'is_date_field' => true,
79 79
   ),
80 80
   'end_range_date_modified' => 
81
-  array (
81
+  array(
82 82
     'query_type' => 'default',
83 83
     'enable_range_search' => true,
84 84
     'is_date_field' => true,
@@ -89,6 +89,6 @@  discard block
 block discarded – undo
89 89
         'subquery' => 'SELECT favorites.parent_id FROM favorites
90 90
 			                    WHERE favorites.deleted = 0
91 91
 			                        and favorites.parent_type = "'.$module_name.'"
92
-			                        and favorites.assigned_user_id = "' .$current_user->id . '") OR NOT ({0}',
92
+			                        and favorites.assigned_user_id = "' .$current_user->id.'") OR NOT ({0}',
93 93
         'db_field'=>array('id')),
94 94
 );
95 95
\ No newline at end of file
Please login to merge, or discard this patch.
modules/AOS_Products/metadata/detailviewdefs.php 1 patch
Spacing   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 $module_name = 'AOS_Products';
3 3
 $viewdefs [$module_name] = 
4
-array (
4
+array(
5 5
   'DetailView' => 
6
-  array (
6
+  array(
7 7
     'templateMeta' => 
8
-    array (
8
+    array(
9 9
       'form' => 
10
-      array (
10
+      array(
11 11
         'buttons' => 
12
-        array (
12
+        array(
13 13
           0 => 'EDIT',
14 14
           1 => 'DUPLICATE',
15 15
           2 => 'DELETE',
@@ -17,105 +17,105 @@  discard block
 block discarded – undo
17 17
       ),
18 18
       'maxColumns' => '2',
19 19
       'widths' => 
20
-      array (
20
+      array(
21 21
         0 => 
22
-        array (
22
+        array(
23 23
           'label' => '10',
24 24
           'field' => '30',
25 25
         ),
26 26
         1 => 
27
-        array (
27
+        array(
28 28
           'label' => '10',
29 29
           'field' => '30',
30 30
         ),
31 31
       ),
32 32
       'useTabs' => true,
33 33
       'tabDefs' => 
34
-      array (
34
+      array(
35 35
         'DEFAULT' => 
36
-        array (
36
+        array(
37 37
           'newTab' => true,
38 38
           'panelDefault' => 'expanded',
39 39
         ),
40 40
       ),
41 41
     ),
42 42
     'panels' => 
43
-    array (
43
+    array(
44 44
       'default' => 
45
-      array (
45
+      array(
46 46
         0 => 
47
-        array (
47
+        array(
48 48
           0 => 
49
-          array (
49
+          array(
50 50
             'name' => 'name',
51 51
             'label' => 'LBL_NAME',
52 52
           ),
53 53
           1 => 
54
-          array (
54
+          array(
55 55
             'name' => 'part_number',
56 56
             'label' => 'LBL_PART_NUMBER',
57 57
           ),
58 58
         ),
59 59
         1 => 
60
-        array (
60
+        array(
61 61
           0 => 
62
-          array (
62
+          array(
63 63
             'name' => 'aos_product_category_name',
64 64
             'label' => 'LBL_AOS_PRODUCT_CATEGORYS_NAME',
65 65
           ),
66 66
           1 => 
67
-          array (
67
+          array(
68 68
             'name' => 'type',
69 69
             'label' => 'LBL_TYPE',
70 70
           ),
71 71
         ),
72 72
         2 => 
73
-        array (
73
+        array(
74 74
           0 => 
75
-          array (
75
+          array(
76 76
             'name' => 'currency_id',
77 77
             'studio' => 'visible',
78 78
             'label' => 'LBL_CURRENCY',
79 79
           ),
80 80
         ),
81 81
         3 => 
82
-        array (
82
+        array(
83 83
           0 => 
84
-          array (
84
+          array(
85 85
             'name' => 'cost',
86 86
             'label' => 'LBL_COST',
87 87
           ),
88 88
           1 => 
89
-          array (
89
+          array(
90 90
             'name' => 'price',
91 91
             'label' => 'LBL_PRICE',
92 92
           ),
93 93
         ),
94 94
         4 => 
95
-        array (
95
+        array(
96 96
           0 => 
97
-          array (
97
+          array(
98 98
             'name' => 'contact',
99 99
             'label' => 'LBL_CONTACT',
100 100
           ),
101 101
           1 => 
102
-          array (
102
+          array(
103 103
             'name' => 'url',
104 104
             'label' => 'LBL_URL',
105 105
           ),
106 106
         ),
107 107
         5 => 
108
-        array (
108
+        array(
109 109
           0 => 
110
-          array (
110
+          array(
111 111
             'name' => 'description',
112 112
             'label' => 'LBL_DESCRIPTION',
113 113
           ),
114 114
         ),
115 115
         6 => 
116
-        array (
116
+        array(
117 117
           0 => 
118
-          array (
118
+          array(
119 119
             'name' => 'product_image',
120 120
             'label' => 'LBL_PRODUCT_IMAGE',
121 121
             'customCode' => '<img src="{$fields.product_image.value}"/>',
Please login to merge, or discard this patch.
modules/AOS_Products/metadata/quickcreatedefs.php 1 patch
Spacing   +28 added lines, -28 removed lines patch added patch discarded remove patch
@@ -1,110 +1,110 @@
 block discarded – undo
1 1
 <?php
2 2
 $module_name = 'AOS_Products';
3 3
 $viewdefs [$module_name] = 
4
-array (
4
+array(
5 5
   'QuickCreate' => 
6
-  array (
6
+  array(
7 7
     'templateMeta' => 
8
-    array (
8
+    array(
9 9
       'maxColumns' => '2',
10 10
       'widths' => 
11
-      array (
11
+      array(
12 12
         0 => 
13
-        array (
13
+        array(
14 14
           'label' => '10',
15 15
           'field' => '30',
16 16
         ),
17 17
         1 => 
18
-        array (
18
+        array(
19 19
           'label' => '10',
20 20
           'field' => '30',
21 21
         ),
22 22
       ),
23 23
       'form' => 
24
-      array (
24
+      array(
25 25
         'enctype' => 'multipart/form-data',
26 26
         'headerTpl' => 'modules/AOS_Products/tpls/EditViewHeader.tpl',
27 27
       ),
28 28
       'includes' => 
29
-      array (
29
+      array(
30 30
         0 => 
31
-        array (
31
+        array(
32 32
           'file' => 'modules/AOS_Products/js/products.js',
33 33
         ),
34 34
       ),
35 35
       'useTabs' => false,
36 36
       'tabDefs' => 
37
-      array (
37
+      array(
38 38
         'DEFAULT' => 
39
-        array (
39
+        array(
40 40
           'newTab' => false,
41 41
           'panelDefault' => 'expanded',
42 42
         ),
43 43
       ),
44 44
     ),
45 45
     'panels' => 
46
-    array (
46
+    array(
47 47
       'default' => 
48
-      array (
48
+      array(
49 49
         0 => 
50
-        array (
50
+        array(
51 51
           0 => 
52
-          array (
52
+          array(
53 53
             'name' => 'name',
54 54
             'label' => 'LBL_NAME',
55 55
           ),
56 56
           1 => 
57
-          array (
57
+          array(
58 58
             'name' => 'part_number',
59 59
             'label' => 'LBL_PART_NUMBER',
60 60
           ),
61 61
         ),
62 62
         1 => 
63
-        array (
63
+        array(
64 64
           0 => 
65
-          array (
65
+          array(
66 66
             'name' => 'url',
67 67
             'label' => 'LBL_URL',
68 68
           ),
69 69
           1 => 
70
-          array (
70
+          array(
71 71
             'name' => 'type',
72 72
             'label' => 'LBL_TYPE',
73 73
           ),
74 74
         ),
75 75
         2 => 
76
-        array (
76
+        array(
77 77
           0 => 
78
-          array (
78
+          array(
79 79
             'name' => 'cost',
80 80
             'label' => 'LBL_COST',
81 81
           ),
82 82
           1 => 
83
-          array (
83
+          array(
84 84
             'name' => 'price',
85 85
             'label' => 'LBL_PRICE',
86 86
           ),
87 87
         ),
88 88
         3 => 
89
-        array (
89
+        array(
90 90
           0 => 
91
-          array (
91
+          array(
92 92
             'name' => 'contact',
93 93
             'label' => 'LBL_CONTACT',
94 94
           ),
95 95
         ),
96 96
         4 => 
97
-        array (
97
+        array(
98 98
           0 => 
99
-          array (
99
+          array(
100 100
             'name' => 'description',
101 101
             'label' => 'LBL_DESCRIPTION',
102 102
           ),
103 103
         ),
104 104
         5 => 
105
-        array (
105
+        array(
106 106
           0 => 
107
-          array (
107
+          array(
108 108
             'name' => 'product_image',
109 109
             'customCode' => '{$PRODUCT_IMAGE}',
110 110
           ),
Please login to merge, or discard this patch.
modules/AOS_Products/metadata/metafiles.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -32,11 +32,11 @@
 block discarded – undo
32 32
  */
33 33
 $module_name = 'AOS_Products';
34 34
  $metafiles[$module_name] = array(
35
-	'detailviewdefs'  => 	'modules/' . $module_name . '/metadata/detailviewdefs.php', 	
36
-	'editviewdefs'    => 	'modules/' . $module_name . '/metadata/editviewdefs.php',
37
- 	'listviewdefs'    => 	'modules/' . $module_name . '/metadata/listviewdefs.php',
38
- 	'searchdefs'      =>    'modules/' . $module_name . '/metadata/searchdefs.php',
39
- 	'popupdefs'	      =>    'modules/' . $module_name . '/metadata/popupdefs.php',
40
- 	'searchfields'	  =>    'modules/' . $module_name . '/metadata/SearchFields.php',
35
+	'detailviewdefs'  => 	'modules/'.$module_name.'/metadata/detailviewdefs.php', 	
36
+	'editviewdefs'    => 	'modules/'.$module_name.'/metadata/editviewdefs.php',
37
+ 	'listviewdefs'    => 	'modules/'.$module_name.'/metadata/listviewdefs.php',
38
+ 	'searchdefs'      =>    'modules/'.$module_name.'/metadata/searchdefs.php',
39
+ 	'popupdefs'	      =>    'modules/'.$module_name.'/metadata/popupdefs.php',
40
+ 	'searchfields'	  =>    'modules/'.$module_name.'/metadata/SearchFields.php',
41 41
  );
42 42
 ?>
Please login to merge, or discard this patch.
modules/AOS_Products/metadata/listviewdefs.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,35 +1,35 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 $listViewDefs ['AOS_Products'] = 
3
-array (
3
+array(
4 4
   'NAME' => 
5
-  array (
5
+  array(
6 6
     'width' => '15%',
7 7
     'label' => 'LBL_NAME',
8 8
     'default' => true,
9 9
     'link' => true,
10 10
   ),
11 11
   'PART_NUMBER' => 
12
-  array (
12
+  array(
13 13
     'width' => '10%',
14 14
     'label' => 'LBL_PART_NUMBER',
15 15
     'default' => true,
16 16
   ),
17 17
   'COST' => 
18
-  array (
18
+  array(
19 19
     'width' => '10%',
20 20
     'label' => 'LBL_COST',
21 21
     'currency_format' => true,
22 22
     'default' => true,
23 23
   ),
24 24
   'PRICE' => 
25
-  array (
25
+  array(
26 26
     'width' => '10%',
27 27
     'label' => 'LBL_PRICE',
28 28
     'currency_format' => true,
29 29
     'default' => true,
30 30
   ),
31 31
   'AOS_PRODUCT_CATEGORY_NAME' => 
32
-  array (
32
+  array(
33 33
     'type' => 'relate',
34 34
     'studio' => 'visible',
35 35
     'label' => 'LBL_AOS_PRODUCT_CATEGORYS_NAME',
@@ -38,12 +38,12 @@  discard block
 block discarded – undo
38 38
     'width' => '10%',
39 39
     'default' => true,
40 40
     'related_fields' =>
41
-      array (
41
+      array(
42 42
           'aos_product_category_id',
43 43
       ),
44 44
   ),
45 45
   'CREATED_BY_NAME' => 
46
-  array (
46
+  array(
47 47
     'width' => '10%',
48 48
     'label' => 'LBL_CREATED',
49 49
     'default' => true,
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     'id' => 'CREATED_BY',
53 53
   ),
54 54
   'DATE_ENTERED' => 
55
-  array (
55
+  array(
56 56
     'width' => '5%',
57 57
     'label' => 'LBL_DATE_ENTERED',
58 58
     'default' => true,
Please login to merge, or discard this patch.
modules/AOS_Products/metadata/sidecreateviewdefs.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
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
  * Products, Quotations & Invoices modules.
5 5
  * Extensions to SugarCRM
@@ -40,16 +40,16 @@  discard block
 block discarded – undo
40 40
                                             array('label' => '10', 'field' => '30'),
41 41
                                          ),
42 42
                         ),
43
- 'panels' =>array (
43
+ 'panels' =>array(
44 44
   'DEFAULT' =>
45
-  array (
45
+  array(
46 46
     array(
47
-      array('name'=>'name', 'displayParams'=>array('required'=>true,'size'=>20)),
47
+      array('name'=>'name', 'displayParams'=>array('required'=>true, 'size'=>20)),
48 48
     ),
49
-    array (
50
-      array('name'=>'description','displayParams'=>array('rows'=>3, 'cols'=>20)),
49
+    array(
50
+      array('name'=>'description', 'displayParams'=>array('rows'=>3, 'cols'=>20)),
51 51
     ),
52
-    array (
52
+    array(
53 53
       array('name'=>'assigned_user_name', 'displayParams'=>array('required'=>true, 'size'=>11, 'selectOnly'=>true)),
54 54
     ),
55 55
   ),
Please login to merge, or discard this patch.
modules/TableDictionary.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
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.
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 include('metadata/securitygroups_recordsMetaData.php');
125 125
 include('metadata/securitygroups_usersMetaData.php');
126 126
 
127
-if(file_exists('custom/application/Ext/TableDictionary/tabledictionary.ext.php')){
127
+if (file_exists('custom/application/Ext/TableDictionary/tabledictionary.ext.php')) {
128 128
 	include('custom/application/Ext/TableDictionary/tabledictionary.ext.php');
129 129
 }
130 130
 ?>
Please login to merge, or discard this patch.
modules/AOS_Products_Quotes/vardefs.php 1 patch
Spacing   +36 added lines, -36 removed lines patch added patch discarded remove patch
@@ -25,9 +25,9 @@  discard block
 block discarded – undo
25 25
 $dictionary['AOS_Products_Quotes'] = array(
26 26
 	'table'=>'aos_products_quotes',
27 27
 	'audited'=>true,
28
-	'fields'=>array (
28
+	'fields'=>array(
29 29
   'name' => 
30
-    array (
30
+    array(
31 31
       'name' => 'name',
32 32
       'vname' => 'LBL_NAME',
33 33
       'type' => 'text',
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
       'importable' => 'required',
38 38
     ),
39 39
     'currency_id' =>
40
-     array (
40
+     array(
41 41
       'required' => false,
42 42
       'name' => 'currency_id',
43 43
       'vname' => 'LBL_CURRENCY',
@@ -54,13 +54,13 @@  discard block
 block discarded – undo
54 54
       'size' => '20',
55 55
       'studio' => 'visible',
56 56
       'function' =>
57
-        array (
57
+        array(
58 58
             'name' => 'getCurrencyDropDown',
59 59
             'returns' => 'html',
60 60
         ),
61 61
     ),
62 62
   'part_number' =>
63
-    array (
63
+    array(
64 64
         'required' => false,
65 65
         'name' => 'part_number',
66 66
         'vname' => 'LBL_PART_NUMBER',
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
         'id' => 'AOS_Products_Quotespart_number',
83 83
     ),
84 84
     'item_description' =>
85
-        array (
85
+        array(
86 86
             'name' => 'item_description',
87 87
             'vname' => 'LBL_PRODUCT_DESCRIPTION',
88 88
             'type' => 'text',
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
             'cols' => 80,
92 92
         ),
93 93
   'number' => 
94
-  array (
94
+  array(
95 95
     'required' => false,
96 96
     'name' => 'number',
97 97
     'vname' => 'LBL_LIST_NUM',
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
     'disable_num_format' => '',
109 109
   ),
110 110
   'product_qty' => 
111
-  array (
111
+  array(
112 112
     'required' => false,
113 113
     'name' => 'product_qty',
114 114
     'vname' => 'LBL_PRODUCT_QTY',
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
     'precision' => '4',
128 128
   ),
129 129
   'product_cost_price' => 
130
-  array (
130
+  array(
131 131
     'required' => false,
132 132
     'name' => 'product_cost_price',
133 133
     'vname' => 'LBL_PRODUCT_COST_PRICE',
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     'len' => '26,6',
144 144
   ),
145 145
         'product_cost_price_usdollar' =>
146
-            array (
146
+            array(
147 147
                 'name' => 'product_cost_price_usdollar',
148 148
                 'vname' => 'LBL_PRODUCT_COST_PRICE_USDOLLAR',
149 149
                 'type' => 'currency',
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
                 'len' => '26,6',
161 161
             ),
162 162
   'product_list_price' => 
163
-  array (
163
+  array(
164 164
     'required' => false,
165 165
     'name' => 'product_list_price',
166 166
     'vname' => 'LBL_PRODUCT_LIST_PRICE',
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
     'len' => '26,6',
177 177
   ),
178 178
         'product_list_price_usdollar' =>
179
-            array (
179
+            array(
180 180
                 'name' => 'product_list_price_usdollar',
181 181
                 'vname' => 'LBL_PRODUCT_LIST_PRICE_USDOLLAR',
182 182
                 'type' => 'currency',
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
                 'len' => '26,6',
194 194
             ),
195 195
   'product_discount' => 
196
-  array (
196
+  array(
197 197
     'required' => false,
198 198
     'name' => 'product_discount',
199 199
     'vname' => 'LBL_PRODUCT_DISCOUNT',
@@ -209,7 +209,7 @@  discard block
 block discarded – undo
209 209
     'len' => '26,6',
210 210
   ),
211 211
         'product_discount_usdollar' =>
212
-            array (
212
+            array(
213 213
                 'name' => 'product_discount_usdollar',
214 214
                 'vname' => 'LBL_PRODUCT_DISCOUNT_USDOLLAR',
215 215
                 'type' => 'currency',
@@ -226,7 +226,7 @@  discard block
 block discarded – undo
226 226
                 'len' => '26,6',
227 227
             ),
228 228
   'product_discount_amount' => 
229
-  array (
229
+  array(
230 230
     'required' => false,
231 231
     'name' => 'product_discount_amount',
232 232
     'vname' => 'LBL_PRODUCT_DISCOUNT_AMOUNT',
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
     'len' => '26,6',
243 243
   ),
244 244
         'product_discount_amount_usdollar' =>
245
-            array (
245
+            array(
246 246
                 'name' => 'product_discount_amount_usdollar',
247 247
                 'vname' => 'LBL_PRODUCT_DISCOUNT_AMOUNT_USDOLLAR',
248 248
                 'type' => 'currency',
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
                 'len' => '26,6',
260 260
             ),
261 261
   'discount' => 
262
-  array (
262
+  array(
263 263
     'required' => false,
264 264
     'name' => 'discount',
265 265
     'vname' => 'LBL_DISCOUNT',
@@ -279,7 +279,7 @@  discard block
 block discarded – undo
279 279
   ),
280 280
 
281 281
   'product_unit_price' => 
282
-  array (
282
+  array(
283 283
     'required' => '1',
284 284
     'name' => 'product_unit_price',
285 285
     'vname' => 'LBL_PRODUCT_UNIT_PRICE',
@@ -295,7 +295,7 @@  discard block
 block discarded – undo
295 295
     'len' => '26,6',
296 296
   ),
297 297
         'product_unit_price_usdollar' =>
298
-            array (
298
+            array(
299 299
                 'name' => 'product_unit_price_usdollar',
300 300
                 'vname' => 'LBL_PRODUCT_UNIT_PRICE_USDOLLAR',
301 301
                 'type' => 'currency',
@@ -312,7 +312,7 @@  discard block
 block discarded – undo
312 312
                 'len' => '26,6',
313 313
             ),
314 314
   'vat_amt' => 
315
-  array (
315
+  array(
316 316
     'required' => '1',
317 317
     'name' => 'vat_amt',
318 318
     'vname' => 'LBL_VAT_AMT',
@@ -328,7 +328,7 @@  discard block
 block discarded – undo
328 328
     'len' => '26,6',
329 329
   ),
330 330
         'vat_amt_usdollar' =>
331
-            array (
331
+            array(
332 332
                 'name' => 'vat_amt_usdollar',
333 333
                 'vname' => 'LBL_VAT_AMT_USDOLLAR',
334 334
                 'type' => 'currency',
@@ -345,7 +345,7 @@  discard block
 block discarded – undo
345 345
                 'len' => '26,6',
346 346
             ),
347 347
   'product_total_price' => 
348
-  array (
348
+  array(
349 349
     'required' => '1',
350 350
     'name' => 'product_total_price',
351 351
     'vname' => 'LBL_PRODUCT_TOTAL_PRICE',
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
     'len' => '26,6',
362 362
   ),
363 363
         'product_total_price_usdollar' =>
364
-            array (
364
+            array(
365 365
                 'name' => 'product_total_price_usdollar',
366 366
                 'vname' => 'LBL_PRODUCT_TOTAL_PRICE_USDOLLAR',
367 367
                 'type' => 'currency',
@@ -378,7 +378,7 @@  discard block
 block discarded – undo
378 378
                 'len' => '26,6',
379 379
             ),
380 380
   'vat' => 
381
-  array (
381
+  array(
382 382
     'required' => false,
383 383
     'name' => 'vat',
384 384
     'vname' => 'LBL_VAT',
@@ -397,7 +397,7 @@  discard block
 block discarded – undo
397 397
     'studio' => 'visible',
398 398
   ),
399 399
   'parent_name' => 
400
-  array (
400
+  array(
401 401
     'required' => false,
402 402
     'source' => 'non-db',
403 403
     'name' => 'parent_name',
@@ -419,7 +419,7 @@  discard block
 block discarded – undo
419 419
     'parent_type' => 'record_type_display',
420 420
   ),
421 421
   'parent_type' => 
422
-  array (
422
+  array(
423 423
     'required' => false,
424 424
     'name' => 'parent_type',
425 425
     'vname' => 'LBL_PARENT_TYPE',
@@ -437,7 +437,7 @@  discard block
 block discarded – undo
437 437
     'studio' => 'hidden',
438 438
   ),
439 439
   'parent_id' => 
440
-  array (
440
+  array(
441 441
     'required' => false,
442 442
     'name' => 'parent_id',
443 443
     'vname' => 'LBL_PARENT_ID',
@@ -453,7 +453,7 @@  discard block
 block discarded – undo
453 453
     'len' => 36,
454 454
   ),
455 455
   'product_id' => 
456
-  array (
456
+  array(
457 457
     'required' => false,
458 458
     'name' => 'product_id',
459 459
     'vname' => '',
@@ -482,7 +482,7 @@  discard block
 block discarded – undo
482 482
     'duplicate_merge'=>'disabled',
483 483
   ),
484 484
   'group_id' => 
485
-  array (
485
+  array(
486 486
     'required' => false,
487 487
     'name' => 'group_id',
488 488
     'vname' => '',
@@ -498,7 +498,7 @@  discard block
 block discarded – undo
498 498
     'len' => 36,
499 499
   ),
500 500
    'aos_products' =>
501
-  array (
501
+  array(
502 502
   'name' => 'aos_products',
503 503
     'type' => 'link',
504 504
     'relationship' => 'aos_product_quotes_aos_products',
@@ -507,16 +507,16 @@  discard block
 block discarded – undo
507 507
     'source'=>'non-db',
508 508
  ),
509 509
 ),
510
-'indices' => array (
511
-    array (
510
+'indices' => array(
511
+    array(
512 512
     	'name' => 'idx_aospq_par_del',
513 513
     	'type' => 'index',
514
-    	'fields' => array('parent_id','parent_type','deleted')
514
+    	'fields' => array('parent_id', 'parent_type', 'deleted')
515 515
     )
516 516
 ),
517
-'relationships'=>array (
517
+'relationships'=>array(
518 518
 	'aos_product_quotes_aos_products' =>
519
-	array (
519
+	array(
520 520
 	'lhs_module'=> 'AOS_Products', 
521 521
 	'lhs_table'=> 'aos_products', 
522 522
 	'lhs_key' => 'id',
@@ -529,4 +529,4 @@  discard block
 block discarded – undo
529 529
 	'optimistic_lock'=>true,
530 530
 );
531 531
 require_once('include/SugarObjects/VardefManager.php');
532
-VardefManager::createVardef('AOS_Products_Quotes','AOS_Products_Quotes', array('basic','assignable'));
532
+VardefManager::createVardef('AOS_Products_Quotes', 'AOS_Products_Quotes', array('basic', 'assignable'));
Please login to merge, or discard this patch.
modules/Home/About.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@  discard block
 block discarded – undo
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.
@@ -52,12 +52,12 @@  discard block
 block discarded – undo
52 52
 <br>
53 53
 <b>
54 54
     <?php echo $mod_strings['LBL_VERSION']." ".$suitecrm_version;
55
-    if( is_file( "custom_version.php" ) ){
56
-        include( "custom_version.php" );
57
-        print( "&nbsp;&nbsp;&nbsp;" . $custom_version );
55
+    if (is_file("custom_version.php")) {
56
+        include("custom_version.php");
57
+        print("&nbsp;&nbsp;&nbsp;".$custom_version);
58 58
     }?>
59 59
 </b>
60
-<p>Sugar <?php echo $mod_strings['LBL_VERSION']." ".$sugar_version." (".$mod_strings['LBL_BUILD']." ".$sugar_build.")";?></p>
60
+<p>Sugar <?php echo $mod_strings['LBL_VERSION']." ".$sugar_version." (".$mod_strings['LBL_BUILD']." ".$sugar_build.")"; ?></p>
61 61
 <br>
62 62
 <h1><?php echo $mod_strings['LBL_CONTRIBUTOR_SUITECRM']; ?></h1>
63 63
 <table id="about_table" class="contentBox">
Please login to merge, or discard this patch.