language; $isSeparateStatementForFullPaymentBudget = $application->type->rawCampaign->separate_statement_for_full_payment_budget; $addPaidApplicationModalId = 'new-paid-statement-modal'; $addJointApplicationModalId = 'new-joint-statement-modal'; $addBudgetApplicationModalId = 'new-budget-statement-modal'; $enableAutofillSpecialtyOnAUniversalBasis = false; if ($application) { $enableAutofillSpecialtyOnAUniversalBasis = $application->type->enable_autofill_specialty_on_a_universal_basis && $application->hasSpecialitiesForAutofill(); } ModerateAsset::register($this); AccountingBenefitsComponentAsset::register($this); ModerateValidationErrorsAsset::register($this); $this->registerJsVar('url_to_validate', Url::to(['/sandbox/validate-application', 'id' => $application->id])); $this->registerJsVar('app_validate_error_message', Yii::t( 'sandbox/moderate/all', 'Текст ошибки о невозможности подачи заявления на панели навигации ЛК: `Внимание! Не все обязательные данные внесены.`' )); $this->title = Yii::$app->name . ' | ' . Yii::t( 'sandbox/moderate/all', 'Заголовок страницы проверки анкеты поступающего: `Проверка заявлений`' ); $template = "{input}\n{error}"; $globalTextForAjaxTooltip = Yii::$app->configurationManager->getText('global_text_for_ajax_tooltip', $application->type ?? null); $personalData = $questionary->personalData; $abiturientGenderRef = ArrayHelper::getValue($personalData, 'relGender.ref_key'); $allowBenefitCategories = !ArrayHelper::getValue($application, 'type.hide_benefits_block', false); $unsaved_leave = Yii::$app->configurationManager->getText('unsaved_leave', $application->type ?? null); $hideProfileFieldForEducation = $application->type->hide_profile_field_for_education; $unblock_url = Url::toRoute(['sandbox/unblock', 'id' => $application->id], true); $citizenship_guid = Yii::$app->configurationManager->getCode('citizenship_guid'); $country = Country::findOne(['ref_key' => $citizenship_guid, 'archive' => false]); $citizen_id = !empty($country) ? $country->id : null; $statusEducationSaved = Yii::$app->session->getFlash('educationSaved', false); ?>
type->moderator_allowed_to_edit ?? true; ?> render('@common/modules/abiturient/views/sandbox/partial/_pending_contragent_info'); ?> render('@common/modules/abiturient/views/sandbox/partial/_pending_contragent_info_blocked'); ?> session->getFlash('passwordError'); $labels = (new PassportData())->attributeLabels(); ?>

:

    $passportFieldErrors) : ?>
render( '_validation_errors', ['validationErrors' => $validation_errors] ) ?>
session->getFlash('consentAddErrors'); ?> session->getFlash('checkEgeErrorsAbit'); $checkEgeErrorsAbit = json_decode((string)$checkEgeErrorsAbit); ?> session->getFlash('specialityErrors'); ?> session->hasFlash('bind')) : $message = Yii::$app->session->getFlash('bind'); ?> status == ApplicationInterface::STATUS_WANTS_TO_RETURN_ALL) : ?>
$application->user_id, 'id' => $application->id]), ['class' => 'btn btn-success'] ) ?>

$application->fio] ); break; case PersonalData::getGenderFemale(): echo Yii::t( 'sandbox/moderate/all', 'Подпись с ФИО поступающего подавшего заявления для случая если поступающий женского пола; на стр. проверки анкеты поступающего: `Подала заявление {fio}`', ['fio' => $application->fio] ); break; default: echo Yii::t( 'sandbox/moderate/all', 'Подпись с ФИО поступающего подавшего заявления для случая если не удалось определить пол поступающего; на стр. проверки анкеты поступающего: `Подал(а) заявление {fio}`', ['fio' => $application->fio] ); break; } ?>

