![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/vendor/extmag/shiplab/view/frontend/templates/order/creditmemo/ |
<?php /** * Copyright © Extmag. All rights reserved. */ // @codingStandardsIgnoreFile /** * @var \Magento\Sales\Block\Order\Creditmemo\Items $block */ ?> <?php $_order = $block->getOrder() ?> <div class="actions-toolbar"> <a href="<?= /* @escapeNotVerified */ $block->getPrintAllCreditmemosUrl($_order) ?>" onclick="this.target='_blank'" class="action print"> <span><?= /* @escapeNotVerified */ __('Print All Refunds') ?></span> </a> </div> <?php foreach ($_order->getCreditmemosCollection() as $_creditmemo): ?> <div class="order-title"> <strong><?= /* @escapeNotVerified */ __('Rma #') ?><?= /* @escapeNotVerified */ $_creditmemo->getIncrementId() ?> </strong> <a href="<?= /* @escapeNotVerified */ $block->getPrintCreditmemoUrl($_creditmemo) ?>" onclick="this.target='_blank'" class="action print"> <span><?= /* @escapeNotVerified */ __('Print Rma') ?></span> </a> <?php $block->getChildBlock('extmag_creditmemo_labels_list')->setCreditMemo($_creditmemo) ?> <?= /* @escapeNotVerified */ $block->getChildHtml('extmag_creditmemo_labels_list') ?> </div> <div class="table-wrapper order-items-creditmemo"> <table class="data table table-order-items creditmemo" id="my-refund-table-<?= /* @escapeNotVerified */ $_creditmemo->getId() ?>"> <caption class="table-caption"><?= /* @escapeNotVerified */ __('Items Refunded') ?></caption> <thead> <tr> <th class="col name"><?= /* @escapeNotVerified */ __('Product Name') ?></th> <th class="col sku"><?= /* @escapeNotVerified */ __('SKU') ?></th> <th class="col price"><?= /* @escapeNotVerified */ __('Price') ?></th> <th class="col qty"><?= /* @escapeNotVerified */ __('Qty') ?></th> <th class="col subtotal"><?= /* @escapeNotVerified */ __('Subtotal') ?></th> <th class="col discount"><?= /* @escapeNotVerified */ __('Discount Amount') ?></th> <th class="col total"><?= /* @escapeNotVerified */ __('Row Total') ?></th> </tr> </thead> <?php $_items = $_creditmemo->getAllItems(); ?> <?php foreach ($_items as $_item): ?> <?php if (!$_item->getOrderItem()->getParentItem()): ?> <tbody> <?= /* @escapeNotVerified */ $block->getItemHtml($_item) ?> </tbody> <?php endif; ?> <?php endforeach; ?> <tfoot> <?= /* @escapeNotVerified */ $block->getTotalsHtml($_creditmemo) ?> </tfoot> </table> </div> <?= /* @escapeNotVerified */ $block->getCommentsHtml($_creditmemo) ?> <?php endforeach; ?>