<div class="wide form">

<?php $form = $this->beginWidget('GxActiveForm', array(
	'action' => Yii::app()->createUrl($this->route),
	'method' => 'get',
)); ?>

	<div class="row">
		<?php echo $form->label($model, 'SUG_DESCRICAO'); ?>
		<?php echo $form->textField($model, 'SUG_DESCRICAO', array('maxlength' => 50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'SUG_IDFUNCIONARIO'); ?>
		<?php echo $form->dropDownList($model, 'SUG_IDFUNCIONARIO', GxHtml::listDataEx(Funcionarios::model()->findAll('FUN_SITUACAO="A" order by FUN_NOME')), array('prompt' => 'Todos')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'SUG_IDPRODUTO'); ?>
		<?php echo $form->dropDownList($model, 'SUG_IDPRODUTO', GxHtml::listDataEx(Modulos::model()->findAll('MOD_SITUACAO="A" order by MOD_DESCRICAO')), array('prompt' => 'Todos')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'SUG_OBSERVACOES'); ?>
		<?php echo $form->textField($model, 'SUG_OBSERVACOES', array('maxlength' => 50)); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'SUG_SITUACAO'); ?>
		<?php echo $form->dropDownList($model, 'SUG_SITUACAO', array('A' => 'Ativo','I' => 'Inativo'), array('prompt' => 'Todas')); ?>
	</div>

	<div class="row buttons">
		<?php echo FaHtml::searchButton(); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- search-form -->