user->userRef) ) : ?> $application->id, 'baseUrl' => Yii::$app->urlManager->parseRequest(Yii::$app->request)[0] ], [ 'class' => 'btn btn-primary', 'title' => Yii::t( 'sandbox/moderate/all', 'Текст выплывающей подсказки для кнопки обновления заявления из 1С; на стр. проверки анкеты поступающего: `Обновить анкету и заявление из ПК`' ), 'data' => [ 'toggle' => "tooltip", 'placement' => "bottom", ] ] ); ?> render( '@abiturient/views/partial/changeHistoryModal/_changeHistoryModalButton', ['application' => $application] ); ?>
render('@abiturient/views/partial/changeHistoryModal/_changeHistoryModal'); ?>
session->getFlash('appApprovingError', null, true); if ($returnApplicationStepsInfo = Yii::$app->session->getFlash('returnApplicationStepsInfo', null, true)) { $appApprovingError[] = $returnApplicationStepsInfo; } $acceptStatusList = [ BachelorApplication::STATUS_SENT, BachelorApplication::STATUS_REJECTED_BY1C, BachelorApplication::STATUS_WANTS_TO_RETURN_ALL, BachelorApplication::STATUS_ENROLLMENT_REJECTION_REQUESTED, ]; if ($appApprovingError && in_array($application->status, $acceptStatusList)) { echo $this->render( './partial/_application_step_status', ['stepsInfo' => $appApprovingError,] ); } ?>

'questionary-main-data-form', 'method' => 'post', 'action' => ['/sandbox/save-main-data', 'quest_id' => $questionary->id], 'options' => ['class' => 'form-horizontal'], 'fieldConfig' => [ 'template' => $template ] ]); ?> render( '../abiturient/questionary_partial/_basic_data_panel', [ 'form' => $main_data_form, 'disabled' => $canEdit ? '' : 'disabled', 'template' => $template, 'citizenId' => $citizen_id, 'abitAvatar' => $abitAvatar, 'isReadonly' => !$canEdit, 'questionary' => $questionary, 'canChangeFio' => $canEdit, 'personalData' => $questionary->personalData, 'questionaryComparisonWithSent' => $questionary_comparison_with_sent, 'questionaryComparisonWithActual' => $questionary_comparison_with_actual, 'isIndependentForm' => true, ] ); ?>
$passports_class, 'difference' => $passports_difference, 'comparisonHelper' => $passports_comparison_helper, ] = ComparisonHelper::buildComparisonAttributes( $questionary_comparison_with_actual, $questionary_comparison_with_sent, 'passportData' ); ?>

'btn btn-primary', 'id' => 'btn-add-passport', 'data-toggle' => 'modal', 'data-target' => "#create_modal_passport" ] ) ?>
render('@common/modules/abiturient/views/sandbox/partial/_pending_contragent_info'); ?> render( '../abiturient/questionary_partial/_document_grid', [ 'canEdit' => $canEdit, 'passports' => $passports, 'comparison_helper' => $passports_comparison_helper, ] ) ?>
$address_rendered_class, 'difference' => $address_rendered_difference, 'comparisonHelper' => $address_comparison, ] = ComparisonHelper::buildComparisonAttributes( $questionary_comparison_with_actual, $questionary_comparison_with_sent, 'addressData' ); ?>

'address-data-form', 'method' => 'post', 'action' => [ '/sandbox/save-address-data', 'type' => 'registration', 'questionary_id' => $questionary->id ], 'options' => ['class' => 'form-horizontal'], 'fieldConfig' => ['template' => $template] ]); ?> ['class' => 'saved-success-alert alert-success', 'style' => 'display: none;'], 'body' => '', ]); ?> ['class' => 'error-while-saving alert-danger', 'style' => 'display: none;'], 'body' => '', ]); ?> $template, 'form' => $address_form, 'disabled' => $canEdit ? '' : 'disabled', 'isReadonly' => !$canEdit, 'addressData' => $questionary->addressData, 'comparison_helper' => $address_comparison, ]); ?>
'btn btn-primary float-right'] ); ?>
type->can_see_actual_address) : ?> $actual_address_rendered_class, 'difference' => $actual_address_rendered_difference, 'comparisonHelper' => $actual_address_comparison, ] = ComparisonHelper::buildComparisonAttributes( $questionary_comparison_with_actual, $questionary_comparison_with_sent, 'actualAddressData' ); ?>

