Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
skeeks-semenov committed Jan 21, 2020
1 parent f8c44b9 commit 8bc7026
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/controllers/AdminCurrencyController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
use skeeks\cms\actions\backend\BackendModelMultiDeactivateAction;
use skeeks\cms\backend\BackendAction;
use skeeks\cms\backend\controllers\BackendModelStandartController;
use skeeks\cms\backend\grid\DefaultActionColumn;
use skeeks\cms\grid\BooleanColumn;
use skeeks\cms\money\Currency;
use skeeks\cms\money\models\MoneyCurrency;
Expand Down Expand Up @@ -67,15 +68,7 @@ public function actions()
'columns' => [
'custom' => [
'attribute' => 'name',
'format' => 'raw',
'value' => function (MoneyCurrency $model) {

$data = [];
$data[] = Html::a($model->asText, "#", ['class' => 'sx-trigger-action']);
$info = implode("<br />", $data);

return $info;
}
'class' => DefaultActionColumn::class,
],

'is_active' => [
Expand Down

0 comments on commit 8bc7026

Please sign in to comment.