@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace app\modules\shop\models; |
| 4 | 4 | |
| 5 | 5 | |
| 6 | -use app\components\payment\AbstractPayment; |
|
| 7 | 6 | use Yii; |
| 7 | +use app\components\payment\AbstractPayment; |
|
| 8 | 8 | use yii\base\Exception; |
| 9 | 9 | use yii\base\UnknownClassException; |
| 10 | 10 | use yii\db\ActiveRecord; |
@@ -1,5 +1,4 @@ |
||
| 1 | 1 | <?php |
| 2 | -use kartik\select2\Select2; |
|
| 3 | 2 | |
| 4 | 3 | /** |
| 5 | 4 | * @var $this yii\web\View |
@@ -1,16 +1,16 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | +use app\backend\components\ActiveForm; |
|
| 4 | +use app\backend\components\Helper; |
|
| 3 | 5 | use app\backend\widgets\BackendWidget; |
| 6 | +use app\backend\widgets\GridView; |
|
| 7 | +use app\modules\shop\ShopModule; |
|
| 4 | 8 | use app\modules\shop\controllers\BackendProductController; |
| 5 | 9 | use app\modules\shop\models\Product; |
| 6 | -use app\backend\widgets\GridView; |
|
| 7 | 10 | use kartik\helpers\Html; |
| 8 | 11 | use kartik\icons\Icon; |
| 9 | -use app\backend\components\ActiveForm; |
|
| 10 | 12 | use kartik\widgets\DateTimePicker; |
| 11 | 13 | use yii\data\ActiveDataProvider; |
| 12 | -use app\backend\components\Helper; |
|
| 13 | -use app\modules\shop\ShopModule; |
|
| 14 | 14 | use yii\helpers\Url; |
| 15 | 15 | |
| 16 | 16 | /** |
@@ -5,9 +5,9 @@ |
||
| 5 | 5 | * @var \yii\data\ActiveDataProvider $dataProvider |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | +use kartik\icons\Icon; |
|
| 8 | 9 | use yii\helpers\Html; |
| 9 | - use yii\helpers\Url; |
|
| 10 | - use kartik\icons\Icon; |
|
| 10 | +use yii\helpers\Url; |
|
| 11 | 11 | |
| 12 | 12 | $this->title = Yii::t('app', 'Order stages'); |
| 13 | 13 | $this->params['breadcrumbs'] = [ |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace app\modules\shop\widgets; |
| 4 | 4 | |
| 5 | 5 | use app\modules\shop\helpers\ProductCompareHelper; |
| 6 | -use yii; |
|
| 7 | 6 | use yii\base\Widget; |
| 8 | 7 | |
| 9 | 8 | class ProductCompare extends Widget |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\shop\widgets; |
| 4 | 4 | |
| 5 | -use yii\helpers\ArrayHelper; |
|
| 6 | 5 | use Yii; |
| 6 | +use yii\helpers\ArrayHelper; |
|
| 7 | 7 | |
| 8 | 8 | /** |
| 9 | 9 | * @property \app\models\Property $property |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\user\actions; |
| 4 | 4 | |
| 5 | -use app; |
|
| 6 | 5 | use Yii; |
| 6 | +use app; |
|
| 7 | 7 | |
| 8 | 8 | /** |
| 9 | 9 | * AuthAction extends base yii2 auth action adding error view |
@@ -2,17 +2,16 @@ |
||
| 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\components\SearchModel; |
| 7 | 8 | use app\modules\user\models\User; |
| 8 | -use Yii; |
|
| 9 | 9 | use yii\filters\AccessControl; |
| 10 | 10 | use yii\filters\VerbFilter; |
| 11 | 11 | use yii\helpers\ArrayHelper; |
| 12 | 12 | use yii\helpers\Json; |
| 13 | -use yii\rbac\Item; |
|
| 14 | 13 | use yii\helpers\Url; |
| 15 | - |
|
| 14 | +use yii\rbac\Item; |
|
| 16 | 15 | use yii\web\NotFoundHttpException; |
| 17 | 16 | |
| 18 | 17 | /** |
@@ -2,13 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace app\modules\user\models; |
| 4 | 4 | |
| 5 | -use app\modules\shop\models\Customer; |
|
| 6 | -use app\properties\HasProperties; |
|
| 5 | +use Yii; |
|
| 7 | 6 | use app\models\PropertyGroup; |
| 8 | -use app\models\ObjectPropertyGroup; |
|
| 9 | - |
|
| 7 | +use app\properties\HasProperties; |
|
| 10 | 8 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
| 11 | -use Yii; |
|
| 12 | 9 | use yii\base\NotSupportedException; |
| 13 | 10 | use yii\behaviors\TimestampBehavior; |
| 14 | 11 | use yii\caching\TagDependency; |