diff --git a/views/statistics/index.php b/views/statistics/index.php
index 5bdc139..757d6d0 100644
--- a/views/statistics/index.php
+++ b/views/statistics/index.php
@@ -140,7 +140,15 @@ JS;
Уникальных товаров, шт. |
$statistic) {
+ $total_count += $statistic[ 'count' ];
+ $total_sum += $statistic[ 'sum' ];
+ $total_products += $statistic[ 'products' ];
+ $total_unique += $statistic[ 'unique' ];
echo Html::tag(
'tr',
Html::tag('td', $name) . Html::tag('td', $statistic[ 'count' ]) . Html::tag(
@@ -148,7 +156,15 @@ JS;
$statistic[ 'sum' ]
) . Html::tag('td', $statistic[ 'products' ]) . Html::tag('td', $statistic[ 'unique' ])
);
- } ?>
+ }
+ ?>
+
+ Всего |
+ =$total_count?> |
+ =$total_sum?> |
+ =$total_products?> |
+ =$total_unique?> |
+
--
libgit2 0.21.4