From 8860c2a37e64c2f029ecf470ad2abf5e2dbf90b0 Mon Sep 17 00:00:00 2001 From: fomichev Date: Fri, 30 May 2025 13:50:41 +0300 Subject: [PATCH] =?utf8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=BF?= =?utf8?q?=D0=BE=20=D0=BA=D0=BE=D0=BB=D0=B8=D1=87=D0=B5=D1=81=D1=82=D0=B2?= =?utf8?q?=D1=83=20-=20=D1=80=D0=B0=D1=81=D1=87=D0=B5=D1=82=20=D1=81=20?= =?utf8?q?=D1=80=D0=B0=D1=81=D0=BA=D1=80=D1=8B=D1=82=D0=B8=D0=B5=D0=BC=20?= =?utf8?q?=D1=82=D0=BE=D0=B2=D0=B0=D1=80=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/views/auto-plannogramma/7.php | 3 ++- erp24/views/auto-plannogramma/8.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/erp24/views/auto-plannogramma/7.php b/erp24/views/auto-plannogramma/7.php index c4774db2..6db97737 100644 --- a/erp24/views/auto-plannogramma/7.php +++ b/erp24/views/auto-plannogramma/7.php @@ -92,12 +92,13 @@ $dataProvider, + 'showPageSummary' => true, 'columns' => [ ['attribute' => 'store_id', 'label' => 'Магазин', 'value' => function ($data) { return CityStore::findOne($data['store_id'])->name ?? null; }], ['attribute' => 'species', 'label' => 'Категория'], - ['attribute' => 'goal', 'label' => 'Сумма', 'format' => ['decimal', 2]], + ['attribute' => 'goal', 'label' => 'Сумма', 'format' => ['decimal', 2], 'pageSummary' => true], ], ]); ?> diff --git a/erp24/views/auto-plannogramma/8.php b/erp24/views/auto-plannogramma/8.php index 885a80ed..ad4a4c0c 100644 --- a/erp24/views/auto-plannogramma/8.php +++ b/erp24/views/auto-plannogramma/8.php @@ -102,13 +102,14 @@ $columns = [ ['attribute' => 'category', 'label' => 'Категория'], ['attribute' => 'subcategory', 'label' => 'Подкатегория'], ['attribute' => 'species', 'label' => 'Тип'], - ['attribute' => 'goal', 'label' => 'Сумма', 'format' => ['decimal', 2]], + ['attribute' => 'goal', 'label' => 'Сумма', 'format' => ['decimal', 2], 'pageSummary' => true,], ]; ?> $dataProvider, + 'showPageSummary' => true, 'columns' => $columns, ]); ?>