<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, 'TLD_CODIGO'); ?>
		<?php echo $form->textField($model, 'TLD_CODIGO'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'TLD_IDCLIENTE'); ?>
		<?php echo $form->dropDownList($model, 'TLD_IDCLIENTE', GxHtml::listDataEx(Clientes::model()->findAllAttributes(null, true)), array('prompt' => 'Todos')); ?>
	</div>

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

	<div class="row">
		<?php echo $form->label($model, 'TLD_FUNCIONARIOS_TREINAMENTO'); ?>
		<?php echo $form->textArea($model, 'TLD_FUNCIONARIOS_TREINAMENTO'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'TLD_COMPUT_REDE'); ?>
		<?php echo $form->dropDownList($model, 'TLD_COMPUT_REDE', array('0' => 'Não', '1' => 'Sim'), array('prompt' => 'Todos')); ?>
	</div>

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

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

	<div class="row">
		<?php echo $form->label($model, 'TLD_DOCUMENTOS_FISCAIS'); ?>
		<?php echo $form->textArea($model, 'TLD_DOCUMENTOS_FISCAIS'); ?>
	</div>

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

	<div class="row">
		<?php echo $form->label($model, 'TLD_ECF_MODELOS'); ?>
		<?php echo $form->textArea($model, 'TLD_ECF_MODELOS'); ?>
	</div>

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

	<div class="row">
		<?php echo $form->label($model, 'TLD_ECF_PORTA_DISPONIVEL'); ?>
		<?php echo $form->dropDownList($model, 'TLD_ECF_PORTA_DISPONIVEL', array('0' => 'Não', '1' => 'Sim'), array('prompt' => 'Todos')); ?>
	</div>

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

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

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

	<div class="row">
		<?php echo $form->label($model, 'TLD_GERA_COMISSAO'); ?>
		<?php echo $form->dropDownList($model, 'TLD_GERA_COMISSAO', array('0' => 'Não', '1' => 'Sim'), array('prompt' => 'Todos')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'TLD_GERA_COMISSAO_TIPO'); ?>
		<?php echo $form->textArea($model, 'TLD_GERA_COMISSAO_TIPO'); ?>
	</div>

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

	<div class="row">
		<?php echo $form->label($model, 'TLD_COMISSAO_OBS'); ?>
		<?php echo $form->textArea($model, 'TLD_COMISSAO_OBS'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'TLD_IMP_NAO_FISCAL'); ?>
		<?php echo $form->dropDownList($model, 'TLD_IMP_NAO_FISCAL', array('0' => 'Não', '1' => 'Sim'), array('prompt' => 'Todos')); ?>
	</div>

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

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

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

	<div class="row">
		<?php echo $form->label($model, 'TLD_IMP_NAO_FISCAL_PORTA_DISPONIVEL'); ?>
		<?php echo $form->dropDownList($model, 'TLD_IMP_NAO_FISCAL_PORTA_DISPONIVEL', array('0' => 'Não', '1' => 'Sim'), array('prompt' => 'Todos')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'TLD_IMP_ETIQ'); ?>
		<?php echo $form->dropDownList($model, 'TLD_IMP_ETIQ', array('0' => 'Não', '1' => 'Sim'), array('prompt' => 'Todos')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'TLD_IMP_TERMICA'); ?>
		<?php echo $form->dropDownList($model, 'TLD_IMP_TERMICA', array('0' => 'Não', '1' => 'Sim'), array('prompt' => 'Todos')); ?>
	</div>

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

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

	<div class="row">
		<?php echo $form->label($model, 'TLD_CONTROLE_ESTOQUE'); ?>
		<?php echo $form->dropDownList($model, 'TLD_CONTROLE_ESTOQUE', array('0' => 'Não', '1' => 'Sim'), array('prompt' => 'Todos')); ?>
	</div>

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

	<div class="row">
		<?php echo $form->label($model, 'TLD_INTEGRA_CONTABIL'); ?>
		<?php echo $form->dropDownList($model, 'TLD_INTEGRA_CONTABIL', array('0' => 'Não', '1' => 'Sim'), array('prompt' => 'Todos')); ?>
	</div>

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

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

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

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

	<div class="row">
		<?php echo $form->label($model, 'TLD_RELATORIOS'); ?>
		<?php echo $form->textArea($model, 'TLD_RELATORIOS'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'TLD_OBS'); ?>
		<?php echo $form->textArea($model, 'TLD_OBS'); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'TLD_IDFUNCIONARIO'); ?>
		<?php echo $form->dropDownList($model, 'TLD_IDFUNCIONARIO', GxHtml::listDataEx(Funcionarios::model()->findAllAttributes(null, true)), array('prompt' => 'Todos')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'TLD_DATA'); ?>
		<?php $form->widget('ext.Utils.widgets.CrmDatePicker', array('model' => $model, 'attribute' => 'TLD_DATA')); ?>
	</div>

	<div class="row">
		<?php echo $form->label($model, 'TLD_DATA_PROX_VISITA'); ?>
		<?php $form->widget('ext.Utils.widgets.CrmDatePicker', array('model' => $model, 'attribute' => 'TLD_DATA_PROX_VISITA')); ?>
	</div>

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

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

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