<?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\AttandanceSearch */
/* @var $dataProvider yii\data\ActiveDataProvider */

?>
<div class="attandance-index">

    <?= GridView::widget([
        'dataProvider' => $dataProvider,
        'layout' => '<div class="box"><div class="box-header with-border"><b>Participant Referral-wise Summary</b></div><div class="box-body">{items}</div><div class="box-footer clearfix"></div></div>',
    	'panel' => ['type' => GridView::TYPE_PRIMARY,'heading' => '<b>Participant Referral-wise Summary</b>','beforeOptions'=>['class'=>'grid_panel_remove'],'afterOptions'=>['class'=>'grid_panel_remove']],
		'toolbar' => false,		
        'summary' => '',
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],
		
            [
    			'attribute' => 'RefStatus',
                'label'=>'Referral Information',  
                 				
            ],
			[   'attribute' => 'MaleCnt',
				'label'=>'Male',
				 	
				
			],
			[   'attribute' => 'FemaleCnt',
				'label'=>'Female',
				 	
				
			],
			[   'attribute' => 'HijraCnt',
				'label'=>'Hijra',
				 	
				
			],
			
			
			[   'attribute' => 'TotCnt',
				'label'=>'Total',
				'contentOptions' => ['style' => 'color:red; font-weight:bold;'],
                	
							
				
			],
			
		],
    ]); ?>
</div>
