![]() 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/cartforge.co/vendor/magento/module-vault/view/frontend/templates/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /** @var \Magento\Vault\Block\Customer\CreditCards $block */ $tokens = $block->getPaymentTokens(); ?> <?php if (count($tokens) !== 0) : ?> <div class="table-wrapper my-credit-cards"> <table class="data table table-credit-cards" id="my-orders-table"> <caption class="table-caption"><?= $block->escapeHtml(__('Stored Payment Methods')) ?></caption> <thead> <tr> <th scope="col" class="col card-number"><?= $block->escapeHtml(__('Card Number')) ?></th> <th scope="col" class="col expire"><?= $block->escapeHtml(__('Expiration Date')) ?></th> <th scope="col" class="col card-type"><?= $block->escapeHtml(__('Type')) ?></th> <th scope="col" class="col actions"> </th> </tr> </thead> <tbody> <?php foreach ($tokens as $token) { echo $block->renderTokenHtml($token); } ?> </tbody> </table> </div> <?php elseif (!$block->isExistsCustomerTokens()) : ?> <div class="message info empty"><span><?= $block->escapeHtml(__('You have no stored payment methods.')) ?></span></div> <?php endif ?>