'actual-address-data-form', 'method' => 'post', 'action' => [ '/sandbox/save-address-data', 'type' => 'actual', 'questionary_id' => $questionary->id ], 'options' => ['class' => 'form-horizontal'], 'fieldConfig' => ['template' => $template] ]); ?> ['class' => 'saved-success-alert alert-success', 'style' => 'display: none;'], 'body' => '', ]); ?> ['class' => 'error-while-saving alert-danger', 'style' => 'display: none;'], 'body' => '', ]); ?> $template, 'form' => $address_form, 'disabled' => $canEdit ? '' : 'disabled', 'isReadonly' => !$canEdit, 'addressData' => $questionary->getOrCreateActualAddressData(), 'prefix' => 'actual', 'comparison_helper' => $actual_address_comparison, ]); ?>
'btn btn-primary float-right'] ); ?>
$parents_class, 'difference' => $parents_difference, 'comparisonHelper' => $parents_comparison_helper, ] = ComparisonHelper::buildComparisonAttributes( $questionary_comparison_with_actual, $questionary_comparison_with_sent, 'parentData' ); ?>

TooltipWidget::widget(['message' => Yii::$app->configurationManager->getText('parents_tooltip')])] ); ?>

'btn btn-primary', 'id' => 'btn-add-parent', 'data-toggle' => 'modal', 'data-loading-text' => Yii::t( 'abiturient/questionary/parent-modal', 'Подпись загружающегося модального окна родителя на странице анкеты поступающего: `Загрузка`' ), 'disabled' => false ] ) ?>
render('@common/modules/abiturient/views/sandbox/partial/_pending_contragent_info'); ?> render( '../abiturient/questionary_partial/parentData/_parent_grid', [ 'parents' => $parents, 'canEdit' => $canEdit, ] ) ?>
$other_class, 'difference' => $other_differences, ] = ComparisonHelper::buildComparisonAttributes( $questionary_comparison_with_actual, $questionary_comparison_with_sent, 'personalData.humanizedNeedDormitory' ); ?>

'others-data-form', 'method' => 'post', 'action' => ['/sandbox/save-main-data', 'quest_id' => $questionary->id], 'options' => ['class' => 'form-horizontal'], 'fieldConfig' => ['template' => $template] ]); ?> ['class' => 'saved-success-alert alert-success', 'style' => 'display: none;'], 'body' => '', ]); ?> ['class' => 'error-while-saving alert-danger', 'style' => 'display: none;'], 'body' => '', ]); ?>
field($personalData, 'need_dormitory') ->checkbox([ 'label' => false, 'class' => 'form-checkbox', 'readonly' => !$canEdit, 'disabled' => !$canEdit, ]); ?>
'btn btn-primary float-right'] ); ?>
render( '../bachelor/partials/education/_education_pjax', [ 'status' => $statusEducationSaved, 'canEdit' => $canEdit, 'application' => $application, 'educationDatum' => $application->educations, 'applicationComparisonWithActual' => $application_comparison_with_actual, 'applicationComparisonWithSent' => $application_comparison_with_sent, 'hideProfileFieldForEducation' => $application->type->hide_profile_field_for_education, 'allowAddNewEducationAfterApprove' => $canEdit, 'allowAddNewFileToEducationAfterApprove' => $canEdit, 'allowDeleteFileFromEducationAfterApprove' => $canEdit, 'has_pending_contractor' => ArrayHelper::getValue($pending_contractors, 'education', false) ] ); ?>

$application_comparison_with_sent, 'tomato' => $application_comparison_with_actual, ], 'targetReceptions'); [$targets_difference, $targets_class] = $targets_comparison_helper->getRenderedDifference(); if ($allowBenefitCategories) { $olympiads_comparison_helper = new ComparisonHelper([ 'yellow' => $application_comparison_with_sent, 'tomato' => $application_comparison_with_actual, ], 'olympiads'); [$olympiads_difference, $olympiads_class] = $olympiads_comparison_helper->getRenderedDifference(); $preferences_comparison_helper = new ComparisonHelper([ 'yellow' => $application_comparison_with_sent, 'tomato' => $application_comparison_with_actual, ], 'preferences'); [$preferences_difference, $preferences_class] = $preferences_comparison_helper->getRenderedDifference(); } } $targetsCellCallback = $targets_comparison_helper ? $targets_comparison_helper->makeGridViewContentOptionsCallback() : ComparisonHelper::contentOptionsProxyFunc(); $olympiadsCellCallback = $olympiads_comparison_helper ? $olympiads_comparison_helper->makeGridViewContentOptionsCallback() : ComparisonHelper::contentOptionsProxyFunc(); $preferencesCellCallback = $preferences_comparison_helper ? $preferences_comparison_helper->makeGridViewContentOptionsCallback() : ComparisonHelper::contentOptionsProxyFunc(); ?>


