@@ -13,7 +13,6 @@ |
||
| 13 | 13 | use hipanel\modules\finance\logic\IntegrityException; |
| 14 | 14 | use hipanel\modules\finance\models\DomainResource; |
| 15 | 15 | use hipanel\modules\finance\models\DomainService; |
| 16 | -use hipanel\modules\finance\models\Tariff; |
|
| 17 | 16 | use yii\web\UnprocessableEntityHttpException; |
| 18 | 17 | |
| 19 | 18 | class DomainTariffForm extends AbstractTariffForm |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace hipanel\modules\finance\actions; |
| 4 | 4 | |
| 5 | 5 | use hipanel\modules\finance\forms\BillForm; |
| 6 | -use hipanel\modules\finance\forms\BillImportForm; |
|
| 7 | 6 | use hipanel\modules\finance\models\Bill; |
| 8 | 7 | use hipanel\modules\finance\providers\BillTypesProvider; |
| 9 | 8 | use hiqdev\hiart\Collection; |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | use hipanel\modules\finance\grid\SaleGridView; |
| 4 | 4 | use hipanel\widgets\IndexPage; |
| 5 | 5 | use hipanel\widgets\Pjax; |
| 6 | -use yii\helpers\Html; |
|
| 7 | 6 | |
| 8 | 7 | $this->title = Yii::t('hipanel:finance:sale', 'Sale'); |
| 9 | 8 | $this->params['breadcrumbs'][] = $this->title; |
@@ -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; |
@@ -23,16 +21,11 @@ discard block |
||
| 23 | 21 | use hipanel\modules\finance\forms\BillImportForm; |
| 24 | 22 | use hipanel\modules\finance\forms\CurrencyExchangeForm; |
| 25 | 23 | use hipanel\modules\finance\models\Bill; |
| 26 | -use hipanel\modules\finance\models\BillSearch; |
|
| 27 | -use hipanel\modules\finance\models\Charge; |
|
| 28 | -use hipanel\modules\finance\models\ChargeSearch; |
|
| 29 | 24 | use hipanel\modules\finance\models\ExchangeRate; |
| 30 | 25 | use hipanel\modules\finance\providers\BillTypesProvider; |
| 31 | -use hiqdev\hiart\ActiveDataProvider; |
|
| 32 | 26 | use Yii; |
| 33 | 27 | use yii\base\Event; |
| 34 | 28 | use yii\base\Module; |
| 35 | -use yii\data\ArrayDataProvider; |
|
| 36 | 29 | use yii\filters\AccessControl; |
| 37 | 30 | |
| 38 | 31 | class BillController extends \hipanel\base\CrudController |
@@ -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 | /** |
@@ -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 | /** |