![]() 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-weee/view/base/templates/pricing/ |
<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ ?> <?php /** @var \Magento\Weee\Pricing\Render\Adjustment $block */ $weeeSeparator = $openBrace = $closeBrace = ''; $openBrace = '('; $closeBrace = ')'; $taxDisplay = $block->getTaxDisplayConfig(); $priceDisplay = $block->isPriceIncludesTax(); ?> <?php if ($block->showInclDescr() || $block->showExclDescrIncl()) : // incl. + weee || excl. + weee + final ?> <?php foreach ($block->getWeeeTaxAttributes() as $weeeTaxAttribute) : ?> <?php $attributeName = $block->escapeHtmlAttr($block->renderWeeeTaxAttributeName($weeeTaxAttribute)); ?> <?php if ($taxDisplay == Magento\Tax\Model\Config::DISPLAY_TYPE_INCLUDING_TAX) : ?> <span class="weee" data-price-type="weee" data-label="<?= /* @noEscape */ $attributeName ?>"> <?= /* @noEscape */ $block->renderWeeeTaxAttributeWithTax($weeeTaxAttribute) ?></span> <?php elseif ($taxDisplay == Magento\Tax\Model\Config::DISPLAY_TYPE_EXCLUDING_TAX) : ?> <span class="weee" data-price-type="weee" data-label="<?= /* @noEscape */ $attributeName ?>"> <?= /* @noEscape */ $block->renderWeeeTaxAttributeWithoutTax($weeeTaxAttribute) ?></span> <?php elseif ($taxDisplay == Magento\Tax\Model\Config::DISPLAY_TYPE_BOTH) : ?> <span class="weee" data-price-type="weee" data-label="<?= /* @noEscape */ $attributeName . ' ' . $block->escapeHtmlAttr(__('Incl. Tax')) ?>"> <?= /* @noEscape */ $block->renderWeeeTaxAttributeWithTax($weeeTaxAttribute) ?></span> <span class="weee" data-price-type="weee" data-label="<?= /* @noEscape */ $attributeName . ' ' . $block->escapeHtmlAttr(__('Excl. Tax')) ?>"> <?= /* @noEscape */ $block->renderWeeeTaxAttributeWithoutTax($weeeTaxAttribute) ?></span> <?php endif; ?> <?php endforeach; ?> <?php endif; ?> <?php if ($block->showExclDescrIncl()) : // excl. + weee + final ?> <span class="price-final price-final_price" data-price-type="weeePrice" data-price-amount="<?= /* @noEscape */ $block->getRawFinalAmount() ?>" data-label="<?= $block->escapeHtmlAttr(__('Final Price')) ?>"><?= /* @noEscape */ $block->getFinalAmount() ?></span> <?php endif; ?>