Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
grandtotal.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
12 ?>
13 <?php if ($block->includeTax() && $block->getTotalExclTax() >= 0):?>
14 <tr class="grand totals excl">
15  <th style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="mark" colspan="<?= /* @escapeNotVerified */ $block->getColspan() ?>" scope="row">
16  <strong><?= /* @escapeNotVerified */ __('Grand Total Excl. Tax') ?></strong>
17  </th>
18  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="amount" data-th="<?= $block->escapeHtml(__('Grand Total Excl. Tax')) ?>">
19  <strong><?= /* @escapeNotVerified */ $this->helper('Magento\Checkout\Helper\Data')->formatPrice($block->getTotalExclTax()) ?></strong>
20  </td>
21 </tr>
22 <?= /* @escapeNotVerified */ $block->renderTotals('taxes', $block->getColspan()) ?>
23 <tr class="grand totals incl">
24  <th style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="mark" colspan="<?= /* @escapeNotVerified */ $block->getColspan() ?>" scope="row">
25  <strong><?= /* @escapeNotVerified */ __('Grand Total Incl. Tax') ?></strong>
26  </th>
27  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="amount" data-th="<?= $block->escapeHtml(__('Grand Total Incl. Tax')) ?>">
28  <strong><?= /* @escapeNotVerified */ $this->helper('Magento\Checkout\Helper\Data')->formatPrice($block->getTotal()->getValue()) ?></strong>
29  </td>
30 </tr>
31 <?php else:?>
32 <tr class="grand totals">
33  <th style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="mark" colspan="<?= /* @escapeNotVerified */ $block->getColspan() ?>" scope="row">
34  <strong><?= /* @escapeNotVerified */ $block->getTotal()->getTitle() ?></strong>
35  </th>
36  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="amount" data-th="<?= $block->escapeHtml($block->getTotal()->getTitle()) ?>">
37  <strong><?= /* @escapeNotVerified */ $this->helper('Magento\Checkout\Helper\Data')->formatPrice($block->getTotal()->getValue()) ?></strong>
38  </td>
39 </tr>
40 <?php endif;?>
__()
Definition: __.php:13
$block
Definition: block.php:8
endif
Definition: 404.phtml:116