diff --git a/src/grid/CreditColumn.php b/src/grid/CreditColumn.php index 9f75541c..0b4beed7 100644 --- a/src/grid/CreditColumn.php +++ b/src/grid/CreditColumn.php @@ -11,6 +11,7 @@ namespace hipanel\modules\finance\grid; +use hipanel\grid\XEditableColumn; use hipanel\helpers\Url; use Yii; @@ -19,7 +20,7 @@ class CreditColumn public static function resolveConfig() { return Yii::$app->user->can('manage') ? [ - 'class' => 'hiqdev\xeditable\grid\XEditableColumn', + 'class' => XEditableColumn::class, 'filter' => false, 'contentOptions' => ['class' => 'text-right'], 'widgetOptions' => [ diff --git a/src/grid/TariffGridView.php b/src/grid/TariffGridView.php index 81fcff91..98caddbe 100644 --- a/src/grid/TariffGridView.php +++ b/src/grid/TariffGridView.php @@ -11,6 +11,8 @@ namespace hipanel\modules\finance\grid; +use hipanel\grid\XEditableColumn; + class TariffGridView extends \hipanel\grid\BoxedGridView { public static function defaultColumns() @@ -24,7 +26,7 @@ public static function defaultColumns() 'filter' => false, ], 'note' => [ - 'class' => 'hiqdev\xeditable\grid\XEditableColumn', + 'class' => XEditableColumn::class, ], ]; }