40 lines
1.0 KiB
PHP
40 lines
1.0 KiB
PHP
<?php
|
|
|
|
use yii\helpers\Html;
|
|
use yii\widgets\DetailView;
|
|
|
|
/** @var yii\web\View $this */
|
|
/** @var common\models\LISLabCodeMapping $model */
|
|
|
|
$this->title = $model->TestID;
|
|
$this->params['breadcrumbs'][] = ['label' => 'Lis Lab Code Mappings', 'url' => ['index']];
|
|
$this->params['breadcrumbs'][] = $this->title;
|
|
\yii\web\YiiAsset::register($this);
|
|
?>
|
|
<div class="lislab-code-mapping-view">
|
|
|
|
<h1><?= Html::encode($this->title) ?></h1>
|
|
|
|
<p>
|
|
<?= Html::a('Update', ['update', 'TestID' => $model->TestID, 'PROLAB_LabID' => $model->PROLAB_LabID], ['class' => 'btn btn-primary']) ?>
|
|
<?= Html::a('Delete', ['delete', 'TestID' => $model->TestID, 'PROLAB_LabID' => $model->PROLAB_LabID], [
|
|
'class' => 'btn btn-danger',
|
|
'data' => [
|
|
'confirm' => 'Are you sure you want to delete this item?',
|
|
'method' => 'post',
|
|
],
|
|
]) ?>
|
|
</p>
|
|
|
|
<?= DetailView::widget([
|
|
'model' => $model,
|
|
'attributes' => [
|
|
'TestID',
|
|
'TestCode',
|
|
'TestName',
|
|
'PROLAB_LabID',
|
|
'LISName',
|
|
],
|
|
]) ?>
|
|
|
|
</div>
|