Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
qty.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
9 ?>
10 <?php if ($item = $block->getItem()): ?>
11 <table class="qty-table">
12  <tr>
13  <th><?= $block->escapeHtml(__('Ordered')); ?></th>
14  <td><?= /* @noEscape */ $item->getQtyOrdered()*1 ?></td>
15  </tr>
16 
17  <?php if ((float) $item->getQtyInvoiced()): ?>
18  <tr>
19  <th><?= $block->escapeHtml(__('Invoiced')); ?></th>
20  <td><?= /* @noEscape */ $item->getQtyInvoiced()*1 ?></td>
21  </tr>
22  <?php endif; ?>
23 
24  <?php if ((float) $item->getQtyShipped()): ?>
25  <tr>
26  <th><?= $block->escapeHtml(__('Shipped')); ?></th>
27  <td><?= /* @noEscape */ $item->getQtyShipped()*1 ?></td>
28  </tr>
29  <?php endif; ?>
30 
31  <?php if ((float) $item->getQtyRefunded()): ?>
32  <tr>
33  <th><?= $block->escapeHtml(__('Refunded')); ?></th>
34  <td><?= /* @noEscape */ $item->getQtyRefunded()*1 ?></td>
35  </tr>
36  <?php endif; ?>
37 
38  <?php if ((float) $item->getQtyCanceled()): ?>
39  <tr>
40  <th><?= $block->escapeHtml(__('Canceled')); ?></th>
41  <td><?= /* @noEscape */ $item->getQtyCanceled()*1 ?></td>
42  </tr>
43  <?php endif; ?>
44 
45 </table>
46 <?php endif; ?>
__()
Definition: __.php:13
$block
Definition: block.php:8
endif
Definition: qty.phtml:20