![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/app/design/frontend/Cnc/default/Magento_Customer/templates/address/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /** @var \Magento\Customer\Block\Address\Grid $block */ $customerAddressView = $block->getData('customer_address'); ?> <div class="block block-addresses-list"> <div class="block-title"><strong><?= $block->escapeHtml(__('Additional Address Entries')) ?></strong></div> <div class="block-content"> <?php if ($_pAddsses = $block->getAdditionalAddresses()) : ?> <div class="table-wrapper additional-addresses"> <table class="data table table-additional-addresses-items history" id="additional-addresses-table"> <caption class="table-caption"><?= $block->escapeHtml(__('Additional addresses')) ?></caption> <thead> <tr> <th scope="col" class="col firstname"><?= $block->escapeHtml(__('First Name')) ?></th> <th scope="col" class="col lastname"><?= $block->escapeHtml(__('Last Name')) ?></th> <th scope="col" class="col streetaddress"><?= $block->escapeHtml(__('Street Address')) ?></th> <th scope="col" class="col zip"><?= $block->escapeHtml(__('Zip/Postal Code')) ?></th> <th scope="col" class="col city"><?= $block->escapeHtml(__('City')) ?></th> <th scope="col" class="col country"><?= $block->escapeHtml(__('Country')) ?></th> <th scope="col" class="col phone"><?= $block->escapeHtml(__('Phone')) ?></th> <th scope="col" class="col vat"><?= $block->escapeHtml(__('Tax/VAT Number')) ?></th> <th scope="col" class="col actions"> </th> </tr> </thead> <tbody> <?php foreach ($_pAddsses as $address) : ?> <tr> <td data-th="<?= $block->escapeHtml(__('First Name')) ?>" class="col firstname"><?= $block->escapeHtml($address->getFirstname()) ?></td> <td data-th="<?= $block->escapeHtml(__('Last Name')) ?>" class="col lastname"><?= $block->escapeHtml($address->getLastname()) ?></td> <td data-th="<?= $block->escapeHtml(__('Street Address')) ?>" class="col streetaddress"><?= $block->escapeHtml($block->getStreetAddress($address)) ?></td> <td data-th="<?= $block->escapeHtml(__('Zip/Postal Code')) ?>" class="col zip"><?= $block->escapeHtml($address->getPostcode()) ?></td> <td data-th="<?= $block->escapeHtml(__('City')) ?>" class="col city"><?= $block->escapeHtml($address->getCity()) ?></td> <td data-th="<?= $block->escapeHtml(__('Country')) ?>" class="col country"><?= $block->escapeHtml($block->getCountryByCode($address->getCountryId())) ?></td> <td data-th="<?= $block->escapeHtml(__('Phone')) ?>" class="col phone"><?= $block->escapeHtml($address->getTelephone()) ?></td> <td data-th="<?= $block->escapeHtml(__('Tax/VAT Number')) ?>" class="col phone"><?= $address->getVatId() ?></td> <td data-th="<?= $block->escapeHtml(__('Actions')) ?>" class="col actions"> <a class="action edit" title="<?= $block->escapeHtml(__('Edit')) ?>" href="<?= $block->escapeUrl($block->getUrl('customer/address/edit', ['id' => $address->getId()])) ?>"> <span><?= $block->escapeHtml(__('Edit')) ?></span> </a> <a class="action delete" title="<?= $block->escapeHtml(__('Delete')) ?>" href="#" role="delete-address" data-address="<?= $block->escapeHtmlAttr($address->getId()) ?>"> <span><?= $block->escapeHtml(__('Delete')) ?></span> </a> </td> </tr> <?php endforeach; ?> </tbody> </table> </div> <?php if ($block->getChildHtml('pager')) : ?> <div class="customer-addresses-toolbar toolbar bottom"><?= $block->getChildHtml('pager') ?></div> <?php endif ?> <?php else : ?> <p class="empty"><?= $block->escapeHtml(__('You have no other address entries in your address book.')) ?></p> <?php endif ?> </div> </div> <div class="actions-toolbar"> <div class="primary"> <button type="button" role="add-address" title="<?= $block->escapeHtmlAttr(__('+ Add New Address')) ?>" class="action primary add"><span><?= $block->escapeHtml(__('+ Add New Address')) ?></span> </button> </div> <div class="secondary"> <a class="action back" href="<?= $block->escapeUrl($block->getUrl('customer/account')) ?>"><span><?= $block->escapeHtml(__('Back')) ?></span></a> </div> </div> <script type="text/x-magento-init"> { ".page-main": { "address": { "deleteAddress": "td a[role='delete-address']", "deleteUrlPrefix": "<?= $block->escapeJs($block->escapeUrl($block->getDeleteUrl())) ?>id/", "addAddress": "button[role='add-address']", "addAddressLocation": "<?= $block->escapeJs($block->escapeUrl($block->getAddAddressUrl())) ?>" } } } </script>