<%@ page import="com.fenalco.utilities.lists.ListView"%>
<%@ page import="com.fenalco.entities.User"%>
<%@ page import="com.fenalco.entities.DataAccess"%>
<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<html>
<head>
<link rel='stylesheet' style='text/css' href='../css/tablas.css'>
<title>Estado Facturaci&oacute;n Proveedor</title>
</head>
<body bgcolor="#ffffff" background="../images/supplier/general/fondo.jpg" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<%
	String helpId = "69";
%>
<table border="0" cellpadding="0" cellspacing="0" width="760">
    <%@ include file="encabezado.jsp" %>
</table>
<table width="760" border='0' align='left'>
   
    <tr>
        <td width="152" valign='top'>
			<%@ include file="menuproveedor.jsp" %>
	</td>
        <td valign='top'>
            <%
                String tittle = "Estado de Facturaci&oacute;n";
            %>
            <%@ include file="/titulo.jsp" %>

			<table width="100%">
				<tr>
				<form name="BillingStatus" method="post" action="/proveedor/verordencompra">
                                    <table align="center" width='60%' >
                                        <tr class="tableheader">
                                            <td><strong>Fecha</td>
                                            <td><strong>Valor</td>
                                            <td><strong>Estado</td>
                                            <!--<td align='center'><strong>Ver</td>-->
                                        </tr>
                                        <tr>
                                            <td>
                                                 <% 
                                                    ListView view = (ListView)request.getAttribute("view");
                                                    int cont = 0;
                                                        String data;
                                                        while(view.move()){
                                                                cont++;
                                                                int i=0;
                                                                String id="";
                                                    %>
                                                                <tr>
                                                                <% while((data=(String)view.nextElement()) != null){
                                                                        if(i==1){%>
                                                                                <td><%= data %></td>
                                                                      <%}else{ 
                                                                                i=1; 
                                                                                id=data;
                                                                        }%>
                                                                <%}%>
                                                                    <!--
                                                                    Columnas para las opciones
                                                                    -->

                                                                    <!--<td align='center'><a href="#"><img name='bill' src='' height='20' width='20'></a></td>-->
                                                                    <!--<td align='center'><a href='#'><img name='' src='' height='20' width='20' onClick="window.open('/proveedor/verminorista?key=<%=id%>','','HEIGHT=300,WIDTH=615')"></a></td>-->
                                                                </tr>  
                                                    <%}%>
                                                                <%if(cont == 0){%>
                                                                <tr>
                                                                    <td colspan='3'>
                                                                    <b>USTED NO TIENE NINGUN REGISTRO DE FATURACION</b>
                                                                    </td>
                                                                </tr>
                                                    <%      } %>
                                            </td>
                                        </tr>
					
					
                                    <input name="operationType" type="hidden" value="">
                                </table>
				</form>
				</tr>
			
	</td>
    </tr>
	
</table>
</body>
</html>
