Skip to content

Commit d06342d

Browse files
authored
Changed template according to Magento coding standards.
1 parent 0e664a0 commit d06342d

File tree

1 file changed

+6
-6
lines changed
  • app/code/Magento/Sales/view/adminhtml/templates/items/column

1 file changed

+6
-6
lines changed

app/code/Magento/Sales/view/adminhtml/templates/items/column/qty.phtml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,42 @@
44
* See COPYING.txt for license details.
55
*/
66
?>
7-
<?php if ($item = $block->getItem()) : ?>
7+
<?php if ($item = $block->getItem()): ?>
88
<table class="qty-table">
99
<tr>
1010
<th><?= $block->escapeHtml(__('Ordered')); ?></th>
1111
<td><?= (float) $item->getQtyOrdered() ?></td>
1212
</tr>
1313

14-
<?php if ((float)$item->getQtyBackordered()) : ?>
14+
<?php if ((float)$item->getQtyBackordered()): ?>
1515
<tr>
1616
<th><?= $block->escapeHtml(__('Backordered')); ?></th>
1717
<td><?= (float) $item->getQtyBackordered() ?></td>
1818
</tr>
1919
<?php endif; ?>
2020

21-
<?php if ((float)$item->getQtyInvoiced()) : ?>
21+
<?php if ((float)$item->getQtyInvoiced()): ?>
2222
<tr>
2323
<th><?= $block->escapeHtml(__('Invoiced')); ?></th>
2424
<td><?= (float) $item->getQtyInvoiced() ?></td>
2525
</tr>
2626
<?php endif; ?>
2727

28-
<?php if ((float)$item->getQtyShipped()) : ?>
28+
<?php if ((float)$item->getQtyShipped()): ?>
2929
<tr>
3030
<th><?= $block->escapeHtml(__('Shipped')); ?></th>
3131
<td><?= (float) $item->getQtyShipped() ?></td>
3232
</tr>
3333
<?php endif; ?>
3434

35-
<?php if ((float)$item->getQtyRefunded()) : ?>
35+
<?php if ((float)$item->getQtyRefunded()): ?>
3636
<tr>
3737
<th><?= $block->escapeHtml(__('Refunded')); ?></th>
3838
<td><?= (float) $item->getQtyRefunded() ?></td>
3939
</tr>
4040
<?php endif; ?>
4141

42-
<?php if ((float)$item->getQtyCanceled()) : ?>
42+
<?php if ((float)$item->getQtyCanceled()): ?>
4343
<tr>
4444
<th><?= $block->escapeHtml(__('Canceled')); ?></th>
4545
<td><?= (float) $item->getQtyCanceled() ?></td>

0 commit comments

Comments
 (0)