<!DOCTYPE html>
<html lang="ES-es">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta http-equiv="cache-control" content="no-cache"/>
		<meta http-equiv="expires" content="0"/>
		<meta http-equiv="pragma" content="no-cache"/>
		<title>Resultados | Seven</title>
		<meta name="description" content="Resultado de consulta de Comprobantes Electronicos - Seven">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
		<link rel="shortcut icon" href="ico/favicon.ico" type="image/x-icon">
		<link rel="stylesheet" href="css/semantic.css">
		<link rel="stylesheet" href="css/resultado.css">
	</head>
	<body cz-shortcut-listen="true">
		<!-- Start Login Page -->
		<section id="wrap">
			<div class="container">
				<span><img src="img/isologo.png" alt="Seven"/></span>
				<h1>Seven</h1>
				<hr class="slideRight">
				<p>Resultados de busqueda de comprobantes electronicos</p>
			</div>
			<div class="ui hidden divider"></div>	
			
			
	<div class="pusher">		
		<div class="ui equal width left aligned padded grid stackable centered">		
			<div class="sixteen wide tablet sixteen wide computer column ">
				<div class="ui segment">
				
				<?php if(!$_POST) { ?>
					<h4 class="ui header teal centered">NO HAY RESULTADOS PARA ESTA CONSULTA</h4>
				<?php } else { ?>	
				
					<table class="ui celled striped table">
						<thead>
							<tr>
								<th class="head_table">RUC / DNI</th>
								<th class="head_table">Cliente</th>
								<th class="head_table">Tipo</th>
								<th class="head_table">Comprobante</th>
								<th class="head_table">Fecha de Venta</th>
								<th class="head_table">Total S/</th>
								<th class="head_table">Acciones</th>
							</tr>
						</thead>
						<tbody id="tbody">
						</tbody>
					</table>
				<?php } ?>	
				</div>
			</div>

			<div class="sixteen wide tablet sixteen wide computer column ">
				<div class="ui segment" style="width: 110px !important; margin: auto !important">
	                <a href="index.php" style="text-decoration: none"><i class="long arrow alternate left icon"></i>Regresar</a>
	            </div>
	        </div>    
		</div>

		
	</div>	

			<footer>
				<div id="copy">© Seven &nbsp;|&nbsp; <?php echo date("Y"); ?></div>
			</footer>
		</section>
		<!-- End Login Page -->

		<script src="js/jquery-3.3.1.min.js"></script>
		<script src="js/semantic.min.js"></script>
		<script type="text/javascript">

		    RUC = "<?php echo $_POST['ruc_empresa']?>";
		    documento = "<?php echo $_POST['numero_documento']?>";
		    comprobante = "<?php echo $_POST['nombre_comprobante']?>";

		</script>
		<script src="js/resultados.js"></script>

	</body>
</html>