![]() 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/rma/ |
<?php /** * Copyright © Extmag. All rights reserved. */ // @codingStandardsIgnoreFile /** @var Edit $block */ use Extmag\Shiplab\Block\Rma\Edit; ?> <form class="form-refund-edit" action="<?= $block->escapeUrl($block->getSaveUrl()) ?>" method="post" id="shiplab-refund-form-edit"> <?= $block->getBlockHtml('formkey') ?> <fieldset class="fieldset"> <legend class="legend"><span><?= $block->escapeHtml(__('Products')) ?></span></legend> <br> <?php $products = $block->getAccessibleProducts(); ?> <?php if (!empty($products)) { foreach ($products as $product) : ?> <div class="field"> <label for="product_<?= $product['id'] ?>" class="label"> <span><?= $block->escapeHtml($product['name']) ?></span> <br> <span><small><?= $block->escapeHtml(__('Sku')) ?>: <?= $block->escapeHtml($product['sku']) ?></small></span> </label> <div class="control"> <input type="number" name="product[<?= $product['id'] ?>]" value="0" min="0" max="<?= $product['qty'] ?>" title="Qty" id="product_<?= $product['id'] ?>" class="input-text"> </div> </div> <?php endforeach; } ?> </fieldset> <fieldset class="fieldset"> <legend class="legend"><span><?= $block->escapeHtml(__('Comment')) ?></span></legend> <br> <div class="field"> <label for="rma-comment" class="label"> <span><?= $block->escapeHtml(__('Comment')) ?></span> </label> <div class="control"> <textarea type="text" name="comment" title="Comment" id="rma-comment" class="input-text"></textarea> </div> </div> </fieldset> <div class="actions-toolbar"> <div class="primary"> <button type="submit" class="action save primary" data-action="save-refund" title="<?= $block->escapeHtmlAttr(__('Save Rma')) ?>"> <span><?= $block->escapeHtml(__('Save Rma')) ?></span> </button> </div> <div class="secondary"> <a class="action" href="<?= $block->escapeUrl($block->getBackUrl()) ?>"> <span><?= $block->escapeHtml(__('Go back')) ?></span> </a> </div> </div> </form>