<?php

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

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

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

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

    <p>
        <?= Html::a('Create Frapl013b', ['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_3B_UUID',
            'FRAPL01_3B_FILE',
            'FRAPL01_3B_BUKTI',
            'FRAPL01_3B_SYARAT',
            //'CREATED',
            //'USERNAME',
            [
                'class' => ActionColumn::className(),
                'urlCreator' => function ($action, Frapl013b $model, $key, $index, $column) {
                    return Url::toRoute([$action, 'FRAPL01_3B_UUID' => $model->FRAPL01_3B_UUID]);
                 }
            ],
        ],
    ]); ?>


</div>
