<%@include file="/jsp/common/defaultTopLogin.jsp"%>

<style>
/*table {  
  width: 100%,
}*/

td{
  width:100px;
  height:100%;
}
.inner {
  /*overflow-x:scroll;
  overflow-y:visible;*/
  
  width:100%;   
}
</style>
       
       <input type="hidden" id="idContrato" type="text" value="${session.idContrato}"/>
       <input type="hidden" name="pmn" value="${pmn}">
	   <input type="text" id="pmnReturn" value="<%= pmn %>" style="display:none">
	   
	   
	   <input type="hidden" id="estatusContrato" name="estatusContrato" value="${estatusContrato}">
	   <input type="hidden" id="listJust"     value="${jusListo}">
       <input type="hidden" id="tipoContrato" value="${tipoContrato}">       
       
       <div id="divTablaMin" class = "inner"></div>       	
			    
	   <s:form id="idForm" class="form-horizontal col-md-10">		
			<div class="form-group">
			     <label for="justificacion" class="col-md-2 control-label">Justificacion:</label>
				 <div  class="col-md-10" >
				       <jsp:include page="/jsp/dda/contrato/common/justificacion.jsp" />
					   <textarea class="form-control" rows="3" id="justificacion" name="justificacion" maxlength="150">${justificacion}</textarea>					   
				 </div>
			</div>
												
	    </s:form>
	    <div class="form-group pull-right">					
			  <a href="${contextPath}/contrato/listado/irListado.action?pmn=${pmnReturn}&tipoContrato=${tipoContrato}" id="regresar" class="btn btn-default" >Regresar</a>
			  <button class="btn btn-info" data-toggle="modal" data-target="#modalDocum" >Subir documento</button>	   		  
	   		  <button id ="guardar" class="btn btn-success" >Guardar cambios</button> 
	    </div>
	    				
	    
			
	  <jsp:include page="/jsp/dda/contrato/common/uploadDocument.jsp" />
		   
<script src="${contextPath}/design/js/plugins/table/jquery.dataTables.min.js"></script>		    
<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/contrato/minimum/minimum.js?v=${versionJS}"></script>

<%@include file="/jsp/common/defaultBottomLogin.jsp"%>