13 <div
class=
"entry-edit fieldset-wrapper">
15 <div
class=
"fieldset-wrapper-title">
16 <span
class=
"title"><?=
$block->escapeHtml(
__(
'Sales Statistics')) ?></span>
19 <table
class=
"data-table">
23 <th><?=
$block->escapeHtml(
__(
'Web Site')) ?></th>
24 <th><?=
$block->escapeHtml(
__(
'Store')) ?></th>
25 <th><?=
$block->escapeHtml(
__(
'Store View')) ?></th>
27 <th><?=
$block->escapeHtml(
__(
'Lifetime Sales')) ?></th>
28 <th
class=
"last"><?=
$block->escapeHtml(
__(
'Average Sale')) ?></th>
34 <td colspan=
"3"><strong><?=
$block->escapeHtml(
__(
'All Store Views')) ?></strong></td>
35 <td
class=
"emph"><strong><?=
$block->escapeHtml(
$block->formatCurrency(
$block->getTotals()->getBaseLifetime())) ?></strong></td>
36 <td
class=
"emph last"><strong><?=
$block->escapeHtml(
$block->formatCurrency(
$block->getTotals()->getAvgsale())) ?></strong></td>
40 <?php
if (
$block->getRows()): ?>
43 <?php
foreach (
$block->getRows() as $_websiteId => $_groups): ?>
45 <?php
foreach ($_groups as $_groupId => $_stores): ?>
47 <?php
foreach ($_stores as $_row): ?>
49 <?php
if ($_row->getStoreId() == 0): ?>
50 <td colspan=
"3"><?=
$block->escapeHtml($_row->getStoreName()) ?></td>
52 <tr<?= (
$_i++ % 2 ?
' class="even"' :
'') ?>>
54 <td rowspan=
"<?= $block->escapeHtmlAttr($block->getWebsiteCount($_websiteId)) ?>"><?=
$block->escapeHtml($_row->getWebsiteName()) ?></td>
58 <td rowspan=
"<?= count($_stores) ?>"><?=
$block->escapeHtml($_row->getGroupName()) ?></td>
61 <td><?=
$block->escapeHtml($_row->getStoreName()) ?></td>
66 <td><?=
$block->escapeHtml(
$block->formatCurrency($_row->getLifetime(), $_row->getWebsiteId())) ?></td>
67 <td><?=
$block->escapeHtml(
$block->formatCurrency($_row->getAvgsale(), $_row->getWebsiteId())) ?></td>
75 <tr
class=
"hidden"><td colspan=
"<?= /* @noEscape */ $singleStoreMode ? 2 : 5 ?>"></td></tr>
if(! $singleStoreMode)(__( 'Web Site')) ?></th >< th ><? endif
if($block->getRows()) foreach($block->getRows() as $_websiteId=> $_groups) foreach($_groups as $_groupId=> $_stores) foreach( $_stores as $_row)(! $singleStoreMode)( $_row->getStoreId()==0)( $_row->getStoreName()) ?></td ><?php else( $_i++% 2 ? ' class="even"' :'') ?>><?php if(! $_websiteRow)( $block->getWebsiteCount( $_websiteId)) ?>"><? $_websiteRow
if(empty( $_rates))( 'You must first configure currency options before being able to see currency rates.') ?></p ></div ><?php else() ?>"> <? $_i
if(! $_groupRow)( $_stores) ?>"><? $_groupRow