diff --git a/grid/DomainGridView.php b/grid/DomainGridView.php index 183f4a94..2b4eb145 100644 --- a/grid/DomainGridView.php +++ b/grid/DomainGridView.php @@ -68,13 +68,15 @@ static public function defaultColumns() 'attribute' => 'is_secured', 'popover' => Yii::t('app', 'Protection from transfer'), ], -// 'note' => [ -// 'class' => EditableColumn::className(), -// 'attribute' => 'note', -// 'filter' => true, -// 'popover' => Yii::t('app','Make any notes for your convenience'), -// 'action' => ['set-note'], -// ], + 'note' => [ + 'class' => 'hiqdev\xeditable\grid\XEditableColumn', + 'attribute' => 'note', + 'filter' => true, + 'popover' => Yii::t('app','Make any notes for your convenience'), + 'pluginOptions' => [ + 'url' => 'set-note', + ], + ], 'created_date' => [ 'attribute' => 'created_date', 'format' => 'date', diff --git a/views/domain/view.php b/views/domain/view.php index c7a635db..2438c497 100644 --- a/views/domain/view.php +++ b/views/domain/view.php @@ -122,19 +122,16 @@ $model, 'columns' => [ - 'seller_id', - 'client_id', + 'seller_id', 'client_id', [ 'attribute' => 'domain', 'headerOptions' => ['class' => 'text-nowrap'], ], + 'note', 'state', - 'whois_protected', - 'is_secured', - 'created_date', - 'expires', + 'whois_protected', 'is_secured', + 'created_date', 'expires', 'autorenewal', - [ 'attribute' => 'authCode', 'value' => function ($model){