init
This commit is contained in:
+36
@@ -0,0 +1,36 @@
|
||||
<?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; ?>
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
/** @var \Magento\Sales\Block\Order\Email\Invoice\Items $block */
|
||||
/** @var \Magento\Framework\Escaper $escaper */
|
||||
|
||||
?>
|
||||
<?php $_invoice = $block->getInvoice() ?>
|
||||
<?php $_order = $block->getOrder() ?>
|
||||
<?php if ($_invoice && $_order): ?>
|
||||
<table class="email-items">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="item-info">
|
||||
<?= $escaper->escapeHtml(__('Items')) ?>
|
||||
</th>
|
||||
<th class="item-qty">
|
||||
<?= $escaper->escapeHtml(__('Qty')) ?>
|
||||
</th>
|
||||
<th class="item-subtotal">
|
||||
<?= $escaper->escapeHtml(__('Subtotal')) ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<?php foreach ($_invoice->getAllItems() as $_item): ?>
|
||||
<?php if (!$_item->getOrderItem()->getParentItem()): ?>
|
||||
<tbody>
|
||||
<?= $block->getItemHtml($_item) ?>
|
||||
</tbody>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
<tfoot class="order-totals">
|
||||
<?= $block->getChildHtml('invoice_totals') ?>
|
||||
</tfoot>
|
||||
</table>
|
||||
<?php endif; ?>
|
||||
@@ -0,0 +1,79 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
// phpcs:disable Magento2.Templates.ThisInTemplate
|
||||
|
||||
/** @var $block \Stemcell\Sales\Block\Order\Email\Items */
|
||||
?>
|
||||
<?php $_order = $block->getOrder() ?>
|
||||
<?php if ($_order) : ?>
|
||||
<?php $_items = $_order->getAllItems(); ?>
|
||||
<table class="email-items">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="item-info">
|
||||
产品号
|
||||
</th>
|
||||
<th class="item-qty">
|
||||
商品名称
|
||||
</th>
|
||||
<th class="item-price">
|
||||
数量
|
||||
</th>
|
||||
<th class="item-price">
|
||||
经销商价格
|
||||
</th>
|
||||
<th class="item-price">
|
||||
折扣
|
||||
</th>
|
||||
<th class="item-price">
|
||||
总金额
|
||||
</th>
|
||||
|
||||
</tr>
|
||||
</thead>
|
||||
<?php foreach ($_items as $_item) : ?>
|
||||
<?php if (!$_item->getParentItem()) : ?>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><?= $_item->getSku() ?></td>
|
||||
<td><?= $_item->getName() ?></td>
|
||||
<td><?= $_item->getQtyOrdered() ?></td>
|
||||
<td>¥<?= $block->getPrice($_item) ?></td>
|
||||
<td><?= number_format($_item->getCustomerDiscountPercent(), 2 ) ?>%</td>
|
||||
<td class="row-total">¥<?= number_format($_item->getRowTotal(), 2) ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
<tfoot class="order-totals">
|
||||
<tr>
|
||||
<td colspan="1" style="text-align: right"><strong>小记: </strong></td>
|
||||
<td colspan="5" style="text-align: left">
|
||||
<strong>
|
||||
¥<?= number_format($_order->getSubtotal(), 2) ?>
|
||||
</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" style="text-align: right"><strong>共计优惠: </strong></td>
|
||||
<td colspan="4" style="text-align: left">
|
||||
<strong>
|
||||
¥<?= number_format($_order->getData('customer_discount'), 2) ?>
|
||||
</strong>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" style="text-align: right"><strong>订单金额: </strong></td>
|
||||
<td colspan="4" style="text-align: left">
|
||||
<strong>
|
||||
¥<?= number_format($_order->getGrandTotal(), 2) ?>
|
||||
</strong>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
</table>
|
||||
<?php endif; ?>
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
/** @var \Magento\Framework\Escaper $escaper */
|
||||
?>
|
||||
<?php $_item = $block->getItem() ?>
|
||||
<?php $_order = $block->getItem()->getOrder(); ?>
|
||||
<tr>
|
||||
<td class="item-info<?= ($block->getItemOptions() ? ' has-extra' : '') ?>">
|
||||
<p class="product-name"><?= $escaper->escapeHtml($_item->getName()) ?></p>
|
||||
<p class="sku"><?= $escaper->escapeHtml(__('SKU')) ?>: <?= $escaper->escapeHtml($block->getSku($_item)) ?></p>
|
||||
<?php if ($block->getItemOptions()): ?>
|
||||
<dl>
|
||||
<?php foreach ($block->getItemOptions() as $option): ?>
|
||||
<dt><strong><em><?= $escaper->escapeHtml($option['label']) ?></em></strong></dt>
|
||||
<dd>
|
||||
<?= /* @noEscape */ nl2br($option['value']) ?>
|
||||
</dd>
|
||||
<?php endforeach; ?>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
<?php $addInfoBlock = $block->getProductAdditionalInformationBlock(); ?>
|
||||
<?php if ($addInfoBlock):?>
|
||||
<?= $addInfoBlock->setItem($_item->getOrderItem())->toHtml() ?>
|
||||
<?php endif; ?>
|
||||
<?= $escaper->escapeHtml($_item->getDescription()) ?>
|
||||
</td>
|
||||
<td class="item-qty"><?= (float) $_item->getQty() ?></td>
|
||||
<td class="item-price">
|
||||
<?= /* @noEscape */ $block->getItemPrice($_item) ?>
|
||||
</td>
|
||||
</tr>
|
||||
+34
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
/** @var \Magento\Framework\Escaper $escaper */
|
||||
?>
|
||||
<?php $_item = $block->getItem() ?>
|
||||
<?php $_order = $block->getItem()->getOrder(); ?>
|
||||
<tr>
|
||||
<td class="item-info<?= ($block->getItemOptions() ? ' has-extra' : '') ?>">
|
||||
<p class="product-name"><?= $escaper->escapeHtml($_item->getName()) ?></p>
|
||||
<p class="sku"><?= $escaper->escapeHtml(__('SKU')) ?>: <?= $escaper->escapeHtml($block->getSku($_item)) ?></p>
|
||||
<?php if ($block->getItemOptions()): ?>
|
||||
<dl>
|
||||
<?php foreach ($block->getItemOptions() as $option): ?>
|
||||
<dt><strong><em><?= $escaper->escapeHtml($option['label']) ?></em></strong></dt>
|
||||
<dd>
|
||||
<?= /* @noEscape */ nl2br($option['value']) ?>
|
||||
</dd>
|
||||
<?php endforeach; ?>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
<?php $addInfoBlock = $block->getProductAdditionalInformationBlock(); ?>
|
||||
<?php if ($addInfoBlock): ?>
|
||||
<?= $addInfoBlock->setItem($_item->getOrderItem())->toHtml() ?>
|
||||
<?php endif; ?>
|
||||
<?= $escaper->escapeHtml($_item->getDescription()) ?>
|
||||
</td>
|
||||
<td class="item-qty"><?= (float) $_item->getQty() ?></td>
|
||||
<td class="item-price">
|
||||
<?= /* @noEscape */ $block->getItemPrice($_item->getOrderItem()) ?>
|
||||
</td>
|
||||
</tr>
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
// phpcs:disable Magento2.Templates.ThisInTemplate
|
||||
// phpcs:disable Magento2.Files.LineLength, Generic.Files.LineLength
|
||||
|
||||
/** @var $block \Magento\Sales\Block\Order\Email\Items\DefaultItems */
|
||||
|
||||
/** @var $_item \Magento\Sales\Model\Order\Item */
|
||||
/** @var \Magento\Framework\Escaper $escaper */
|
||||
$_item = $block->getItem();
|
||||
$_order = $_item->getOrder();
|
||||
?>
|
||||
<tr>
|
||||
<td class="item-info<?= ($block->getItemOptions() ? ' has-extra' : '') ?>">
|
||||
<p class="product-name"><?= $escaper->escapeHtml($_item->getName()) ?></p>
|
||||
<p class="sku"><?= $escaper->escapeHtml(__('SKU')) ?>: <?= $escaper->escapeHtml($block->getSku($_item)) ?></p>
|
||||
<?php if ($block->getItemOptions()): ?>
|
||||
<dl class="item-options">
|
||||
<?php foreach ($block->getItemOptions() as $option): ?>
|
||||
<dt><strong><em><?= $escaper->escapeHtml($option['label']) ?></em></strong></dt>
|
||||
<dd>
|
||||
<?= /* @noEscape */ nl2br($option['value']) ?>
|
||||
</dd>
|
||||
<?php endforeach; ?>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
<?php $addInfoBlock = $block->getProductAdditionalInformationBlock(); ?>
|
||||
<?php if ($addInfoBlock):?>
|
||||
<?= $addInfoBlock->setItem($_item)->toHtml() ?>
|
||||
<?php endif; ?>
|
||||
<?= $escaper->escapeHtml($_item->getDescription()) ?>
|
||||
</td>
|
||||
<td class="item-qty"><?= (float) $_item->getQtyOrdered() ?></td>
|
||||
<td class="item-price">
|
||||
<?= /* @noEscape */ $block->getItemPrice($_item) ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if ($_item->getGiftMessageId()
|
||||
&& $_giftMessage = $this->helper(\Magento\GiftMessage\Helper\Message::class)
|
||||
->getGiftMessage($_item->getGiftMessageId())
|
||||
): ?>
|
||||
<tr>
|
||||
<td colspan="3" class="item-extra">
|
||||
<table class="message-gift">
|
||||
<tr>
|
||||
<td>
|
||||
<h3><?= $escaper->escapeHtml(__('Gift Message')) ?></h3>
|
||||
<strong><?= $escaper->escapeHtml(__('From:')) ?></strong> <?= $escaper->escapeHtml($_giftMessage->getSender()) ?>
|
||||
<br /><strong><?= $escaper->escapeHtml(__('To:')) ?></strong> <?= $escaper->escapeHtml($_giftMessage->getRecipient()) ?>
|
||||
<br /><strong><?= $escaper->escapeHtml(__('Message:')) ?></strong>
|
||||
<br /><?= $escaper->escapeHtml($_giftMessage->getMessage()) ?>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
+16
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
?>
|
||||
<?php
|
||||
/** @var \Magento\Sales\Block\Order\Email\Items\DefaultItems $block */
|
||||
|
||||
$_item = $block->getItem();
|
||||
|
||||
/** @var \Magento\Sales\Model\Order $_order */
|
||||
$_order = $_item->getOrder();
|
||||
?>
|
||||
|
||||
<?= /* @noEscape */ $_order->formatPrice($_item->getRowTotal()) ?>
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
/** @var \Magento\Framework\Escaper $escaper */
|
||||
/** @var \Magento\Sales\Model\Order\Item $_item */
|
||||
$_item = $block->getItem() ?>
|
||||
<tr>
|
||||
<td class="item-info<?= ($block->getItemOptions() ? ' has-extra' : '') ?>">
|
||||
<p class="product-name"><?= $escaper->escapeHtml($_item->getName()) ?></p>
|
||||
<p class="sku"><?= $escaper->escapeHtml(__('SKU')) ?>: <?= $escaper->escapeHtml($block->getSku($_item)) ?></p>
|
||||
<?php if ($block->getItemOptions()): ?>
|
||||
<dl class="item-options">
|
||||
<?php foreach ($block->getItemOptions() as $option): ?>
|
||||
<dt><strong><em><?= $escaper->escapeHtml($option['label']) ?></em></strong></dt>
|
||||
<dd>
|
||||
<?= /* @noEscape */ nl2br($option['value']) ?>
|
||||
</dd>
|
||||
<?php endforeach; ?>
|
||||
</dl>
|
||||
<?php endif; ?>
|
||||
<?php $addInfoBlock = $block->getProductAdditionalInformationBlock(); ?>
|
||||
<?php if ($addInfoBlock): ?>
|
||||
<?= $addInfoBlock->setItem($_item->getOrderItem())->toHtml() ?>
|
||||
<?php endif; ?>
|
||||
<?= $escaper->escapeHtml($_item->getDescription()) ?>
|
||||
</td>
|
||||
<td class="item-qty"><?= (float) $_item->getQty() ?></td>
|
||||
</tr>
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @var $block \Magento\Sales\Block\Order\Totals
|
||||
* @see \Magento\Sales\Block\Order\Totals
|
||||
*/
|
||||
|
||||
?>
|
||||
<?php foreach ($block->getTotals() as $_code => $_total) : ?>
|
||||
<?php if ($_total->getBlockName()) : ?>
|
||||
<?= $block->getChildHtml($_total->getBlockName(), false) ?>
|
||||
<?php else :?>
|
||||
<tr class="<?= $block->escapeHtmlAttr($_code) ?>">
|
||||
<th colspan="2" scope="row">
|
||||
<?php if ($_total->getStrong()) : ?>
|
||||
<strong><?= $block->escapeHtml($_total->getLabel()) ?></strong>
|
||||
<?php else : ?>
|
||||
<?= $block->escapeHtml($_total->getLabel()) ?>
|
||||
<?php endif ?>
|
||||
</th>
|
||||
<td style="text-align: left" colspan="8" <?= /* @noEscape */ $block->getValueProperties() ?> data-th="<?= $block->escapeHtmlAttr($_total->getLabel()) ?>">
|
||||
<?php if ($_total->getStrong()) : ?>
|
||||
<strong><?= /* @noEscape */ $block->formatValue($_total) ?></strong>
|
||||
<?php else : ?>
|
||||
<?= /* @noEscape */ $block->formatValue($_total) ?>
|
||||
<?php endif?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<?php endforeach?>
|
||||
|
||||
+95
@@ -0,0 +1,95 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
// phpcs:disable Magento2.Templates.ThisInTemplate
|
||||
|
||||
/** @var $block \Stemcell\Sales\Block\Order\Email\Salesperson\Items */
|
||||
?>
|
||||
<?php
|
||||
/**
|
||||
* @notice
|
||||
* 同一笔订单,可能因为用户在购物车给不同商品选择的账户(lab)不一样,这时对应的销售(salesperson)可能不一样,
|
||||
* 因此同一个订单需要根据销售来拆分,这就导致同一个订单可能发多个邮件给不同的销售。因此这个的order_items并不是订单的全部items。
|
||||
* 此数据来源于\Stemcell\Sales\Observer\SalespersonNotify。
|
||||
* 故此,order-totals的总额不能用order的grand total
|
||||
*/
|
||||
$_order = $block->getOrder();
|
||||
$_items = $_order->getAllVisibleItems();
|
||||
$customerNote = $block->getOrder()->getCustomerNote();
|
||||
?>
|
||||
<?php ?>
|
||||
<?php if (!empty($_items)) : ?>
|
||||
<!-- --><?php //$_items = $_order->getAllItems(); ?>
|
||||
<table class="email-items">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="item-info" style="text-align: left">
|
||||
货号
|
||||
</th>
|
||||
<th class="item-qty" style="text-align: left">
|
||||
商品名称
|
||||
</th>
|
||||
<th class="item-price" style="text-align: left">
|
||||
经销商价格
|
||||
</th>
|
||||
<th class="item-price" style="text-align: left">
|
||||
数量
|
||||
</th>
|
||||
<th class="item-price" style="text-align: left">
|
||||
折扣
|
||||
</th>
|
||||
<th class="item-price" style="text-align: left">
|
||||
总金额
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<?php foreach ($_items as $_item) : ?>
|
||||
<?php if (!$_item->getParentItem()) : ?>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="text-align: left"><?= $_item->getSku() ?></td>
|
||||
<td style="text-align: left"><?= $_item->getProductOptionByCode('simple_name')??$_item->getName() ?></td>
|
||||
<td style="text-align: left">¥<?= $block->getPrice($_item) ?></td>
|
||||
<td style="text-align: left"><?= $_item->getQtyOrdered() ?></td>
|
||||
<td style="text-align: left"><?= number_format($_item->getCustomerDiscountPercent(), 2) ?>%</td>
|
||||
<td style="text-align: left">¥<?= $_item->getRowTotal() ?></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
<tfoot class="order-totals">
|
||||
<tr>
|
||||
<td colspan="1" style="text-align: right"><strong>小计:</strong></td>
|
||||
<td colspan="5" style="text-align: left">
|
||||
<?= '¥'.number_format($_order->getSubtotal(), 2) ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="1" style="text-align: right"><strong>优惠金额:</strong></td>
|
||||
<td colspan="5" style="text-align: left">
|
||||
<?= '¥'.number_format($_order->getData('customer_discount'), 2) ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="1" style="text-align: right"><strong>总额:</strong></td>
|
||||
<td colspan="5" style="text-align: left">
|
||||
<?= '¥'.number_format($_order->getGrandTotal(), 2) ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if ($customerNote): ?>
|
||||
|
||||
<tr class="order_note">
|
||||
<th colspan="1" style="text-align: right">
|
||||
<strong>订单备注:</strong>
|
||||
</th>
|
||||
<td colspan="5" style="text-align: left" >
|
||||
<?= /* @noEscape */ $block->escapeHtml($customerNote) ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif ?>
|
||||
</tfoot>
|
||||
</table>
|
||||
<?php endif; ?>
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
|
||||
?>
|
||||
<?php $_shipment = $block->getShipment() ?>
|
||||
<?php $_order = $block->getOrder() ?>
|
||||
<?php if ($_shipment && $_order) : ?>
|
||||
<table class="email-items">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="item-info">
|
||||
<?= $block->escapeHtml(__('Items')) ?>
|
||||
</th>
|
||||
<th class="item-qty">
|
||||
<?= $block->escapeHtml(__('Qty')) ?>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<?php foreach ($_shipment->getAllItems() as $_item) : ?>
|
||||
<?php if (!$_item->getOrderItem()->getParentItem()) : ?>
|
||||
<tbody>
|
||||
<?= $block->getItemHtml($_item) ?>
|
||||
</tbody>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</table>
|
||||
<?php endif; ?>
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
* Copyright © Magento, Inc. All rights reserved.
|
||||
* See COPYING.txt for license details.
|
||||
*/
|
||||
?>
|
||||
<?php /* @var \Magento\Framework\View\Element\Template $block */ ?>
|
||||
<?php $_shipment = $block->getShipment() ?>
|
||||
<?php
|
||||
/* @var \Magento\Sales\Model\Order $_order */
|
||||
$_order = $block->getOrder() ?>
|
||||
<?php if ($_shipment && $_order) : ?>
|
||||
<?php $trackCollection = $_shipment->getTracksCollection() ?>
|
||||
<?php if ($trackCollection) : ?>
|
||||
<br />
|
||||
<table class="shipment-track">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><?= $block->escapeHtml(__('Shipped By')) ?></th>
|
||||
<th><?= $block->escapeHtml(__('Tracking Number')) ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach ($trackCollection as $_item) : ?>
|
||||
<tr>
|
||||
<td><?= $block->escapeHtml($_item->getTitle()) ?>:</td>
|
||||
<td>
|
||||
<a href="<?= $block->escapeUrl($block->getTrackingUrl()->getUrl($_item)) ?>" target="_blank">
|
||||
<?= $block->escapeHtml($_item->getNumber()) ?>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
Reference in New Issue
Block a user