22 <?php $_prevOptionId =
'' ?>
24 <?php
if(
$block->getOrderOptions() ||
$_item->getDescription() ||
$block->canDisplayGiftmessage()): ?>
25 <?php $_showlastRow =
true ?>
27 <?php $_showlastRow =
false ?>
33 <?php
if (
$_item->getParentItem()): ?>
34 <?php
if ($_prevOptionId !=
$attributes[
'option_id']): ?>
36 <td
class=
"col-product"><div
class=
"option-label"><?=
$attributes[
'option_label'] ?></div></td>
45 <td
class=
"last">&
nbsp;</td>
50 <tr<?= (++$_index==
$_count && !$_showlastRow)?
' class="border"':
'' ?>>
51 <?php
if (!
$_item->getParentItem()): ?>
52 <td
class=
"col-product">
53 <div
class=
"product-title" id=
"order_item_<?= /* @escapeNotVerified */ $_item->getId() ?>_title">
56 <div
class=
"product-sku-block">
57 <span><?=
__(
'SKU') ?>:</span>
58 <?= implode(
'<br />', $this->helper(
'Magento\Catalog\Helper\Data')->splitSku(
$block->escapeHtml(
$_item->getSku()))) ?>
62 <td
class=
"col-product">
63 <div
class=
"option-value"><?=
$block->getValueHtml(
$_item) ?></div>
66 <td
class=
"col-status">
73 <td
class=
"col-price-original">
75 <?=
$block->displayPriceAttribute(
'original_price') ?>
80 <td
class=
"col-price">
87 <td
class=
"col-ordered-qty">
89 <table
class=
"qty-table">
91 <th><?=
__(
'Ordered') ?></th>
92 <td><?=
$_item->getQtyOrdered()*1 ?></td>
94 <?php
if ((
float)
$_item->getQtyInvoiced()): ?>
96 <th><?=
__(
'Invoiced') ?></th>
97 <td><?=
$_item->getQtyInvoiced()*1 ?></td>
100 <?php
if ((
float)
$_item->getQtyShipped() &&
$block->isShipmentSeparately(
$_item)): ?>
102 <th><?=
__(
'Shipped') ?></th>
103 <td><?=
$_item->getQtyShipped()*1 ?></td>
106 <?php
if ((
float)
$_item->getQtyRefunded()): ?>
108 <th><?=
__(
'Refunded') ?></th>
109 <td><?=
$_item->getQtyRefunded()*1 ?></td>
112 <?php
if ((
float)
$_item->getQtyCanceled()): ?>
114 <th><?=
__(
'Canceled') ?></th>
115 <td><?=
$_item->getQtyCanceled()*1 ?></td>
120 <table
class=
"qty-table">
122 <th><?=
__(
'Ordered') ?></th>
123 <td><?=
$_item->getQtyOrdered()*1 ?></td>
125 <?php
if ((
float)
$_item->getQtyShipped()): ?>
127 <th><?=
__(
'Shipped') ?></th>
128 <td><?=
$_item->getQtyShipped()*1 ?></td>
136 <td
class=
"col-subtotal">
143 <td
class=
"col-tax-amount">
145 <?=
$block->displayPriceAttribute(
'tax_amount') ?>
150 <td
class=
"col-tax-percent">
157 <td
class=
"col-discont">
159 <?=
$block->displayPriceAttribute(
'discount_amount') ?>
164 <td
class=
"col-total last">
173 <?php
if($_showlastRow): ?>
174 <tr<?php
if (!
$block->canDisplayGiftmessage()) echo
' class="border"' ?>>
175 <td
class=
"col-product">
176 <?php
if (
$block->getOrderOptions()): ?>
177 <dl
class=
"item-options">
179 <dt><?=
$option[
'label'] ?>:</dt>
181 <?php
if (isset(
$option[
'custom_view']) &&
$option[
'custom_view']): ?>
184 <?=
$block->truncateString(
$option[
'value'], 55,
'', $_remainder) ?>
185 <?php
if ($_remainder):?>
186 ... <span
id=
"<?= /* @escapeNotVerified */ $_id = 'id' . uniqid() ?>"><?= $_remainder ?></span>
188 require([
'prototype'],
function(){
190 $(
'<?= /* @escapeNotVerified */ $_id ?>').hide();
191 $(
'<?= /* @escapeNotVerified */ $_id ?>').up().observe(
'mouseover',
function(){$(
'<?= /* @escapeNotVerified */ $_id ?>').show();});
192 $(
'<?= /* @escapeNotVerified */ $_id ?>').up().observe(
'mouseout',
function(){$(
'<?= /* @escapeNotVerified */ $_id ?>').hide();});
214 <td
class=
"last">&
nbsp;</td>
</td ></tr > $_prevOptionId endif
elseif(isset( $params[ 'redirect_parent']))
$_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