@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php |
2 | 2 | use app\modules\shop\models\Wishlist; |
3 | -use yii\helpers\Url; |
|
4 | 3 | use yii\helpers\Html; |
4 | +use yii\helpers\Url; |
|
5 | 5 | |
6 | 6 | /** |
7 | 7 | * @var $this yii\web\View |
@@ -4,7 +4,6 @@ |
||
4 | 4 | * @var \app\backend\models\OrderChat[] $list |
5 | 5 | * @var \app\modules\shop\models\Order $order |
6 | 6 | */ |
7 | -use yii\helpers\Html; |
|
8 | 7 | |
9 | 8 | $this->registerAssetBundle(\app\backend\assets\KoAsset::className()); |
10 | 9 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | -use yii\helpers\Html; |
|
3 | 2 | use yii\bootstrap\ActiveForm; |
3 | +use yii\helpers\Html; |
|
4 | 4 | |
5 | 5 | /* @var $this yii\web\View */ |
6 | 6 | /* @var $form yii\bootstrap\ActiveForm */ |
@@ -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 |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * Actual run function for all widget classes extending BaseWidget |
17 | 17 | * |
18 | - * @return mixed |
|
18 | + * @return string |
|
19 | 19 | */ |
20 | 20 | public function widgetRun() |
21 | 21 | { |
@@ -15,7 +15,7 @@ |
||
15 | 15 | /** |
16 | 16 | * Actual run function for all widget classes extending BaseWidget |
17 | 17 | * |
18 | - * @return mixed |
|
18 | + * @return string |
|
19 | 19 | */ |
20 | 20 | public function widgetRun() |
21 | 21 | { |
@@ -1,14 +1,17 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | namespace app\modules\shop\controllers; |
3 | 3 | |
4 | +use Yii; |
|
4 | 5 | use app\modules\core\behaviors\DisableRobotIndexBehavior; |
5 | 6 | use app\modules\core\helpers\EventTriggeringHelper; |
6 | 7 | use app\modules\core\models\Events; |
8 | +use app\modules\shop\ShopModule; |
|
7 | 9 | use app\modules\shop\events\CartActionEvent; |
8 | -use app\modules\shop\handlers\CartHandler; |
|
9 | -use app\modules\shop\helpers\PriceHelper; |
|
10 | 10 | use app\modules\shop\events\OrderStageEvent; |
11 | 11 | use app\modules\shop\events\OrderStageLeafEvent; |
12 | +use app\modules\shop\handlers\CartHandler; |
|
13 | +use app\modules\shop\helpers\CurrencyHelper; |
|
14 | +use app\modules\shop\helpers\PriceHelper; |
|
12 | 15 | use app\modules\shop\models\Addon; |
13 | 16 | use app\modules\shop\models\Order; |
14 | 17 | use app\modules\shop\models\OrderCode; |
@@ -17,15 +20,12 @@ discard block |
||
17 | 20 | use app\modules\shop\models\OrderStageLeaf; |
18 | 21 | use app\modules\shop\models\Product; |
19 | 22 | use app\modules\shop\models\SpecialPriceList; |
20 | -use app\modules\shop\ShopModule; |
|
21 | 23 | use yii\base\Event; |
22 | 24 | use yii\helpers\Url; |
23 | -use Yii; |
|
24 | 25 | use yii\web\BadRequestHttpException; |
25 | 26 | use yii\web\Controller; |
26 | 27 | use yii\web\NotFoundHttpException; |
27 | 28 | use yii\web\Response; |
28 | -use app\modules\shop\helpers\CurrencyHelper; |
|
29 | 29 | |
30 | 30 | /** |
31 | 31 | * Class CartController |
@@ -2,24 +2,24 @@ |
||
2 | 2 | |
3 | 3 | namespace app\modules\seo\controllers; |
4 | 4 | |
5 | +use Yii; |
|
5 | 6 | use app\backend\actions\UpdateEditable; |
6 | 7 | use app\backend\components\BackendController; |
7 | -use app\modules\shop\models\Category; |
|
8 | -use app\modules\shop\models\OrderTransaction; |
|
9 | -use app\modules\shop\models\Product; |
|
10 | 8 | use app\modules\seo\models\Config; |
11 | 9 | use app\modules\seo\models\Counter; |
12 | 10 | use app\modules\seo\models\Meta; |
13 | 11 | use app\modules\seo\models\Redirect; |
14 | 12 | use app\modules\seo\models\Robots; |
15 | -use devgroup\ace\AceHelper; |
|
13 | +use app\modules\shop\models\Category; |
|
14 | +use app\modules\shop\models\OrderTransaction; |
|
15 | +use app\modules\shop\models\Product; |
|
16 | 16 | use devgroup\TagDependencyHelper\ActiveRecordHelper; |
17 | +use devgroup\ace\AceHelper; |
|
17 | 18 | use yii\base\Event; |
18 | 19 | use yii\filters\AccessControl; |
19 | 20 | use yii\helpers\Json; |
20 | -use yii\web\NotFoundHttpException; |
|
21 | 21 | use yii\helpers\Url; |
22 | -use Yii; |
|
22 | +use yii\web\NotFoundHttpException; |
|
23 | 23 | |
24 | 24 | class ManageController extends BackendController |
25 | 25 | { |
@@ -4,13 +4,13 @@ |
||
4 | 4 | * @var Object $object |
5 | 5 | */ |
6 | 6 | |
7 | +use app\backend\components\ActiveForm; |
|
7 | 8 | use app\backend\widgets\BackendWidget; |
8 | 9 | use app\models\Property; |
9 | 10 | use app\models\SpamChecker; |
10 | 11 | use kartik\dynagrid\DynaGrid; |
11 | 12 | use kartik\helpers\Html; |
12 | 13 | use kartik\icons\Icon; |
13 | -use app\backend\components\ActiveForm; |
|
14 | 14 | use yii\helpers\Url; |
15 | 15 | |
16 | 16 | $this->title = Yii::t('app', 'Property edit'); |