Spamworldpro Mini Shell
Spamworldpro


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/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/old/vendor/extmag/shiplab/view/frontend/templates/rma/view.phtml
<?php
/**
 * Copyright © Extmag. All rights reserved.
 */

// @codingStandardsIgnoreFile
use Extmag\Shiplab\Block\Rma\View;
use Extmag\Shiplab\Model\Label;

/** @var View $block */
?>
<?php $labels = $block->getLabels(); ?>
<?php if ($labels && count($labels)): ?>
    <div class="table-wrapper orders-history">
        <table class="data table table-order-items history" id="my-labels-table">
            <caption class="table-caption"><?= /* @noEscape */
                __('Labels') ?></caption>
            <thead>
            <tr>
                <th scope="col" class="col id"><?= /* @noEscape */
                    __('Tracking Number #') ?></th>
                <th scope="col" class="col id"><?= /* @noEscape */
                    __('Carrier') ?></th>
                <th scope="col" class="col date"><?= /* @noEscape */
                    __('Date') ?></th>
                <th scope="col" class="col shipping"><?= /* @noEscape */
                    __('Products') ?></th>
                <th scope="col" class="col shipping"><?= /* @noEscape */
                    __('Comment') ?></th>
                <th scope="col" class="col actions"><?= /* @noEscape */
                    __('Action') ?></th>
            </tr>
            </thead>
            <tbody>
            <?php
            /**
             * @var Label $label
             */
            foreach ($labels as $label): ?>
                <tr>
                    <td data-th="<?= $block->escaper->escapeHtml(__('Tracking Number #')) ?>"
                        class="col id"><?= /* @noEscape */
                        $label->getMasterId() ?></td>
                    <td data-th="<?= $block->escaper->escapeHtml(__('Carrier')) ?>"
                        class="col carrier-name"><?= /* @noEscape */
                        $label->getCarrierShortName() ?></td>
                    <td data-th="<?= $block->escaper->escapeHtml(__('Date')) ?>" class="col date"><?= /* @noEscape */
                        $block->formatDate($label->getCreatedTime(), 2, true) ?></td>
                    <td data-th="<?= $block->escaper->escapeHtml(__('Products')) ?>" class="col products">
                        <?php
                        [$products, $productsOrig] = $block->getProducts($label);
                        foreach ($products as $product):
                            ?>
                            <div class="extmag_rma_product">
                                <div><b><?= $block->escaper->escapeHtml($product['name']) ?></b></div>
                                <div>
                                    <span><?= /* @noEscape */
                                        __('Sku: ') ?></span><span><?= $block->escaper->escapeHtml($productsOrig[$product['id']]['sku']) ?></span>
                                </div>
                                <div><span><?= /* @noEscape */
                                        __('Qty: ') ?></span><span><?= /* @noEscape */
                                        $product['qty'] ?></span></div>
                            </div>
                        <?php endforeach; ?>
                    </td>
                    <td data-th="<?= $block->escaper->escapeHtml(__('Comment')) ?>" class="col comment">
                        <?= $block->getComment($label) ?>
                    </td>
                    <td data-th="<?= $block->escaper->escapeHtml(__('Actions')) ?>" class="col actions">
                        <a href="<?= /* @noEscape */
                        $block->getPrintUrl($label) ?>" class="action view">
                            <span><?= /* @noEscape */
                                __('Print Label') ?></span>
                        </a>
                    </td>
                </tr>
            <?php endforeach; ?>
            </tbody>
        </table>
    </div>
    <?php if ($block->getPagerHtml()): ?>
        <div class="order-products-toolbar toolbar bottom"><?= $block->getPagerHtml() ?></div>
    <?php endif ?>
<?php else: ?>
    <div class="message info empty"><span><?= /* @escapeNotVerified */
            __('You have placed no rma labels.') ?></span></div>
<?php endif ?>

Spamworldpro Mini