<?php 
echo $form->dropDownList($model, 'branch_id', CHtml::listData(Branch::model()->findAll(array('condition' => 'branch_organization_id=' . $org_id)), 'branch_id', 'branch_name'), array('prompt' => 'Select Branch', 'ajax' => array('type' => 'POST', 'url' => CController::createUrl('dependent/getBatchItemName1'), 'update' => '#Batch_div_id')));
?>

<span class="status">&nbsp;</span>
	</div>
	<div class="row1">
		<?php 
echo $form->labelEx($model, 'div_id');
?>
		<?php 
echo $form->error($model, 'div_id');
?>
		<?php 
echo $form->dropDownList($model, 'div_id', Division::items(), array('empty' => 'Select Division'));
?>
<span class="status">&nbsp;</span>
	</div>
<!--	

	<div class="row1">
		<?php 
echo $form->labelEx($model, 'batch_organization_id');
?>
		<?php 
echo $form->dropDownList($model, 'batch_organization_id', Organization::items());
?>
		<?php 
echo $form->error($model, 'batch_organization_id');
?>
Esempio n. 2
0
echo $form->error($model, 'branch_id');
?>
	</div>

	<div class="row">
		<?php 
echo $form->labelEx($model, 'div_id');
?>
		<?php 
//echo $form->textField($model,'div_id');
?>
		<?php 
//echo $form->dropDownList($model,'div_id', CHtml::listData(Division::model()->findAll(), 'division_id', 'division_name'));
?>
		<?php 
echo $form->dropDownList($model, 'div_id', Division::items(), array('empty' => '---------------Select-------------', 'tabindex' => 5));
?>
<span class="status">&nbsp;</span>
		<?php 
echo $form->error($model, 'div_id');
?>
	</div>

	<div class="row">
		<?php 
echo $form->labelEx($model, 'sub_id');
?>
		<?php 
//echo $form->textField($model,'sub_id');
?>
		<?php 
Esempio n. 3
0
				
		                }')));
?>
<span class="status">&nbsp;</span>
		<?php 
echo $form->error($model, 'student_transaction_branch_id');
?>
	</div>
	
	<!--
	<div class="row-right">
        <?php 
echo $form->labelEx($model, 'student_transaction_division_id');
?>
        <?php 
echo $form->dropDownList($model, 'student_transaction_division_id', Division::items(), array('empty' => '-----------Select---------', 'tabindex' => 4));
?>
<span class="status">&nbsp;</span>
        <?php 
echo $form->error($model, 'student_transaction_division_id');
?>
    	</div>-->


	<div class="row-right">
		<?php 
echo $form->labelEx($model, 'student_transaction_division_id');
?>
		<?php 
//echo $form->dropDownList($model,'div_id',Division::items(), array('empty' => '---------------Select-------------','tabindex'=>5));
?>