<?php

use yii\helpers\Html;
use kartik\grid\GridView;
use rmrevin\yii\fontawesome\FA;
use yii\widgets\Pjax;
/* @var $this yii\web\View */
/* @var $searchModel app\models\HivtestingSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = Yii::t('app', 'Hivtestings');
$this->params['breadcrumbs'][] = $this->title;
$this->params['menu'] = [
	['label' => FA::icon('plus fa-fw'), 'linkOptions' => ['class'=>'btn btn-default', 'title'=>'Create'], 'url' => ['create']],
];
?>
<div class="hivtesting-index">

    <h1><?= Html::encode($this->title) ?></h1>
    <?php // echo $this->render('_search', ['model' => $searchModel]); ?>
 <?= GridView::widget([
        'dataProvider' => $dataProvider,
         'filterModel' => $searchModel,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],

			// 'hiv_test_id',
		//	'hiv_test_survey',
			'hiv_test_part_id',
	//		'hiv_test_q1',
			// 'hiv_test_q2',
			// 'hiv_test_q3',
			// 'hiv_test_q4',
			// 'hiv_test_q5',
			// 'hiv_test_q6',
			// 'hiv_test_q7',
			// 'hiv_test_q8',
			// 'hiv_test_q9',
			// 'hiv_test_q10',
			// 'hiv_test_q11',
			// 'hiv_test_q12',
			// 'hiv_test_q13',
			// 'hiv_test_q14',
			// 'hiv_test_q15',
			// 'hiv_test_q16',
			// 'hiv_test_q17',
			// 'hiv_test_q18',
			// 'hiv_test_q19',
			// 'hiv_test_q20',
			// 'status',
			// 'create_time:datetime',
			// 'create_user',
			// 'update_time:datetime',
			// 'update_user',
			[
				'attribute' => 'record_date',
				'format' => 'date',
			],

            ['class' => 'app\behaviours\ActionColumns'],
        ],
    ]); ?>
</div>
