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

/** @var \Magento\Framework\View\Helper\SecureHtmlRenderer $secureRenderer */
?>
<tr id="totals-default" class="<?= $block->escapeHtmlAttr($block->getTotal()->getCode()) ?> row-totals">
    <td class="admin__total-mark" colspan="<?= (int) $block->getColspan() ?>">
        <?php if ($block->getRenderingArea() == $block->getTotal()->getArea()): ?><strong><?php endif; ?>
            <?= $block->escapeHtml($block->getTotal()->getTitle()) ?>
        <?php if ($block->getRenderingArea() == $block->getTotal()->getArea()): ?></strong><?php endif; ?>
    </td>
    <td class="admin__total-amount">
        <?php if ($block->getRenderingArea() == $block->getTotal()->getArea()): ?><strong><?php endif; ?>
            <?= /* @noEscape */ $block->formatPrice($block->getTotal()->getValue()) ?>
        <?php if ($block->getRenderingArea() == $block->getTotal()->getArea()): ?></strong><?php endif; ?>
    </td>
</tr>
<?php if ($block->escapeHtmlAttr($block->getTotal()->getStyle())): ?>
    <?= /* @noEscape */ $secureRenderer->renderStyleAsTag(
        $block->escapeHtmlAttr($block->getTotal()->getStyle()),
        'tr#totals-default td.admin__total-mark'
    ) ?>
    <?= /* @noEscape */ $secureRenderer->renderStyleAsTag(
        $block->escapeHtmlAttr($block->getTotal()->getStyle()),
        'tr#totals-default td.admin__total-amount'
    ) ?>
<?php endif; ?>
