implement registration
This commit is contained in:
@@ -13,7 +13,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
<div class="event-registration-index">
|
||||
|
||||
<h1><?= Html::encode($this->title) ?></h1>
|
||||
<?php // echo $this->render('_search', ['model' => $searchModel]); ?>
|
||||
<?php echo $this->render('_search', ['model' => $searchModel]); ?>
|
||||
|
||||
<p>
|
||||
<?= Html::a(Yii::t('event-registration', 'Create Event Registration'), ['create'], ['class' => 'btn btn-success']) ?>
|
||||
@@ -21,16 +21,15 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
|
||||
<?= GridView::widget([
|
||||
'dataProvider' => $dataProvider,
|
||||
'filterModel' => $searchModel,
|
||||
'columns' => [
|
||||
['class' => 'yii\grid\SerialColumn'],
|
||||
|
||||
'id',
|
||||
'id_event',
|
||||
'id_customer',
|
||||
'created_at',
|
||||
'updated_at',
|
||||
// 'canceled_at',
|
||||
'created_at:datetime',
|
||||
'updated_at:datetime',
|
||||
'canceled_at:datetime',
|
||||
|
||||
['class' => 'yii\grid\ActionColumn'],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user