adjustment.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!--
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. -->
  7. <if args="$adj.displayPriceInclFptDescr() || $adj.displayPriceExclFptDescr()">
  8. <each args="data: $adj.getWeeeAttributes($row()), as: '$taxAttribute'">
  9. <if args="$adj.displayBothPricesTax()">
  10. <span class="weee"
  11. data-price-type="weee"
  12. attr="'data-label': $adj.getWeeTaxAttributeName($taxAttribute) + ' ' + $t('Incl. tax')"
  13. html="$adj.getWeeeTaxWithoutTax($taxAttribute)"/>
  14. <span class="weee"
  15. data-price-type="weee"
  16. attr="'data-label': $adj.getWeeTaxAttributeName($taxAttribute) + ' ' + $t('Excl. tax')"
  17. html="$adj.getWeeeTaxWithTax($taxAttribute)"/>
  18. </if>
  19. <if args="$adj.displayPriceInclTax()">
  20. <span class="weee"
  21. data-price-type="weee"
  22. attr="'data-label': $adj.getWeeTaxAttributeName($taxAttribute)"
  23. html="$adj.getWeeeTaxWithTax($taxAttribute)"/>
  24. </if>
  25. <if args="$adj.displayPriceExclTax()">
  26. <span class="weee"
  27. data-price-type="weee"
  28. attr="'data-label': $adj.getWeeTaxAttributeName($taxAttribute)"
  29. html="$adj.getWeeeTaxWithoutTax($taxAttribute)"/>
  30. </if>
  31. </each>
  32. </if>
  33. <if args="$adj.displayPriceExclFptDescr($row())">
  34. <span class="price-final"
  35. data-price-type="weeePrice"
  36. data-price-amount=""
  37. attr="'data-label': $t('Final Price')"
  38. html="$adj.getWeeeAdjustment($row())"/>
  39. </if>