Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
salebar.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
9 ?>
10 <?php if (sizeof($block->getTotals()) > 0): ?>
11  <?php foreach ($block->getTotals() as $_total): ?>
12  <div class="dashboard-item dashboard-item-primary">
13  <div class="dashboard-item-title"><?= /* @escapeNotVerified */ $_total['label'] ?></div>
14  <div class="dashboard-item-content">
15  <strong class="dashboard-sales-value">
16  <?= /* @escapeNotVerified */ $_total['value'] ?>
17  <span class="dashboard-sales-decimals"><?= /* @escapeNotVerified */ $_total['decimals'] ?></span>
18  </strong>
19  </div>
20  </div>
21  <?php endforeach; ?>
22 <?php endif; ?>
foreach( $this->main as $item) endforeach
Definition: side-menu.phtml:10
if(sizeof( $block->getTotals()) > 0)($block->getTotals() as $_total) endif
Definition: salebar.phtml:10
$block
Definition: block.php:8