Commit 60fa89109968f67897ee28dd8855730fac84e6db

Authored by Alexey Boroda
1 parent 8bfd454a

-Before css compression

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
controllers/StatisticsController.php
@@ -2,7 +2,6 @@ @@ -2,7 +2,6 @@
2 2
3 namespace artweb\artbox\ecommerce\controllers; 3 namespace artweb\artbox\ecommerce\controllers;
4 4
5 - use arturoliveira\ExcelView;  
6 use artweb\artbox\ecommerce\models\Label; 5 use artweb\artbox\ecommerce\models\Label;
7 use artweb\artbox\ecommerce\models\Order; 6 use artweb\artbox\ecommerce\models\Order;
8 use common\models\User; 7 use common\models\User;
@@ -187,6 +186,7 @@ @@ -187,6 +186,7 @@
187 186
188 public function actionExport($date_range = NULL, $label = NULL, $manager = NULL) 187 public function actionExport($date_range = NULL, $label = NULL, $manager = NULL)
189 { 188 {
  189 + \Yii::$app->response = Response::FORMAT_JSON;
190 $formatter = \Yii::$app->formatter; 190 $formatter = \Yii::$app->formatter;
191 /** 191 /**
192 * Get export options 192 * Get export options