<%@include file="/jsp/common/defaultTopLogin.jsp"%>
	<fmt:setLocale value="${user.locale}" />
	
	<script>
	var excel ;
	$().ready(function() {
		var perfilController = new PerfilController();
		perfilController.ejecutarPerfil(parseInt($("#pmn").val()));
	});

	
	</script>
	
	<table class="table table-striped table-hover " id="materialesId">
		<thead>
			<tr class="encabezado">
				<th>N&uacute;mero Nota de Credito</th>
			 	<th>Importe</th>
				<th>Orden de Compra</th>
				<th>Documento VF</th>
				<th>Sociedad</th>
				<th>A&ntilde;o</th>
				<th>Documento Pago</th>
				<th>Fecha Modificaci&oacute;n</th>
			</tr>
		</thead>
		<tbody></tbody>
		<c:forEach var="m" items="${notasDeCredito}">
			<tr>
				<td><c:out value="${m.noNotaDeCredito}" /></td>
				<td align="right"><fmt:formatNumber pattern="#,##0.00" value="${m.importe}" /></td>
				<td><c:out value="${m.ordenCompra}" /></td>
				<td><c:out value="${m.doctoOc}" /></td>
				<td><c:out value="${m.sociedad}" /></td>
				<td><c:out value="${m.annio}" /></td>
				<td><c:out value="${m.doctoEm}" /></td>
				<td><fmt:formatDate pattern='MM/dd/yyyy' value='${m.fechaModificacion}'/></td>
			</tr>
		</c:forEach>
		</tbody>
	</table>
	<div class="form-group">
       <div class="col-sm-6">
               <a href="../../contrato/listado/irListado?pmn=<%=pmnReturn%>&tipoContrato=${tipoContrato}" class="btn btn-default col-sm-4" roll="button" >Regresar</a>                   
       </div>     
    </div>
<%@include file="/jsp/common/defaultBottomLogin.jsp"%>