Example #1
0
echo 'الفرع';
?>
            <?php 
echo $form->dropDownList($model, 'branch_id', CHtml::listData(branchs::model()->findAll(), 'branch_id', 'branch_name'));
?>
            
        </div>

	<div class="row">
           
		<?php 
echo $form->labelEx($model, 'store_id');
?>
          
            <?php 
echo $form->dropDownList($model, 'store_id', CHtml::listData(stores::model()->findAll(), 'store_id', 'store_name'));
?>
  
            		<?php 
echo $form->error($model, 'store_id');
?>
	</div>

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