
<div id="call_details_div<?=$operation['type_id']?>">
<div class="line b-b line-lg pull-in"></div><br/>

  
<div class="form-group">
	<label for="vis_firstname" class="col-sm-2 control-label"><? echo $vis_language['TXTKEY']; ?></label>
	<div class="col-sm-2">
		<select name="vis_key_press<?=$operation['type_id']?>" id="vis_key_press<?=$operation['type_id']?>" class="form-control input-sm selectpicker">
			<?
			for($i=0;$i<10;$i++) echo '<option value="'.$i.'">Key press '.$i.'</option>'; ?>
		</select>
	</div>
	<label for="vis_firstname" class="col-sm-1 control-label"><? echo $vis_language['TXTKEYMSG']; ?></label>
	<div class="col-sm-3">
		<input class="form-control input-sm" type="text"  name="vis_key_messages<?=$operation['type_id']?>" id="vis_key_messages<?=$operation['type_id']?>" placeholder="<?=$vis_language['TXTKEYMSGPLACEHOLDER']; ?>">
	</div>
	
	<label for="vis_firstname" class="col-sm-1 control-label"><? echo $vis_language['TXTDEPARTMENT']; ?></label>
	<div class="col-sm-2">
		<select name="vis_department<?=$operation['type_id']?>" id="vis_department<?=$operation['type_id']?>" class="form-control input-sm selectpicker"<? if(count($departments)>10) echo ' data-live-search="true"';?>  onchange="vis_change_department(<?=$operation['type_id']?>)">
			<option value="0"> <? echo $vis_language['TXTSELECT']; ?> </option>
			<? if($departments!=-1) for($i=0;$i<count($departments); $i++)
				echo '<option value="'.$departments[$i]['domain_id'].':'.$departments[$i]['department_id'].'">'.$departments[$i]['domain_name'].' :: '.$departments[$i]['department_name'].'</option>' ?>
		</select>
	</div>
	<label style="cursor:pointer" onclick="javascript:close_call_details(<?=$operation['type_id']?>)" class="col-sm-1"><i class="vh vh-cross  m-t-sm"></i></label>
</div> 
<div id="vis_dept_list_section<?=$operation['type_id']?>" ></div> 
</div>
<script type="text/javascript">
  $(".selectpicker").selectpicker();
 </script>