title = Yii::t('common/log', 'Logok'); $this->params['breadcrumbs'][] = $this->title; ?>

title) ?>

render('_search', ['model' => $searchModel]); ?> $dataProvider, 'columns' => [ [ 'attribute' => "log_id_log", 'label' => "Log azonosító", ], [ 'attribute' => "log_created_at", 'label' => "Dátum idő", ], [ 'attribute' => "log_message", 'label' => "Üzenet", ], [ 'attribute' => "log_app", 'label' => "Alkalmazás", ], [ 'attribute' => "user_username", 'label' => "Felhasználó", ], // 'id_user', // 'id_transfer', // 'id_money_movement', // 'id_ticket', // 'id_sale', // 'id_customer', // 'id_account', // 'id_account_state', // 'id_key', // 'id_product', // 'id_door_log', // 'updated_at', [ 'class' => 'yii\grid\ActionColumn', 'template' => '{view}', 'urlCreator' => function($action, $model, $key, $index){ $result = ""; if ( $action == 'view'){ $result = \yii\helpers\Url::toRoute(['log/view','id' => $model['log_id_log']]); } return $result; } ], ], ]); ?>