<?php

use yii\helpers\Html;
use yii\widgets\DetailView;
use yii\data\ActiveDataProvider;
use backend\modules\ubux\models\Laporan;
use yii\grid\GridView;
use yii\helpers\Url;

/* @var $this yii\web\View */
/* @var $model backend\modules\rppx\models\RppxRencanaPengajaran */
$uiHelper=\Yii::$app->uiHelper;
$this->title = 'kontrak kerja';

$this->params['breadcrumbs'][] = $this->title;
$dataProvider = new ActiveDataProvider([
            'query' => laporan::find()->where("laporan_id = " . $model->laporan_id),
            'pagination' => [
                'pageSize' => 20,
            ],
        ]);
?>
<div class="rppx-rencana-pengajaran-view">
    <table style="width: 100%">
        <tr>
            <th></th>
            <td style="text-align: center">
                <div>
                    <h3>INSTITUT TEKNOLOGI DEL</h3>
                    <p>
                        Jl. Sisingamangaraja, Laguboti 22381<br>
                        Toba Samosir, Sumatera Utara, Laguboti, 22381<br>
                        Telp : (0634) 331234, Fax : (0632) 331116<br>
                        <u>info@del.ac.id, www.del.ac.id</u>
                    </p>
                </div>
            </td>
        </tr>
    </table>
    <hr>

    <h2 style="text-align: center;"><?= Html::encode($this->title) ?></h2>
    <table style="margin-left: 10px">
        <tr>
            <td>Saya yang bertanda tangan dibawah ini</td>
        </tr>
        <tr>
            <td>Nama</td>
            <td>:</td>
            <td></td>
        </tr>
        <tr>
            <td>Email</td>
            <td>:</td>
            
        </tr>
        <tr>
            <td>NIP</td>
            <td>:</td>
            
        </tr>
        <br>
        <tr>
            <td colspan="6">Dengan ini menyetujui pengalokasian pengajaran sebagai berikut : </td>
        </tr>
        <br>
        <tr>
            <td>
            	<?= GridView::widget([
                    'dataProvider' => $dataProvider,
                    //'filterModel' => $searchModel,
                    'summary' => '',
                    'columns' => [
                        // ['class' => 'yii\grid\SerialColumn'],
                        ['label'=>'Kode',
                          'value'=>'bulan_laporan'
                        ],                        
                    ],
                ]); ?>
            </td>
        </tr>
        <br>
        <tr>
            <td>Demikian surat ini dibuat untuk dipergunakan sepenuhnya.</td>
        </tr>
        <br><Br>
        <tr>
            <td colspan="6" style="text-align: center">Diketahui</td>
        </tr>
        <br>
        <tr>
            <td>Kaprodi</td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td>Dosen</td>
            <td></td>
        </tr>
        <br><br><br><Br><br><br>
        <tr>
            
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            
            <td></td>
        </tr>
        <tr>
            
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            
            <td></td>
        </tr>
    </table>
</div>
