11 <?php $_creditmemo =
$block->getCreditmemo() ?>
12 <?php
if ($_creditmemo): ?>
13 <?php $_creditmemos = [$_creditmemo]; ?>
15 <?php $_creditmemos =
$_order->getCreditmemosCollection() ?>
17 <?php
foreach ($_creditmemos as $_creditmemo): ?>
18 <div
class=
"order-details-items creditmemo">
19 <div
class=
"order-title">
20 <strong><?=
__(
'Refund #%1', $_creditmemo->getIncrementId()) ?></strong>
22 <div
class=
"table-wrapper order-items-creditmemo">
23 <table
class=
"data table table-order-items creditmemo" id=
"my-refund-table-<?= /* @escapeNotVerified */ $_creditmemo->getId() ?>">
24 <caption
class=
"table-caption"><?=
__(
'Items Refunded') ?></caption>
27 <th
class=
"col name"><?=
__(
'Product Name') ?></th>
28 <th
class=
"col sku"><?=
__(
'SKU') ?></th>
29 <th
class=
"col price"><?=
__(
'Price') ?></th>
30 <th
class=
"col qty"><?=
__(
'Qty') ?></th>
31 <th
class=
"col subtotal"><?=
__(
'Subtotal') ?></th>
32 <th
class=
"col discount"><?=
__(
'Discount Amount') ?></th>
33 <th
class=
"col rowtotal"><?=
__(
'Row Total') ?></th>
36 <?php
$_items = $_creditmemo->getAllItems(); ?>
38 <?php
if (!
$_item->getOrderItem()->getParentItem()): ?>
45 <?=
$block->getTotalsHtml($_creditmemo) ?>
49 <div
class=
"block block-order-details-view">
50 <div
class=
"block-title">
51 <strong><?=
__(
'Order Information') ?></strong>
53 <div
class=
"block-content">
54 <?php
if (!
$_order->getIsVirtual()): ?>
55 <div
class=
"box box-order-shipping-address">
56 <div
class=
"box-title">
57 <strong><?=
__(
'Shipping Address') ?></strong>
59 <div
class=
"box-content">
60 <?php $_shipping = $_creditmemo->getShippingAddress() ?>
61 <address><?=
$block->formatAddress($_shipping,
'html') ?></address>
64 <div
class=
"box box-order-shipping-method">
65 <div
class=
"box-title">
66 <strong><?=
__(
'Shipping Method') ?></strong>
68 <div
class=
"box-content">
73 <div
class=
"box box-order-billing-address">
74 <div
class=
"box-title">
75 <strong><?=
__(
'Billing Address') ?></strong>
77 <div
class=
"box-content">
78 <?php $_billing = $_creditmemo->getbillingAddress() ?>
79 <address><?=
$block->formatAddress(
$_order->getBillingAddress(),
'html') ?></address>
82 <div
class=
"box box-order-billing-method">
83 <div
class=
"box-title">
84 <strong><?=
__(
'Payment Method') ?></strong>
86 <div
class=
"box-content">
87 <?=
$block->getPaymentInfoHtml() ?>
if(! $_order->getIsVirtual())( 'Shipping Address') ?></strong ></div >< div class endif
foreach( $_creditmemos as $_creditmemo)( 'Refund #%1', $_creditmemo->getIncrementId()) ?></strong ></div >< div class $_items