task priority, comments

This commit is contained in:
2023-05-12 02:12:43 +03:00
parent d6f5ffcd26
commit 7eab647ff7
25 changed files with 887 additions and 7 deletions

View File

@ -57,6 +57,8 @@ use yii\widgets\ActiveForm;
<?= $form->field($model, 'description')->textarea(['rows' => '6']) ?>
<?= $form->field($model, 'priority')->input('number') ?>
<div class="form-group">
<?= Html::submitButton('Создать', ['class' => 'btn btn-success']) ?>
</div>

View File

@ -54,13 +54,18 @@ YiiAsset::register($this);
'attribute' => 'user_id',
'value' => ArrayHelper::getValue($model, 'user.userCard.fio'),
],
[
'attribute' => 'executor_id',
'value' => ArrayHelper::getValue($model, 'executor.userCard.fio'),
],
'description',
'priority',
],
]) ?>
<div>
<h2>
<?= 'Исполнители' ?>
<?= 'Участники' ?>
</h2>
</div>
@ -71,7 +76,7 @@ YiiAsset::register($this);
[
'attribute' => 'project_user_id',
'value' => 'projectUser.card.fio'
'value' => 'user.email'
],
[