<?php
/**
 * Copyright © 2016 maijindou.com All rights reserved.
 * See COPYING.txt for license details.
 */

// @codingStandardsIgnoreFile

?>
<?php
/** @var \Magento\Tax\Block\Adminhtml\Items\Price\Renderer $block */

$_item = $block->getItem();
?>

<?php if ($block->displayBothPrices() || $block->displayPriceExclTax()): ?>
    <div class="price-excl-tax">
        <?php if ($block->displayBothPrices()): ?>
            <span class="label"><?php /* @escapeNotVerified */ echo __('Excl. Tax'); ?>:</span>
        <?php endif; ?>
        <?php /* @escapeNotVerified */ echo $block->displayPrices($_item->getBaseRowTotal(), $_item->getRowTotal()) ?>
    </div>
<?php endif; ?>
<?php if ($block->displayBothPrices() || $block->displayPriceInclTax()): ?>
    <div class="price-incl-tax">
        <?php if ($block->displayBothPrices()): ?>
            <span class="label"><?php /* @escapeNotVerified */ echo __('Incl. Tax'); ?>:</span>
        <?php endif; ?>
        <?php $_incl = $this->helper('Magento\Checkout\Helper\Data')->getSubtotalInclTax($_item); ?>
        <?php $_baseIncl = $this->helper('Magento\Checkout\Helper\Data')->getBaseSubtotalInclTax($_item); ?>
        <?php /* @escapeNotVerified */ echo $block->displayPrices($_baseIncl, $_incl) ?>
    </div>
<?php endif; ?>
