title = 'Отладка SOAP'; ?>
'post']); echo $form->field($model, 'enable_api_debug')->widget(SwitchInput::class, []); echo $form->field($model, 'debugging_enable')->widget(SwitchInput::class, [ 'pluginEvents' => [ "switchChange.bootstrapSwitch" => "$debug_change_script", ] ]); echo $form->field($model, 'xml_debugging_enable')->widget(SwitchInput::class, [ 'pluginEvents' => [ "switchChange.bootstrapSwitch" => "$debug_change_script", ] ]); ?> field($model, 'enable_dummy_soap_mode')->widget(SwitchInput::class, [ 'pluginEvents' => [ "switchChange.bootstrapSwitch" => "$switchChange_script", ] ]); echo $form->field($model, 'model_validation_debugging_enable')->widget(SwitchInput::class); echo $form->field($model, 'enable_logging_for_dictionary_soap')->widget(SwitchInput::class); echo $form->field($model, 'enable_logging_for_kladr_soap')->widget(SwitchInput::class); echo Html::tag( 'div', Html::submitButton('Обновить', ['class' => 'btn btn-primary']), ['class' => 'form-group'] ); ActiveForm::end(); if ($model->enable_dummy_soap_mode) { echo $this->render('@backend/views/log/_dummy_soap_table'); if (!isset($newSoapModel)) { $newSoapModel = new \common\models\DummySoapResponse(); } echo $this->render('@backend/views/log/_dummy_soap_add_new', compact('newSoapModel')); } } else { echo Html::tag( 'div', 'Для работы сервиса отсутствуют необходимые таблицы в базе данных. Перейдите на страницу обновлений.', ['class' => 'alert alert-danger', 'role' => 'alert'] ); } ?>
registerJs($script);