display comment in transfers/index

This commit is contained in:
2016-07-29 07:59:52 +02:00
parent fdbd39b059
commit d2d44e51d9
3 changed files with 23 additions and 4 deletions

View File

@@ -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',