diff --git a/views/view.php b/views/view.php
index cc881d7..b88ce10 100644
--- a/views/view.php
+++ b/views/view.php
@@ -8,91 +8,78 @@
/* @var $widget phpnt\exportFile\ExportFile */
use yii\bootstrap\Html;
?>
-
- xls) {
+xls): ?>
+
+ model);
- echo Html::hiddenInput('searchAttributes', $widget->searchAttributes);
- echo Html::hiddenInput('sort', $widget->sort);
- echo Html::hiddenInput('page', $widget->page);
+ echo Html::hiddenInput('queryParams', $widget->queryParams);
echo Html::hiddenInput('getAll', $widget->getAll);
echo Html::hiddenInput('title', $widget->title);
echo Html::submitButton($widget->xlsButtonName,
['class' => $widget->buttonClass,]
);
echo Html::endForm();
- }
- ?>
-
-
- csv) {
+ ?>
+
+
+csv): ?>
+
+ model);
- echo Html::hiddenInput('searchAttributes', $widget->searchAttributes);
- echo Html::hiddenInput('sort', $widget->sort);
- echo Html::hiddenInput('page', $widget->page);
+ echo Html::hiddenInput('queryParams', $widget->queryParams);
echo Html::hiddenInput('getAll', $widget->getAll);
echo Html::hiddenInput('title', $widget->title);
- echo Html::hiddenInput('csvCharset', $widget->csvCharset);
echo Html::submitButton($widget->csvButtonName,
['class' => $widget->buttonClass,]
);
echo Html::endForm();
- }
- ?>
-
-
- word) {
+ ?>
+
+
+word): ?>
+
+ model);
- echo Html::hiddenInput('searchAttributes', $widget->searchAttributes);
- echo Html::hiddenInput('sort', $widget->sort);
- echo Html::hiddenInput('page', $widget->page);
+ echo Html::hiddenInput('queryParams', $widget->queryParams);
echo Html::hiddenInput('getAll', $widget->getAll);
echo Html::hiddenInput('title', $widget->title);
echo Html::submitButton($widget->wordButtonName,
['class' => $widget->buttonClass,]
);
echo Html::endForm();
- }
- ?>
-
-
- html) {
+ ?>
+
+
+html): ?>
+
+ model);
- echo Html::hiddenInput('searchAttributes', $widget->searchAttributes);
- echo Html::hiddenInput('sort', $widget->sort);
- echo Html::hiddenInput('page', $widget->page);
+ echo Html::hiddenInput('queryParams', $widget->queryParams);
echo Html::hiddenInput('getAll', $widget->getAll);
echo Html::hiddenInput('title', $widget->title);
echo Html::submitButton($widget->htmlButtonName,
['class' => $widget->buttonClass,]
);
echo Html::endForm();
- }
- ?>
-
-
- html) {
- if ($widget->pdf) {
+ ?>
+
+
+pdf): ?>
+
+ model);
- echo Html::hiddenInput('searchAttributes', $widget->searchAttributes);
- echo Html::hiddenInput('sort', $widget->sort);
- echo Html::hiddenInput('page', $widget->page);
+ echo Html::hiddenInput('queryParams', $widget->queryParams);
echo Html::hiddenInput('getAll', $widget->getAll);
echo Html::hiddenInput('title', $widget->title);
echo Html::submitButton($widget->pdfButtonName,
['class' => $widget->buttonClass,]
);
echo Html::endForm();
- }
- ?>
-
-
+ ?>
+
+