Skip to content

Commit

Permalink
ENGCOM-4636: Admin-Order-Create-Set-Save-address-checkbox-true-as-def…
Browse files Browse the repository at this point in the history
…ault-#106 #21932

 - Merge Pull Request #21932 from krnshah/magento2:Admin-Order-Create-Set-Save-address-checkbox-true-as-default-#106
 - Merged commits:
   1. 67fc1a0
   2. ef181ca
  • Loading branch information
magento-engcom-team committed Apr 1, 2019
2 parents 2bca2aa + ef181ca commit a133c52
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,8 @@ endif; ?>
<?= $block->getForm()->toHtml() ?>

<div class="admin__field admin__field-option order-save-in-address-book">
<input name="<?= $block->getForm()->getHtmlNamePrefix() ?>[save_in_address_book]" type="checkbox"
id="<?= $block->getForm()->getHtmlIdPrefix() ?>save_in_address_book"
value="1"
<?php if (!$block->getDontSaveInAddressBook() && $block->getAddress()->getSaveInAddressBook()): ?> checked="checked"<?php endif; ?>
class="admin__control-checkbox"/>
<input name="<?= $block->getForm()->getHtmlNamePrefix() ?>[save_in_address_book]" type="checkbox" id="<?= $block->getForm()->getHtmlIdPrefix() ?>save_in_address_book" value="1"
<?php if (!$block->getDontSaveInAddressBook()): ?> checked="checked"<?php endif; ?> class="admin__control-checkbox"/>
<label for="<?= $block->getForm()->getHtmlIdPrefix() ?>save_in_address_book"
class="admin__field-label"><?= /* @escapeNotVerified */ __('Save in address book') ?></label>
</div>
Expand Down

0 comments on commit a133c52

Please sign in to comment.