render('@common/modules/abiturient/views/sandbox/partial/_pending_contragent_info'); ?>
render( '@common/components/AccountingBenefits/_benefits', ArrayHelper::merge($resultBenefits, [ 'preferences_comparison_helper' => $preferences_comparison_helper, 'application' => $application, 'benefitsService' => $benefitsService, ]) ); ?>


render('@common/modules/abiturient/views/sandbox/partial/_pending_contragent_info'); ?>
render( '@common/components/TargetReception/_target_reception', ArrayHelper::merge($resultTargets, [ 'targets_comparison_helper' => $targets_comparison_helper, 'application' => $application, 'targetReceptionsService' => $targetReceptionsService, ]) ); ?>


render('@common/modules/abiturient/views/sandbox/partial/_pending_contragent_info'); ?>
render( '@common/components/AccountingBenefits/_olympiad', ArrayHelper::merge($resultOlympiads, [ 'olympiads_comparison_helper' => $olympiads_comparison_helper, 'application' => $application, 'olympiadsService' => $olympiadsService, ]) ); ?>
$applications_comparison_class, 'difference' => $applications_comparison_difference, 'comparisonHelper' => $applications_comparison_helper, ] = ComparisonHelper::buildComparisonAttributes( $application_comparison_with_actual, $application_comparison_with_sent, 'bachelorSpecialities' ); ?>
$application->id]; try { $display_code = ArrayHelper::getValue($application, 'type.display_code'); $display_group_name = ArrayHelper::getValue($application, 'type.display_group_name'); $display_speciality_name = ArrayHelper::getValue($application, 'type.display_speciality_name'); } catch (Exception $exception) { Yii::error('Отсутствуют поля настройки отображения направлений подготовки ' . $exception->getMessage()); } $configForChosenApplicationsCard = [ 'financialBasisTypeFilter' => null, 'bachelorSpecialityService' => $bachelorSpecialityService, 'specialityPrioritiesService' => $specialityPrioritiesService, 'formAction' => $formAction, 'isReadonly' => !$canEdit, 'application' => $application, 'specialities' => $specialities, 'display_code' => $display_code, 'target_receptions' => $target_receptions, 'display_group_name' => $display_group_name, 'applicationsDifference' => $applications_comparison_difference, 'display_speciality_name' => $display_speciality_name, 'enableAutofillSpecialtyOnAUniversalBasis' => $enableAutofillSpecialtyOnAUniversalBasis, 'hasVerifiedAgreements' => $application->hasVerifiedAgreements, ]; ?> render( '@common/modules/abiturient/views/partial/application/_chosen_applications_block', array_merge( $configForChosenApplicationsCard, [ 'cardHeader' => Yii::t( 'sandbox/moderate/application-block/all', 'Заголовок блока НП на стр. проверки анкеты поступающего: `Направления подготовки`' ), 'addNewApplicationModalBtn' => Html::button( Yii::t( 'abiturient/bachelor/application/application-modal', 'Подпись кнопки открытия модального окна добавления НП; на странице НП: `Добавить`' ), [ 'data-toggle' => 'modal', 'class' => 'btn btn-primary', 'data-target' => "#{$addJointApplicationModalId}", ] ) ] ) ); ?> type->rawCampaign->common_education_document) : ?> $formAction, 'options' => ['enctype' => 'multipart/form-data'], ]); ?> render( '@common/modules/abiturient/views/partial/application/_select2_educations_data', [ 'form' => $form, 'model' => $application, 'attribute' => 'educationsDataTagList', 'disabled' => !$canEdit || !$application->type->rawCampaign->allow_multiply_education_documents && $application->hasEnlistedBachelorSpeciality(), 'multiple' => !!$application->type->rawCampaign->allow_multiply_education_documents, 'data' => array_reduce( $application->educations, function ($carry, $edu) { $carry[$edu->id] = $edu->getDescriptionString(); return $carry; }, [] ), ] ); ?>
'btn btn-primary']) ?>
render( '@common/modules/abiturient/views/partial/application/_chosen_applications_block', array_merge( $configForChosenApplicationsCard, [ 'cardHeader' => Yii::t( 'sandbox/moderate/application-block/all', 'Заголовок блока НП на стр. проверки анкеты поступающего: `Выбранные направления (бюджетная основа)`' ), 'financialBasisTypeFilter' => [ BachelorSpeciality::getBudgetBasis(), BachelorSpeciality::getTargetReceptionBasis(), ], 'renderCommonEducationInput' => false, 'addNewApplicationModalBtn' => Html::button( Yii::t( 'abiturient/bachelor/application/application-modal', 'Подпись кнопки открытия модального окна добавления НП; на странице НП: `Добавить для бюджетной основы`' ), [ 'data-toggle' => 'modal', 'class' => 'btn btn-primary', 'data-target' => "#{$addBudgetApplicationModalId}", ] ) ] ) ); ?> render( '@common/modules/abiturient/views/partial/application/_chosen_applications_block', array_merge( $configForChosenApplicationsCard, [ 'cardHeader' => Yii::t( 'sandbox/moderate/application-block/all', 'Заголовок блока НП на стр. проверки анкеты поступающего: `Выбранные направления (платная основа)`' ), 'renderCommonEducationInput' => false, 'financialBasisTypeFilter' => [BachelorSpeciality::getCommercialBasis()], 'addNewApplicationModalBtn' => Html::button( Yii::t( 'abiturient/bachelor/application/application-modal', 'Подпись кнопки открытия модального окна добавления НП; на странице НП: `Добавить для платной основы`' ), [ 'data-toggle' => 'modal', 'class' => 'btn btn-primary', 'data-target' => "#{$addPaidApplicationModalId}", ] ) ] ) ); ?> $application, 'display_code' => $display_code, 'eduform_array' => $eduform_array, 'finance_array' => $finance_array, 'department_array' => $department_array, 'display_group_name' => $display_group_name, 'detail_groups_array' => $detail_groups_array, 'available_specialities' => $available_specialities, 'display_speciality_name' => $display_speciality_name, ]; ?> render( '../bachelor/partials/application/_add_application_modal', array_merge( $configForAddApplicationModal, [ 'cardHeader' => Yii::t( 'abiturient/bachelor/application/application-modal', 'Заголовок модального окна добавления НП на странице НП: `Добавление направлений подготовки в заявление`' ), 'addApplicationModalId' => $addJointApplicationModalId, ] ) ) ?> render( '../bachelor/partials/application/_add_application_modal', array_merge( $configForAddApplicationModal, [ 'cardHeader' => Yii::t( 'abiturient/bachelor/application/application-modal', 'Заголовок модального окна добавления НП на странице НП: `Добавление направлений подготовки на платной основе в заявление`' ), 'addApplicationModalId' => $addPaidApplicationModalId, 'financialBasisTypeFilter' => [BachelorSpeciality::getCommercialBasis()], ] ) ) ?> render( '../bachelor/partials/application/_add_application_modal', array_merge( $configForAddApplicationModal, [ 'cardHeader' => Yii::t( 'abiturient/bachelor/application/application-modal', 'Заголовок модального окна добавления НП на странице НП: `Добавление направлений подготовки на бюджетной основе в заявление`' ), 'addApplicationModalId' => $addBudgetApplicationModalId, 'financialBasisTypeFilter' => [ BachelorSpeciality::getBudgetBasis(), BachelorSpeciality::getTargetReceptionBasis(), ], ] ) ) ?>
egeDisabled) : ?>

