From: fomichev Date: Fri, 30 May 2025 10:50:41 +0000 (+0300) Subject: Правки по количеству - расчет с раскрытием товаров X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=8860c2a37e64c2f029ecf470ad2abf5e2dbf90b0;p=erp24_rep%2Fyii-erp24%2F.git Правки по количеству - расчет с раскрытием товаров --- 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, ]); ?>