<?php session_start();?>
<?php include('php_gene1.php'); ?>
<?php include('../_cfg/config.php');?>
<?php include('php_session.php');?>
<?php //include('excel_reader2.php');?>
<?php //include('vrreadxls.php');?>
<?php include('simplexlsx.class.php');?>
<?php $modulo=$_POST['modulo']; ?>
<?php $informe=$_POST['informe']; ?>


<?php
$bgcolor='white';
$brcolor='black';

if($modulo=='vtas')
{
// $bgcolor='blue';
$brcolor='blue';	
}

if($modulo=='caja')
{
// $bgcolor='green';
$brcolor='green';
}


?>



<informe>
<?php if($informe=='0'){ ?>

			<div id="info0" style="border:solid 4px; overflow:auto;border-color:<?php echo $brcolor; ?>">
			<table cellspacing="0" cellpadding="2" width="100%" style="font-family:arial;font-size:14px; border-collapse:collapse; background-color:<?php echo $bgcolor; ?>; ">
				<tr>
				<td >
						<table cellspacing="0" cellpadding="2" width="10%" style="font-family:arial;font-size:14px;border-collapse:collapse;background-color:white;">
						<tr>
							<td>
								<?php 	$pidtxt='fecha1'; $pcaption='Desde'; $pdefa='2000-01-01'; include('vrgetfec.php'); ?>
								<?php 	$pidtxt='fecha2'; $pcaption='Hasta'; include('vrgetfec.php'); ?>
							</td>
							<td>
								<?php 	$pidtxt='consul'; $pcaption='Consultar'; $ponclick='jwib_rpc1("RPC1")'; include('vrbutton.php'); ?>
							</td>
							<td>
								<?php 	$pidtxt='subir'; $pcaption='Subir'; $ponclick='jwib_rpc1("XLSX","'.$pidtxt.'")'; include('vrgetfil.php'); ?>
							</td>
						</tr>
						</table>
				</td>	
				</tr>	
			</table>
			</div>	
<!-- <br> -->
					<div id="info1" style="border:solid 1px; overflow:auto;max-height:180px;"></div>
					<div id="info11" style="border:solid 1px; overflow:auto;max-height:220px;"></div>
					<div id="info2" style="border:solid 1px; overflow:auto;max-height:210px;"></div>


<?php } ?>
</informe>