From: fomichev Date: Tue, 18 Feb 2025 09:39:39 +0000 (+0300) Subject: Полная выгрузка в excel X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=ae83ed1b3c00b36b6c27d3f2cf0f477b3cebe008;p=erp24_rep%2Fyii-erp24%2F.git Полная выгрузка в excel --- diff --git a/erp24/views/products1c-nomenclature/index.php b/erp24/views/products1c-nomenclature/index.php index 2e8fbba2..9a039833 100644 --- a/erp24/views/products1c-nomenclature/index.php +++ b/erp24/views/products1c-nomenclature/index.php @@ -50,7 +50,6 @@ $this->params['breadcrumbs'][] = $this->title; 'exportConfig' => [ ExportMenu::FORMAT_EXCEL => [ 'label' => 'Excel', - 'filename' => 'export_' . date('Y-m-d'), 'options' => ['title' => 'Сохранить в Excel'], ], ExportMenu::FORMAT_TEXT => false, @@ -59,9 +58,10 @@ $this->params['breadcrumbs'][] = $this->title; ExportMenu::FORMAT_PDF => false, ], + 'filename' => 'export_' . date('Y-m-d'), 'showColumnSelector' => false, 'showConfirmAlert' => false, - 'target' => GridView::TARGET_BLANK, + 'target' => ExportMenu::TARGET_SELF, 'dropdownOptions' => [ 'label' => 'Экспорт данных', ],