11 <?php $parentItem =
$block->getItem() ?>
12 <?php
$_order =
$block->getItem()->getOrderItem()->getOrder() ?>
17 <?php $_prevOptionId =
'' ?>
20 <?php
if (
$block->getItemOptions() || $parentItem->getDescription() || $this->helper(
'Magento\GiftMessage\Helper\Message')->isMessagesAllowed(
'order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
21 <?php $_showlastRow =
true ?>
23 <?php $_showlastRow =
false ?>
26 <?php
if (
$_item->getOrderItem()->getParentItem()): ?>
28 <?php
if ($_prevOptionId !=
$attributes[
'option_id']): ?>
29 <tr
class=
"options-label">
30 <td
class=
"col label" colspan=
"5"><div
class=
"option label"><?=
$attributes[
'option_label'] ?></div></td>
35 <tr
id=
"order-item-row-<?= /* @escapeNotVerified */ $_item->getId() ?>" class=
"<?php if ($_item->getOrderItem()->getParentItem()): ?>item-options-container<?php else: ?>item-parent<?php endif; ?>"<?php
if (
$_item->getOrderItem()->getParentItem()): ?> data-th=
"<?= /* @escapeNotVerified */ $attributes['option_label'] ?>"<?php
endif; ?>>
36 <?php
if (!
$_item->getOrderItem()->getParentItem()): ?>
37 <td
class=
"col name" data-th=
"<?= $block->escapeHtml(__('Product Name')) ?>">
38 <strong
class=
"product name product-item-name"><?=
$block->escapeHtml(
$_item->getName()) ?></strong>
41 <td
class=
"col value" data-th=
"<?= $block->escapeHtml(__('Product Name')) ?>"><?=
$block->getValueHtml(
$_item) ?></td>
43 <td
class=
"col sku" data-th=
"<?= $block->escapeHtml(__('SKU')) ?>"><?=
$block->escapeHtml(
$_item->getSku()) ?></td>
44 <td
class=
"col price" data-th=
"<?= $block->escapeHtml(__('Price')) ?>">
51 <td
class=
"col qty" data-th=
"<?= $block->escapeHtml(__('Qty Invoiced')) ?>">
58 <td
class=
"col subtotal" data-th=
"<?= $block->escapeHtml(__('Subtotal')) ?>">
68 <?php
if ($_showlastRow && (($_options =
$block->getItemOptions()) ||
$block->escapeHtml(
$_item->getDescription()))): ?>
70 <td
class=
"col options" colspan=
"5">
71 <?php
if ($_options =
$block->getItemOptions()): ?>
72 <dl
class=
"item-options">
73 <?php
foreach ($_options as
$_option) : ?>
75 <?php
if (!
$block->getPrintStatus()): ?>
76 <?php $_formatedOptionValue =
$block->getFormatedOptionValue(
$_option) ?>
77 <dd<?php
if (isset($_formatedOptionValue[
'full_view'])): ?>
class=
"tooltip wrapper"<?php
endif; ?>>
78 <?= $_formatedOptionValue[
'value'] ?>
79 <?php
if (isset($_formatedOptionValue[
'full_view'])): ?>
80 <div
class=
"tooltip content">
81 <dl
class=
"item options">
83 <dd><?= $_formatedOptionValue[
'full_view'] ?></dd>
</td ></tr > $_prevOptionId endif
$_count $_index $_prevOptionId if($block->getOrderOptions()|| $_item->getDescription()) foreach( $items as $_item)( $_item) ?><?php $attributes if( $_item->getOrderItem() ->getParentItem())($_prevOptionId !=$attributes['option_id'])</td >< td > & nbsp