@@ -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 | /** @var \yii\web\View $this */ |
| 9 | 8 | /** @var \hipanel\modules\finance\models\SaleSearch $model */ |
@@ -45,6 +45,9 @@ |
||
| 45 | 45 | } |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | + /** |
|
| 49 | + * @param \hipanel\inputs\TextInput $type |
|
| 50 | + */ |
|
| 48 | 51 | private function renderTextInput($type) |
| 49 | 52 | { |
| 50 | 53 | $this->activeField->template = "{label}\n<div class=\"input-group\">{input}</div>\n{hint}\n{error}"; |
@@ -14,11 +14,8 @@ |
||
| 14 | 14 | use hipanel\modules\finance\forms\CertificateTariffForm; |
| 15 | 15 | use hipanel\modules\finance\models\Tariff; |
| 16 | 16 | use hiqdev\hiart\ConnectionInterface; |
| 17 | -use hiqdev\hiart\ResponseErrorException; |
|
| 18 | 17 | use Yii; |
| 19 | 18 | use yii\base\InvalidConfigException; |
| 20 | -use yii\web\NotFoundHttpException; |
|
| 21 | -use yii\web\UnprocessableEntityHttpException; |
|
| 22 | 19 | |
| 23 | 20 | /** |
| 24 | 21 | * Class CertificateTariffManager |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | use hipanel\actions\SmartUpdateAction; |
| 19 | 19 | use hipanel\actions\ValidateFormAction; |
| 20 | 20 | use hipanel\filters\EasyAccessControl; |
| 21 | -use hipanel\modules\finance\models\TariffProfile; |
|
| 22 | 21 | use Yii; |
| 23 | 22 | |
| 24 | 23 | class TariffProfileController extends \hipanel\base\CrudController |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | use hipanel\modules\finance\grid\TariffProfileGridView; |
| 4 | 4 | use hipanel\widgets\IndexPage; |
| 5 | 5 | use hipanel\widgets\Pjax; |
| 6 | -use yii\bootstrap\Dropdown; |
|
| 7 | 6 | use yii\helpers\Html; |
| 8 | 7 | |
| 9 | 8 | |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | use hipanel\modules\finance\logic\ServerTariffManager; |
| 25 | 25 | use hipanel\modules\finance\logic\SvdsTariffManager; |
| 26 | 26 | use hipanel\modules\finance\logic\TariffManagerFactory; |
| 27 | -use hipanel\modules\finance\models\CertificateResource; |
|
| 28 | 27 | use Yii; |
| 29 | 28 | |
| 30 | 29 | class TariffController extends \hipanel\base\CrudController |
@@ -10,13 +10,11 @@ |
||
| 10 | 10 | |
| 11 | 11 | namespace hipanel\modules\finance\grid; |
| 12 | 12 | |
| 13 | -use hipanel\helpers\Url; |
|
| 14 | 13 | use hiqdev\yii2\menus\grid\MenuColumn; |
| 15 | 14 | use hipanel\modules\finance\menus\ProfileActionsMenu; |
| 16 | 15 | use hipanel\modules\finance\models\Tariff; |
| 17 | 16 | use hipanel\modules\finance\models\TariffProfile; |
| 18 | 17 | use yii\helpers\Html; |
| 19 | - |
|
| 20 | 18 | use Yii; |
| 21 | 19 | |
| 22 | 20 | class TariffProfileGridView extends \hipanel\grid\BoxedGridView |