22 <?php $_prevOptionId =
'' ?>
24 <?php
if (
$block->getOrderOptions() ||
$_item->getDescription()): ?>
25 <?php $_showlastRow =
true ?>
27 <?php $_showlastRow =
false ?>
32 <?php
if (
$_item->getOrderItem()->getParentItem()): ?>
34 <?php
if ($_prevOptionId !=
$attributes[
'option_id']): ?>
36 <td
class=
"col-product"><div
class=
"option-label"><?=
$attributes[
'option_label'] ?></div></td>
43 <td
class=
"last">&
nbsp;</td>
48 <tr<?= (++$_index ==
$_count && !$_showlastRow) ?
' class="border"' :
'' ?>>
49 <?php
if (!
$_item->getOrderItem()->getParentItem()): ?>
50 <td
class=
"col-product">
51 <div
class=
"product-title"><?=
$block->escapeHtml(
$_item->getName()) ?></div>
52 <div
class=
"product-sku-block">
53 <span><?=
__(
'SKU') ?>:</span>
54 <?= implode(
'<br />', $this->helper(
'Magento\Catalog\Helper\Data')->splitSku(
$block->escapeHtml(
$_item->getSku()))) ?>
58 <td
class=
"col-product">
59 <div
class=
"option-value"><?=
$block->getValueHtml(
$_item) ?></div>
62 <td
class=
"col-price">
71 <table
class=
"qty-table">
73 <th><?=
__(
'Ordered') ?></th>
74 <td><span><?=
$_item->getOrderItem()->getQtyOrdered()*1 ?></span></td>
76 <?php
if ((
float)
$_item->getOrderItem()->getQtyInvoiced()): ?>
78 <th><?=
__(
'Invoiced') ?></th>
79 <td><?=
$_item->getOrderItem()->getQtyInvoiced()*1 ?></td>
82 <?php
if ((
float)
$_item->getOrderItem()->getQtyShipped() &&
$block->isShipmentSeparately(
$_item)): ?>
84 <th><?=
__(
'Shipped') ?></th>
85 <td><?=
$_item->getOrderItem()->getQtyShipped()*1 ?></td>
88 <?php
if ((
float)
$_item->getOrderItem()->getQtyRefunded()): ?>
90 <th><?=
__(
'Refunded') ?></th>
91 <td><?=
$_item->getOrderItem()->getQtyRefunded()*1 ?></td>
94 <?php
if ((
float)
$_item->getOrderItem()->getQtyCanceled()): ?>
96 <th><?=
__(
'Canceled') ?></th>
97 <td><?=
$_item->getOrderItem()->getQtyCanceled()*1 ?></td>
102 <table
class=
"qty-table">
104 <th><?=
__(
'Ordered') ?></th>
105 <td><?=
$_item->getOrderItem()->getQtyOrdered()*1 ?></td>
107 <?php
if ((
float)
$_item->getOrderItem()->getQtyShipped()): ?>
109 <th><?=
__(
'Shipped') ?></th>
110 <td><?=
$_item->getOrderItem()->getQtyShipped()*1 ?></td>
118 <td
class=
"col-qty-invoice">
120 <?php
if (
$block->canEditQty()) : ?>
122 class=
"input-text admin__control-text qty-input" 123 name=
"invoice[items][<?= /* @escapeNotVerified */ $_item->getOrderItemId() ?>]" 124 value=
"<?= /* @escapeNotVerified */ $_item->getQty()*1 ?>" />
132 <td
class=
"col-subtotal">
141 <?=
$block->displayPriceAttribute(
'tax_amount') ?>
146 <td
class=
"col-discount">
148 <?=
$block->displayPriceAttribute(
'discount_amount') ?>
153 <td
class=
"col-total last">
162 <?php
if ($_showlastRow): ?>
164 <td
class=
"col-product">
165 <?php
if (
$block->getOrderOptions(
$_item->getOrderItem())): ?>
166 <dl
class=
"item-options">
168 <dt><?=
$option[
'label'] ?></dt>
170 <?php
if (isset(
$option[
'custom_view']) &&
$option[
'custom_view']): ?>
173 <?=
$block->truncateString(
$option[
'value'], 55,
'', $_remainder) ?>
174 <?php
if ($_remainder):?>
175 ... <span
id=
"<?= /* @escapeNotVerified */ $_id = 'id' . uniqid() ?>"><?= $_remainder ?></span>
177 require([
'prototype'],
function(){
179 $(
'<?= /* @escapeNotVerified */ $_id ?>').hide();
180 $(
'<?= /* @escapeNotVerified */ $_id ?>').up().observe(
'mouseover',
function(){$(
'<?= /* @escapeNotVerified */ $_id ?>').show();});
181 $(
'<?= /* @escapeNotVerified */ $_id ?>').up().observe(
'mouseout',
function(){$(
'<?= /* @escapeNotVerified */ $_id ?>').hide();});
201 <td
class=
"last">&
nbsp;</td>
</td ></tr > $_prevOptionId endif
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
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