<?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ ?> <?php $_creditmemo = $block->getCreditmemo() ?> <?php $_order = $block->getOrder() ?> <?php if ($_creditmemo && $_order) : ?> <table class="email-items"> <thead> <tr> <th class="item-info"> <?= $block->escapeHtml(__('Items')) ?> </th> <th class="item-qty"> <?= $block->escapeHtml(__('Qty')) ?> </th> <th class="item-subtotal"> <?= $block->escapeHtml(__('Subtotal')) ?> </th> </tr> </thead> <?php foreach ($_creditmemo->getAllItems() as $_item) : ?> <?php if (!$_item->getOrderItem()->getParentItem()) : ?> <tbody> <?= $block->getItemHtml($_item) ?> </tbody> <?php endif; ?> <?php endforeach; ?> <tfoot class="order-totals"> <?= $block->getChildHtml('creditmemo_totals') ?> </tfoot> </table> <?php endif; ?> <?php /** * Copyright © Magento, Inc. All rights reserved. * See COPYING.txt for license details. */ ?> <?php $_creditmemo = $block->getCreditmemo() ?> <?php $_order = $block->getOrder() ?> <?php if ($_creditmemo && $_order) : ?> <table class="email-items"> <thead> <tr> <th class="item-sku" style="width: 90px; padding: 15px 0;border-top:1px solid #d1d1d1;color: #000;text-align:left; "> <?= $block->escapeHtml(__('Sku')) ?> </th> <th class="item-info"> <?= $block->escapeHtml(__('Items')) ?> </th> <th class="item-qty"> <?= $block->escapeHtml(__('Qty')) ?> </th> <th class="item-subtotal"> <?= $block->escapeHtml(__('Subtotal')) ?> </th> </tr> </thead> <?php foreach ($_creditmemo->getAllItems() as $_item) : ?> <?php if (!$_item->getOrderItem()->getParentItem()) : ?> <tbody> <tr> <td class="sku" style="border-top:1px solid #d1d1d1;vertical-align: middle;padding: 10px 10px;"> <p class="sku"><?= 'testqygyt'.$block->escapeHtml($_item->getSku()) ?></p> </td> </tr> <?= $block->getItemHtml($_item) ?> </tbody> <?php endif; ?> <?php endforeach; ?> <tfoot class="order-totals"> <?= $block->getChildHtml('creditmemo_totals') ?> </tfoot> </table> <?php endif; ?>