<%@ page import="com.fenalco.entities.User" %>
<%@ page import="com.fenalco.entities.DataAccess"%>
<%@ page import="java.sql.Date"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel='stylesheet' style='text/css' href='../css/tablas.css'>
<title>Facturaci&oacute;n</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body bgcolor="#ffffff" background="../images/sysmanager/general/fondo.jpg" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- 
-->
<table border="0" cellpadding="0" cellspacing="0" width="780">
        <%
            String helpId = "11";
        %>
        <%@ include file="encabezado.jsp" %>
</table>
<table width="760">
	<tr>
		<td width="152" valign='top'>
			<%@ include file="menuadministrador.jsp" %>
		</td>
		<td valign='top'>
                    <%
                        String tittle = "Facturar";
                    %>
                    <%@ include file="/titulo.jsp" %>

			<table width="603">
				<% if(request.getAttribute("message")!=null){
                                %>
                                <tr><td align="center"><%= request.getAttribute("message")%></td></tr>
                                <% }else{
                                %>    
                                <tr><td align="center"></td></tr>
                                <% }
                                %>
				<tr><td colspan='2'></td></tr>
				<tr>
				<form name="billing" method="post" action="/administrador/generarfactura">
				<table align="center">
                                        <tr>
                                            <td><b>Mes a facturar:</b></td>
                                            <td align="center"><select name="month">
                                                <option value="1" selected>Enero</option>
                                                <option value="2">Febrero</option>
                                                <option value="3">Marzo</option>
                                                <option value="4">Abril</option>
                                                <option value="5">Mayo</option>
                                                <option value="6">Junio</option>
                                                <option value="7">Julio</option>
                                                <option value="8">Agosto</option>
                                                <option value="9">Septiembre</option>
                                                <option value="10">Octubre</option>
                                                <option value="11">Noviembre</option>
                                                <option value="12">Diciembre</option>
                                            </select></td>      
                                        </tr>
                                        <tr>
                                            <% Date actualDate=new Date(new java.util.Date().getTime());
                                               int actualYear = actualDate.getYear()+1900;%>
                                            <td><b>Año:</b></td>
                                            <td><select name="year">
                                                <option value="<%=actualYear-1%>"><%=actualYear-1%></option>
                                                <option value="<%=actualYear%>" selected><%=actualYear%></option>
                                            </select></td>      
                                        </tr>
                                        <tr><td colspan='2'><br></td></tr>
                                <tr>
                                    <td colspan='2' align="center"><input name="biling" type="submit" value="Facturar" onClick="return window.confirm('El proceso de facturación va a comenzar, desea continuar?');"></td>
				</tr>
				</table>
				</tr>
			</table>
		</td>
	</tr>
	
</table>
<table width="760">
	<tr>
		<td><%@ include file="/piepagina.jsp" %></td>
	</tr>
</table>

</body>
</html>







