Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
subtotal.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
13 ?>
14 <?php if ($block->displayBoth()):?>
15 <tr class="row-totals">
16  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="admin__total-mark" colspan="<?= /* @escapeNotVerified */ $block->getColspan() ?>">
17  <?= /* @escapeNotVerified */ __('Subtotal (Excl. Tax)') ?>
18  </td>
19  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="admin__total-amount">
20  <?= /* @escapeNotVerified */ $block->formatPrice($block->getTotal()->getValueExclTax()) ?>
21  </td>
22 </tr>
23 <tr class="row-totals">
24  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="admin__total-mark" colspan="<?= /* @escapeNotVerified */ $block->getColspan() ?>">
25  <?= /* @escapeNotVerified */ __('Subtotal (Incl. Tax)') ?>
26  </td>
27  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="admin__total-amount">
28  <?= /* @escapeNotVerified */ $block->formatPrice($block->getTotal()->getValueInclTax()) ?>
29  </td>
30 </tr>
31 <?php else : ?>
32 <tr class="row-totals">
33  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="admin__total-mark" colspan="<?= /* @escapeNotVerified */ $block->getColspan() ?>">
34  <?= /* @escapeNotVerified */ $block->getTotal()->getTitle() ?>
35  </td>
36  <td style="<?= /* @escapeNotVerified */ $block->getStyle() ?>" class="admin__total-amount">
37  <?= /* @escapeNotVerified */ $block->formatPrice($block->getTotal()->getValue()) ?>
38  </td>
39 </tr>
40 <?php endif;?>
__()
Definition: __.php:13
$block
Definition: block.php:8
endif
Definition: 404.phtml:116