'discipline-set-form', 'method' => 'POST', 'action' => ['/bachelor/define-discipline-set', 'id' => $application->id], 'options' => ['class' => 'form-horizontal'], ]); ?> ['class' => 'saved-success-alert alert-success', 'style' => 'display: none;'], 'body' => '', ]); ?> ['class' => 'error-while-saving alert-danger', 'style' => 'display: none;'], 'body' => '', ]); ?> application_id = $application->id; ?> render( '../bachelor/_competitiveGroupEntranceTests', [ 'form' => $disciplineSetForm, 'id' => $application->id, 'results' => $egeResults, 'newEgeResult' => $egeResult, 'disable' => !$canEdit, 'competitiveGroupEntranceTest' => $competitiveGroupEntranceTest, ] ) ?>
render( '_staticCompetitiveGroupEntranceTests', [ 'id' => $application->id, 'results' => $application->egeResults, 'competitiveGroupEntranceTest' => $competitiveGroupEntranceTest, ] ) ?>
$exams_comparison_class, 'difference' => $exams_comparison_difference, 'comparisonHelper' => $exams_comparison_helper, ] = ComparisonHelper::buildComparisonAttributes( $application_comparison_with_actual, $application_comparison_with_sent, 'egeResults' ); ?>

haveEgeConflicts()) : ?>
session->getFlash('successEgeReload'); ?>

