= $form->field($model, 'fields')->widget(MultipleInput::class, [
diff --git a/backend/modules/card/views/user-card/view.php b/backend/modules/card/views/user-card/view.php
index 1a600ad..caef680 100644
--- a/backend/modules/card/views/user-card/view.php
+++ b/backend/modules/card/views/user-card/view.php
@@ -48,6 +48,7 @@ $this->params['breadcrumbs'][] = $this->title;
'label' => 'status',
'value' => $model->status0->name,
],
+ 'salary',
'created_at',
'updated_at',
],
diff --git a/backend/modules/project/models/Project.php b/backend/modules/project/models/Project.php
index 2721e74..430d936 100644
--- a/backend/modules/project/models/Project.php
+++ b/backend/modules/project/models/Project.php
@@ -21,6 +21,7 @@ class Project extends \common\models\Project
[
'project_id' => \Yii::$app->request->get('id'),
'card_id' => null,
+ 'company_id' => null,
])
->all();
$array = [];
diff --git a/backend/modules/project/views/project/_form.php b/backend/modules/project/views/project/_form.php
index a8bf3dd..3880b2b 100644
--- a/backend/modules/project/views/project/_form.php
+++ b/backend/modules/project/views/project/_form.php
@@ -18,6 +18,18 @@ use yii\widgets\ActiveForm;
= $form->field($model, 'description')->textarea(['rows' => 6]) ?>
+ = $form->field($model, 'budget')->textInput(['maxlength' => true]) ?>
+
+ = $form->field($model, 'company_id')->widget(Select2::class,
+ [
+ 'data' => \yii\helpers\ArrayHelper::map(\common\models\Company::find()->all(),'id', 'name'),
+ 'options' => ['placeholder' => '...','class' => 'form-control'],
+ 'pluginOptions' => [
+ 'allowClear' => true
+ ],
+ ]
+ ); ?>
+
= $form->field($model, 'fields')->widget(MultipleInput::class, [