add ticket original end and original price
add helper links to related object in admin
This commit is contained in:
@@ -53,7 +53,19 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
// 'id_door_log',
|
||||
// 'updated_at',
|
||||
|
||||
// ['class' => 'yii\grid\ActionColumn'],
|
||||
[
|
||||
'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;
|
||||
}
|
||||
],
|
||||
],
|
||||
]); ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user