<?php

use backend\models\Frapl011b;
use yii\helpers\Html;
use yii\helpers\Url;
use yii\grid\ActionColumn;
use yii\grid\GridView;

/** @var yii\web\View $this */
/** @var backend\models\Frapl011bSearch $searchModel */
/** @var yii\data\ActiveDataProvider $dataProvider */

$this->title = 'Frapl011bs';
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="frapl011b-index">

    <h1><?= Html::encode($this->title) ?></h1>

    <p>
        <?= Html::a('Create Frapl011b', ['create'], ['class' => 'btn btn-success']) ?>
    </p>

    <?php // echo $this->render('_search', ['model' => $searchModel]); ?>

    <?= GridView::widget([
        'dataProvider' => $dataProvider,
        'filterModel' => $searchModel,
        'columns' => [
            ['class' => 'yii\grid\SerialColumn'],

            'FRAPL01_UUID',
            'FRAPL01_1B_UUID',
            'FRAPL01_1B_INSTITUSI',
            'FRAPL01_1B_JABATAN',
            'FRAPL01_1B_ALAMAT',
            //'FRAPL01_1B_POS',
            //'FRAPL01_1B_TEL',
            //'FRAPL01_1B_FAX',
            //'FRAPL01_1B_EMAIL:email',
            //'CREATED',
            //'USERNAME',
            [
                'class' => ActionColumn::className(),
                'urlCreator' => function ($action, Frapl011b $model, $key, $index, $column) {
                    return Url::toRoute([$action, 'FRAPL01_1B_UUID' => $model->FRAPL01_1B_UUID]);
                 }
            ],
        ],
    ]); ?>


</div>
