<link rel="stylesheet" href="CMD2_PR.css" type="text/css"/>
<table  border="0" cellpadding="0" cellspacing="0" style="width: 100%;">
  <tr>
    <td height="40" colspan="5" class="titCanCob">
          

                                              <?php if ($dt_parame['lug_imp_tic'] == 'VM') { ?> <input type='button' value="Imprimir Pedido" width="80" height="80" onclick="imprimePedido();
                                                            nuevoPedido();"/><?php } ?>

                                              <input type='button' value="Cancelar Pago" width="80" height="80" onclick="envia2('MESA5000_PR.php?pos=<?php echo $_GET['cont']; ?>&amp;mesero=<?php echo $_GET['mesero']; ?>&amp;pt=<?php echo $_GET['pt'] ?>&amp;ar=<?php echo $_GET['ar']; ?>&amp;ms=<?php echo $_GET['ms']; ?>&amp;cont=<?php echo $_GET['cont']; ?>', '_self', 'mainForm');"/>
                                            
	<span class="titCanCobL"> 
      <input name="prop" id="prop" type="button" class="totDetBot F10" size="4" value="PROPINA(f10)" onclick="javascript:BuscarClave();desactiva2();"/>
      <input name="propina" type="text" id="propina" class="textCanCob" size="4" value="0" readonly="readonly"/>
    </span>  
      <input name="hab" id="hab" type="button" class="totDetBot F11" size="4" value="HABITACION(f11)" onclick="javascript:BuscarClave2();desactiva2();"/>
      <input name="habitaccion" type="text" id="habitaccion" class="textCanCob" size="4" readonly="readonly" value="<?php
 echo "".$_SESSION['habitacion'].""; ?>" />	  
	PAGO: $
      <input name="can_par_cob" type="text"  autofocus="autofocus" class="textCanCob" id="can_par_cob" size="5" onfocus="if (this.value==tot_ven.value) { desactiva(); } "/>
      CAMBIO: $
      <input name="cam_pag" type="text" id="cam_pag" size="5" class="textCanCob" readonly onfocus="return false"/>    </td>
    </tr>
  <tr>
    <td width="200" height="10" class="titDetCobC">FORMA PAGO</td>
    <td width="59" class="titDetCobC"> PAGO</td>
    <td width="192" class="titDetCobC">AUTORIZACION</td>
    <td width="192" class="titDetCobC">REFERENCIA</td>
    <td width="127" class="titDetCobC">IMPORTE</td>
  </tr>
  <tr>
    <td rowspan="2"><div id="divTipPag"></div></td>
    <td colspan="4" height="200"><div id="divDetPag"><table border="0" id="tabDetPag" width="100%;"></table></div></td>
  </tr> 
  
  
  <tr>
      <td colspan="2" class="cellFootPag"><div id="divBotPag"  style="display:none;"><button id="END" onclick="
         if( recPag(document.getElementById('bot').value,'arrDetPag[]')){imprimePedido();setTimeout(function(){envia2('MESA5000_PR.php?pos=<?php
 echo $_SESSION['cont']; ?>&ms=<?php
 echo $_SESSION['mesa']; ?>&mesero=<?php
 echo $_SESSION['msr']; ?>&bb=<?php echo $folio;?>','_self','mainForm');},3000)}" alt="Cierra pago">PROCESA PAGO (FIN)</button></div></td>
<!------------	envia2('MESA5000_PR.php?pos=<?php
 //echo $_SESSION['cont']facturacion();; ?>&ms=<?php
 //echo $_SESSION['mesa']; ?>&mesero=<?php
 //echo $_SESSION['msr']; ?>','_self','mainForm');  !---------->
    <td class="cellFootPag">&nbsp;</td>
	
    <td height="40" class="cellFootPag"></td>
  </tr>
</table> 

