display comment in transfers/index
This commit is contained in:
@@ -134,14 +134,26 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
'label' => "Érv. tól",
|
||||
'format' => 'date'
|
||||
],
|
||||
[
|
||||
[
|
||||
'attribute' => 'ticket_end',
|
||||
'label' => "Érv. ig",
|
||||
'format' => 'date'
|
||||
],[
|
||||
'attribute' => 'all_comment',
|
||||
'label' => "Komment",
|
||||
'format' => 'raw'
|
||||
],
|
||||
|
||||
['class' => 'yii\grid\ActionColumn',
|
||||
'template' => '{view}'
|
||||
'template' => '{view}',
|
||||
'urlCreator' => function ($action, $model, $key, $index)
|
||||
{
|
||||
if ( $action == 'view'){
|
||||
return \yii\helpers\Url::toRoute(['transfer/view','id' => $model['transfer_id_transfer']]);
|
||||
|
||||
}
|
||||
return "";
|
||||
}
|
||||
],
|
||||
],
|
||||
]); ?>
|
||||
@@ -209,6 +221,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
'value' => 'paymentMethodName',
|
||||
'label' => "Fizetési mód"
|
||||
],
|
||||
|
||||
'created_at:datetime',
|
||||
'paid_at:datetime',
|
||||
|
||||
|
||||
Reference in New Issue
Block a user