Skip to content

Commit

Permalink
Changed XEditableColumn import namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverFire committed Feb 18, 2016
1 parent e95c6f1 commit 57a347b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/grid/CreditColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

namespace hipanel\modules\finance\grid;

use hipanel\grid\XEditableColumn;
use hipanel\helpers\Url;
use Yii;

Expand All @@ -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' => [
Expand Down
4 changes: 3 additions & 1 deletion src/grid/TariffGridView.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

namespace hipanel\modules\finance\grid;

use hipanel\grid\XEditableColumn;

class TariffGridView extends \hipanel\grid\BoxedGridView
{
public static function defaultColumns()
Expand All @@ -24,7 +26,7 @@ public static function defaultColumns()
'filter' => false,
],
'note' => [
'class' => 'hiqdev\xeditable\grid\XEditableColumn',
'class' => XEditableColumn::class,
],
];
}
Expand Down

0 comments on commit 57a347b

Please sign in to comment.