You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?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; ?>
|