
		   <div class="form-group">
                        <?php //$nm_f="target[$a]";?> 
			   <div class="col-sm-2" style="border-bottom: 1px solid #2B7DBC;">
                               <label for="<?php echo $nm_f?>"><strong>Priority</strong></label>
                           </div><div class="col-sm-4"><strong>Customer</strong></div>
                   </div>

<?php
//$a=1;
//foreach($activity as $act){
for($a=1;$a<=10;$a++){
?>
		   <div class="form-group">
                        <?php $nm_f="pelanggan[$a]";?> 
			   <div class="col-sm-2">
                               <label for="<?php echo $nm_f?>">Customer <?php echo $a?></label>
				   </div><div class="col-sm-9">
                                       <div class="col-sm-3">
                                   <?php echo form_dropdown($nm_f,GetOptAll('master_pelanggan','-Customer-'),GetValue('pelanggan','sv_major_customer',array('sales'=>'where/'.$_POST['s'],'priority'=>'where/'.$a)),'class="form-control select2" onchange="" id="'.$nm_f.'"'); ?></div>
                                   <?php echo form_input("priority[$a]",$a,'class="" onchange="" id="'.$nm_f.'" style="display:none"'); ?>
			   </div>
                   </div>
<?php

}?>