<?php
/* @var $this RelatorioCancelamentosController */
/* @var $model RelatorioCancelamentos */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'relatorio-cancelamentos-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

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

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

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

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

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

	<div class="row">
		<?php echo $form->labelEx($model,'RCC_RAZAO'); ?>
		<?php echo $form->textField($model,'RCC_RAZAO',array('size'=>60,'maxlength'=>200)); ?>
		<?php echo $form->error($model,'RCC_RAZAO'); ?>
	</div>

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

	<div class="row">
		<?php echo $form->labelEx($model,'RCC_VALOR'); ?>
		<?php echo $form->textField($model,'RCC_VALOR',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'RCC_VALOR'); ?>
	</div>

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

	<div class="row">
		<?php echo $form->labelEx($model,'RCC_CIDADE'); ?>
		<?php echo $form->textField($model,'RCC_CIDADE',array('size'=>60,'maxlength'=>150)); ?>
		<?php echo $form->error($model,'RCC_CIDADE'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'RCC_UF'); ?>
		<?php echo $form->textField($model,'RCC_UF',array('size'=>2,'maxlength'=>2)); ?>
		<?php echo $form->error($model,'RCC_UF'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'RCC_REVENDA'); ?>
		<?php echo $form->textField($model,'RCC_REVENDA',array('size'=>60,'maxlength'=>150)); ?>
		<?php echo $form->error($model,'RCC_REVENDA'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'RCC_OBSERVACAO'); ?>
		<?php echo $form->textField($model,'RCC_OBSERVACAO',array('size'=>60,'maxlength'=>150)); ?>
		<?php echo $form->error($model,'RCC_OBSERVACAO'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'RCC_MOTIVO'); ?>
		<?php echo $form->textField($model,'RCC_MOTIVO',array('size'=>60,'maxlength'=>150)); ?>
		<?php echo $form->error($model,'RCC_MOTIVO'); ?>
	</div>

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

	<div class="row">
		<?php echo $form->labelEx($model,'RCC_MOTIVOVENDEDOR'); ?>
		<?php echo $form->textField($model,'RCC_MOTIVOVENDEDOR',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'RCC_MOTIVOVENDEDOR'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'RCC_EMPRESA'); ?>
		<?php echo $form->textField($model,'RCC_EMPRESA',array('size'=>60,'maxlength'=>100)); ?>
		<?php echo $form->error($model,'RCC_EMPRESA'); ?>
	</div>

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

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

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

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