Exemplo n.º 1
0
            </div>
        </div>

        <div class="panel panel-<?php 
echo Yii::$app->params['panelStyle'];
?>
 panelblock">
            <div class="panel-heading"><?php 
echo Html::encode('Перемещение материальных ценностей');
?>
</div>
            <div class="panel-body">

                <?php 
echo $form->field($model, 'mol_id_build')->widget(Select2::classname(), array_merge(Proc::DGselect2(['model' => $model, 'resultmodel' => new \app\models\Fregat\Build(), 'placeholder' => 'Введите здание', 'setsession' => false, 'multiple' => ['multipleshowall' => false, 'idvalue' => 'build_id'], 'fields' => ['keyfield' => 'mol_id_build', 'resultfield' => 'build_name'], 'resultrequest' => 'Fregat/build/selectinput', 'thisroute' => $this->context->module->requestedRoute]), ['addon' => ['prepend' => ['content' => Proc::SetTemplateForActiveFieldWithNOT($form, $model, 'mol_id_build')], 'groupOptions' => ['class' => 'notforselect2']]]));
?>

                <?php 
echo $form->field($model, 'tr_osnov_kab')->textInput(['maxlength' => true, 'class' => 'form-control inputuppercase']);
?>

            </div>
        </div>

        <div class="panel panel-<?php 
echo Yii::$app->params['panelStyle'];
?>
 panelblock">
            <div class="panel-heading"><?php 
echo Html::encode('Аудит операций пользователя');
Exemplo n.º 2
0
                    </div>
                </div>

                <div class="panel panel-<?php 
echo Yii::$app->params['panelStyle'];
?>
 panelblock">
                    <div class="panel-heading"><?php 
echo Html::encode('Медикаментозная терапия');
?>
</div>
                    <div class="panel-body">

                        <?php 
echo $form->field($model, 'glprep_id_preparat')->widget(Select2::classname(), array_merge(Proc::DGselect2(['model' => $model, 'resultmodel' => new app\models\Base\Preparat(), 'placeholder' => 'Введите название препарата', 'setsession' => false, 'multiple' => ['multipleshowall' => false, 'idvalue' => 'preparat_id'], 'fields' => ['keyfield' => 'glprep_id_preparat', 'resultfield' => 'preparat_name'], 'resultrequest' => 'Base/preparat/selectinput', 'thisroute' => $this->context->module->requestedRoute]), ['addon' => ['prepend' => ['content' => Proc::SetTemplateForActiveFieldWithNOT($form, $model, 'glprep_id_preparat')], 'groupOptions' => ['class' => 'notforselect2']]]));
?>

                        <?php 
echo Proc::FilterFieldSelectMultiple($form, $model, 'glprep_rlocat', 'ыберете категорию льготного лекарственного обеспечения');
?>

                        <?php 
echo $form->field($model, 'glprep_not_preparat_mark')->checkbox()->label(null, ['class' => 'control-label']);
?>

                        <?php 
echo $form->field($model, 'glprep_preparat_mark')->checkbox()->label(null, ['class' => 'control-label']);
?>

                    </div>