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