File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
app/code/Magento/Sales/Block/Adminhtml/Order/View Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -303,4 +303,26 @@ public function getFormattedAddress(Address $address)
303
303
{
304
304
return $ this ->addressRenderer ->format ($ address , 'html ' );
305
305
}
306
+
307
+ /**
308
+ * @inheritdoc
309
+ */
310
+ public function getChildHtml ($ alias = '' , $ useCache = true )
311
+ {
312
+ $ layout = $ this ->getLayout ();
313
+
314
+ if ($ alias || !$ layout ) {
315
+ return parent ::getChildHtml ($ alias , $ useCache );
316
+ }
317
+
318
+ $ childNames = $ layout ->getChildNames ($ this ->getNameInLayout ());
319
+ $ outputChildNames = array_diff ($ childNames , ['extra_customer_info ' ]);
320
+
321
+ $ out = '' ;
322
+ foreach ($ outputChildNames as $ childName ) {
323
+ $ out .= $ layout ->renderElement ($ childName , $ useCache );
324
+ }
325
+
326
+ return $ out ;
327
+ }
306
328
}
You can’t perform that action at this time.
0 commit comments