configurationManager->getCode('discipline_ege_form'); $disciplineEgeForm = ArrayHelper::getValue(StoredDisciplineFormReferenceType::findByUID($disciplineEgeFormUid), 'id', ''); $npHasOnlyWithoutEntranceTests = true; $isExternalForm = true; if (empty($form)) { $isExternalForm = false; $form = ActiveForm::begin([ 'method' => 'POST', 'action' => Url::toRoute(['bachelor/define-discipline-set', 'id' => $id]), ]); } ?> true, 'headerContainer' => ['class' => 'thead-light'], 'tableOptions' => ['class' => 'table-sm'], 'striped' => false, 'summary' => false, 'pager' => [ 'firstPageLabel' => '<<', 'prevPageLabel' => '<', 'nextPageLabel' => '>', 'lastPageLabel' => '>>', ], 'options' => ['class' => 'table-responsive disable-vertical_scroll'], 'dataProvider' => $competitiveGroupEntranceTest, 'columns' => [ [ 'attribute' => 'subject', 'label' => DirectionTrainingRenderer::getLabel(), 'headerOptions' => ['class' => 'col-3'], 'format' => 'raw', 'value' => function ($model) { return DirectionTrainingRenderer::renderStaticValue($model); }, 'contentOptions' => function ($model) { return DirectionTrainingRenderer::renderOptions($model); }, ], [ 'attribute' => 'priority', 'label' => PriorityRenderer::getLabel(), 'format' => 'raw', 'headerOptions' => ['class' => 'col-1'], 'value' => function ($model, $combinationOfSpecialtyIdAndSubjectRefId) use (&$npHasOnlyWithoutEntranceTests, $form, $newEgeResult) { return PriorityRenderer::renderActiveValue( $model, $combinationOfSpecialtyIdAndSubjectRefId, $form, $newEgeResult, $npHasOnlyWithoutEntranceTests ); }, 'contentOptions' => function ($model) { return PriorityRenderer::renderOptions($model); } ], [ 'attribute' => 'discipline', 'label' => DisciplineRenderer::getLabel(), 'format' => 'raw', 'value' => function ($model, $combinationOfSpecialtyIdAndSubjectRefId) use ($form, $newEgeResult, $disable) { return DisciplineRenderer::renderActiveValue( $model, $combinationOfSpecialtyIdAndSubjectRefId, $form, $newEgeResult, $disable ); }, 'contentOptions' => function ($model) { return DisciplineRenderer::renderOptions($model); } ], [ 'attribute' => 'exam_form', 'label' => ExamFormRenderer::getLabel(), 'format' => 'raw', 'value' => function ($model, $combinationOfSpecialtyIdAndSubjectRefId) use ($form, $newEgeResult, $disciplineEgeForm) { return ExamFormRenderer::renderActiveValue( $model, $combinationOfSpecialtyIdAndSubjectRefId, $newEgeResult, $disciplineEgeForm ); }, 'contentOptions' => function ($model) { return ExamFormRenderer::renderOptions($model); } ], [ 'attribute' => 'min_score', 'label' => MinScoreRenderer::getLabel(), 'contentOptions' => function ($model, $combinationOfSpecialtyIdAndSubjectRefId) { return MinScoreRenderer::renderOptions($model, $combinationOfSpecialtyIdAndSubjectRefId); } ], ] ]); ?>
Yii::$app->configurationManager->getText('confirm_entrant_test_set_tooltip'), 'params' => 'style="margin-left: 4px;"' ]), ['class' => 'btn btn-primary float-right'] ) ?>