![]() 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/vendor/magento/module-tax/view/frontend/templates/checkout/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ /** * @var $block \Magento\Tax\Block\Checkout\Shipping * @see \Magento\Tax\Block\Checkout\Shipping * @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */ ?> <?php if ($block->displayShipping()): ?> <?php $style = $block->escapeHtmlAttr($block->getStyle()); $colspan = (int) $block->getColspan(); /** @var \Magento\Checkout\Helper\Data $checkoutHelper */ $checkoutHelper = $block->getData('checkoutHelper'); ?> <?php if ($block->displayBoth()): ?> <tr class="totals shipping excl"> <th class="mark" colspan="<?= /* @noEscape */ $colspan ?>" scope="row"> <?= $block->escapeHtml($block->getExcludeTaxLabel()) ?> </th> <td class="amount" data-th="<?= $block->escapeHtmlAttr($block->getExcludeTaxLabel()) ?>"> <?= /* @noEscape */ $checkoutHelper->formatPrice($block->getShippingExcludeTax()) ?> </td> </tr> <?php if ($style): ?> <?= /* @noEscape */ $secureRenderer->renderStyleAsTag($style, 'tr.totals.shipping.excl th.mark') ?> <?= /* @noEscape */ $secureRenderer->renderStyleAsTag($style, 'tr.totals.shipping.excl td.amount') ?> <?php endif; ?> <tr class="totals shipping incl"> <th class="mark" colspan="<?= /* @noEscape */ $colspan ?>" scope="row"> <?= $block->escapeHtml($block->getIncludeTaxLabel()) ?> </th> <td class="amount" data-th="<?= $block->escapeHtmlAttr($block->getIncludeTaxLabel()) ?>"> <?= /* @noEscape */ $checkoutHelper->formatPrice($block->getShippingIncludeTax()) ?> </td> </tr> <?php if ($style): ?> <?= /* @noEscape */ $secureRenderer->renderStyleAsTag($style, 'tr.totals.shipping.incl th.mark') ?> <?= /* @noEscape */ $secureRenderer->renderStyleAsTag($style, 'tr.totals.shipping.incl td.amount') ?> <?php endif; ?> <?php elseif ($block->displayIncludeTax()): ?> <tr class="totals shipping incl"> <th class="mark" colspan="<?= /* @noEscape */ $colspan ?>" scope="row"> <?= $block->escapeHtml($block->getTotal()->getTitle()) ?> </th> <td class="amount" data-th="<?= $block->escapeHtmlAttr($block->getTotal()->getTitle()) ?>"> <?= /* @noEscape */ $checkoutHelper->formatPrice($block->getShippingIncludeTax()) ?> </td> </tr> <?php if ($style): ?> <?= /* @noEscape */ $secureRenderer->renderStyleAsTag($style, 'tr.totals.shipping.incl th.mark') ?> <?= /* @noEscape */ $secureRenderer->renderStyleAsTag($style, 'tr.totals.shipping.incl td.amount') ?> <?php endif; ?> <?php else: ?> <tr class="totals shipping excl"> <th class="mark" colspan="<?= /* @noEscape */ $colspan ?>" scope="row"> <?= $block->escapeHtml($block->getTotal()->getTitle()) ?> </th> <td class="amount" data-th="<?= $block->escapeHtmlAttr($block->getTotal()->getTitle()) ?>"> <?= /* @noEscape */ $checkoutHelper->formatPrice($block->getShippingExcludeTax()) ?> </td> </tr> <?php if ($style): ?> <?= /* @noEscape */ $secureRenderer->renderStyleAsTag($style, 'tr.totals.shipping.excl th.mark') ?> <?= /* @noEscape */ $secureRenderer->renderStyleAsTag($style, 'tr.totals.shipping.excl td.amount') ?> <?php endif; ?> <?php endif; ?> <?php endif; ?>