File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed
app/code/Magento/Bundle/Block
Adminhtml/Sales/Order/View/Items Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 19
19
class Renderer extends \Magento \Sales \Block \Adminhtml \Order \View \Items \Renderer \DefaultRenderer
20
20
{
21
21
/**
22
- * Serializer
23
- *
24
22
* @var Json
25
23
*/
26
24
private $ serializer ;
Original file line number Diff line number Diff line change 16
16
class Renderer extends \Magento \Sales \Block \Order \Item \Renderer \DefaultRenderer
17
17
{
18
18
/**
19
- * Serializer
20
- *
21
19
* @var Json
22
20
*/
23
21
private $ serializer ;
@@ -43,7 +41,10 @@ public function __construct(
43
41
}
44
42
45
43
/**
44
+ * Check if shipment type (invoice etc) is separate
45
+ *
46
46
* @param mixed $item
47
+ *
47
48
* @return bool
48
49
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
49
50
*/
@@ -79,7 +80,10 @@ public function isShipmentSeparately($item = null)
79
80
}
80
81
81
82
/**
83
+ * Check if sub product calculations are present
84
+ *
82
85
* @param mixed $item
86
+ *
83
87
* @return bool
84
88
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
85
89
*/
@@ -117,7 +121,10 @@ public function isChildCalculated($item = null)
117
121
}
118
122
119
123
/**
124
+ * Get bundle selection attributes
125
+ *
120
126
* @param mixed $item
127
+ *
121
128
* @return mixed|null
122
129
*/
123
130
public function getSelectionAttributes ($ item )
@@ -134,7 +141,10 @@ public function getSelectionAttributes($item)
134
141
}
135
142
136
143
/**
144
+ * Get html of bundle selection attributes
145
+ *
137
146
* @param mixed $item
147
+ *
138
148
* @return string
139
149
*/
140
150
public function getValueHtml ($ item )
@@ -183,7 +193,10 @@ public function getChildren($item)
183
193
}
184
194
185
195
/**
196
+ * Check if price info can be shown
197
+ *
186
198
* @param mixed $item
199
+ *
187
200
* @return bool
188
201
*/
189
202
public function canShowPriceInfo ($ item )
You can’t perform that action at this time.
0 commit comments