예제 #1
0
							<?php 
echo CHtml::textField('filternumber', array_key_exists('filternumber', $filter) ? $filter['filternumber'] : (string) FALSE, ['class' => 'form-control input-inline input-large']);
?>
						</div>
					</div>
				</div>

				<div class="row">
					<div class="col-md-6">
						<h4 class="form-section"> <?php 
echo Yii::t('app', 'Заказы гостей');
?>
</h4>
						<div class="form-group" style="margin-left: 0; margin-right: 0;">
							<?php 
echo CHtml::dropDownList('filteris_unregistered_customer', array_key_exists('filteris_unregistered_customer', $filter) ? $filter['filteris_unregistered_customer'] : (string) FALSE, Horders::gridIsUnregisteredItems(TRUE), ['class' => 'input-inline input-large form-control', 'onChange' => 'editUserBlock()']);
?>
							<?php 
echo CHtml::hiddenField(FALSE, Horders::IS_UNREGISTERED_USER, ['id' => 'isGuest']);
?>
						</div>
					</div>
					<div class="col-md-6" id="userBlock">
						<h4 class="form-section"><?php 
echo Yii::t('app', 'Пользователь');
?>
</h4>
						<div class="form-group" style="margin-left: 0; margin-right: 0;">
							<label class="control-label"><?php 
echo Yii::t('app', 'Введите логин пользователя');
?>