|
22 | 22 | <input type="hidden" name="error_url" value="<?= $block->escapeUrl($block->getErrorUrl()) ?>">
|
23 | 23 | <?= $block->getNameBlockHtml() ?>
|
24 | 24 |
|
25 |
| - <?php if ($_company->isEnabled()) : ?> |
| 25 | + <?php if ($_company->isEnabled()): ?> |
26 | 26 | <?= $_company->setCompany($block->getAddress()->getCompany())->toHtml() ?>
|
27 | 27 | <?php endif ?>
|
28 | 28 |
|
29 |
| - <?php if ($_telephone->isEnabled()) : ?> |
| 29 | + <?php if ($_telephone->isEnabled()): ?> |
30 | 30 | <?= $_telephone->setTelephone($block->getAddress()->getTelephone())->toHtml() ?>
|
31 | 31 | <?php endif ?>
|
32 | 32 |
|
33 |
| - <?php if ($_fax->isEnabled()) : ?> |
| 33 | + <?php if ($_fax->isEnabled()): ?> |
34 | 34 | <?= $_fax->setFax($block->getAddress()->getFax())->toHtml() ?>
|
35 | 35 | <?php endif ?>
|
36 | 36 |
|
|
49 | 49 | class="input-text <?= $block->escapeHtmlAttr($_streetValidationClass) ?>"/>
|
50 | 50 | <div class="nested">
|
51 | 51 | <?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
|
52 |
| - <?php for ($_i = 1, $_n = $this->helper(\Magento\Customer\Helper\Address::class)->getStreetLines(); $_i < $_n; $_i++) : ?> |
| 52 | + <?php for ($_i = 1, $_n = $this->helper(\Magento\Customer\Helper\Address::class)->getStreetLines(); $_i < $_n; $_i++): ?> |
53 | 53 | <div class="field additional">
|
54 | 54 | <label class="label" for="street_<?= /* @noEscape */ $_i + 1 ?>">
|
55 | 55 | <span><?= $block->escapeHtml(__('Street Address %1', $_i + 1)) ?></span>
|
|
67 | 67 | </div>
|
68 | 68 | </div>
|
69 | 69 |
|
70 |
| - <?php if ($this->helper(\Magento\Customer\Helper\Address::class)->isVatAttributeVisible()) : ?> |
| 70 | + <?php if ($this->helper(\Magento\Customer\Helper\Address::class)->isVatAttributeVisible()): ?> |
71 | 71 | <div class="field taxvat">
|
72 | 72 | <label class="label" for="vat_id">
|
73 | 73 | <span><?= /* @noEscape */ $block->getAttributeData()->getFrontendLabel('vat_id') ?></span>
|
|
134 | 134 | </div>
|
135 | 135 | </div>
|
136 | 136 |
|
137 |
| - <?php if ($block->isDefaultBilling()) : ?> |
| 137 | + <?php if ($block->isDefaultBilling()): ?> |
138 | 138 | <div class="message info">
|
139 | 139 | <span><?= $block->escapeHtml(__("It's a default billing address.")) ?></span>
|
140 | 140 | </div>
|
141 |
| - <?php elseif ($block->canSetAsDefaultBilling()) : ?> |
| 141 | + <?php elseif ($block->canSetAsDefaultBilling()): ?> |
142 | 142 | <div class="field choice set billing">
|
143 | 143 | <input type="checkbox" id="primary_billing" name="default_billing" value="1" class="checkbox">
|
144 | 144 | <label class="label" for="primary_billing">
|
145 | 145 | <span><?= $block->escapeHtml(__('Use as my default billing address')) ?></span>
|
146 | 146 | </label>
|
147 | 147 | </div>
|
148 |
| - <?php else : ?> |
| 148 | + <?php else: ?> |
149 | 149 | <input type="hidden" name="default_billing" value="1" />
|
150 | 150 | <?php endif; ?>
|
151 | 151 |
|
152 |
| - <?php if ($block->isDefaultShipping()) : ?> |
| 152 | + <?php if ($block->isDefaultShipping()): ?> |
153 | 153 | <div class="message info">
|
154 | 154 | <span><?= $block->escapeHtml(__("It's a default shipping address.")) ?></span>
|
155 | 155 | </div>
|
156 |
| - <?php elseif ($block->canSetAsDefaultShipping()) : ?> |
| 156 | + <?php elseif ($block->canSetAsDefaultShipping()): ?> |
157 | 157 | <div class="field choice set shipping">
|
158 | 158 | <input type="checkbox" id="primary_shipping" name="default_shipping" value="1" class="checkbox">
|
159 | 159 | <label class="label" for="primary_shipping">
|
160 | 160 | <span><?= $block->escapeHtml(__('Use as my default shipping address')) ?></span>
|
161 | 161 | </label>
|
162 | 162 | </div>
|
163 |
| - <?php else : ?> |
| 163 | + <?php else: ?> |
164 | 164 | <input type="hidden" name="default_shipping" value="1">
|
165 | 165 | <?php endif; ?>
|
166 | 166 | </fieldset>
|
|
0 commit comments