<?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 $docu=$_POST['docu']; ?>
<?php $registro=$_POST['registro']; ?>


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

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

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


?>

<registro>
<?php if($registro=='0' or 1==1){ ?>

			<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="40%" style="font-family:arial;font-size:14px;border-collapse:collapse;background-color:white;">
						<tr style="">
							<td>
							<?php  $pcaption='DOCUMENTO'; $ptabla='docu'; $pidtxt='docu'; $pobj=3; $pdefa=''; $psize=15;  include('vrgetcod.php'); ?>
							</td>
						</tr>
						<tr style="">
							<td>
					<?php //$pcaption='ENTIDAD'; $ptabla='enti';  $ponchange=''; $pcolu="enti_descri,enti_codigo"; $pcolux=''; include('vrgetcod.php'); ?>
								
							<?php  $pcaption='CLIENTE'; $ptabla='enti'; $pidtxt='enti'; $pobj=3; $pdefa=''; $psize=15; include('vrgetcod.php'); ?>
							</td>
						</tr>
						<tr>
							<td>
							<?php $pcaption='ITEM'; $ptabla='item'; $pidtxt='item'; $pobj=3; $pdefa=''; $psize=15;  include('vrgetcod.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 } ?>
</registro>