echo Html::a('Tambah Data Jenis Barang', ['warehouse/jenisbarangcreate'], ['class' => 'btn btn-success']); ?> </p> <table class="table"> <thead> <tr> <th>Jenis_Barang_ID</th> <th>Nama</th> <th>Action</th> </tr> </thead> <tbody> <?php $i = 1; foreach ($roleModel->findJenisBarangWithModule() as $key => $value) { ?> <tr> <td><?php echo $value['Jenis_Barang_ID']; ?> </td> <td><?php echo $value['Nama']; ?> </td> <td> <?php echo Html::a("<i class='glyphicon glyphicon-eye-open'></i>", Yii::$app->urlManager->createUrl(['warehouse/jenisbarangview', "id" => $value['Jenis_Barang_ID']]), []);