@@ -4,8 +4,6 @@ |
||
4 | 4 | */ |
5 | 5 | use \app\modules\shop\models\OrderTransaction; |
6 | 6 | use \yii\helpers\Html; |
7 | -use kartik\icons\Icon; |
|
8 | -use yii\helpers\Url; |
|
9 | 7 | |
10 | 8 | $paymentType = $transaction->paymentType; |
11 | 9 | ?> |
@@ -12,9 +12,8 @@ |
||
12 | 12 | * @var $values_by_property_id integer |
13 | 13 | */ |
14 | 14 | |
15 | -use app\modules\image\models\Image; |
|
16 | -use app\modules\shop\models\Product; |
|
17 | 15 | use app\modules\image\widgets\ObjectImageWidget; |
16 | +use app\modules\shop\models\Product; |
|
18 | 17 | use kartik\helpers\Html; |
19 | 18 | use yii\helpers\Url; |
20 | 19 |
@@ -277,7 +277,7 @@ |
||
277 | 277 | * Deletes an existing User model. |
278 | 278 | * If deletion is successful, the browser will be redirected to the 'index' page. |
279 | 279 | * @param integer $id |
280 | - * @return mixed |
|
280 | + * @return \yii\web\Response |
|
281 | 281 | */ |
282 | 282 | public function actionDelete($id) |
283 | 283 | { |
@@ -2,15 +2,15 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\user\controllers; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\backend\components\BackendController; |
6 | 7 | use app\backend\models\AuthItemForm; |
7 | 8 | use yii\data\ArrayDataProvider; |
8 | 9 | use yii\filters\AccessControl; |
9 | 10 | use yii\filters\VerbFilter; |
10 | 11 | use yii\helpers\ArrayHelper; |
11 | -use yii\rbac\Item; |
|
12 | 12 | use yii\helpers\Url; |
13 | -use Yii; |
|
13 | +use yii\rbac\Item; |
|
14 | 14 | |
15 | 15 | /** |
16 | 16 | * BackendUserController implements the CRUD actions for User model. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | -use yii\helpers\Html; |
|
3 | 2 | use app\properties\HasProperties; |
3 | +use yii\helpers\Html; |
|
4 | 4 | ?> |
5 | 5 | <div id="properties-widget-<?=$widget_id?>"> |
6 | 6 | <?php |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | +use app\models\Property; |
|
3 | 4 | use kartik\helpers\Html; |
4 | 5 | use yii\helpers\Url; |
5 | -use app\models\Property; |
|
6 | 6 | /** |
7 | 7 | * @var int $category_group_id |
8 | 8 | * @var array $possible_selections |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | +use app\models\Property; |
|
3 | 4 | use kartik\helpers\Html; |
4 | 5 | use yii\helpers\Url; |
5 | -use app\models\Property; |
|
6 | 6 | /** |
7 | 7 | * @var int $category_group_id |
8 | 8 | * @var array $possible_selections |
@@ -4,9 +4,9 @@ |
||
4 | 4 | |
5 | 5 | use Ivory\HttpAdapter\HttpAdapterInterface; |
6 | 6 | use Yii; |
7 | +use yii\data\ActiveDataProvider; |
|
7 | 8 | use yii\helpers\ArrayHelper; |
8 | 9 | use yii\helpers\Json; |
9 | -use yii\data\ActiveDataProvider; |
|
10 | 10 | |
11 | 11 | /** |
12 | 12 | * Model for storing name and params of Currency Rate Providers |