22 <?php $_prevOptionId =
'' ?>
24 <?php
if (
$block->getOrderOptions() ||
$_item->getDescription()): ?>
25 <?php $_showlastRow =
true ?>
27 <?php $_showlastRow =
false ?>
33 <?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>
44 <td
class=
"last">&
nbsp;</td>
49 <tr<?= (++$_index ==
$_count && !$_showlastRow) ?
' class="border"' :
'' ?>>
50 <?php
if (!
$_item->getOrderItem()->getParentItem()): ?>
51 <td
class=
"col-product">
52 <div
class=
"product-title"><?=
$block->escapeHtml(
$_item->getName()) ?></div>
53 <div
class=
"product-sku-block">
54 <span><?=
__(
'SKU') ?>:</span>
55 <?= implode(
'<br />', $this->helper(
'Magento\Catalog\Helper\Data')->splitSku(
$block->escapeHtml(
$_item->getSku()))) ?>
59 <td
class=
"col-product"><div
class=
"option-value"><?=
$block->getValueHtml(
$_item) ?></div></td>
61 <td
class=
"col-price">
68 <td
class=
"col-ordered-qty">
70 <table
class=
"qty-table">
72 <th><?=
__(
'Ordered') ?></th>
73 <td><?=
$_item->getOrderItem()->getQtyOrdered()*1 ?></td>
75 <?php
if ((
float)
$_item->getOrderItem()->getQtyInvoiced()): ?>
77 <th><?=
__(
'Invoiced') ?></th>
78 <td><?=
$_item->getOrderItem()->getQtyInvoiced()*1 ?></td>
81 <?php
if ((
float)
$_item->getOrderItem()->getQtyShipped() &&
$block->isShipmentSeparately(
$_item)): ?>
83 <th><?=
__(
'Shipped') ?></th>
84 <td><?=
$_item->getOrderItem()->getQtyShipped()*1 ?></td>
87 <?php
if ((
float)
$_item->getOrderItem()->getQtyRefunded()): ?>
89 <th><?=
__(
'Refunded') ?></th>
90 <td><?=
$_item->getOrderItem()->getQtyRefunded()*1 ?></td>
93 <?php
if ((
float)
$_item->getOrderItem()->getQtyCanceled()): ?>
95 <th><?=
__(
'Canceled') ?></th>
96 <td><?=
$_item->getOrderItem()->getQtyCanceled()*1 ?></td>
101 <table
class=
"qty-table">
103 <th><?=
__(
'Ordered') ?></th>
104 <td><?=
$_item->getOrderItem()->getQtyOrdered()*1 ?></td>
106 <?php
if ((
float)
$_item->getOrderItem()->getQtyShipped()): ?>
108 <th><?=
__(
'Shipped') ?></th>
109 <td><?=
$_item->getOrderItem()->getQtyShipped()*1 ?></td>
118 <td
class=
"col-return-to-stock">
121 <input type=
"checkbox" 122 class=
"admin__control-checkbox" 123 name=
"creditmemo[items][<?= /* @escapeNotVerified */ $_item->getOrderItemId() ?>][back_to_stock]" 124 value=
"1"<?php
if (
$_item->getBackToStock()):?> checked=
"checked"<?php
endif;?> />
125 <label
class=
"admin__field-label"></label>
132 <td
class=
"col-refund col-qty">
134 <?php
if (
$block->canEditQty()) : ?>
136 class=
"input-text admin__control-text qty-input" 137 name=
"creditmemo[items][<?= /* @escapeNotVerified */ $_item->getOrderItemId() ?>][qty]" 138 value=
"<?= /* @escapeNotVerified */ $_item->getQty()*1 ?>" />
146 <td
class=
"col-subtotal">
153 <td
class=
"col-tax-amount">
155 <?=
$block->displayPriceAttribute(
'tax_amount') ?>
160 <td
class=
"col-discont">
162 <?=
$block->displayPriceAttribute(
'discount_amount') ?>
167 <td
class=
"col-total last">
176 <?php
if ($_showlastRow): ?>
178 <td
class=
"col-product">
179 <?php
if (
$block->getOrderOptions(
$_item->getOrderItem())): ?>
180 <dl
class=
"item-options">
182 <dt><?=
$option[
'label'] ?></dt>
184 <?php
if (isset(
$option[
'custom_view']) &&
$option[
'custom_view']): ?>
187 <?=
$block->truncateString(
$option[
'value'], 55,
'', $_remainder) ?>
188 <?php
if ($_remainder):?>
189 ... <span
id=
"<?= /* @escapeNotVerified */ $_id = 'id' . uniqid() ?>"><?= $_remainder ?></span>
191 require([
'prototype'],
function(){
193 $(
'<?= /* @escapeNotVerified */ $_id ?>').hide();
194 $(
'<?= /* @escapeNotVerified */ $_id ?>').up().observe(
'mouseover',
function(){$(
'<?= /* @escapeNotVerified */ $_id ?>').show();});
195 $(
'<?= /* @escapeNotVerified */ $_id ?>').up().observe(
'mouseout',
function(){$(
'<?= /* @escapeNotVerified */ $_id ?>').hide();});
216 <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