<? if($operation['vis_section']=='hardware'){?>
  <div class="row">
              <div class="m-t m-b">	
                 	
                <div class="form-group">
				   <label class="col-sm-1 control-label m-t-xs"><? echo $vis_language['TXTASSETSTATE']; ?></label>
				   <div class="col-sm-2">
		<select name="vis_assets_state" id="vis_assets_state" class="form-control input-sm selectpicker"<? if(count($asset_state_details)>10) echo ' data-live-search="true"';?>>
					<option value=""> <? echo $vis_language['TXTSELECT']; ?> </option>
						<? if($asset_state_details!=-1) 
								for($i=0;$i<count($asset_state_details); $i++){
							if($operation['vis_assets_state']==$asset_state_details[$i]['asset_id']) $chk='selected="selected"'; else $chk='';
							echo '<option '.$chk.' value="'.$asset_state_details[$i]['asset_id'].'">'.$asset_state_details[$i]['name'].'</option>'; 
						}?>
					</select>
				   </div>
				</div>			
				
				  <div class="form-group">
                    <label class="col-sm-1 control-label m-t-xs"><? echo $vis_language['TXTITILASSETTAG']; ?></label>
                    <div class="col-sm-2">
                     <input type="text" class="form-control input-sm" id="vis_asset_tag" name="vis_asset_tag"  />
                    </div>
                </div> 
				<div class="form-group">
                    <label class="col-sm-1 control-label m-t-xs"><? echo $vis_language['TXTITILSERIALNUMBER']; ?></label>
                    <div class="col-sm-2">
                     <input type="text" class="form-control input-sm" id="vis_licence_key" name="vis_licence_key"  />
                    </div>
                </div>				
			</div>
			<div id="vendor_list" class="form-group" style="display:none;">
</div>
			</div>
<? } else{?>
	<div class="row">
              <div class="m-t m-b">	
                 
                <div class="form-group">
				   <label class="col-sm-1 control-label m-t-xs"><? echo $vis_language['TXTITILLICENSETYPE']; ?></label>
				   <div class="col-sm-2">
					<select name="vis_assets_state" id="vis_assets_state" class="form-control input-sm selectpicker"<? if(count($license_type_details)>10) echo ' data-live-search="true"';?>>
					 <option value=""> <? echo $vis_language['TXTSELECT']; ?> </option>
						<? if($license_type_details!=-1) 
						for($l=0;$l<count($license_type_details); $l++){
							if($operation['vis_assets_state']==$license_type_details[$l]['license_type_id']) $chk='selected="selected"'; else $chk='';
							echo '<option '.$chk.' value="'.$license_type_details[$l]['license_type_id'].'">'.$license_type_details[$l]['name'].'</option>';
						}?>
					</select>
				   </div>
				</div>			
				<div class="form-group">
                    <label class="col-sm-1 control-label m-t-xs"><? echo $vis_language['TXTITILLICENSEKEY']; ?></label>
                    <div class="col-sm-2">
                     <input type="text" class="form-control input-sm" id="vis_licence_key" name="vis_licence_key"  />
                    </div>
                </div> 
				 			
			</div>
			</div>
<? } ?> 
