<?php
	if($num_formato_factura=='4') { ?>
		<a href="tirillas/tirilla.php?ven_id=<?php echo $ven_id; ?>" class="btn btn-success" target="_blank" title="Imprimir"><i class="btn-icon-only icon-print"></i> Tirilla</a>
		<?php include('../tienda_a_tienda/factura.php');?>
	<?php } else { ?>
	    <a href="libraries/tcpdf/documentos/factura_venta.php?ven_id=<?php echo $ven_id;?>" target="_blank" class="btn btn-success"><span class="btn-icon-only icon-print"></span>Carta</a>
		<a href="tirillas/tirilla.php?ven_id=<?php echo $ven_id; ?>" class="btn btn-success" target="_blank" title="Imprimir"><i class="btn-icon-only icon-print"></i>Tirilla</a>
<?php   }   ?>