We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76286a0 commit 98bf900Copy full SHA for 98bf900
app/code/Magento/Sales/view/adminhtml/templates/order/create/form/address.phtml
@@ -6,6 +6,16 @@
6
7
// @codingStandardsIgnoreFile
8
9
+/**
10
+ * @var \Magento\Customer\Model\ResourceModel\Address\Collection $addressCollection
11
+ */
12
+$addressCollection = $block->getData('customerAddressCollection');
13
+
14
+$addressArray = [];
15
+if ($block->getCustomerId()) {
16
+ $addressArray = $addressCollection->setCustomerFilter([$block->getCustomerId()])->toArray();
17
+}
18
19
/**
20
* @var \Magento\Sales\ViewModel\Customer\AddressFormatter $customerAddressFormatter
21
*/
0 commit comments