Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
default.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
9 ?>
10 <?php ?>
11 <?php $_item = $block->getItem() ?>
12 <?php $_item->setStoreId($_item->getInvoice()->getStoreId()) ?>
13 <?php $block->setPriceDataObject($_item) ?>
14 <tr>
15  <td class="col-product"><?= $block->getColumnHtml($_item, 'name') ?></td>
16  <td class="col-price">
17  <?= $block->getColumnHtml($_item, 'price') ?>
18  </td>
19  <td class="col-qty"><?= /* @escapeNotVerified */ $_item->getQty()*1 ?></td>
20  <td class="col-subtotal">
21  <?= $block->getColumnHtml($_item, 'subtotal') ?>
22  </td>
23  <td class="col-tax"><?= /* @escapeNotVerified */ $block->displayPriceAttribute('tax_amount') ?></td>
24  <td class="col-discount"><?= /* @escapeNotVerified */ $block->displayPriceAttribute('discount_amount') ?></td>
25  <td class="col-total last">
26  <?= $block->getColumnHtml($_item, 'total') ?>
27  </td>
28 </tr>
$block
Definition: block.php:8
$_item
Definition: default.phtml:11