Skip to content

Commit 0e664a0

Browse files
authored
Display backordered quantity if the order item has them
1 parent e53e613 commit 0e664a0

File tree

1 file changed

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

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111
<td><?= (float) $item->getQtyOrdered() ?></td>
1212
</tr>
1313

14+
<?php if ((float)$item->getQtyBackordered()) : ?>
15+
<tr>
16+
<th><?= $block->escapeHtml(__('Backordered')); ?></th>
17+
<td><?= (float) $item->getQtyBackordered() ?></td>
18+
</tr>
19+
<?php endif; ?>
20+
1421
<?php if ((float)$item->getQtyInvoiced()) : ?>
1522
<tr>
1623
<th><?= $block->escapeHtml(__('Invoiced')); ?></th>

0 commit comments

Comments
 (0)