File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
app/code/Magento/Sales/view/adminhtml/templates/order/create/form Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -119,11 +119,8 @@ endif; ?>
119119 type="checkbox"
120120 id="<?= $ block ->escapeHtmlAttr ($ block ->getForm ()->getHtmlIdPrefix ()) ?> save_in_address_book"
121121 value="1"
122- <?php if ($ billingAddressDataProvider && $ billingAddressDataProvider ->getSaveInAddressBook ()): ?>
123- checked="checked"
124- <?php elseif ($ block ->getIsShipping ()
125- && !$ block ->getDontSaveInAddressBook ()
126- && !$ block ->getAddressId ()): ?>
122+ <?php if ($ billingAddressDataProvider && $ billingAddressDataProvider ->getSaveInAddressBook () ||
123+ $ block ->getIsShipping () && !$ block ->getDontSaveInAddressBook () && !$ block ->getAddressId ()): ?>
127124 checked="checked"
128125 <?php endif ; ?>
129126 class="admin__control-checkbox"/>
You can’t perform that action at this time.
0 commit comments