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
totalbar.phtml
Go to the documentation of this file.
1
<?php
7
// @deprecated
8
// @codingStandardsIgnoreFile
9
10
$totals
=
$block
->getTotals();
11
?>
12
<?php
if
(
$totals
&& count(
$totals
) > 0): ?>
13
<table
class
=
"items-to-invoice"
>
14
<tr>
15
<?php
foreach
(
$totals
as $total): ?>
16
<td <?php
if
($total[
'grand'
]): ?>
class
=
"grand-total"
<?php
endif
; ?>>
17
<?=
$block
->escapeHtml($total[
'label'
]) ?><br />
18
<?=
$block
->escapeHtml($total[
'value'
]) ?>
19
</td>
20
<?php
endforeach
; ?>
21
</tr>
22
</table>
23
<?php
endif
; ?>
endif
if(sizeof( $block->getTotals()) > 0)($block->getTotals() as $_total) endif
Definition:
totalbar.phtml:10
$block
$block
Definition:
block.php:8
$totals
$totals
Definition:
totalbar.phtml:10
endforeach
if( $totals &&count( $totals) > 0)( $totals as $total)($total['grand']) endforeach
Definition:
totalbar.phtml:18