'ege-form', 'method' => 'post', 'action' => ['/sandbox/save-exam-results', 'id' => $application->id], 'options' => ['class' => 'form-horizontal'], ]); ?> ['class' => 'saved-success-alert alert-success', 'style' => 'display: none;'], 'body' => '', ]); ?> ['class' => 'error-while-saving alert-danger', 'style' => 'display: none;'], 'body' => '', ]); ?>
render( '../bachelor/_egeResult', [ 'form' => $ege_form, 'disable' => !$canEdit, 'application' => $application, 'egeResults' => $egeResults, 'useCurrentYearAsDefault' => false ] ) ?>
render('@common/modules/abiturient/views/sandbox/partial/_pending_contragent_info'); ?> render( '../abiturient/ialist_partial/_ialist_panel', [ 'canEdit' => $canEdit, 'application' => $application, 'individualAchievementsDataProvider' => $individualAchievements, 'applicationComparisonWithSent' => $application_comparison_with_sent, 'applicationComparisonWithActual' => $application_comparison_with_actual, ] ) ?>
render( 'partial/_copies_documents_panel', [ 'application' => $application, 'questionary' => $questionary, 'allow_remove' => $canEdit, ] ) ?>
history) : ?>

    history as $history) : ?>
  • typeName; ?>
true, 'regulationConfigArray' => [ 'isReadonly' => true, 'items' => $regulations ], 'showAttachments' => false ]) ?>

commentsComing) : ?> commentsComing as $commentsComingItem) : ?>
author->userProfile->getFullName(); ?> comment); ?> formatter->asDatetime($commentsComingItem->created_at); ?>
moderateHistory) : ?>

moderateHistory as $moderateHistory) : ?>
moderated_at); ?> comment; ?> statusName; ?> userName; ?>
'questionary-form', 'options' => ['class' => 'form-horizontal'], ]); ?> status == BachelorApplication::STATUS_WANTS_TO_RETURN_ALL) { $approveActionUrl = $form->action = Url::toRoute(['/abiturient/return-application', 'id' => $application->id]); } if ($application->status == BachelorApplication::STATUS_ENROLLMENT_REJECTION_REQUESTED) { $bach_spec_to_reject = $application->getBachelorSpecialityToRejectEnrollment($specialities ?? []); $approveActionUrl = $form->action = Url::toRoute([ '/abiturient/reject-enrollment', 'bachelor_spec_id' => $bach_spec_to_reject->id ?? null ]); } if ($hasChangesIn1CWithNewerDate) { $application->moderator_comment = Yii::t( 'abiturient/bachelor/bachelor-application', 'Текст комментария модератора, при автоматическом обновлении устаревшего заявления; формы "Заявления": `Ваше заявление устарело и было актуализировано из приемной кампании`' ); } ?>

