@@ -40,7 +40,7 @@ |
||
40 | 40 | } |
41 | 41 | |
42 | 42 | /** |
43 | - * @return array |
|
43 | + * @return string[] |
|
44 | 44 | */ |
45 | 45 | public static function getPeriods() |
46 | 46 | { |
@@ -12,7 +12,6 @@ |
||
12 | 12 | |
13 | 13 | use hipanel\modules\finance\logic\IntegrityException; |
14 | 14 | use hipanel\modules\finance\models\CertificateResource; |
15 | -use Yii; |
|
16 | 15 | use yii\web\UnprocessableEntityHttpException; |
17 | 16 | |
18 | 17 | /** |
@@ -40,7 +40,7 @@ |
||
40 | 40 | } |
41 | 41 | |
42 | 42 | /** |
43 | - * @return array |
|
43 | + * @return string[] |
|
44 | 44 | */ |
45 | 45 | public static function getPeriods() |
46 | 46 | { |
@@ -14,7 +14,6 @@ |
||
14 | 14 | use hipanel\modules\finance\models\decorators\AbstractResourceDecorator; |
15 | 15 | use hipanel\modules\finance\models\decorators\ResourceDecoratorInterface; |
16 | 16 | use hipanel\modules\finance\models\ServerResource; |
17 | -use NumberFormatter; |
|
18 | 17 | use Yii; |
19 | 18 | |
20 | 19 | abstract class AbstractServerResourceDecorator extends AbstractResourceDecorator implements ResourceDecoratorInterface |
@@ -12,9 +12,7 @@ |
||
12 | 12 | |
13 | 13 | use hipanel\helpers\ArrayHelper; |
14 | 14 | use hipanel\modules\finance\logic\ServerTariffCalculatorInterface; |
15 | -use hipanel\modules\finance\models\Resource; |
|
16 | 15 | use hipanel\modules\finance\models\ServerResource; |
17 | -use hipanel\modules\server\models\Server; |
|
18 | 16 | use Yii; |
19 | 17 | use yii\web\UnprocessableEntityHttpException; |
20 | 18 |
@@ -13,7 +13,6 @@ |
||
13 | 13 | use hipanel\base\ModelTrait; |
14 | 14 | use hipanel\modules\finance\models\decorators\server\AbstractServerResourceDecorator; |
15 | 15 | use hipanel\modules\finance\models\decorators\server\ServerResourceDecoratorFactory; |
16 | -use hipanel\modules\server\models\Server; |
|
17 | 16 | use Yii; |
18 | 17 | |
19 | 18 | /** |
@@ -18,7 +18,6 @@ |
||
18 | 18 | use hiqdev\hiart\ResponseErrorException; |
19 | 19 | use Yii; |
20 | 20 | use yii\base\InvalidConfigException; |
21 | -use yii\web\NotFoundHttpException; |
|
22 | 21 | use yii\web\UnprocessableEntityHttpException; |
23 | 22 | |
24 | 23 | /** |
@@ -21,7 +21,6 @@ |
||
21 | 21 | use hipanel\modules\finance\widgets\BillTypeFilter; |
22 | 22 | use hipanel\modules\finance\widgets\ColoredBalance; |
23 | 23 | use hipanel\widgets\ArraySpoiler; |
24 | -use hiqdev\combo\StaticCombo; |
|
25 | 24 | use hiqdev\yii2\menus\grid\MenuColumn; |
26 | 25 | use Yii; |
27 | 26 | use yii\helpers\Html; |
@@ -30,6 +30,9 @@ |
||
30 | 30 | $this->loadMerchants($this->depositRequest); |
31 | 31 | } |
32 | 32 | |
33 | + /** |
|
34 | + * @param DepositRequest $depositRequest |
|
35 | + */ |
|
33 | 36 | public function loadMerchants($depositRequest) |
34 | 37 | { |
35 | 38 | $this->addItems($this->fetchMerchants($depositRequest)); |
@@ -12,9 +12,7 @@ discard block |
||
12 | 12 | |
13 | 13 | use hipanel\actions\IndexAction; |
14 | 14 | use hipanel\actions\RedirectAction; |
15 | -use hipanel\actions\SmartCreateAction; |
|
16 | 15 | use hipanel\actions\SmartDeleteAction; |
17 | -use hipanel\actions\SmartPerformAction; |
|
18 | 16 | use hipanel\actions\SmartUpdateAction; |
19 | 17 | use hipanel\actions\ValidateFormAction; |
20 | 18 | use hipanel\actions\ViewAction; |
@@ -25,16 +23,11 @@ discard block |
||
25 | 23 | use hipanel\modules\finance\forms\BillImportForm; |
26 | 24 | use hipanel\modules\finance\forms\CurrencyExchangeForm; |
27 | 25 | use hipanel\modules\finance\models\Bill; |
28 | -use hipanel\modules\finance\models\BillSearch; |
|
29 | -use hipanel\modules\finance\models\Charge; |
|
30 | -use hipanel\modules\finance\models\ChargeSearch; |
|
31 | 26 | use hipanel\modules\finance\models\ExchangeRate; |
32 | 27 | use hipanel\modules\finance\providers\BillTypesProvider; |
33 | -use hiqdev\hiart\ActiveDataProvider; |
|
34 | 28 | use Yii; |
35 | 29 | use yii\base\Event; |
36 | 30 | use yii\base\Module; |
37 | -use yii\data\ArrayDataProvider; |
|
38 | 31 | |
39 | 32 | class BillController extends \hipanel\base\CrudController |
40 | 33 | { |