<?php

use yii\helpers\Html;
use yii\widgets\DetailView;

/** @var yii\web\View $this */
/** @var backend\models\MasterSyarat $model */

$this->title = $model->MASSYA_ID;
$this->params['breadcrumbs'][] = ['label' => 'Master Syarats', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
\yii\web\YiiAsset::register($this);
?>
<div class="master-syarat-view">

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

    <p>
        <?= Html::a('Update', ['update', 'MASSYA_ID' => $model->MASSYA_ID], ['class' => 'btn btn-primary']) ?>
        <?= Html::a('Delete', ['delete', 'MASSYA_ID' => $model->MASSYA_ID], [
            'class' => 'btn btn-danger',
            'data' => [
                'confirm' => 'Are you sure you want to delete this item?',
                'method' => 'post',
            ],
        ]) ?>
    </p>

    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
            'SKEMA_UUID',
            'MASSYA_ID',
            'MASSYA_UUID',
            'MASSYA_SYARAT',
            'MASSYA_ISI',
            'CREATED',
            'USERNAME',
        ],
    ]) ?>

</div>
