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-sales
view
adminhtml
templates
order
totals.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
9
?>
10
<table
class
=
"data-table admin__table-secondary order-subtotal-table"
>
11
<?php $_totals =
$block
->getTotals(
'footer'
)?>
12
13
<?php
if
($_totals):?>
14
<tfoot>
15
<?php
foreach
(
$block
->getTotals(
'footer'
) as
$_code
=> $_total): ?>
16
<?php
if
($_total->getBlockName()): ?>
17
<?=
$block
->getChildHtml($_total->getBlockName(),
false
) ?>
18
<?php
else
:?>
19
<tr
class
=
"col-<?= /* @escapeNotVerified */ $_code ?>"
>
20
<td <?= /* @escapeNotVerified */ $block->getLabelProperties() ?>
class
=
"label"
>
21
<strong><?=
$block
->escapeHtml($_total->getLabel()) ?></strong>
22
</td>
23
<td <?= /* @escapeNotVerified */ $block->getValueProperties() ?>>
24
<strong><?=
/* @escapeNotVerified */
$block
->formatValue($_total) ?></strong>
25
</td>
26
</tr>
27
<?php
endif
?>
28
<?php
endforeach
?>
29
</tfoot>
30
<?php
endif
?>
31
32
<?php $_totals =
$block
->getTotals(
''
)?>
33
<?php
if
($_totals):?>
34
<tbody>
35
<?php
foreach
($_totals as
$_code
=> $_total): ?>
36
<?php
if
($_total->getBlockName()): ?>
37
<?=
$block
->getChildHtml($_total->getBlockName(),
false
) ?>
38
<?php
else
:?>
39
<tr
class
=
"col-<?= /* @escapeNotVerified */ $_code ?>"
>
40
<td <?= /* @escapeNotVerified */ $block->getLabelProperties() ?>
class
=
"label"
>
41
<?php
if
($_total->getStrong()):?>
42
<strong><?=
$block
->escapeHtml($_total->getLabel()) ?></strong>
43
<?php
else
:?>
44
<?=
$block
->escapeHtml($_total->getLabel()) ?>
45
<?php
endif
?>
46
</td>
47
48
<?php
if
($_total->getStrong()):?>
49
<td <?= /* @escapeNotVerified */ $block->getValueProperties() ?>>
50
<strong><?=
/* @escapeNotVerified */
$block
->formatValue($_total) ?></strong>
51
</td>
52
<?php
else
:?>
53
<td <?=
/* @escapeNotVerified */
$block
->getValueProperties() ?>>
54
<span><?=
/* @escapeNotVerified */
$block
->formatValue($_total) ?></span>
55
</td>
56
<?php
endif
?>
57
</tr>
58
<?php
endif
?>
59
<?php
endforeach
?>
60
</tbody>
61
<?php
endif
?>
62
</table>
endif
if($block->getTotals()) if( $block->needDisplayBaseGrandtotal())( 'Your credit card will be charged for') ?></th >< td class endif endif
Definition:
totals.phtml:17
endforeach
foreach( $this->main as $item) endforeach
Definition:
side-menu.phtml:10
$_code
$_code
Definition:
attribute.phtml:19
$block
$block
Definition:
block.php:8