$application->type, 'textAriaId' => 'bachelorapplication-moderator_comment', ]) ?>
field($application, 'moderator_comment', ['template' => $template]) ->textarea(['rows' => 5]); ?>
' . $approveBtnLabel, ['class' => 'btn btn-success float-right moderate-actor', 'data-click' => '0', 'id' => 'apply-button'] ); $approveModalCancelBtn = Html::button(Yii::t( 'sandbox/moderate/all', 'Подпись кнопки отмены одобрения заявления; на стр. проверки анкеты поступающего: `Отмена`' ), [ 'data-dismiss' => 'modal', 'class' => 'btn btn-outline-secondary', ]); ?> configurationManager->getPortalManagerSetting('need_approvement_and_declination_confirm')) : ?> 'confirm-approve-modal', 'title' => Html::tag('h4', Yii::t( 'sandbox/moderate/all', 'Заголовок окна подтверждения действия; в модальном окне при подтверждении отзыва заявления; на стр. проверки анкеты поступающего: `Подтвердите действие`' )), 'toggleButton' => [ 'tag' => 'button', 'class' => 'btn btn-success float-right', 'label' => '' . $approveBtnLabel ], 'footer' => $approveModalCancelBtn . $approveSubmitBtn ]); $confirmMessage = Yii::t( 'sandbox/moderate/all', 'Текст сообщения; в модальном окне при подтверждении одобрения заявления; на стр. проверки анкеты поступающего: `Вы уверены, что хотите одобрить заявление?`' ); if ($application->status == ApplicationInterface::STATUS_WANTS_TO_RETURN_ALL) { $confirmMessage = Yii::t( 'sandbox/moderate/all', 'Текст сообщения; в модальном окне при подтверждении отзыва заявления; на стр. проверки анкеты поступающего: `Вы уверены, что хотите отозвать заявление из Информационной системы вуза?`' ); } echo $confirmMessage; Modal::end(); ?> configurationManager->getCode('allow_dump_full_package_to_file') ) : ?> $application->id], ['class' => 'btn btn-info float-right mr-2', 'target' => '_blank'] ); ?> ' . $declineBtnLabel, Url::toRoute(['sandbox/decline', 'id' => $application->id]), [ 'id' => 'reject-button', 'data-click' => '0', 'class' => 'btn btn-danger float-right moderate-actor mr-2', ] ); $declineModalCancelBtn = Html::button(Yii::t( 'sandbox/moderate/all', 'Подпись кнопки отмены одобрения заявления; на стр. проверки анкеты поступающего: `Отмена`' ), [ 'data-dismiss' => 'modal', 'class' => 'btn btn-outline-secondary', ]); ?> configurationManager->getPortalManagerSetting('need_approvement_and_declination_confirm')) : ?> 'confirm-decline-modal', 'title' => Html::tag('h4', Yii::t( 'sandbox/moderate/all', 'Заголовок окна подтверждения действия; в модальном окне при подтверждении отзыва заявления; на стр. проверки анкеты поступающего: `Подтвердите действие`' )), 'toggleButton' => [ 'tag' => 'a', 'class' => 'btn btn-danger float-right mr-2', 'label' => '' . $declineBtnLabel ], 'footer' => $declineModalCancelBtn . $declineLink ]); echo Yii::t( 'sandbox/moderate/all', 'Текст сообщения; в модальном окне при подтверждении отклонения заявления; на стр. проверки анкеты поступающего: `Вы уверены, что хотите отклонить заявление?`' ); Modal::end(); ?>
render('../abiturient/questionary_partial/_passportModals', [ 'passports' => $passports, 'application' => $application, 'isReadonly' => !$canEdit, 'action' => '/sandbox/set-passport', 'modalPassportHeaderCreate' => $createModalHeaderlabel, 'modalPassportHeaderEdit' => $editModalHeaderlabel, ]); ?>
Html::tag('h4', $editModalHeaderlabel), 'size' => 'modal-lg', 'id' => "edit_modal_parent", 'options' => [ 'tabindex' => false, ], ]); echo "
"; echo "
"; Modal::end(); if (isset($specialities) && $specialities) { echo $this->render('@common/modules/abiturient/views/partial/application/_speciality_actions', [ 'specialities' => $specialities, 'application' => $application, 'isReadonly' => false, 'hideProfileFieldForEducation' => $hideProfileFieldForEducation, ]); } $this->registerJsVar('applicationId', $application->id); $this->registerJsVar('editModalHeaderlabel', $editModalHeaderlabel); $this->registerJsVar('globalTextForAjaxTooltip', $globalTextForAjaxTooltip); $this->registerJsVar('ajaxErrorText', $ajaxErrorText); $this->registerJsVar('unsavedLeave', $unsaved_leave); $this->registerJsVar('russiaCode', Yii::$app->configurationManager->getCode('russia_guid')); $this->registerJsVar('postalIndexUrl', Yii::$app->urlManager->createUrl('abiturient/postalindex')); $this->registerJsVar('unblockUrl', $unblock_url); $this->registerJsVar('passportGridUrl', Yii::$app->urlManager->createUrl(['abiturient/passport-grid', 'questionary_id' => $questionary->id])); $this->registerJsVar('passportModalsUrl', Yii::$app->urlManager->createUrl([ 'abiturient/passport-modals', 'questionary_id' => $questionary->id, 'app_id' => $application->id, ])); $this->registerJsVar('passportDeletionConfirmation', Yii::t('sandbox/moderate/all', 'Вы действительно хотите удалить паспорт?')); $this->registerJsVar('approveActionUrl', $approveActionUrl); AddressWidget::registerJsVarForInitialization(); AddressWidgetAsset::register($this); PassportDataAsset::register($this); Modal::begin([ 'title' => '

Внимание

', 'id' => 'create_modal_is_unblocked', ]); echo '
Заявление разблокировано администратором
'; Modal::end();