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

<style>
	table.ui-jqgrid-btable tr.jqgfirstrow td { border: none; }
	table.ui-jqgrid-btable { height: 1px; }
</style>

<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/contrato/transaccion/titulo/titulosUpload.js?v=${versionJS}"></script>
<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/contrato/transaccion/titulo/formManager.js?v=${versionJS}"></script>
<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/contrato/transaccion/titulo/tituloService.js?v=${versionJS}"></script>
<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/contrato/transaccion/titulo/tituloGrid.js?v=${versionJS}"></script>
<script type="text/javascript" language="javascript" src="${contextPath}/js/dda/contrato/transaccion/titulo/tituloController.js?v=${versionJS}"></script>


<jsp:include page="/jsp/dda/contrato/transaccion/titulo/busquedaForm.jsp" />

<script LANGUAGE="JAVASCRIPT">
    var edoCto = ${estatusContrato};
    var pmn    = ${request.pmn};
</script>
    
<s:form  class="form-horizontal" action="#">
    <input type="hidden" id="idMDLAvalable" name="idMDLAvalable" value="<fmt:formatDate pattern='MM/dd/yyyy' value='${clista.fechaInicioPlusOneDay}' />" >
	
	<input type="hidden" id="pmn" value="${request.pmn}">		

		<fieldset>
		    <div class="form-group" id="divBotonesTitulo">
		        <div class="col-md-1"><label  class=" control-label">Acciones</label></div>
		        <div class="col-md-3"><select id="operacionesTitulosTransaccional" class="form-control"></select></div>
			    <div class="col-md-2">
			        <button id="bAceptar" class="btn btn-primary" type="button" onclick="tituloController.ejecutarAcciones();">Aceptar</button>				
		        </div>
			    <div class="col-md-1"></div>
			    <div class="col-md-5">
			    	<a href="../../../contrato/listado/irListado?pmn=${sessionScope.pmnReturn}&tipoContrato=${tipoContrato}" class="btn btn-default" roll="button" >Regresar</a>
			        <button id="bSubir" class="btn btn-primary" type="button" onclick="tituloController.openCargarDocumento();">Subir Archivo</button>				
			        <button id="bGuardar" class="btn btn-success" type="button" onclick="tituloController.guardarCambios();">Guardar Cambios</button>   
		        </div>
		    </div>
		</fieldset>
		</fieldset>
					
		
	
</s:form>

<br>

<div class="form-group" id="dynTitulosGrid">
	<table id="tituloGird"></table>
	<div id="tituloGirdPager"></div>
</div>

<script src="${contextPath}/js/common/perfil/perfilController.js?v=${versionJS}"></script>
<script src="${contextPath}/js/common/perfil/perfilService.js?v=${versionJS}"></script>

<jsp:include page="/jsp/dda/contrato/transaccion/titulo/titulosForm.jsp" />
<jsp:include page="/jsp/dda/contrato/transaccion/titulo/cambioMultipleForm.jsp" />
<jsp:include page="/jsp/dda/contrato/transaccion/titulo/eliminarForm.jsp" />
<jsp:include page="/jsp/dda/contrato/transaccion/titulo/cargaForm.jsp" />


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