<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
?>
<?php if (count($block->getTotals()) > 0) : ?>
    <?php foreach ($block->getTotals() as $_total) : ?>
    <div class="dashboard-item dashboard-item-primary">
        <div class="dashboard-item-title"><?= $block->escapeHtml($_total['label']) ?></div>
        <div class="dashboard-item-content">
            <strong class="dashboard-sales-value">
                <?= /* @noEscape */ $_total['value'] ?>
                <span class="dashboard-sales-decimals"><?= /* @noEscape */ $_total['decimals'] ?></span>
            </strong>
        </div>
    </div>
    <?php endforeach; ?>
<?php endif; ?>
