Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-shipping
view
frontend
templates
tracking
progress.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
10
$parentBlock
=
$block
->getParentBlock();
11
$track
=
$block
->getData(
'track'
);
12
?>
13
<div
class
=
"table-wrapper"
>
14
<table
class
=
"data table order tracking"
id
=
"track-history-table-<?= $block->escapeHtml($track->getTracking()) ?>"
>
15
<caption
class
=
"table-caption"
><?=
$block
->escapeHtml(
__
(
'Track history'
)) ?></caption>
16
<thead>
17
<tr>
18
<th
class
=
"col location"
scope=
"col"
><?=
$block
->escapeHtml(
__
(
'Location'
)) ?></th>
19
<th
class
=
"col date"
scope=
"col"
><?=
$block
->escapeHtml(
__
(
'Date'
)) ?></th>
20
<th
class
=
"col time"
scope=
"col"
><?=
$block
->escapeHtml(
__
(
'Local Time'
)) ?></th>
21
<th
class
=
"col description"
scope=
"col"
><?=
$block
->escapeHtml(
__
(
'Description'
)) ?></th>
22
</tr>
23
</thead>
24
<tbody>
25
<?php
foreach
(
$track
->getProgressdetail() as $detail): ?>
26
<?php $detailDate = (!empty($detail[
'deliverydate'
]) ?
$parentBlock
->formatDeliveryDate($detail[
'deliverydate'
] .
' '
. $detail[
'deliverytime'
]) :
''
); ?>
27
<?php
$detailTime
= (!empty($detail[
'deliverytime'
]) ?
$parentBlock
->formatDeliveryTime($detail[
'deliverytime'
], $detail[
'deliverydate'
]) :
''
); ?>
28
<tr>
29
<td data-th=
"<?= $block->escapeHtml(__('Location')) ?>"
class
=
"col location"
>
30
<?= (!empty($detail[
'deliverylocation'
]) ?
$block
->escapeHtml($detail[
'deliverylocation'
]) :
''
) ?>
31
</td>
32
<td data-th=
"<?= $block->escapeHtml(__('Date')) ?>"
class
=
"col date"
>
33
<?=
/* @noEscape */
$detailDate ?>
34
</td>
35
<td data-th=
"<?= $block->escapeHtml(__('Local Time')) ?>"
class
=
"col time"
>
36
<?=
/* @noEscape */
$detailTime
?></td>
37
<td data-th=
"<?= $block->escapeHtml(__('Description')) ?>"
class
=
"col description"
>
38
<?= (!empty($detail[
'activity'
]) ?
$block
->escapeHtml($detail[
'activity'
]) :
''
) ?>
39
</td>
40
</tr>
41
<?php
endforeach
; ?>
42
</tbody>
43
</table>
44
</div>
$detailTime
$detailTime
Definition:
progress.phtml:27
__
__()
Definition:
__.php:13
$parentBlock
$parentBlock
Definition:
progress.phtml:10
$block
$block
Definition:
block.php:8
endforeach
endforeach
Definition:
progress.phtml:38
$track
$track
Definition:
progress.phtml:11