| Current Path : /home/rtorresani/www/vendor/magento/module-shipping/view/adminhtml/templates/view/ |
| Current File : //home/rtorresani/www/vendor/magento/module-shipping/view/adminhtml/templates/view/items.phtml |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
?>
<div class="admin__table-wrapper">
<table class="data-table admin__table-primary order-shipment-table">
<thead>
<tr class="headings">
<th class="col-product"><span><?= $block->escapeHtml(__('Product')) ?></span></th>
<th class="col-qty last"><span><?= $block->escapeHtml(__('Qty Shipped')) ?></span></th>
</tr>
</thead>
<?php $_items = $block->getShipment()->getAllItems() ?>
<?php $_i = 0; foreach ($_items as $_item) :
if (!empty($_item->getOrderItem())) :
if ($_item->getOrderItem()->getParentItem()) :
continue;
endif;
$_i++ ?>
<tbody class="<?= /* @noEscape */ $_i%2 ? 'odd' : 'even' ?>">
<?= $block->getItemHtml($_item) ?>
<?= $block->getItemExtraInfoHtml($_item->getOrderItem()) ?>
</tbody>
<?php endif; ?>
<?php endforeach; ?>
</table>
</div>