Ejemplo n.º 1
0
echo $form->error($model, 'deleted_at');
?>
		</div><!-- row -->

		<label><?php 
echo GxHtml::encode($model->getRelationLabel('distributions'));
?>
</label>
		<?php 
echo $form->checkBoxList($model, 'distributions', GxHtml::encodeEx(GxHtml::listDataEx(Distribution::model()->findAllAttributes(null, true)), false, true));
?>
		<label><?php 
echo GxHtml::encode($model->getRelationLabel('vendorTypes'));
?>
</label>
		<?php 
echo $form->checkBoxList($model, 'vendorTypes', GxHtml::encodeEx(GxHtml::listDataEx(VendorType::model()->findAllAttributes(null, true)), false, true));
?>
		<label><?php 
echo GxHtml::encode($model->getRelationLabel('voucherTypes'));
?>
</label>
		<?php 
echo $form->checkBoxList($model, 'voucherTypes', GxHtml::encodeEx(GxHtml::listDataEx(VoucherType::model()->findAllAttributes(null, true)), false, true));
?>

<?php 
echo GxHtml::submitButton(Yii::t('app', 'Save'));
$this->endWidget();
?>
</div><!-- form -->
Ejemplo n.º 2
0
		<?php 
echo $form->labelEx($model, 'status_id');
?>
		<?php 
echo $form->dropDownList($model, 'status_id', GxHtml::listDataEx(VendorStatus::model()->findAllAttributes(null, true)));
?>
		<?php 
echo $form->error($model, 'status_id');
?>
		</div><!-- row -->
		<div class="row">
		<?php 
echo $form->labelEx($model, 'type_id');
?>
		<?php 
echo $form->dropDownList($model, 'type_id', GxHtml::listDataEx(VendorType::model()->findAllAttributes(null, true)));
?>
		<?php 
echo $form->error($model, 'type_id');
?>
		</div><!-- row -->
		<div class="row">
		<?php 
echo $form->labelEx($model, 'deleted_at');
?>
		<?php 
echo $form->textField($model, 'deleted_at');
?>
		<?php 
echo $form->error($model, 'deleted_at');
?>
Ejemplo n.º 3
0
	<div class="row">
		<?php 
echo $form->label($model, 'status_id');
?>
		<?php 
echo $form->dropDownList($model, 'status_id', GxHtml::listDataEx(VendorStatus::model()->findAllAttributes(null, true)), array('prompt' => Yii::t('app', 'All')));
?>
	</div>

	<div class="row">
		<?php 
echo $form->label($model, 'type_id');
?>
		<?php 
echo $form->dropDownList($model, 'type_id', GxHtml::listDataEx(VendorType::model()->findAllAttributes(null, true)), array('prompt' => Yii::t('app', 'All')));
?>
	</div>

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

	<div class="row buttons">
		<?php 
echo GxHtml::submitButton(Yii::t('app', 'Search'));