<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

// @codingStandardsIgnoreFile

?>
<?php
/**
 * Quote Item row html
 *
 * @see \Magento\Checkout\Block\Cart\Item\Renderer
 */
?>
<?php /** @var $block Magento\Checkout\Block\Cart\Item\Renderer */ ?>
<?php $_item = $block->getItem() ?>
<tr>
    <td class="col item" data-th="<?= $block->escapeHtml(__('Product Name')) ?>">
        <?= $block->getRenderedBlock()->getItemHtml($_item) ?>
    </td>
    <td class="col price" data-th="<?= $block->escapeHtml(__('Price')) ?>">
        <?php /* Including Tax */ ?>
            <?php if ($this->helper('Magento\Tax\Helper\Data')->displayCartPriceInclTax() || $this->helper('Magento\Tax\Helper\Data')->displayCartBothPrices()): ?>
                <span class="price-including-tax" data-label="<?= $block->escapeHtml(__('Incl. Tax')) ?>">
                    <?= $block->getUnitPriceInclTaxHtml($_item) ?>
                </span>
            <?php endif; ?>
        <?php /* end Including Tax */ ?>
        <?php /* Excluding Tax */ ?>
        <?php if ($this->helper('Magento\Tax\Helper\Data')->displayCartPriceExclTax() || $this->helper('Magento\Tax\Helper\Data')->displayCartBothPrices()): ?>
            <span class="price-excluding-tax" data-label="<?= $block->escapeHtml(__('Excl. Tax')) ?>">
                <?= $block->getUnitPriceExclTaxHtml($_item) ?>
            </span>
        <?php endif; ?>
        <?php /* end Excluding Tax */ ?>
    </td>

    <td class="col qty" data-th="<?= $block->escapeHtml(__('Qty')) ?>"><?= /* @escapeNotVerified */ $_item->getQty()*1 ?></td>
    <td class="col subtotal" data-th="<?= $block->escapeHtml(__('Subtotal')) ?>">
    <?php /* Including Tax Subtotal */ ?>
        <?php if ($this->helper('Magento\Tax\Helper\Data')->displayCartPriceInclTax() || $this->helper('Magento\Tax\Helper\Data')->displayCartBothPrices()): ?>
        <span class="price-including-tax" data-label="<?= $block->escapeHtml(__('Incl. Tax')) ?>">
            <?= $block->getRowTotalInclTaxHtml($_item) ?>
        </span>
        <?php endif; ?>
    <?php /* end Including Tax Subtotal */ ?>
    <?php /* Excluding Tax Subtotal */ ?>
    <?php if ($this->helper('Magento\Tax\Helper\Data')->displayCartPriceExclTax() || $this->helper('Magento\Tax\Helper\Data')->displayCartBothPrices()): ?>
        <span class="price-excluding-tax" data-label="<?= $block->escapeHtml(__('Excl. Tax')) ?>">
            <?= $block->getRowTotalExclTaxHtml($_item) ?>
        </span>
    <?php endif; ?>
    <?php /* end Excluding Tax Subtotal */ ?>
    </td>
</tr>
