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

// @codingStandardsIgnoreFile

?>
<?php if (sizeof($block->getTotals()) > 0): ?>
<table class="items-to-invoice">
    <tr>
    <?php foreach ($block->getTotals() as $_total): ?>
        <td <?php if ($_total['grand']): ?>class="grand-total"<?php endif; ?>>
            <?php /* @escapeNotVerified */ echo $_total['label'] ?><br />
            <?php /* @escapeNotVerified */ echo $_total['value'] ?>
        </td>
    <?php endforeach; ?>
    </tr>
</table>
<?php endif; ?>
