|
3 | 3 | * Copyright © Magento, Inc. All rights reserved.
|
4 | 4 | * See COPYING.txt for license details.
|
5 | 5 | */
|
| 6 | +/** @var $escaper \Magento\Framework\Escaper */ |
6 | 7 | ?>
|
7 | 8 | <?php if ($item = $block->getItem()): ?>
|
8 | 9 | <table class="qty-table">
|
9 | 10 | <tr>
|
10 |
| - <th><?= $block->escapeHtml(__('Ordered')); ?></th> |
| 11 | + <th><?= $escaper->escapeHtml(__('Ordered')); ?></th> |
11 | 12 | <td><?= (float) $item->getQtyOrdered() ?></td>
|
12 | 13 | </tr>
|
13 | 14 |
|
14 | 15 | <?php if ((float)$item->getQtyBackordered()): ?>
|
15 | 16 | <tr>
|
16 |
| - <th><?= $block->escapeHtml(__('Backordered')); ?></th> |
| 17 | + <th><?= $escaper->escapeHtml(__('Backordered')); ?></th> |
17 | 18 | <td><?= (float) $item->getQtyBackordered() ?></td>
|
18 | 19 | </tr>
|
19 |
| - <?php endif; ?> |
| 20 | + <?php endif; ?> |
20 | 21 |
|
21 | 22 | <?php if ((float)$item->getQtyInvoiced()): ?>
|
22 | 23 | <tr>
|
23 |
| - <th><?= $block->escapeHtml(__('Invoiced')); ?></th> |
| 24 | + <th><?= $escaper->escapeHtml(__('Invoiced')); ?></th> |
24 | 25 | <td><?= (float) $item->getQtyInvoiced() ?></td>
|
25 | 26 | </tr>
|
26 | 27 | <?php endif; ?>
|
27 | 28 |
|
28 | 29 | <?php if ((float)$item->getQtyShipped()): ?>
|
29 | 30 | <tr>
|
30 |
| - <th><?= $block->escapeHtml(__('Shipped')); ?></th> |
| 31 | + <th><?= $escaper->escapeHtml(__('Shipped')); ?></th> |
31 | 32 | <td><?= (float) $item->getQtyShipped() ?></td>
|
32 | 33 | </tr>
|
33 | 34 | <?php endif; ?>
|
34 | 35 |
|
35 | 36 | <?php if ((float)$item->getQtyRefunded()): ?>
|
36 | 37 | <tr>
|
37 |
| - <th><?= $block->escapeHtml(__('Refunded')); ?></th> |
| 38 | + <th><?= $escaper->escapeHtml(__('Refunded')); ?></th> |
38 | 39 | <td><?= (float) $item->getQtyRefunded() ?></td>
|
39 | 40 | </tr>
|
40 | 41 | <?php endif; ?>
|
41 | 42 |
|
42 | 43 | <?php if ((float)$item->getQtyCanceled()): ?>
|
43 | 44 | <tr>
|
44 |
| - <th><?= $block->escapeHtml(__('Canceled')); ?></th> |
| 45 | + <th><?= $escaper->escapeHtml(__('Canceled')); ?></th> |
45 | 46 | <td><?= (float) $item->getQtyCanceled() ?></td>
|
46 | 47 | </tr>
|
47 | 48 | <?php endif; ?>
|
|
0 commit comments