Commit 60fa89109968f67897ee28dd8855730fac84e6db
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 | 2 | |
| 3 | 3 | namespace artweb\artbox\ecommerce\controllers; |
| 4 | 4 | |
| 5 | - use arturoliveira\ExcelView; | |
| 6 | 5 | use artweb\artbox\ecommerce\models\Label; |
| 7 | 6 | use artweb\artbox\ecommerce\models\Order; |
| 8 | 7 | use common\models\User; |
| ... | ... | @@ -187,6 +186,7 @@ |
| 187 | 186 | |
| 188 | 187 | public function actionExport($date_range = NULL, $label = NULL, $manager = NULL) |
| 189 | 188 | { |
| 189 | + \Yii::$app->response = Response::FORMAT_JSON; | |
| 190 | 190 | $formatter = \Yii::$app->formatter; |
| 191 | 191 | /** |
| 192 | 192 | * Get export options | ... | ... |