<?php use_helper('Object','Javascript','Validation', 'DateForm')?>
<h1>Programaci&oacute;n de Comisiones</h1>
<h2>Actualizar Comisionado</h2>
<?php echo $sf_user->getFlash('message') ?>
<?php echo form_tag('comisionar/actua_comisionado')?>
<table class="show">
	
	<tr>
		<th>Comisionado</th>
		<td colspan="3">
	      <?php echo input_auto_complete_tag('tercero', '',
	              'listas_dependientes/terceros',
	                array(
	                      'autocomplete'         => 'off',
	                      'size'                 => '40',
	                      'onClick'              => 'this.select();'),
	                array(
	                      'use_style'            => true,
	                      'indicator'            => 'cargando_depto',
	                      'after_update_element' => "function (inputField, selectedItem){
	                                                  $('nitocc').value = selectedItem.id;
	                                                 }"                      
	                     )                                                
	              )
	      ?>      
		  &nbsp;&nbsp;
		  <span id="cargando_depto" style="display: none;"><?php echo image_tag('cargando.gif')?></span>     
		  <?php echo input_hidden_tag('nitocc','')?><?php echo form_error('coddep')?>
	    </td>
    </tr>
    
</table>
<br/>
<?php echo submit_image_tag('go','title=Actualizar')?>
