| Current Path : /var/www/html/hr/views/usercontact/ |
| Current File : /var/www/html/hr/views/usercontact/index.php |
<?php
use yii\helpers\Html;
use yii\grid\GridView;
/* @var $this yii\web\View */
/* @var $searchModel app\models\UserContactSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */
$this->title = 'User Contacts';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="user-contact-index">
<h1><?= Html::encode($this->title) ?></h1>
<p>
<?= Html::a('Create User Contact', ['create'], ['class' => 'btn btn-success']) ?>
</p>
<?php // echo $this->render('_search', ['model' => $searchModel]); ?>
<?= GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'columns' => [
['class' => 'yii\grid\SerialColumn'],
'id',
'uuid',
'user_id',
'name',
'identification_no',
//'relationship',
//'phone_no',
//'email:email',
//'created_by',
//'created_dt',
//'updated_by',
//'updated_dt',
['class' => 'yii\grid\ActionColumn'],
],
]); ?>
</div>