detsta import improvements, procurement changes

This commit is contained in:
2016-02-26 21:19:51 +01:00
parent 6efbfa7d9b
commit 75aeb64b19
8 changed files with 49 additions and 12 deletions

View File

@@ -12,6 +12,7 @@ use common\models\Account;
use common\models\ProductCategory;
use backend\models\ProductStatisticsSearch;
use PHPExcel;
use yii\helpers\Url;
/**
* ProductController implements the CRUD actions for Product model.
@@ -47,6 +48,8 @@ class ProductController extends \backend\controllers\BackendController
$searchModel = new ProductSearch();
$dataProvider = $searchModel->search(Yii::$app->request->queryParams);
Url::remember(Url::current(),"product_index");
return $this->render('index', [
'searchModel' => $searchModel,
'dataProvider' => $dataProvider,