@@ -2,21 +2,21 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\shop\controllers; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\components\Controller; |
6 | 7 | use app\extensions\DefaultTheme\components\BaseWidget; |
7 | 8 | use app\extensions\DefaultTheme\models\ThemeActiveWidgets; |
8 | 9 | use app\extensions\DefaultTheme\models\ThemeWidgets; |
9 | 10 | use app\extensions\DefaultTheme\widgets\FilterSets\Widget; |
11 | +use app\models\Object; |
|
10 | 12 | use app\models\PropertyStaticValues; |
13 | +use app\models\Search; |
|
11 | 14 | use app\modules\core\helpers\EventTriggeringHelper; |
12 | 15 | use app\modules\shop\events\ProductPageShowed; |
13 | 16 | use app\modules\shop\models\Category; |
14 | -use app\models\Object; |
|
15 | 17 | use app\modules\shop\models\Product; |
16 | -use app\models\Search; |
|
17 | 18 | use app\traits\DynamicContentTrait; |
18 | 19 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
19 | -use Yii; |
|
20 | 20 | use yii\caching\TagDependency; |
21 | 21 | use yii\data\Pagination; |
22 | 22 | use yii\helpers\ArrayHelper; |
@@ -9,7 +9,6 @@ |
||
9 | 9 | use app\modules\shop\models\DeliveryInformation; |
10 | 10 | use app\modules\shop\models\Order; |
11 | 11 | use app\modules\shop\models\OrderDeliveryInformation; |
12 | -use app\modules\shop\models\OrderStageLeaf; |
|
13 | 12 | use app\modules\shop\models\OrderTransaction; |
14 | 13 | use app\modules\shop\models\PaymentType; |
15 | 14 | use app\properties\HasProperties; |
@@ -2,13 +2,12 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\shop\models; |
4 | 4 | |
5 | -use app\modules\shop\models\CurrencyRateProvider; |
|
6 | -use app\modules\shop\components\SpecialPriceProductInterface; |
|
7 | 5 | use Yii; |
6 | +use app\modules\shop\models\CurrencyRateProvider; |
|
8 | 7 | use yii\base\InvalidConfigException; |
9 | 8 | use yii\caching\TagDependency; |
10 | -use yii\helpers\ArrayHelper; |
|
11 | 9 | use yii\data\ActiveDataProvider; |
10 | +use yii\helpers\ArrayHelper; |
|
12 | 11 | |
13 | 12 | /** |
14 | 13 | * This is the model class Multi-currency |
@@ -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 |