add kulcsok, add tartós beszedés, add ticket type with intallments
This commit is contained in:
58
backend/views/ugiro/view.php
Normal file
58
backend/views/ugiro/view.php
Normal file
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
|
||||
use yii\helpers\Html;
|
||||
use yii\widgets\DetailView;
|
||||
use yii\helpers\Url;
|
||||
use common\models\Ugiro;
|
||||
|
||||
/* @var $this yii\web\View */
|
||||
/* @var $model common\models\Ugiro */
|
||||
|
||||
$this->title = "Köteg részletei";
|
||||
$this->params['breadcrumbs'][] = ['label' => "Kötegek", 'url' => ['index']];
|
||||
$this->params['breadcrumbs'][] = $this->title;
|
||||
?>
|
||||
<div class="ugiro-view">
|
||||
|
||||
<h1><?= Html::encode($this->title) ?></h1>
|
||||
|
||||
|
||||
<?php
|
||||
$attributes = [
|
||||
[
|
||||
'attribute' => 'id_ugiro',
|
||||
'label' => 'Köteg azonosító'
|
||||
],
|
||||
[
|
||||
'attribute' => 'user.username',
|
||||
'label' => 'Felhasználó'
|
||||
],
|
||||
[
|
||||
'attribute' => 'statusName',
|
||||
'label' => 'Státusz'
|
||||
],
|
||||
[
|
||||
'attribute' => 'created_at',
|
||||
'label' => 'Létrehozva',
|
||||
'format' =>'datetime'
|
||||
],
|
||||
[
|
||||
'attribute' => 'path',
|
||||
'label' => 'Köteg Fájl',
|
||||
'value' => Html::a( "Letöltés" , Url::base() ."/". $model->path , ['target' =>'_blank' ,'download' =>'CS-BESZED.' .$model->id_ugiro ] ),
|
||||
'format' => 'raw'
|
||||
],
|
||||
];
|
||||
if ( $model->status == Ugiro::$STATUS_FINISHED){
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<?= DetailView::widget([
|
||||
'model' => $model,
|
||||
'attributes' => $attributes,
|
||||
]) ?>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user