totalbar.phtml 583 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. // @deprecated
  7. // @codingStandardsIgnoreFile
  8. $totals = $block->getTotals();
  9. ?>
  10. <?php if ($totals && count($totals) > 0): ?>
  11. <table class="items-to-invoice">
  12. <tr>
  13. <?php foreach ($totals as $total): ?>
  14. <td <?php if ($total['grand']): ?>class="grand-total"<?php endif; ?>>
  15. <?= $block->escapeHtml($total['label']) ?><br />
  16. <?= $block->escapeHtml($total['value']) ?>
  17. </td>
  18. <?php endforeach; ?>
  19. </tr>
  20. </table>
  21. <?php endif; ?>