<?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 Employment-wise Summary</b></div>{items}<div class="box-body"></div><div class="box-footer clearfix"></div></div>',
    	'panel' => ['type' => GridView::TYPE_PRIMARY,'heading' => '<b>Participant Employment-wise Summary</b>','beforeOptions'=>['class'=>'grid_panel_remove'],'afterOptions'=>['class'=>'grid_panel_remove']],
		'toolbar' => false,		
        'summary' => '',
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],
		
            [
    			'attribute' => 'EmpStatus',
                'label'=>'Employment Status',  
                 				
            ],
			[   'attribute' => 'MaleCnt',
				'label'=>'Male',
				 	
				
			],
			[   'attribute' => 'FemaleCnt',
				'label'=>'Female',
				 	
				
			],
			[   'attribute' => 'HijraCnt',
				'label'=>'Hijra',
				 	
				
			],
			
			
			[   'attribute' => 'TotCnt',
				'label'=>'Total',
				'contentOptions' => ['style' => 'color:red; font-weight:bold;'],
                	
							
				
			],
			
		],
    ]); ?>
</div>
 